:root {
  --m-bg: #f8fafc;
  --m-ink: #0f172a;
  --m-muted: #64748b;
  --m-accent: #f97316;
  --m-accent-dark: #ea580c;
  --m-accent-soft: #fff7ed;
  --m-price: #0d9488;
  --m-price-dark: #0f766e;
  --m-header-from: #0f766e;
  --m-header-mid: #14b8a6;
  --m-header-to: #06b6d4;
  --m-surface: #ffffff;
  --m-surface-muted: #f1f5f9;
  --m-card: #fff;
  --m-border: #e2e8f0;
  --m-radius: 12px;
  --m-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 4px 14px rgba(15, 23, 42, 0.04);
  --m-font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--m-font);
  background: var(--m-bg);
  color: var(--m-ink);
  line-height: 1.5;
}

a { color: var(--m-accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.m-header {
  background: #fff;
  border-bottom: 1px solid var(--m-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.m-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.m-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  flex-shrink: 0;
  color: inherit;
}
.m-logo:hover { text-decoration: none; opacity: 0.92; }
.m-logo-mark {
  display: flex;
  flex-shrink: 0;
  line-height: 0;
}
.m-logo-mark-svg {
  display: block;
  flex-shrink: 0;
  border-radius: 9px;
}
.m-logo-word {
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
}
.m-logo-digi { color: var(--m-price-dark); }
.m-logo-karya { color: var(--m-accent-dark); }

.m-cat-wrap { position: relative; flex-shrink: 0; }
.m-cat-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  border: none;
  background: transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 24px;
  color: var(--m-ink);
}
.m-cat-trigger:hover { background: #f3f0eb; }
.m-chevron { font-size: 0.65rem; opacity: 0.7; }
.m-cat-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  max-height: 320px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--m-border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  z-index: 200;
}
.m-cat-menu-item {
  display: block;
  padding: 10px 18px;
  color: var(--m-ink);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}
.m-cat-menu-item:hover {
  background: #faf8f5;
  text-decoration: none;
  color: var(--m-accent-dark);
}

.m-search {
  flex: 1;
  min-width: 160px;
  max-width: 720px;
  display: flex;
  align-items: stretch;
  border: 2px solid var(--m-ink);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.m-search-logo {
  display: flex;
  align-items: center;
  padding-left: 12px;
  flex-shrink: 0;
}
.m-search-logo .m-logo-mark-svg {
  border-radius: 7px;
}
.m-search input {
  flex: 1;
  border: none;
  padding: 11px 14px 11px 8px;
  font-size: 0.95rem;
  min-width: 0;
}
.m-search input:focus { outline: none; }
.m-search-btn {
  width: 48px;
  border: none;
  background: var(--m-accent);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  flex-shrink: 0;
}
.m-search-btn:hover { background: var(--m-accent-dark); }

.m-nav {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
  flex-shrink: 0;
}
.m-nav a { color: var(--m-ink); text-decoration: none; }
.m-nav a:hover { color: var(--m-accent); }
.m-nav-icon {
  font-size: 1.2rem;
  line-height: 1;
  padding: 4px 6px;
}

.m-subnav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 0.82rem;
  font-weight: 600;
}
.m-subnav a {
  color: var(--m-muted);
  text-decoration: none;
}
.m-subnav a:hover { color: var(--m-ink); text-decoration: underline; }

.m-promo-row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 8px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.m-promo-tile {
  border-radius: 12px;
  min-height: 140px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.m-promo-tile:hover { text-decoration: none; filter: brightness(1.05); }
.m-promo-tile--a { background: linear-gradient(135deg, #2d6a4f, #40916c); }
.m-promo-tile--b { background: linear-gradient(135deg, #bc4749, #f1641e); }
.m-promo-tile--c { background: linear-gradient(135deg, #5c4d7d, #9d8189); }
.m-promo-tile--d { background: linear-gradient(135deg, #a61e4d, #f783ac); }
.m-promo-tile--e { background: linear-gradient(135deg, #1864ab, #74c0fc); }
.m-promo-tile--f { background: linear-gradient(135deg, #0f766e, #2dd4bf); }
.m-promo-label { font-weight: 800; font-size: 1.05rem; line-height: 1.3; position: relative; z-index: 1; }
.m-promo-cta {
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: underline;
  position: relative;
  z-index: 1;
}
.m-promo-photo {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 120px;
  height: 90px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transform: rotate(4deg);
  border: 2px solid rgba(255, 255, 255, 0.35);
}
.m-promo-tile--b .m-promo-photo { transform: rotate(-3deg); }
.m-promo-tile--c .m-promo-photo { transform: rotate(2deg); }

/* Nav bawah (marketplace mobile) */
.m-bottom-nav {
  display: none;
}

.m-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 8px;
  text-align: center;
}
.m-section-lead {
  text-align: center;
  color: var(--m-muted);
  font-size: 0.9rem;
  max-width: 520px;
  margin: 0 auto 20px;
  line-height: 1.45;
}
.m-curated {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px 12px;
}
.m-curated-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.m-curated-nav {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--m-border);
  background: #fff;
  box-shadow: var(--m-shadow);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--m-ink);
  cursor: pointer;
  display: none;
}
.m-curated-nav:hover { background: #fafafa; }
@media (min-width: 720px) {
  .m-curated-nav { display: flex; align-items: center; justify-content: center; }
}
.m-curated-scroll {
  flex: 1;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 4px 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.m-curated-card {
  flex: 0 0 150px;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
}
.m-curated-card:hover { text-decoration: none; }
.m-curated-card--rich {
  flex: 0 0 min(280px, 78vw);
  min-height: 112px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 14px 16px 18px;
  border-radius: 14px;
  background: var(--card-bg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.m-curated-card--rich:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.m-curated-card-text {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.m-curated-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  border-radius: 12px;
  background: hsl(var(--card-hue) / 0.18);
  font-size: 2.5rem;
  margin-bottom: 10px;
  border: 1px solid var(--m-border);
}
.m-curated-name {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--m-ink);
  text-align: left;
}
.m-curated-photo {
  width: 108px;
  height: 88px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
  border: 2px solid #fff;
  background: #fff;
  flex-shrink: 0;
  align-self: center;
}

.m-mock {
  flex-shrink: 0;
  align-self: center;
  position: relative;
}
.m-mock--post {
  width: 72px;
  height: 80px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  transform: rotate(4deg);
}
.m-mock-post-img {
  display: block;
  height: 44px;
  background: linear-gradient(135deg, #74c0fc, #ff922b);
}
.m-mock-post-bar {
  display: block;
  height: 8px;
  margin: 8px 8px 0;
  background: #e9ecef;
  border-radius: 2px;
}
.m-mock--ebook {
  width: 56px;
  height: 76px;
  background: #fff;
  border-radius: 4px 8px 8px 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  border-left: 3px solid var(--card-accent, #4361ee);
  padding: 8px 6px;
  transform: rotate(-3deg);
}
.m-mock-ebook-cover {
  display: block;
  height: 22px;
  background: linear-gradient(90deg, var(--card-accent, #4361ee), #a5b4fc);
  border-radius: 2px;
  margin-bottom: 8px;
}
.m-mock-ebook-lines {
  display: block;
  height: 3px;
  background: #dee2e6;
  border-radius: 2px;
  box-shadow: 0 6px 0 #dee2e6, 0 12px 0 #e9ecef;
}
.m-mock--logo {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.m-mock-logo-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #0891b2, #22d3ee, #fbbf24, #0891b2);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}
.m-mock--preset {
  display: flex;
  gap: 4px;
  transform: rotate(2deg);
}
.m-mock-preset-a,
.m-mock-preset-b {
  width: 34px;
  height: 44px;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}
.m-mock-preset-a { background: linear-gradient(160deg, #adb5bd, #495057); }
.m-mock-preset-b { background: linear-gradient(160deg, #ffd8a8, #e67700); }
.m-mock--sheet {
  width: 72px;
  height: 56px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  padding: 6px;
  transform: rotate(-2deg);
}
.m-mock-sheet-grid {
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(#dee2e6 1px, transparent 1px) 0 0 / 100% 8px,
    linear-gradient(90deg, #dee2e6 1px, transparent 1px) 0 0 / 14px 100%;
}
.m-mock--bundle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: rotate(3deg);
}
.m-mock-bundle-file {
  width: 64px;
  height: 12px;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-left: 3px solid var(--card-accent, #7c3aed);
}
.m-mock-bundle-file.short { width: 48px; margin-left: 8px; }

.m-examples {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px 32px;
}
.m-examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.m-example-card {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.m-example-card:hover {
  text-decoration: none;
  box-shadow: var(--m-shadow);
  border-color: #ddd6cc;
}
.m-example-visual {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--m-border);
}
.m-example-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
  padding: 4px;
}
.m-example-body { min-width: 0; }
.m-example-tags {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--m-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.m-example-title {
  margin: 0 0 6px;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--m-ink);
}
.m-example-desc {
  margin: 0 0 8px;
  font-size: 0.82rem;
  color: var(--m-muted);
  line-height: 1.4;
}
.m-example-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--m-accent-dark);
}

.m-section-products {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px 24px;
  scroll-margin-top: 120px;
}
#products-section:target {
  animation: m-products-flash 0.6s ease;
}
@keyframes m-products-flash {
  from { background: rgba(241, 100, 30, 0.08); }
  to { background: transparent; }
}
.m-section-products .m-cats { justify-content: flex-start; margin-bottom: 20px; }

.m-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto 28px;
  padding: 0 20px;
}
.m-cat-btn {
  border: 1px solid var(--m-border);
  background: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--m-muted);
}
.m-cat-btn.active, .m-cat-btn:hover {
  border-color: var(--m-accent);
  color: var(--m-accent-dark);
  background: #fff8f4;
}

.m-grid {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.m-card {
  background: var(--m-card);
  border-radius: var(--m-radius);
  overflow: hidden;
  box-shadow: var(--m-shadow);
  border: 1px solid var(--m-border);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.m-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}
.m-card-img {
  aspect-ratio: 1;
  background: #eee;
  object-fit: cover;
  width: 100%;
  display: block;
}
.m-card-body { padding: 14px; }
.m-card-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.m-card-shop { font-size: 0.8rem; color: var(--m-muted); margin-bottom: 8px; }
.m-card-price { font-weight: 800; color: var(--m-ink); font-size: 1.05rem; }

.m-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--m-muted);
  grid-column: 1 / -1;
}

.m-footer {
  text-align: center;
  padding: 32px 20px;
  font-size: 0.85rem;
  color: var(--m-muted);
  border-top: 1px solid var(--m-border);
}

.m-about {
  background: #fff;
  border-top: 1px solid var(--m-border);
  padding: 48px 20px 56px;
  text-align: center;
}
.m-about-title {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 8px;
  font-weight: 700;
}
.m-about-lead {
  margin: 0 0 36px;
  color: var(--m-muted);
  font-size: 0.95rem;
}
.m-about-cols {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}
.m-about-cols h3 {
  font-size: 0.95rem;
  margin: 0 0 10px;
}
.m-about-cols p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--m-muted);
  line-height: 1.55;
}
@media (max-width: 768px) {
  .m-about-cols { grid-template-columns: 1fr; text-align: center; }
}

.m-help-cta {
  background: #fff;
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid var(--m-border);
}
.m-help-cta-text {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 16px;
}
.m-help-contact {
  background: #fff;
  border: 1px solid var(--m-border);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 20px 0 28px;
  scroll-margin-top: 100px;
}
.m-help-contact-title {
  font-weight: 700;
  margin: 0 0 12px;
}
.m-help-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 10px;
}
.m-help-contact-email {
  margin: 0;
  font-size: 0.9rem;
}
.m-help-contact-email a {
  font-weight: 600;
  word-break: break-all;
}

.m-bank-fieldset {
  border: 1px solid var(--m-border);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 20px 0 8px;
}
.m-bank-fieldset legend {
  font-weight: 700;
  padding: 0 6px;
}
.m-bank-transfer-box {
  background: #fff;
  border: 1px solid var(--m-border);
  border-radius: 12px;
  padding: 18px 20px;
}
.m-bank-transfer-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.m-bank-transfer-lead {
  margin: 0 0 14px;
  font-size: 0.92rem;
  color: var(--m-muted);
  line-height: 1.5;
}
.m-bank-transfer-dl {
  margin: 0 0 12px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  font-size: 0.92rem;
}
.m-bank-transfer-dl dt {
  color: var(--m-muted);
  font-weight: 600;
}
.m-bank-transfer-dl dd {
  margin: 0;
}
.m-bank-note-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 8px;
}
.m-bank-pending {
  margin: 28px 0;
  padding: 20px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 12px;
}
.m-bank-pending-card {
  background: #fff;
  border: 1px solid var(--m-border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 12px;
}
.m-bank-pending-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.m-checkout-trust {
  font-size: 0.82rem;
  color: var(--m-muted);
  line-height: 1.5;
  margin: 0 0 14px;
  padding: 10px 12px;
  background: #faf8f5;
  border-radius: 8px;
  border: 1px solid var(--m-border);
}
.m-checkout-trust a {
  font-weight: 600;
}

.m-footer-rich {
  background: var(--m-bg);
  padding: 40px 20px 32px;
  border-top: 1px solid var(--m-border);
}
.m-footer-mission {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  max-width: 420px;
  margin: 0 0 32px;
  line-height: 1.35;
}
.m-footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 960px;
  margin-bottom: 28px;
}
.m-footer-cols strong {
  display: block;
  margin-bottom: 10px;
  font-size: 0.85rem;
}
.m-footer-cols a {
  display: block;
  font-size: 0.82rem;
  color: var(--m-muted);
  margin-bottom: 6px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 6px 0;
  position: relative;
  z-index: 2;
}
.m-footer-cols a:hover { color: var(--m-accent-dark); }
#site-footer,
.m-footer-rich {
  position: relative;
  z-index: 5;
}
.m-footer-compact {
  padding: 28px 20px 40px;
  border-top: 1px solid var(--m-border);
  margin-top: 40px;
}
.m-footer-compact .m-footer-mission { display: none; }

.m-legal {
  max-width: 720px;
  line-height: 1.65;
}
.m-legal h1 { margin-bottom: 8px; }
.m-legal-updated {
  font-size: 0.88rem;
  color: var(--m-muted);
  margin: 0 0 24px;
}
.m-legal h2 {
  font-size: 1.1rem;
  margin: 28px 0 10px;
}
.m-legal ul { padding-left: 1.25rem; }
.m-faq {
  border: 1px solid var(--m-border);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 10px;
  background: #fff;
}
.m-faq summary {
  font-weight: 600;
  cursor: pointer;
}
.m-faq p {
  margin: 12px 0 0;
  color: var(--m-muted);
  font-size: 0.95rem;
}

.m-about-page { max-width: 800px; }
.m-about-hero {
  text-align: center;
  margin-bottom: 40px;
}
.m-about-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--m-muted);
  margin: 0 0 8px;
}
.m-about-hero h1 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin: 0 0 12px;
}
.m-about-tagline {
  font-size: 1.1rem;
  color: var(--m-muted);
  margin: 0;
  line-height: 1.5;
}
.m-about-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.m-about-step {
  background: #fff;
  border: 1px solid var(--m-border);
  border-radius: 12px;
  padding: 20px 16px;
}
.m-about-step-num {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--m-accent, #f1641e);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.m-about-step h2 {
  font-size: 1rem;
  margin: 0 0 8px;
}
.m-about-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--m-muted);
  line-height: 1.5;
}
.m-about-block {
  margin-bottom: 28px;
  line-height: 1.65;
}
.m-about-block h2 {
  font-size: 1.15rem;
  margin: 0 0 10px;
}
.m-about-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
@media (max-width: 720px) {
  .m-about-steps { grid-template-columns: 1fr; }
}

.m-footer-copy {
  font-size: 0.78rem;
  color: var(--m-muted);
  margin: 0;
}
@media (max-width: 640px) {
  .m-footer-cols { grid-template-columns: repeat(2, 1fr); }
  .m-header-inner { gap: 10px; }
  /* Kategori via tombol; sub-nav disembunyikan agar header tidak terlalu tinggi */
  .m-subnav { display: none; }
}

.m-home .m-grid { margin-bottom: 16px; }
.m-load-more-wrap {
  text-align: center;
  margin: 0 auto 32px;
  max-width: 1200px;
  padding: 0 20px;
}

.m-seller-dash .m-page { max-width: 960px; }
.m-seller-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin: 20px 0 8px;
}
.m-stat-card {
  background: #fff;
  border: 1px solid var(--m-border);
  border-radius: 12px;
  padding: 14px 16px;
}
.m-stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--m-muted);
  margin-bottom: 6px;
}
.m-stat-card strong { font-size: 1.1rem; }
.m-seller-subhead {
  font-size: 1rem;
  font-weight: 600;
  margin: 20px 0 6px;
  color: var(--m-text, #1a1a1a);
}

.m-seller-hint {
  font-size: 0.85rem;
  color: var(--m-muted);
  margin: 0 0 24px;
}
.m-mayar-setup-focus {
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.25);
  border-color: var(--m-accent, #ea580c);
}

.m-seller-setup-banner {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 16px 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.m-seller-setup-banner p { margin: 0; flex: 1 1 200px; }

.m-seller-notifications {
  margin: 16px 0 24px;
  padding: 16px 18px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
}
.m-seller-notifications-title {
  margin: 0 0 12px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.m-seller-notifications-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.m-seller-notif {
  padding: 10px 12px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--m-border);
}
.m-seller-notif.read { opacity: 0.72; }
.m-seller-notif-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.m-seller-notif-link strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 4px;
}
.m-seller-notif-link span {
  display: block;
  font-size: 0.85rem;
  color: var(--m-muted);
  line-height: 1.45;
}
.m-seller-notif .m-link-btn {
  margin-top: 6px;
  font-size: 0.82rem;
}

.m-seller-checklist {
  margin: 20px 0 28px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius);
}
.m-seller-checklist h2 {
  margin: 0 0 12px;
  font-size: 1rem;
}
.m-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.m-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.4;
}
.m-checklist .m-check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  background: #e9ecef;
  color: #868e96;
}
.m-checklist li.is-done .m-check-icon {
  background: #d1fae5;
  color: #047857;
}
.m-checklist a { font-weight: 600; }

.m-sell-category-hint {
  background: #fff8e6;
  border: 1px solid #ffe08a;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 0 0 16px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #5c4d00;
}
.m-sell-category-hint strong { color: #3d3200; }
.m-library-instructions {
  font-size: 0.82rem;
  color: var(--m-muted);
  margin: 8px 0 0;
  white-space: pre-wrap;
  line-height: 1.45;
  text-align: left;
}

.m-mayar-connect {
  background: #fff;
  border: 1px solid var(--m-border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 28px;
  max-width: 560px;
}
.m-mayar-connect h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}
.m-commission-wallet {
  background: #fff;
  border: 1px solid var(--m-border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 28px;
  max-width: 560px;
}
.m-commission-wallet h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}
.m-mayar-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.m-mayar-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}
.m-mayar-badge.ok { background: #d1fae5; color: #047857; }
.m-mayar-badge.warn { background: #fef3c7; color: #92400e; }
.m-mayar-form { max-width: 100%; margin-top: 8px; }
.m-mayar-note {
  font-size: 0.8rem;
  color: var(--m-muted);
  margin: 12px 0 0;
  line-height: 1.45;
}
.m-mayar-details {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--m-muted);
  line-height: 1.5;
}
.m-mayar-details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--m-ink);
}
.m-mayar-details p { margin: 10px 0 0; }

.m-mayar-wizard {
  margin: 0 0 16px;
  padding-left: 1.2rem;
  line-height: 1.55;
  font-size: 0.9rem;
  color: var(--m-ink);
}
.m-legal-inline {
  font-size: 0.88rem;
  color: var(--m-muted);
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 12px 14px;
  max-width: 560px;
  margin: 0 0 20px;
  line-height: 1.5;
}
.m-sell-gate {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 20px;
  max-width: 560px;
  line-height: 1.55;
  font-size: 0.92rem;
}
.m-sell-gate a { font-weight: 600; }
.m-sell-warn {
  font-size: 0.88rem;
  color: #92400e;
  background: #fffbeb;
  border-radius: 8px;
  padding: 10px 12px;
  max-width: 560px;
  margin-bottom: 16px;
}
.m-form.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.m-admin-dash { max-width: 960px; }
.m-admin-stats {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 720px) {
  .m-admin-stats { grid-template-columns: repeat(2, 1fr); }
}
.m-admin-denied {
  background: #fee2e2;
  border: 1px solid #fecaca;
  padding: 16px;
  border-radius: 10px;
  color: #991b1b;
}
.m-admin-table-wrap { overflow-x: auto; margin-bottom: 24px; }
.m-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: #fff;
  border: 1px solid var(--m-border);
  border-radius: 12px;
  overflow: hidden;
}
.m-orders-table th,
.m-orders-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--m-border);
}
.m-orders-table th {
  background: #faf8f5;
  font-weight: 600;
  font-size: 0.8rem;
}
.m-orders-table tr:last-child td { border-bottom: none; }
@media (max-width: 640px) {
  .m-orders-table { display: block; overflow-x: auto; }
}

.m-btn-sm {
  padding: 6px 12px;
  font-size: 0.82rem;
}
.m-shop-link-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  font-size: 0.9rem;
}
.m-shop-link-url {
  word-break: break-all;
  color: var(--m-accent, #b45309);
}
.m-seller-product {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--m-border);
  border-radius: 12px;
  margin-bottom: 10px;
}
.m-seller-product-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
}
.m-seller-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.m-seller-product-main { flex: 1; min-width: 0; }
.m-seller-product-title {
  font-weight: 600;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m-seller-product-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--m-muted);
}
.m-seller-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}
.m-status-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  background: #f3f4f6;
  color: #6b7280;
}
.m-status-pill.is-active {
  background: #d1fae5;
  color: #047857;
}
.m-status-pill.warn {
  background: #fef3c7;
  color: #92400e;
}
.m-status-pill.ok {
  background: #d1fae5;
  color: #047857;
}
#seller-products.m-grid {
  display: block;
}
@media (max-width: 640px) {
  .m-seller-product { flex-wrap: wrap; }
  .m-seller-product-actions { width: 100%; }
}

