:root {
  --green: #49aaa8;
  --green-dark: #177f82;
  --green-soft: #e3f3f1;
  --orange: #2b9898;
  --orange-soft: #d7eeeb;
  --blue: #5fb9b7;
  --red: #d85f73;
  --teal: #8fcac6;
  --purple: #6aaeb5;
  --ink: #222831;
  --ink-soft: #394150;
  --muted: #687280;
  --line: #d9e9e7;
  --soft: #f1f8f7;
  --white: #ffffff;
  --mint: #a7d8d4;
  --mint-light: #c6e6e3;
  --deep-teal: #1f8b8f;
  --shadow: 0 18px 44px rgba(25, 104, 108, 0.14);
  --shadow-soft: 0 10px 26px rgba(25, 104, 108, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(73, 170, 168, 0.18), transparent 32rem),
    linear-gradient(180deg, #eff8f7 0, var(--soft) 360px);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
}

a:hover {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 rgba(230, 233, 238, 0.9);
  backdrop-filter: blur(16px);
}

.topbar {
  background: #176f72;
  color: var(--white);
  font-size: 12px;
}

.topbar__inner {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  min-height: 34px;
  align-items: center;
  color: rgba(255, 255, 255, 0.86);
}

.nav {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 62px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--deep-teal);
}

.brand__mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #227f84, #8dcac6);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(33, 127, 132, 0.18);
  font-size: 16px;
}

/* Logo brand (gambar) — disamakan dengan Web-Hub-v2. */
.brand__logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 8px;
}

.search {
  display: flex;
  min-width: 0;
  border: 1px solid rgba(73, 170, 168, 0.46);
  border-radius: 10px;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(33, 127, 132, 0.08);
}

.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  min-height: 38px;
  padding: 9px 14px;
  outline: 0;
  font-size: 14px;
}

.search button,
.primary-button {
  border: 0;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}