.m-fav-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}
.m-fav-profile {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
}
.m-fav-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #2c3e50;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.m-fav-name {
  margin: 0 0 6px;
  font-size: 1.75rem;
  font-weight: 700;
}
.m-fav-links {
  margin: 0;
  font-size: 0.88rem;
}
.m-fav-links a { font-weight: 600; }
.m-fav-empty {
  text-align: center;
  max-width: 420px;
  margin: 48px auto;
}
.m-fav-empty-art {
  font-size: 4rem;
  color: var(--m-border);
  margin-bottom: 16px;
  line-height: 1;
}
.m-fav-empty h2 {
  font-size: 1.15rem;
  margin: 0 0 12px;
}
.m-fav-empty p {
  color: var(--m-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 24px;
}
.m-fav-grid { margin-top: 8px; }

.m-card-fav-wrap { position: relative; }
.m-card-badge-featured {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 4px 8px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f1641e, #ff922b);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.m-card-fav,
.m-fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--m-muted);
}
.m-fav-btn {
  position: static;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  font-size: 1.35rem;
}
.m-card-fav.active,
.m-fav-btn.active {
  color: #e11d48;
}

/* —— Auth modal (Etsy-style) —— */
body.m-auth-open,
body.m-auth-page {
  overflow: hidden;
}
body.m-auth-page .m-header {
  filter: blur(2px);
  pointer-events: none;
  opacity: 0.85;
}
.m-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 16px 24px;
  overflow-y: auto;
}
.m-auth-overlay[hidden] { display: none !important; }
.m-auth-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(34, 34, 34, 0.45);
}
.m-auth-modal {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 16px;
  padding: 28px 32px 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  text-align: center;
}
.m-auth-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--m-muted);
  padding: 4px 8px;
}
.m-auth-close:hover { color: var(--m-ink); }
.m-auth-logo {
  margin: 0 auto 16px;
  display: flex;
  justify-content: center;
  line-height: 0;
}
.m-auth-logo .m-logo-mark-svg {
  border-radius: 11px;
}
.m-auth-title {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.35;
}
.m-auth-switch {
  margin: 0 0 20px;
  font-size: 0.88rem;
  color: var(--m-muted);
}
.m-auth-switch a { font-weight: 600; }
.m-auth-form { text-align: left; }
.m-auth-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.m-auth-pw-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.m-auth-pw-label-row label {
  margin-bottom: 0;
}
.m-auth-forgot {
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.m-auth-form input[type="email"],
.m-auth-form input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--m-ink);
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 14px;
}
.m-auth-form input:focus {
  outline: 2px solid var(--m-accent);
  outline-offset: 1px;
}
.m-auth-check {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-weight: 500 !important;
  font-size: 0.85rem !important;
  margin-bottom: 16px !important;
  cursor: pointer;
}
.m-auth-check input { width: auto; margin: 0; }
.m-auth-submit {
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  border: none;
  background: #d4d4d4;
  color: #888;
  font-weight: 700;
  cursor: not-allowed;
}
.m-auth-submit--ready {
  background: var(--m-ink);
  color: #fff;
  cursor: pointer;
}
.m-auth-submit--ready:hover { background: #000; }
.m-auth-msg {
  color: #c0392b;
  font-size: 0.85rem;
  margin: 10px 0 0;
  min-height: 1.2em;
  text-align: center;
}
.m-auth-msg--error {
  color: #c0392b;
}
.m-auth-msg--ok {
  color: #1a7f4b;
}
.m-auth-action-page {
  display: flex;
  justify-content: center;
  padding: 32px 16px 48px;
  min-height: 50vh;
}
.m-auth-action-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 16px;
  padding: 28px 32px 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  text-align: center;
}
.m-auth-action-card .m-auth-form {
  text-align: left;
}
.m-auth-action-card .m-auth-title {
  text-align: center;
  margin-bottom: 8px;
}
.m-auth-action-hint {
  font-size: 0.85rem;
  color: var(--m-muted);
  margin: 0 0 16px;
  text-align: center;
}
.m-auth-action-status {
  margin: 0;
  color: var(--m-muted);
}
.m-auth-action-back {
  margin: 16px 0 0;
  font-size: 0.9rem;
}
.m-auth-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 16px;
  color: var(--m-muted);
  font-size: 0.85rem;
}
.m-auth-or::before,
.m-auth-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--m-border);
}
.m-auth-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}
.m-auth-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--m-border);
  background: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  font-family: inherit;
}
.m-auth-social-btn:hover:not(:disabled) {
  border-color: var(--m-ink);
  box-shadow: var(--m-shadow);
}
.m-auth-social-btn--muted {
  opacity: 0.45;
  cursor: not-allowed;
}
#auth-apple::before { content: ""; font-size: 1.2rem; }
.m-auth-legal {
  font-size: 0.72rem;
  color: var(--m-muted);
  margin: 0;
  line-height: 1.45;
}

.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 24px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: inherit;
}
.m-btn-primary { background: var(--m-accent); color: #fff; }
.m-btn-primary:hover { background: var(--m-accent-dark); }
.m-btn-outline {
  background: #fff;
  border: 2px solid var(--m-ink);
  color: var(--m-ink);
}

.m-page { max-width: 960px; margin: 0 auto; padding: 32px 20px 60px; }
.m-form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; }
.m-form input, .m-form textarea, .m-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--m-border);
  border-radius: 8px;
  margin-bottom: 16px;
  font-family: inherit;
  font-size: 1rem;
}
.m-form textarea { min-height: 100px; resize: vertical; }

.m-product-delivery-note {
  font-size: 0.88rem;
  color: var(--m-muted);
  margin: 12px 0 0;
  padding: 10px 12px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid var(--m-border);
}
.m-product-instructions {
  margin-top: 16px;
  padding: 14px 16px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
}
.m-product-instructions-title {
  margin: 0 0 8px;
  font-size: 0.95rem;
}
.m-product-instructions-body {
  margin: 0;
  white-space: pre-wrap;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #065f46;
}
.m-link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: var(--m-accent-dark);
  cursor: pointer;
  text-decoration: underline;
}
.m-muted-inline { color: var(--m-muted); }
.m-modal[hidden] { display: none !important; }
.m-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.m-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.m-modal-panel {
  position: relative;
  background: #fff;
  border-radius: 12px;
  max-width: 440px;
  width: 100%;
  padding: 22px 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  max-height: 90vh;
  overflow-y: auto;
}
.m-modal-panel h2 { margin: 0 0 8px; font-size: 1.15rem; }
.m-modal-lead { margin: 0 0 16px; font-size: 0.88rem; color: var(--m-muted); }
.m-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 12px;
}
.m-modal-msg { font-size: 0.88rem; margin: 12px 0 0; min-height: 1.2em; }
.m-admin-badge {
  display: inline-block;
  min-width: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fecaca;
  color: #991b1b;
  font-size: 0.78rem;
  font-weight: 700;
  vertical-align: middle;
}
.m-admin-report-detail {
  font-size: 0.78rem;
  color: var(--m-muted);
  margin-top: 4px;
  max-width: 280px;
  white-space: pre-wrap;
}
.m-admin-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 220px;
}
.m-admin-pending-alert {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 12px 16px;
  margin: 12px 0 20px;
  font-size: 0.9rem;
  color: #991b1b;
}
.m-admin-row-warn td { background: #fffbeb; }
.m-admin-code {
  font-size: 0.72rem;
  word-break: break-all;
}
.m-product-report { margin-top: 20px; font-size: 0.82rem; }

.m-product-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
}
.m-product-share-label {
  font-size: 0.85rem;
  color: var(--m-muted);
  margin-right: 4px;
}
.m-sell-seo-hint {
  font-size: 0.85rem;
  color: var(--m-muted);
  margin: -6px 0 14px;
  line-height: 1.45;
}
.m-product-owner-seo {
  margin: 12px 0 0;
  padding: 12px 14px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  font-size: 0.88rem;
  line-height: 1.45;
}
.m-product-owner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.m-breadcrumb {
  font-size: 0.82rem;
  margin-bottom: 8px;
  color: var(--m-muted);
}
.m-breadcrumb a {
  color: var(--m-accent-dark);
  text-decoration: none;
}
.m-breadcrumb a:hover { text-decoration: underline; }
.m-breadcrumb span { margin: 0 6px; }