.search button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 18px;
  background: linear-gradient(135deg, #5fb9b7, #177f82);
  font-size: 14px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.icon-button,
.login-button,
.ghost-button,
.tab {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.icon-button {
  display: grid;
  min-width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  font-size: 12px;
}

.icon-button i {
  font-size: 17px;
}

.icon-button .badge {
  min-width: 16px;
  padding: 3px 5px;
  font-size: 9px;
}

.icon-button .bg-danger {
  background-color: var(--deep-teal) !important;
}

.login-button,
.primary-button,
.ghost-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 10px;
  padding: 0 15px;
  font-size: 14px;
  font-weight: 700;
}

.primary-button--light {
  background: var(--white);
  color: var(--green-dark);
}

.quick-links {
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  padding: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.quick-links span {
  color: var(--ink);
  font-weight: 800;
}

.quick-links a {
  border: 1px solid transparent;
  border-radius: 999px;
  background: #f2f5f7;
  padding: 5px 10px;
  transition: 180ms ease;
}

.quick-links a:hover {
  border-color: rgba(73, 170, 168, 0.34);
  background: var(--green-soft);
  color: var(--green-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  padding-block: 26px 20px;
}

.hero__banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 24px;
  background:
    linear-gradient(165deg, #1f8b8f 0%, #4eaca9 46%, #a7d8d4 100%);
  color: var(--white);
  box-shadow: var(--shadow);
}

.hero__banner::before {
  position: absolute;
  inset: -80px -80px auto auto;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  content: "";
}

.hero__banner::after {
  position: absolute;
  right: -6%;
  bottom: -34%;
  width: 118%;
  height: 54%;
  border-radius: 50% 50% 0 0;
  background: rgba(209, 239, 235, 0.34);
  content: "";
}

.hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px;
}

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

.hero .eyebrow,
.section--highlight .eyebrow {
  color: #e7fbf8;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 26px;
  font-weight: 800;
}

h3 {
  font-size: 15px;
  line-height: 1.45;
}

.hero__copy p:not(.eyebrow) {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.hero-metrics div {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  padding: 12px;
  backdrop-filter: blur(10px);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  font-size: 20px;
  font-weight: 800;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
}

.hero__banner img {
  position: relative;
  z-index: 1;
  align-self: end;
  width: 100%;
  height: 92%;
  object-fit: contain;
  padding: 22px 22px 0 0;
  filter: drop-shadow(0 24px 36px rgba(18, 31, 43, 0.18));
}

.hero__side {
  display: grid;
  gap: 20px;
}

.hero__side article {
  display: flex;
  min-height: 151px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(230, 233, 238, 0.78);
  border-radius: 20px;
  background: var(--white);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: 180ms ease;
}

.hero__side article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.hero__side span,
.hero__side small {
  color: var(--muted);
}

.hero__side span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
}

.hero__side i {
  color: var(--green);
}

.hero__side strong {
  margin: 8px 0;
  color: var(--deep-teal);
  font-size: 26px;
}

.promo-carousel {
  margin-bottom: 20px;
}

.promo-carousel .carousel {
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.promo-slide {
  display: flex;
  min-height: 180px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 72px;
  color: var(--white);
}

.promo-slide h2 {
  max-width: 620px;
  margin: 6px 0 8px;
  color: var(--white);
}

.promo-slide p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.promo-slide span {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.promo-slide i {
  font-size: clamp(54px, 9vw, 96px);
  opacity: 0.72;
}

.promo-slide--one {
  background: linear-gradient(135deg, #176f72, #5fb9b7);
}

.promo-slide--two {
  background: linear-gradient(135deg, #277f84, #8fcac6);
}

.promo-slide--three {
  background: linear-gradient(135deg, #1f8b8f, #a7d8d4);
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.service-strip a {
  display: flex;
  min-height: 108px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(29, 39, 54, 0.04);
  font-size: 14px;
  text-align: center;
  transition: 180ms ease;
}

.service-strip a:hover {
  transform: translateY(-3px);
  border-color: rgba(73, 170, 168, 0.34);
  box-shadow: var(--shadow-soft);
}

.service-strip strong {
  font-weight: 800;
}

.service-strip small {
  color: var(--muted);
  font-size: 12px;
}

.service-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.trust-strip div {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(230, 233, 238, 0.8);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  padding: 14px 16px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.trust-strip i {
  color: var(--green);
  font-size: 18px;
}

.service-icon--green {
  background: #1f8b8f;
}

.service-icon--orange {
  background: #49aaa8;
}

.service-icon--blue {
  background: #5fb9b7;
}

.service-icon--red {
  background: #78c3bf;
}

.service-icon--purple {
  background: #98d0cb;
}

.service-icon--teal {
  background: #2b9898;
}

.section {
  padding: 28px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-heading > a {
  color: var(--green-dark);
  font-weight: 800;
  white-space: nowrap;
}

.section-subtitle {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

#kategori {
  padding-top: 22px;
}

#kategori .section-heading {
  align-items: center;
  margin-bottom: 12px;
}

#kategori .section-heading h2 {
  font-size: 22px;
}

#kategori .section-heading .eyebrow {
  margin-bottom: 5px;
  font-size: 11px;
}

#kategori .section-subtitle {
  margin-top: 4px;
  font-size: 13px;
}

/* Strip kategori ala marketplace: ikon kecil, geser horizontal, tombol panah. */
.category-strip {
  position: relative;
}

.category-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: var(--white);
  border-radius: 12px;
  padding: 6px 4px;
}

.category-grid::-webkit-scrollbar {
  display: none;
}

.category-card {
  display: grid;
  flex: 0 0 96px;
  scroll-snap-align: start;
  place-items: center;
  align-content: start;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  padding: 12px 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  text-align: center;
  box-shadow: none;
  transition: 180ms ease;
}

.category-card:hover {
  transform: none;
  background: #f2faf9;
  color: var(--deep-teal);
}

.category-card img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

/* Ikon kategori: glyph Bootstrap Icons atau emoji dari master kategori. */
.category-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: var(--deep-teal);
  font-size: 32px;
  line-height: 1;
}

.category-icon .category-emoji {
  font-size: 30px;
  line-height: 1;
}

/* Tombol panah geser — muncul hanya bila strip bisa digeser (dikelola JS). */
.category-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(29, 39, 54, 0.14);
  transition: 150ms ease;
}

.category-nav:hover {
  color: var(--deep-teal);
  border-color: var(--deep-teal);
}

.category-nav--prev {
  left: -6px;
}

.category-nav--next {
  right: -6px;
}

.category-strip.is-scrollable .category-nav.is-visible {
  display: flex;
}

.section--highlight {
  margin-top: 14px;
  background:
    linear-gradient(165deg, #1f8b8f 0%, #55b4b1 54%, #a7d8d4 100%),
    #49aaa8;
  color: var(--white);
}

.section--highlight h2 {
  color: var(--white);
}

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

.seller-card {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  transition: 180ms ease;
}

.seller-card:hover {
  transform: translateY(-3px);
  border-color: rgba(73, 170, 168, 0.34);
}

.seller-avatar {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #1f8b8f, #a7d8d4);
  color: var(--white);
  font-weight: 800;
}

.seller-card h3 {
  min-height: 0;
  margin-bottom: 4px;
  font-size: 17px;
  font-weight: 800;
}

.seller-card p {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

.seller-card span {
  color: #176f72;
  font-size: 12px;
  font-weight: 800;
}

.section-heading--sale {
  align-items: center;
}

.countdown {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  padding: 10px 16px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.sale-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.sale-card,
.product-card,
.filter-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.sale-card {
  position: relative;
  padding: 14px;
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(25, 104, 108, 0.12);
  transition: 180ms ease;
}

.sale-card:hover {
  transform: translateY(-4px);
}

.discount {
  position: absolute;
  top: 10px;
  left: 10px;
  border-radius: 999px;
  background: #d8f4f0;
  padding: 4px 8px;
  color: #176f72;
  font-size: 12px;
  font-weight: 800;
}

.sale-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border-radius: 14px;
  background: #f7f8fb;
}

.sale-card h3,
.product-card h3 {
  min-height: 44px;
  margin: 12px 0 8px;
}

.sale-card p,
.price {
  color: var(--orange);
  font-size: 18px;
  font-weight: 800;
}

.price {
  margin-bottom: 0;
}

.price-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.price-wrap span {
  color: #9aa3ad;
  font-size: 12px;
  text-decoration: line-through;
}

.stock {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #d7eeeb;
}

.stock span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--deep-teal);
}

.sale-card small {
  color: var(--muted);
}

.sale-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.sale-meta .btn {
  border-radius: 999px;
  background: var(--deep-teal);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.tabs {
  display: inline-flex;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  padding: 4px;
}

.product-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.tab {
  min-height: 36px;
  border: 0;
  border-radius: 10px;
  padding: 0 14px;
  font-weight: 800;
}

.sort-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

.tab.is-active {
  border-color: transparent;
  background: var(--deep-teal);
  color: var(--white);
}

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

.filter-panel {
  position: sticky;
  top: 138px;
  padding: 18px;
  box-shadow: 0 10px 26px rgba(29, 39, 54, 0.05);
}

.filter-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.filter-title i {
  color: var(--deep-teal);
}

.filter-panel h3 {
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 800;
}

.filter-panel label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.filter-panel select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  padding: 10px;
  color: var(--ink);
}

.filter-panel .checkbox {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
}

.filter-reset {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-weight: 800;
}

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

.catalog-empty {
  grid-column: 1 / -1;
  display: grid;
  min-height: 260px;
  place-items: center;
  border: 1px dashed rgba(73, 170, 168, 0.5);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  text-align: center;
}

.catalog-empty i {
  color: var(--deep-teal);
  font-size: 42px;
}

.product-card {
  overflow: hidden;
  border: 1px solid rgba(230, 233, 238, 0.86);
  box-shadow: 0 8px 22px rgba(29, 39, 54, 0.045);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(73, 170, 168, 0.36);
  box-shadow: var(--shadow);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: linear-gradient(180deg, #ffffff, #edf7f6);
  padding: 18px;
  cursor: pointer;
}

.product-card__body {
  display: flex;
  min-height: 236px;
  flex-direction: column;
  padding: 14px;
}

.product-card__top {
  display: flex;
  min-height: 28px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-card__actions {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 7px;
  margin-top: auto;
  padding-top: 10px;
}

.outline-button {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--deep-teal);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.product-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.product-badge {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: var(--green-soft);
  padding: 4px 9px;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 800;
}

.product-promo {
  overflow: hidden;
  color: var(--deep-teal);
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rating {
  color: #176f72;
}

.rating i {
  margin-right: 3px;
}

.cart-button {
  min-height: 32px;
  border: 1px solid var(--green);
  border-radius: 10px;
  background: linear-gradient(135deg, #5fb9b7, #177f82);
  color: var(--white);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.product-card__actions .cart-button i {
  font-size: 13px;
}

.product-modal {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
}

.product-modal .btn-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
}

.product-detail {
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  gap: 24px;
  padding: 28px;
}

.product-detail__image {
  display: grid;
  min-height: 380px;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #edf7f6);
}

.product-detail__image img {
  width: 86%;
  max-height: 340px;
  object-fit: contain;
}

.product-detail__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.product-meta--detail {
  justify-content: flex-start;
}

.detail-copy {
  color: var(--muted);
  line-height: 1.75;
}

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

.detail-specs div {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--green-soft);
  padding: 12px;
}

.detail-specs strong,
.detail-specs span {
  display: block;
}

.detail-specs strong {
  color: var(--deep-teal);
}

.detail-specs span {
  color: var(--muted);
  font-size: 12px;
}

.cart-panel {
  border-left: 0;
}

.cart-items {
  display: grid;
  gap: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px;
}

.cart-item img {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  background: var(--green-soft);
  object-fit: contain;
  padding: 8px;
}

.cart-item h3 {
  min-height: 0;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 800;
}

.cart-item p {
  margin-bottom: 0;
  color: var(--deep-teal);
  font-weight: 800;
}

.cart-item button {
  border: 0;
  background: transparent;
  color: var(--muted);
}

.cart-empty {
  display: grid;
  min-height: 260px;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: var(--muted);
  text-align: center;
}

.cart-empty i {
  color: var(--deep-teal);
  font-size: 44px;
}

.cart-empty.is-hidden {
  display: none;
}

.cart-summary {
  position: sticky;
  bottom: 0;
  display: grid;
  gap: 12px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  background: var(--white);
  padding-top: 16px;
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.cart-summary strong {
  color: var(--deep-teal);
}

.mobile-nav {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 30;
  display: none;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid rgba(217, 233, 231, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.mobile-nav a,
.mobile-nav button {
  display: grid;
  min-height: 62px;
  place-items: center;
  align-content: center;
  gap: 3px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.mobile-nav i {
  color: var(--deep-teal);
  font-size: 19px;
}

.footer {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  background: #176f72;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer__inner div:first-child {
  display: grid;
  gap: 4px;
}

.footer strong {
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  font-weight: 700;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 0;
  }

  .nav-actions {
    justify-content: space-between;
  }

  .hero,
  .hero__banner,
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .hero__banner img {
    max-height: 260px;
  }

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

  .service-strip,
  .category-grid,
  .seller-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .filter-panel {
    position: static;
  }
}

@media (max-width: 620px) {
  body {
    background:
      radial-gradient(120% 80% at 50% 0%, #f0f7f5 0%, #e7f2ef 58%),
      var(--soft);
    padding-bottom: 88px;
  }

  .page-shell {
    width: min(100% - 24px, 420px);
  }

  .site-header {
    position: sticky;
    background: rgba(251, 253, 252, 0.96);
    box-shadow: 0 1px 0 rgba(217, 233, 231, 0.86);
  }

  .topbar {
    display: none;
  }

  .topbar__inner {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
  }

  .nav {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    min-height: 0;
    padding: 10px 0 8px;
  }

  .brand {
    gap: 8px;
    min-width: 0;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .brand__text {
    overflow: hidden;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .search {
    grid-column: 1 / -1;
    flex-direction: row;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(25, 104, 108, 0.07);
  }

  .search input {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 12.5px;
  }

  .search button {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0;
  }

  .search button i {
    font-size: 16px;
  }

  .nav-actions {
    justify-content: flex-end;
    gap: 7px;
  }

  .nav-actions .login-button,
  .nav-actions .primary-button {
    display: none;
  }

  .icon-button {
    min-width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .quick-links {
    width: min(100% - 24px, 420px);
    padding: 0 0 10px;
    gap: 7px;
    font-size: 11.5px;
  }

  .quick-links span {
    display: none;
  }

  .quick-links a {
    background: var(--white);
    padding: 6px 10px;
  }

  .hero {
    gap: 12px;
    padding-block: 12px 14px;
  }

  .hero__copy {
    padding: 22px 18px 18px;
  }

  .hero__banner {
    min-height: auto;
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .hero__banner::before {
    width: 170px;
    height: 170px;
  }

  .hero__banner::after {
    bottom: -26%;
    height: 42%;
  }

  h1 {
    margin-bottom: 10px;
    font-size: 27px;
    line-height: 1.12;
  }

  h2 {
    font-size: 20px;
    line-height: 1.25;
  }

  h3 {
    font-size: 13px;
  }

  .hero__copy p:not(.eyebrow) {
    font-size: 13px;
    line-height: 1.55;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 10px;
  }

  .hero__actions .btn {
    min-height: 43px;
    border-radius: 14px;
    font-size: 13px;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 16px;
  }

  .hero-metrics div {
    border-radius: 14px;
    padding: 9px 7px;
  }

  .hero-metrics strong {
    font-size: 15px;
  }

  .hero-metrics span {
    font-size: 10px;
    line-height: 1.3;
  }

  .hero__banner img {
    justify-self: center;
    width: min(78%, 260px);
    max-height: 190px;
    padding: 0 12px 10px;
  }

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

  .hero__side article {
    min-height: 106px;
    border-radius: 16px;
    padding: 14px;
  }

  .hero__side span {
    font-size: 11px;
  }

  .hero__side strong {
    margin: 6px 0 2px;
    font-size: 18px;
  }

  .hero__side small {
    font-size: 11px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 12px;
  }

  .trust-strip div {
    border-radius: 14px;
    padding: 12px 13px;
    font-size: 12px;
  }

  .service-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
    margin-bottom: 10px;
  }

  .service-strip a {
    min-height: 96px;
    border-radius: 16px;
    padding: 10px 6px;
    font-size: 12px;
  }

  .service-strip small {
    font-size: 10.5px;
  }

  .service-icon {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .promo-slide {
    min-height: 174px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 22px 34px;
  }

  .promo-carousel,
  .section {
    margin-bottom: 0;
  }

  .promo-carousel .carousel {
    border-radius: 18px;
  }

  .promo-slide h2 {
    font-size: 19px;
  }

  .promo-slide p {
    font-size: 12px;
    line-height: 1.45;
  }

  .promo-slide i {
    align-self: flex-end;
    margin-top: -18px;
    font-size: 52px;
  }

  .carousel-indicators {
    margin-bottom: 6px;
  }

  .category-grid,
  .sale-row,
  .product-grid,
  .seller-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .category-card {
    flex: 0 0 76px;
    font-size: 11.5px;
  }

  .category-card img {
    width: 44px;
    height: 44px;
  }

  .category-icon {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .category-icon .category-emoji {
    font-size: 22px;
  }

  .section {
    padding: 20px 0;
  }

  .section--highlight {
    margin-top: 8px;
    padding: 18px 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
  }

  .section-heading > a {
    font-size: 12px;
  }

  .section-subtitle {
    font-size: 12px;
    line-height: 1.45;
  }

  .countdown {
    width: 100%;
    border-radius: 14px;
    padding: 10px 12px;
    text-align: center;
  }

  .sale-card {
    border-radius: 16px;
    padding: 11px;
  }

  .sale-card img {
    height: 108px;
    border-radius: 13px;
  }

  .sale-card h3,
  .product-card h3 {
    min-height: 38px;
    margin: 9px 0 7px;
    line-height: 1.35;
  }

  .sale-card p,
  .price {
    font-size: 14px;
  }

  .sale-meta {
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
  }

  .sale-meta .btn {
    min-height: 34px;
  }

  .seller-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    border-radius: 16px;
    padding: 14px;
  }

  .seller-avatar {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 12px;
  }

  .seller-card h3 {
    font-size: 14px;
  }

  .seller-card p,
  .seller-card span {
    font-size: 11px;
  }

  .catalog-layout {
    gap: 12px;
  }

  .filter-panel {
    border-radius: 16px;
    padding: 14px;
  }

  .filter-panel label {
    margin-bottom: 11px;
    font-size: 12px;
  }

  .filter-title {
    margin-bottom: 10px;
  }

  .filter-title h3 {
    font-size: 16px;
  }

  .filter-reset,
  .filter-panel select {
    min-height: 40px;
    border-radius: 12px;
    font-size: 12px;
  }

  .product-card {
    border-radius: 16px;
  }

  .product-card img {
    padding: 12px;
  }

  .product-card__body {
    min-height: 246px;
    padding: 11px;
  }

  .product-card__top,
  .product-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-card__top {
    min-height: 46px;
    gap: 6px;
  }

  .product-badge {
    padding: 4px 8px;
    font-size: 10px;
  }

  .product-promo,
  .product-meta {
    width: 100%;
    font-size: 10.5px;
    line-height: 1.35;
  }

  .product-meta span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .price-wrap {
    gap: 5px;
    margin-bottom: 8px;
  }

  .price-wrap span {
    font-size: 10.5px;
  }

  .product-card__actions {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-top: 8px;
  }

  .outline-button,
  .cart-button {
    min-height: 31px;
    border-radius: 10px;
    font-size: 11.5px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: auto;
    border-radius: 14px;
  }

  .tab {
    min-height: 35px;
    padding: 0 8px;
    font-size: 12px;
  }

  .product-tools {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    justify-content: stretch;
  }

  .product-tools .tabs {
    grid-column: 1 / -1;
  }

  .sort-button {
    min-height: 36px;
    border-radius: 12px;
    font-size: 12px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 0;
    font-size: 12px;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }

  .product-detail__image {
    min-height: 220px;
    border-radius: 16px;
  }

  .product-detail__content h2 {
    padding-right: 28px;
  }

  .detail-copy {
    font-size: 13px;
    line-height: 1.6;
  }

  .detail-specs {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cart-item {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    border-radius: 14px;
  }

  .cart-item img {
    width: 58px;
    height: 58px;
  }

  .mobile-nav {
    display: grid;
    right: 12px;
    bottom: 10px;
    left: 12px;
    max-width: 420px;
    margin-inline: auto;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 38px rgba(13, 40, 30, 0.18);
  }

  .mobile-nav a,
  .mobile-nav button {
    min-height: 60px;
    font-size: 10.5px;
    line-height: 1.2;
  }

  .mobile-nav a:first-child,
  .mobile-nav a:hover,
  .mobile-nav button:hover {
    color: var(--deep-teal);
  }
}

@media (max-width: 380px) {
  .page-shell,
  .quick-links {
    width: min(100% - 18px, 360px);
  }

  h1 {
    font-size: 24px;
  }

  .hero__copy {
    padding: 20px 15px 16px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero__side,
  .category-grid,
  .sale-row,
  .product-grid,
  .seller-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    flex: 0 0 72px;
  }

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

  .product-card__body {
    min-height: auto;
  }

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

/* ------------------------------------------------------------------ */
/* Akun & transaksi: login, register, cart, checkout, orders          */
/* Dibuat memakai token warna & pola kartu (.filter-panel/.cart-item)  */
/* yang sudah ada, bukan sistem visual baru.                          */
/* ------------------------------------------------------------------ */

.nav-hello {
  margin-right: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  white-space: nowrap;
}

.auth-shell {
  display: grid;
  justify-content: center;
  padding: 32px 0 48px;
}

.auth-card {
  width: min(100%, 420px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  padding: 28px 24px;
}

.auth-card h1 {
  margin-bottom: 4px;
  font-size: 22px;
  font-weight: 800;
}

.auth-card .section-subtitle {
  display: block;
  margin-bottom: 20px;
}

.auth-card .form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}

.auth-card .form-control {
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 10px 12px;
}

.auth-card .form-control:focus {
  border-color: var(--deep-teal);
  box-shadow: 0 0 0 0.2rem rgba(31, 139, 143, 0.15);
}

.auth-card .btn {
  border-radius: 10px;
  font-weight: 700;
  padding: 10px 16px;
}

.auth-switch {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.auth-switch a {
  color: var(--deep-teal);
  font-weight: 700;
}

.alert-inline {
  margin-bottom: 16px;
  border-radius: 10px;
  border: 1px solid rgba(216, 95, 115, 0.35);
  background: rgba(216, 95, 115, 0.1);
  color: #9d3247;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 600;
}

.summary-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
}

.summary-line--total {
  margin-top: 8px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 16px;
  font-weight: 800;
  color: var(--deep-teal);
}

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

@media (max-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

.order-list {
  display: grid;
  gap: 12px;
}

.order-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  padding: 14px 16px;
}

.order-row strong {
  display: block;
  font-size: 14px;
}

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

.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--deep-teal);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
}

.order-items-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.order-items-table th,
.order-items-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.order-items-table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.empty-state {
  display: grid;
  min-height: 200px;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: var(--muted);
  text-align: center;
}

.empty-state i {
  color: var(--deep-teal);
  font-size: 42px;
}

/* ---- Filter tab daftar pesanan (/orders) ---- */
.order-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.order-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: var(--white);
  text-decoration: none;
}

.order-tab--active {
  background: var(--deep-teal);
  border-color: var(--deep-teal);
  color: #fff;
}

/* ---- Badge status terminal/peringatan (halaman daftar & detail pesanan) ---- */
.status-pill--danger {
  background: rgba(216, 95, 115, 0.15);
  color: var(--red);
}

.status-pill--warning {
  background: rgba(216, 165, 95, 0.18);
  color: #a3711f;
}

/* ---- Stepper status pesanan (halaman detail pesanan) ---- */
.order-stepper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0 0 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.order-stepper__step {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 110px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}

.order-stepper__step:not(:last-child)::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--line);
  margin-left: 8px;
}

.order-stepper__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--line);
  flex-shrink: 0;
}

.order-stepper__step--done .order-stepper__dot {
  background: var(--deep-teal);
}

.order-stepper__step--done {
  color: var(--deep-teal);
}

.order-stepper__step--current .order-stepper__label {
  text-decoration: underline;
}

.order-status-terminal {
  border: 1px solid rgba(216, 95, 115, 0.35);
  border-radius: 16px;
  background: rgba(216, 95, 115, 0.08);
  padding: 16px;
  margin-bottom: 20px;
}

.order-status-terminal__reason {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13.5px;
}

/* ---- Panel aksi siklus-hidup pesanan (halaman detail pesanan) ---- */
.order-actions__note {
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 12px;
}

.order-actions__cancel {
  margin-top: 12px;
}

.order-actions__cancel summary {
  cursor: pointer;
  color: var(--red);
  font-weight: 600;
  font-size: 13.5px;
}

.order-support {
  margin-top: 16px;
}

.complaint-list {
  display: grid;
  gap: 10px;
}

.complaint-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13.5px;
}

.complaint-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.complaint-item__resolution {
  margin: 6px 0 0;
  color: var(--deep-teal);
}