.m-product-related {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--m-border);
  grid-column: 1 / -1;
}
.m-product-related h2 {
  font-size: 1.15rem;
  margin: 0 0 16px;
}
.m-product-related-grid {
  margin-bottom: 12px;
}
.m-product-related-more {
  font-size: 0.9rem;
  margin: 0;
}
.m-product-related-more a { font-weight: 600; }

.m-page .m-product-layout + .m-product-related {
  max-width: 100%;
}

.m-seller-profile-nudge {
  margin: 20px 0 0;
  padding: 14px 16px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 560px;
}
.m-seller-profile-nudge p { margin: 0; }

.m-product-reviews {
  margin: 24px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--m-border);
}
.m-reviews-heading {
  font-size: 1.05rem;
  margin: 0 0 10px;
}
.m-reviews-summary {
  margin: 0 0 14px;
  font-size: 0.92rem;
}
.m-reviews-stars {
  color: #f59e0b;
  letter-spacing: 1px;
}
.m-reviews-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.m-reviews-list li {
  padding: 10px 12px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid var(--m-border);
}
.m-reviews-list li p {
  margin: 6px 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--m-muted);
}
.m-review-form {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--m-border);
}
.m-review-form select,
.m-review-form textarea {
  max-width: 100%;
}

.m-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 768px) {
  .m-product-layout { grid-template-columns: 1fr; }
}

.m-preview-main {
  width: 100%;
  border-radius: var(--m-radius);
  border: 1px solid var(--m-border);
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
}

.m-gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.m-gallery-thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  flex: 0 0 auto;
}

.m-gallery-thumb.is-active {
  border-color: var(--m-accent, #e85d04);
}

.m-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  display: block;
}

.m-preview-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}

.m-preview-pick {
  width: 96px;
}

.m-preview-pick img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--m-border);
  display: block;
  background: #eee;
}

.m-preview-pick button,
.m-preview-pick span {
  display: block;
  width: 100%;
  margin-top: 4px;
  font-size: 0.75rem;
  text-align: center;
}

.m-preview-pick span {
  color: var(--m-muted);
  font-weight: 700;
}

.m-product-price {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 20px 0;
}

.m-price-was {
  color: var(--m-muted);
  font-weight: 600;
  font-size: 0.72em;
  margin-right: 4px;
}

.m-price-now {
  font-weight: 800;
}

.m-price-off {
  display: inline-block;
  margin-left: 6px;
  background: #fff0e8;
  color: var(--m-accent-dark, #c2410c);
  font-size: 0.72em;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  vertical-align: middle;
}

.m-badge {
  display: inline-block;
  background: #fff0e8;
  color: var(--m-accent-dark);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* —— Mobile (HP): ala marketplace — banner + kategori ikon, produk cepat terlihat —— */
@media (max-width: 640px) {
  body.m-home {
    display: flex;
    flex-direction: column;
  }
  body.m-home #site-header {
    order: 0;
  }
  /* Urutan ala Tokopedia: kategori → banner → produk */
  body.m-home .m-curated {
    order: 1;
  }
  body.m-home .m-promo-row {
    order: 2;
  }
  body.m-home .m-section-products {
    order: 3;
  }
  body.m-home .m-about {
    order: 6;
  }
  body.m-home .m-help-cta {
    order: 6;
  }
  body.m-home .m-footer-rich {
    order: 7;
  }

  .m-header {
    --m-sticky-top: 56px;
  }
  .m-header-inner {
    padding: 10px 14px 8px;
    gap: 8px 10px;
  }
  .m-logo {
    font-size: 1.35rem;
  }
  .m-search {
    order: 10;
    flex: 1 1 100%;
    min-width: 0;
    max-width: none;
  }
  .m-search input {
    padding: 10px 14px;
    font-size: 16px; /* hindari zoom otomatis iOS */
  }
  .m-search-btn {
    width: 44px;
  }
  .m-nav {
    margin-left: auto;
    gap: 6px 10px;
    font-size: 0.78rem;
  }
  .m-nav a:not(.m-nav-icon) {
    padding: 6px 4px;
  }
  .m-cat-trigger {
    padding: 6px 8px;
    font-size: 0.82rem;
  }

  /* Header beranda ala Tokopedia: bar warna + search putih lebar penuh */
  body.m-home {
    background: var(--m-surface-muted);
    padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px));
  }
  body.m-home .m-header.m-header--toko,
  body.m-home .m-header {
    --m-sticky-top: 96px;
    border-bottom: none;
  }
  body.m-home .m-header-inner {
    flex-wrap: wrap;
    padding: 10px 12px 12px;
    gap: 10px 8px;
  }
  body.m-home .m-logo .m-logo-digi,
  body.m-home .m-logo .m-logo-karya {
    color: #fff;
  }
  body.m-home .m-logo .m-logo-karya {
    color: #ffedd5;
  }
  body.m-home .m-logo:hover {
    color: #fff;
    opacity: 0.92;
  }
  body.m-home .m-cat-wrap {
    display: none;
  }
  body.m-home .m-search {
    order: 10;
    flex: 1 1 100%;
    min-width: 0;
    max-width: none;
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }
  body.m-home .m-search input {
    padding: 11px 14px;
    background: #fff;
    border-radius: 10px 0 0 10px;
  }
  body.m-home .m-search-btn {
    width: 44px;
    border-radius: 0 10px 10px 0;
    background: #fff;
    color: var(--m-accent);
    font-size: 1.2rem;
  }
  body.m-home .m-search-btn:hover {
    background: #fff8f4;
  }
  body.m-home .m-nav {
    margin-left: auto;
    gap: 2px;
    flex-shrink: 0;
  }
  body.m-home .m-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
  }
  body.m-home .m-nav a:hover {
    color: #fff;
    opacity: 0.9;
  }
  body.m-home .m-nav a:not(.m-nav-icon):not(#btn-open-auth):not(#btn-logout-market) {
    display: none;
  }
  body.m-home .m-nav .m-nav-icon {
    font-size: 1.25rem;
    padding: 4px 8px;
  }

  .m-promo-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding: 10px 14px 4px;
    grid-template-columns: unset;
    scrollbar-width: none;
  }
  .m-promo-row::-webkit-scrollbar {
    display: none;
  }
  .m-promo-tile {
    flex: 0 0 min(92vw, 340px);
    scroll-snap-align: center;
    min-height: 88px;
    padding: 12px 14px;
  }
  .m-promo-photo {
    width: 72px;
    height: 54px;
    top: 6px;
    right: 6px;
  }
  .m-promo-label {
    font-size: 0.88rem;
    padding-right: 64px;
    line-height: 1.25;
  }
  .m-promo-cta {
    display: none;
  }

  /* Kategori ikon bulat (grid 5 kolom) */
  body.m-home .m-curated {
    padding: 12px 10px 10px;
    margin: 0;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
  }
  body.m-home .m-curated .m-section-title,
  body.m-home .m-curated .m-section-lead {
    display: none;
  }
  body.m-home .m-curated-wrap {
    gap: 0;
  }
  body.m-home .m-curated-nav {
    display: none !important;
  }
  body.m-home .m-curated-scroll {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px 6px;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }
  body.m-home .m-curated-card--rich {
    flex: unset;
    min-height: unset;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 4px 2px;
    border: none;
    background: transparent;
    border-radius: 0;
  }
  body.m-home .m-curated-card--rich:hover {
    transform: none;
    box-shadow: none;
  }
  body.m-home .m-curated-card-text {
    justify-content: center;
    width: 100%;
  }
  body.m-home .m-curated-name {
    font-size: 0.62rem;
    font-weight: 500;
    line-height: 1.15;
    color: #313131;
    -webkit-line-clamp: 2;
  }
  body.m-home .m-curated-photo {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #eee;
    box-shadow: none;
    order: -1;
    transform: none;
  }

  /* Bagian contoh panjang — desktop saja */
  .m-examples {
    display: none;
  }

  /* Banner promo (carousel) */
  body.m-home .m-promo-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 8px;
    padding: 10px 12px;
    margin: 0;
    background: #fff;
    scrollbar-width: none;
  }
  body.m-home .m-promo-row::-webkit-scrollbar {
    display: none;
  }
  body.m-home .m-promo-tile {
    flex: 0 0 calc(100% - 8px);
    scroll-snap-align: center;
    min-height: 0;
    aspect-ratio: 2.35 / 1;
    padding: 0;
    border-radius: 10px;
    justify-content: flex-end;
  }
  body.m-home .m-promo-photo {
    position: absolute;
    inset: auto;
    top: 10px;
    right: 10px;
    width: 64px;
    height: 48px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    transform: none;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    z-index: 1;
  }
  body.m-home .m-promo-label {
    position: relative;
    z-index: 1;
    font-size: 0.85rem;
    padding: 10px 12px;
    margin: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
    border-radius: 0 0 10px 10px;
    width: 100%;
  }
  body.m-home .m-promo-cta {
    display: none;
  }

  /* Feed produk */
  body.m-home .m-section-products {
    padding: 0;
    scroll-margin-top: 100px;
    background: #f0f2f5;
    max-width: none;
  }
  body.m-home .m-section-products .m-section-title {
    display: block;
    margin: 0;
    padding: 12px 12px 8px;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: left;
    background: #f0f2f5;
    color: #212121;
  }
  body.m-home .m-section-products .m-cats {
    display: none;
  }
  body.m-home .m-grid {
    margin: 0 auto 12px;
    padding: 0 8px 16px;
    gap: 8px;
    max-width: none;
  }
  body.m-home .m-card {
    border-radius: 8px;
    border: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  }
  body.m-home .m-card:hover {
    transform: none;
  }
  body.m-home .m-card-body {
    padding: 8px 8px 10px;
  }
  body.m-home .m-card-title {
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.35;
    margin-bottom: 4px;
    min-height: 2.7em;
  }
  body.m-home .m-card-shop {
    font-size: 0.68rem;
    margin-bottom: 4px;
    color: #757575;
  }
  body.m-home .m-card-price {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--m-price-dark);
  }
  body.m-home .m-card-badge-featured {
    font-size: 0.62rem;
    padding: 2px 6px;
  }
  body.m-home .m-card-fav {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
  }

  .m-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0 14px 40px;
  }

  /* Nav bawah */
  body.m-home .m-bottom-nav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    justify-content: space-around;
    align-items: stretch;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    padding: 6px 0 calc(6px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
  }
  body.m-home .m-bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 4px 2px;
    font-size: 0.62rem;
    font-weight: 600;
    color: #757575;
    text-decoration: none;
    min-width: 0;
  }
  body.m-home .m-bottom-nav-item:hover {
    text-decoration: none;
    color: var(--m-accent);
  }
  body.m-home .m-bottom-nav-item.is-active {
    color: var(--m-accent-dark);
  }
  body.m-home .m-bottom-nav-icon {
    font-size: 1.15rem;
    line-height: 1;
  }
  body.m-home .m-footer-rich {
    margin-bottom: 8px;
  }
  .m-cats,
  .m-section-products,
  .m-curated,
  .m-examples,
  .m-about {
    padding-left: 14px;
    padding-right: 14px;
  }
  .m-section-title {
    font-size: 1.05rem;
    text-align: left;
  }
  .m-section-lead {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  .m-page {
    padding: 18px 14px 56px;
  }
  .m-product-layout {
    gap: 20px;
  }
  .m-product-layout h1 {
    font-size: 1.35rem;
    line-height: 1.25;
  }
  .m-product-price {
    font-size: 1.45rem;
    margin: 14px 0;
  }
  .m-product-share {
    flex-wrap: wrap;
    gap: 8px;
  }
  .m-product-share-label {
    width: 100%;
    margin-bottom: 2px;
  }
  .m-checkout-trust {
    font-size: 0.78rem;
    padding: 8px 10px;
  }
  #buy-area .m-btn {
    min-height: 48px;
    font-size: 1rem;
  }
  #buy-area {
    position: sticky;
    bottom: 0;
    z-index: 40;
    background: linear-gradient(transparent, var(--m-bg) 12px);
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px));
    margin-top: 8px;
  }
  .m-preview-main {
    max-height: min(72vw, 340px);
    aspect-ratio: 1;
  }

  .m-footer-rich {
    padding: 28px 14px  calc(24px + env(safe-area-inset-bottom, 0px));
  }
  .m-footer-mission {
    font-size: 1.15rem;
    max-width: none;
  }

  .m-seller-dash .m-page {
    padding-bottom: 48px;
  }
  .m-commission-wallet,
  .m-mayar-connect,
  .m-bank-pending {
    padding-left: 0;
    padding-right: 0;
  }
  .m-seller-hint,
  .m-legal-inline {
    font-size: 0.88rem;
  }
}

@media (max-width: 380px) {
  .m-nav a:not(.m-nav-icon):not([href*="setup=mayar"]) {
    max-width: 4.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .m-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Beranda mobile: header & komponen ala marketplace —— */
.m-header--toko {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255, 255, 255, 0.12) 0%, transparent 55%),
    linear-gradient(135deg, var(--m-header-from) 0%, var(--m-header-mid) 48%, var(--m-header-to) 100%);
  border-bottom: none;
  box-shadow: 0 4px 20px rgba(15, 118, 110, 0.22);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}
.m-toko-inner {
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
  padding: 0 4px;
}
.m-toko-desktop-nav {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  padding: 0 14px 8px;
  font-size: 0.82rem;
  font-weight: 600;
}
.m-toko-desktop-nav a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
}
.m-toko-desktop-nav a:hover {
  color: #fff;
  text-decoration: underline;
}
.m-toko-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 6px;
  gap: 12px;
}
.m-toko-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.m-toko-brand .m-logo-digi,
.m-toko-brand .m-logo-karya {
  color: #fff;
}
.m-toko-brand .m-logo-karya {
  color: #ffedd5;
}
.m-toko-brand:hover {
  color: #fff;
  opacity: 0.92;
  text-decoration: none;
}
.m-toko-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.m-toko-ic {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0.95;
}
.m-toko-ic:hover {
  opacity: 1;
  text-decoration: none;
}
.m-toko-search {
  display: flex;
  align-items: center;
  margin: 0 12px 12px;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 12px;
  padding: 0 12px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
}
.m-toko-search-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 4px;
}
.m-toko-search-logo .m-logo-mark-svg {
  border-radius: 6px;
}
.m-toko-search input {
  flex: 1;
  border: none;
  padding: 12px 10px;
  font-size: 16px;
  min-width: 0;
  background: transparent;
}
.m-toko-search input:focus {
  outline: none;
}

.m-feed-head {
  display: none;
}
.m-flash-deals {
  display: none;
}

/* Beranda: layout marketplace — HP & desktop (scroll pendek, produk cepat) */
body.m-home {
  background: var(--m-surface-muted);
  padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px));
}
body.m-home .m-examples,
body.m-home .m-about,
body.m-home .m-help-cta,
body.m-home .m-footer-rich {
  display: none;
}
body.m-home .m-curated .m-section-title,
body.m-home .m-curated .m-section-lead {
  display: none;
}
body.m-home .m-curated-nav {
  display: none !important;
}
body.m-home .m-section-products > .m-section-title {
  display: none;
}
body.m-home .m-section-products .m-cats {
  display: none;
}
body.m-home {
  display: flex;
  flex-direction: column;
}
body.m-home #site-header {
  order: 0;
  width: 100%;
}
body.m-home .m-home-main {
  order: 1;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}
body.m-home .m-home-main .m-curated {
  order: 1;
}
body.m-home .m-home-main .m-promo-row {
  order: 2;
}
body.m-home .m-home-main .m-section-products {
  order: 3;
}
body.m-home .m-home-main .m-home-mini-footer {
  order: 4;
}
body.m-home .m-bottom-nav {
  order: 2;
}
body.m-home .m-bottom-nav {
  display: flex;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  justify-content: space-around;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--m-border);
  padding: 4px 6px calc(4px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
}
body.m-home .m-bottom-nav-item {
  flex: 1 1 0;
  min-width: 0;
  max-width: 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px 2px;
  font-size: 0.65rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
}
body.m-home .m-bottom-nav-label {
  display: block;
  width: 100%;
  max-width: 4.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  line-height: 1.1;
}
body.m-home .m-bottom-nav-item:hover {
  text-decoration: none;
  color: var(--m-header-mid);
}
body.m-home .m-bottom-nav-item.is-active {
  color: var(--m-price-dark);
}
@media (max-width: 899px) {
  body.m-home .m-bottom-nav {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(100%, 480px);
    border-left: 1px solid var(--m-border);
    border-right: 1px solid var(--m-border);
    border-radius: 14px 14px 0 0;
  }
}

body.m-home .m-curated {
    background: var(--m-surface);
    padding: 10px 8px 12px;
    border-bottom: 6px solid var(--m-surface-muted);
  }
  body.m-home .m-curated-scroll {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 8px 4px !important;
    overflow: visible !important;
  }
  body.m-home .m-curated-card--toko {
    flex-direction: column !important;
    align-items: center !important;
    min-height: unset !important;
    padding: 4px 2px !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center;
  }
  body.m-home .m-curated-card--toko:hover {
    transform: none;
  }
  body.m-home .m-curated-card--toko .m-curated-card-text {
    width: 100%;
    justify-content: center;
    order: 2;
  }
  body.m-home .m-curated-card--toko .m-curated-name {
    font-size: 0.6rem;
    font-weight: 500;
    line-height: 1.15;
    color: #334155;
    text-align: center;
    -webkit-line-clamp: 2;
  }
  body.m-home .m-curated-card--toko .m-curated-photo {
    position: static !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    object-fit: cover;
    margin: 0 auto 4px;
    transform: none !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06) !important;
    border: 2px solid var(--m-surface-muted) !important;
    order: 1;
  }
  body.m-home .m-curated-photo--all {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--m-surface-muted);
    font-size: 1.2rem;
    color: var(--m-muted);
    object-fit: none;
  }

  body.m-home .m-promo-row {
    background: var(--m-surface);
    padding: 10px 12px;
    margin: 0;
    border-bottom: 6px solid var(--m-surface-muted);
  }
  body.m-home .m-promo-tile {
    border-radius: 10px;
    overflow: hidden;
  }

  body.m-home .m-feed-head {
    display: block;
    padding: 12px 12px 8px;
    background: var(--m-surface-muted);
  }
  body.m-home .m-feed-head .m-section-title {
    display: block;
    margin: 0 0 2px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--m-ink);
  }
  body.m-home .m-feed-sub {
    margin: 0;
    font-size: 0.78rem;
    color: var(--m-muted);
    font-weight: 500;
  }

  body.m-home .m-flash-deals {
    display: block;
    background: linear-gradient(105deg, #ecfdf5 0%, #f0fdfa 35%, var(--m-surface) 100%);
    border-bottom: 6px solid var(--m-surface-muted);
    padding: 10px 0 12px;
  }
  body.m-home .m-flash-deals-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px 8px;
  }
  body.m-home .m-flash-deals-badge {
    background: linear-gradient(135deg, var(--m-header-mid), var(--m-header-to));
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }
  body.m-home .m-flash-deals-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--m-ink);
  }
  body.m-home .m-flash-deals-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  body.m-home .m-flash-deals-scroll::-webkit-scrollbar {
    display: none;
  }
  body.m-home .m-flash-card {
    flex: 0 0 108px;
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
    background: var(--m-surface);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--m-border);
    box-shadow: var(--m-shadow);
  }
  body.m-home .m-flash-card:hover {
    text-decoration: none;
  }
  body.m-home .m-flash-card-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    background: #eee;
  }
  body.m-home .m-flash-card-price {
    display: block;
    padding: 4px 6px 0;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--m-price-dark);
  }
  body.m-home .m-flash-card-title {
    display: block;
    padding: 2px 6px 6px;
    font-size: 0.62rem;
    line-height: 1.25;
    color: #475569;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  body.m-home .m-section-products {
    background: var(--m-surface-muted);
    padding: 0;
  }
  body.m-home .m-grid {
    padding: 0 8px 16px;
    gap: 8px;
  }
  body.m-home .m-card {
    border-radius: 10px;
    border: 1px solid var(--m-border);
    box-shadow: var(--m-shadow);
  }
  body.m-home .m-card-price {
    color: var(--m-price-dark);
  }
  body.m-home .m-bottom-nav-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
  }
  body.m-home .m-bottom-nav-item.is-active {
    color: var(--m-price-dark);
  }
  body.m-home .m-bottom-nav-item:hover {
    color: var(--m-header-mid);
  }
  body.m-home .m-bottom-nav-item.is-active svg {
    stroke: var(--m-price-dark);
  }

body.m-home .m-promo-row {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 8px;
  scrollbar-width: none;
}
body.m-home .m-promo-row::-webkit-scrollbar {
  display: none;
}
body.m-home .m-promo-tile {
  flex: 0 0 calc(100% - 4px);
  scroll-snap-align: center;
  aspect-ratio: 3.4 / 1;
  max-height: 112px;
  min-height: 68px;
  position: relative;
  overflow: hidden;
}
body.m-home .m-promo-photo {
  position: absolute;
  inset: auto;
  top: 10px;
  right: 10px;
  width: 72px;
  height: 54px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  border: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  transform: none;
}
body.m-home .m-promo-label {
  position: relative;
  z-index: 1;
  background: none;
  padding-right: 84px;
}
body.m-home .m-flash-deals[hidden] {
  display: none !important;
}
body.m-home .m-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 720px) and (max-width: 900px) {
  body.m-home .m-promo-tile {
    max-height: 100px;
    aspect-ratio: 3.8 / 1;
  }
}

/* Desktop beranda — layout klasik (bukan tampilan mobile) */
@media (min-width: 901px) {
  body.m-home {
    background: var(--m-bg);
    padding-bottom: 0;
    display: block;
  }
  body.m-home .m-examples,
  body.m-home .m-about,
  body.m-home .m-help-cta,
  body.m-home .m-footer-rich {
    display: block !important;
  }
  body.m-home .m-home-mini-footer,
  body.m-home .m-bottom-nav {
    display: none !important;
  }
  body.m-home .m-home-main {
    display: contents;
    max-width: none;
  }
  body.m-home .m-home-main .m-curated,
  body.m-home .m-home-main .m-promo-row,
  body.m-home .m-home-main .m-section-products {
    order: unset;
  }
  body.m-home .m-curated {
    padding: 28px 20px 12px;
    margin: 0 auto;
    max-width: 1200px;
    background: transparent;
    border: none;
  }
  body.m-home .m-curated .m-section-title,
  body.m-home .m-curated .m-section-lead {
    display: block !important;
  }
  body.m-home .m-curated-scroll {
    display: flex !important;
    grid-template-columns: unset !important;
    overflow-x: auto !important;
    gap: 14px !important;
    padding: 4px 0 8px !important;
  }
  body.m-home .m-curated-card--toko {
    flex: 0 0 auto !important;
    flex-direction: row !important;
    align-items: center !important;
    min-height: 88px !important;
    padding: 12px 14px !important;
    border: 1px solid var(--m-border) !important;
    background: var(--m-surface) !important;
    border-radius: var(--m-radius) !important;
    box-shadow: var(--m-shadow) !important;
  }
  body.m-home .m-curated-card--toko .m-curated-photo {
    position: absolute !important;
    width: 72px !important;
    height: 72px !important;
    border-radius: 10px !important;
    margin: 0 !important;
    order: unset !important;
  }
  body.m-home .m-curated-card--toko .m-curated-name {
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    text-align: left !important;
  }
  body.m-home .m-promo-row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    gap: 12px !important;
    padding: 20px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    background: transparent !important;
    border: none !important;
  }
  body.m-home .m-promo-tile {
    flex: unset !important;
    aspect-ratio: unset !important;
    max-height: none !important;
    min-height: 140px !important;
    padding: 20px !important;
  }
  body.m-home .m-promo-photo {
    position: absolute !important;
    inset: auto !important;
    top: 10px !important;
    right: 10px !important;
    width: 120px !important;
    height: 90px !important;
    object-fit: contain !important;
    border-radius: 10px !important;
  }
  body.m-home .m-promo-label {
    position: relative !important;
    z-index: 1 !important;
    padding: 0 132px 0 0 !important;
    margin: 0 !important;
    background: none !important;
    width: auto !important;
    font-size: 1.05rem !important;
  }
  body.m-home .m-promo-cta {
    display: inline !important;
  }
  body.m-home .m-section-products {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 12px 20px 32px !important;
    background: transparent !important;
  }
  body.m-home .m-feed-head {
    display: block !important;
    text-align: center;
    background: transparent !important;
    padding: 8px 0 4px !important;
  }
  body.m-home .m-feed-head .m-section-title {
    font-size: 1.15rem !important;
    text-align: center !important;
  }
  body.m-home .m-feed-sub {
    text-align: center;
    margin: 0 auto 12px !important;
    max-width: 520px;
  }
  body.m-home .m-section-products .m-cats {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
  }
  body.m-home .m-flash-deals {
    display: none !important;
  }
  body.m-home .m-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 0 8px !important;
    gap: 16px !important;
  }
  body.m-home .m-card {
    border-radius: var(--m-radius) !important;
  }
  body.m-home .m-card-title {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    min-height: unset !important;
  }
  body.m-home .m-card-price {
    font-size: 1.05rem !important;
  }
}

.m-home-mini-footer {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  padding: 16px 12px 24px;
  font-size: 0.78rem;
  color: var(--m-muted);
  background: var(--m-surface-muted);
  border-top: 1px solid var(--m-border);
}
.m-home-mini-footer a {
  color: var(--m-price-dark);
  font-weight: 600;
  text-decoration: none;
}
.m-home-mini-footer a:hover {
  text-decoration: underline;
}
.m-home-mini-footer span[aria-hidden] {
  opacity: 0.45;
}
