
:root {
  --bg: #f5fbfa;
  --surface: #ffffff;
  --surface-2: #f0f8f7;
  --border: rgba(20, 80, 76, 0.08);
  --text: #173836;
  --muted: #6b7e7c;
  --primary: #0f8b8d;
  --primary-2: #14a4a6;
  --accent: #ee9b71;
  --accent-2: #f3c969;
  --success: #2a9d8f;
  --danger: #d26a5c;
  --dark: #143331;
  --cream: #fff7ef;
  --gradient: linear-gradient(135deg, #0f8b8d 0%, #6ed6c4 48%, #fff1d1 100%);
  --gradient-dark: linear-gradient(135deg, rgba(15,139,141,.96), rgba(13,71,76,.92));
  --shadow-sm: 0 8px 24px rgba(18, 52, 56, 0.07);
  --shadow: 0 18px 60px rgba(17, 52, 56, 0.12);
  --radius: 22px;
  --radius-sm: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: radial-gradient(circle at top left, #effcf7 0, #f7fbfa 42%, #fdf8f1 100%);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; }
a { color: var(--primary); }
a:hover { color: #0a6d6e; }

.text-primary-bali { color: var(--primary) !important; }
.small-muted, .form-hint { color: var(--muted); font-size: .92rem; }
.bg-primary-bali, .sidebar { background: linear-gradient(180deg, #113a38 0%, #0b2626 100%) !important; }
.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .6rem .95rem;
  border-radius: 999px;
  background: rgba(255,255,255,.2);
  color: #fff;
  backdrop-filter: blur(12px);
  font-weight: 600;
}
.section-title {
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 1rem;
  color: var(--dark);
}
.section-subtitle {
  max-width: 680px;
  color: var(--muted);
  margin-bottom: 2rem;
}

.navbar-modern {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(18, 52, 56, 0.08);
  padding: .9rem 0;
}
.navbar-shell {
  gap: 1rem;
}
.navbar-modern .navbar-brand {
  display: flex;
  align-items: center;
  gap: .95rem;
  color: var(--dark);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-right: 0;
  min-width: 0;
  text-decoration: none;
}
.brand-identity {
  flex: 0 1 360px;
  min-width: 0;
}
.brand-mark {
  flex: 0 0 auto;
}
.brand-logo-img,
.brand-logo-fallback {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
  background: #fff;
  border: 1px solid rgba(20, 80, 76, 0.1);
  box-shadow: 0 10px 25px rgba(17, 52, 56, 0.08);
}
.brand-logo-fallback {
  background: linear-gradient(135deg,#0f8b8d,#6ed6c4);
  color: #fff;
  font-size: 1.15rem;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.brand-title {
  display: block;
  color: var(--dark);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.1;
}
.brand-tagline {
  color: var(--muted);
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.navbar-main-panel {
  align-items: center;
  gap: 1rem;
}
.nav-links {
  gap: .2rem;
}
.navbar-modern .nav-link {
  color: var(--dark);
  font-weight: 600;
  opacity: .9;
  padding: .72rem 1rem !important;
  border-radius: 999px;
  white-space: nowrap;
}
.navbar-modern .nav-link:hover,
.navbar-modern .nav-link.active {
  color: var(--primary);
  opacity: 1;
  background: rgba(15, 139, 141, .08);
}
.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .75rem;
  flex-wrap: nowrap;
  margin-left: auto;
}
.nav-actions .btn {
  padding: .72rem 1.15rem;
  white-space: nowrap;
}
.btn-icon-cart {
  width: 50px;
  min-width: 50px;
  height: 50px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.navbar-modern .navbar-toggler { border-color: rgba(20, 80, 76, 0.12); }
.navbar-modern .navbar-toggler-icon { filter: invert(20%) sepia(8%) saturate(1092%) hue-rotate(127deg) brightness(93%) contrast(94%); }

.btn {
  border-radius: 999px;
  padding: .78rem 1.3rem;
  font-weight: 700;
  box-shadow: none;
}
.btn-lg { padding: 1rem 1.45rem; }
.btn-bali {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  color: #fff;
  border: none;
  box-shadow: 0 12px 28px rgba(15, 139, 141, 0.28);
}
.btn-bali:hover { color: #fff; filter: brightness(.98); transform: translateY(-1px); }
.btn-outline-bali {
  border: 1px solid rgba(15, 139, 141, 0.24);
  color: var(--primary);
  background: rgba(255,255,255,.7);
}
.btn-outline-bali:hover { background: rgba(15, 139, 141, 0.08); color: var(--primary); }
.btn-soft-light {
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(12px);
}
.btn-soft-light:hover { color: #fff; background: rgba(255,255,255,.2); }
.btn-light-modern {
  background: #fff;
  color: var(--dark);
  border: 1px solid rgba(18,52,56,.08);
}
.btn-light-modern:hover { background: #f9ffff; }

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-sm);
}
.card:hover { box-shadow: var(--shadow); }
.card-body { padding: 1.35rem; }
.card-glass {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: none;
  color: #fff;
  backdrop-filter: blur(14px);
}

.hero-v4 {
  position: relative;
  padding: 1.5rem 0 0;
}
.hero-v4 .carousel,
.hero-v4 .carousel-inner,
.hero-v4 .carousel-item { border-radius: 30px; overflow: hidden; }
.hero-v4 .carousel-item {
  min-height: clamp(520px, 70vh, 720px);
  background: linear-gradient(140deg, #113f43, #0e8d90);
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(12,32,36,.82) 0%, rgba(13,62,66,.55) 42%, rgba(14,141,144,.22) 100%);
}
.hero-slide-content {
  position: relative;
  z-index: 2;
  min-height: clamp(520px, 70vh, 720px);
  display: flex;
  align-items: center;
  padding: clamp(2rem, 4vw, 4rem);
}
.hero-v4 h1 {
  color: #fff;
  font-size: clamp(2.2rem, 1.6rem + 2vw, 4.2rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -.04em;
}
.hero-v4 .lead {
  max-width: 620px;
  color: rgba(255,255,255,.88);
  font-size: clamp(1.02rem, .95rem + .35vw, 1.18rem);
}
.hero-search {
  background: rgba(255,255,255,.92);
  border-radius: 24px;
  padding: .85rem;
  box-shadow: 0 24px 60px rgba(7, 22, 23, 0.16);
}
.hero-search .form-control,
.hero-search .form-select {
  min-height: 56px;
  border-radius: 18px;
  border: none;
  background: #f5faf9;
}
.hero-metric {
  border-radius: 24px;
  padding: 1.15rem;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  backdrop-filter: blur(10px);
}
.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: none;
}
.carousel-control-prev,
.carousel-control-next { width: 7%; }
.hero-v4 .carousel-control-prev-icon,
.hero-v4 .carousel-control-next-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background-color: rgba(255,255,255,.14);
  background-size: 50% 50%;
  backdrop-filter: blur(12px);
}

.floating-panel {
  margin-top: -52px;
  position: relative;
  z-index: 4;
}
.info-chip {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  width: 100%;
  min-height: 100%;
  padding: 1rem 1.1rem;
  background: rgba(255,255,255,.82);
  border-radius: 28px;
  border: 1px solid rgba(18,52,56,.08);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--dark);
}
.info-chip-link:hover {
  transform: translateY(-2px);
  color: var(--dark);
}
.info-chip-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(15, 139, 141, 0.08);
  color: var(--dark);
  flex: 0 0 44px;
}
.info-chip-copy {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 0;
}
.info-chip-title {
  font-size: 1rem;
  line-height: 1.2;
}
.info-chip-subtitle {
  color: var(--muted);
  line-height: 1.25;
}
.admin-highlight-item {
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(20, 80, 76, 0.1);
  background: linear-gradient(180deg, rgba(240,248,247,.88), rgba(255,255,255,.96));
}
.admin-highlight-preview {
  max-width: 420px;
}

.highlight-icon-picker {
  position: relative;
}
.highlight-icon-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
  padding: .85rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(20, 80, 76, 0.14);
  background: #fff;
  box-shadow: 0 10px 30px rgba(10, 29, 33, 0.06);
  text-align: left;
}
.highlight-icon-trigger-copy {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-width: 0;
}
.highlight-icon-trigger-copy strong,
.highlight-icon-option-copy strong {
  display: block;
  color: var(--dark);
  line-height: 1.2;
}
.highlight-icon-trigger-copy small,
.highlight-icon-option-copy small {
  display: block;
  color: var(--muted);
  line-height: 1.2;
}
.highlight-icon-trigger-chip,
.highlight-icon-option-symbol {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 139, 141, 0.08);
  color: var(--dark);
  flex: 0 0 44px;
  font-size: 1.15rem;
}
.highlight-icon-dropdown {
  position: absolute;
  top: calc(100% + .6rem);
  left: 0;
  width: min(100%, 620px);
  z-index: 30;
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(20, 80, 76, 0.12);
  background: rgba(255,255,255,.98);
  box-shadow: 0 24px 64px rgba(10, 29, 33, 0.16);
  backdrop-filter: blur(10px);
}
.highlight-icon-toolbar {
  display: grid;
  gap: .55rem;
  margin-bottom: .85rem;
}
.highlight-icon-toolbar-title {
  font-weight: 800;
  color: var(--dark);
}
.highlight-icon-groups {
  max-height: 360px;
  overflow: auto;
  padding-right: .2rem;
  display: grid;
  gap: .9rem;
}
.highlight-icon-group {
  display: grid;
  gap: .65rem;
}
.highlight-icon-group-title {
  font-size: .85rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.highlight-icon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
}
.highlight-icon-option {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  padding: .75rem;
  border-radius: 18px;
  border: 1px solid rgba(20, 80, 76, 0.1);
  background: linear-gradient(180deg, rgba(240,248,247,.88), rgba(255,255,255,.96));
  text-align: left;
}
.highlight-icon-option.is-active {
  border-color: rgba(15, 139, 141, 0.35);
  box-shadow: inset 0 0 0 1px rgba(15, 139, 141, 0.18);
}
.highlight-icon-option-copy {
  min-width: 0;
}
.highlight-icon-option:hover,
.highlight-icon-trigger:hover {
  transform: translateY(-1px);
}

.category-pill {
  display: block;
  padding: 1.1rem 1.1rem;
  background: linear-gradient(135deg, rgba(15,139,141,.1), rgba(243,201,105,.18));
  border: 1px solid rgba(15,139,141,.1);
  border-radius: 22px;
  text-decoration: none;
  color: var(--dark);
  min-height: 100%;
}
.category-pill:hover { transform: translateY(-4px); }
.category-icon {
  width: 52px; height: 52px; border-radius: 16px;
  background: rgba(255,255,255,.85); display:flex; align-items:center; justify-content:center;
  color: var(--primary); font-size: 1.25rem; margin-bottom: .9rem;
}

.product-thumb,
.banner-thumb,
.merchant-cover,
.admin-thumb {
  width: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #eaf9f5, #fff5e5);
}
.product-thumb { height: 240px; }
.banner-thumb { height: 200px; }
.merchant-cover { height: 250px; }
.admin-thumb { height: 78px; border-radius: 14px; }

.admin-hero-preview {
  width: 100%;
  height: 148px;
  object-fit: cover;
  border-radius: 16px;
  background: linear-gradient(135deg, #eaf9f5, #fff5e5);
}
.admin-favicon-preview {
  width: 74px;
  height: 74px;
  object-fit: contain;
  padding: .7rem;
  border-radius: 18px;
  border: 1px dashed rgba(20, 80, 76, 0.18);
  background: #fff;
}
.admin-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.admin-preview-card {
  padding: .9rem;
  border: 1px dashed rgba(20, 80, 76, 0.16);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(240,248,247,.85), rgba(255,255,255,.92));
}
.admin-preview-label {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: .55rem;
  font-weight: 700;
}
.admin-table-media,
.admin-pending-media {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.admin-table-logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  object-fit: cover;
  background: linear-gradient(135deg, #eaf9f5, #fff5e5);
  border: 1px solid rgba(20, 80, 76, 0.08);
}
.admin-table-banner {
  width: 88px;
  height: 52px;
  border-radius: 16px;
  object-fit: cover;
  background: linear-gradient(135deg, #eaf9f5, #fff5e5);
  border: 1px solid rgba(20, 80, 76, 0.08);
}
.product-price {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--primary);
}
.rating-stars { color: #ffb454; letter-spacing: .14em; }

.parallax-section {
  position: relative;
  padding: 6rem 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}
.parallax-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 29, 33, .76), rgba(15, 139, 141, .5));
}
.parallax-content {
  position: relative;
  z-index: 2;
  color: #fff;
}
.parallax-badge {
  display: inline-block;
  padding: .55rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  margin-bottom: 1rem;
}

.stat-card {
  border-radius: 24px;
  padding: 1.4rem;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(240,248,247,.95));
  border: 1px solid rgba(15,139,141,.08);
  box-shadow: var(--shadow-sm);
}
.stat-card strong,
.stat-card .fs-4,
.stat-card .fs-3 { color: var(--dark); }

.footer {
  background: linear-gradient(180deg, #113a38 0%, #0b2324 100%);
  color: rgba(255,255,255,.82);
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}
.footer h5,
.footer h6 { color: #fff; }
.footer a { color: rgba(255,255,255,.84); }
.footer a:hover { color: #fff; }
.newsletter-box {
  background: rgba(255,255,255,.08);
  border-radius: 22px;
  padding: 1.2rem;
}

.table-responsive { border-radius: 20px; }
.table {
  --bs-table-bg: transparent;
  --bs-table-border-color: rgba(20, 80, 76, 0.08);
}
.table thead th {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.form-control,
.form-select,
textarea.form-control {
  border-radius: 16px;
  border-color: rgba(20, 80, 76, 0.12);
  min-height: 48px;
  padding: .8rem 1rem;
}
textarea.form-control { min-height: 120px; }
.form-control:focus,
.form-select:focus {
  border-color: rgba(15, 139, 141, 0.4);
  box-shadow: 0 0 0 0.25rem rgba(15, 139, 141, 0.14);
}
.alert {
  border: none;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.sidebar {
  min-height: 100vh;
  border-right: 1px solid rgba(255,255,255,.06);
}
.sidebar a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .78rem 1rem;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  border-radius: 16px;
  margin-bottom: .45rem;
}
.sidebar a:hover,
.sidebar a.active {
  background: rgba(255,255,255,.12);
  color: #fff;
}
.admin-topbar,
.panel-topbar {
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(20,80,76,.08);
  border-radius: 22px;
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}
.dashboard-grid .stat-card {
  min-height: 100%;
}
.admin-chip {
  display:inline-flex;align-items:center;gap:.45rem;padding:.5rem .75rem;border-radius:999px;background:rgba(15,139,141,.08);color:var(--primary);font-weight:700;
}
.empty-state {
  padding: 2.6rem 1.5rem;
  border: 1px dashed rgba(20,80,76,.14);
  border-radius: 22px;
  background: rgba(255,255,255,.7);
  text-align: center;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
[data-parallax] { will-change: transform; }


@media (max-width: 1399.98px) {
  .brand-identity { flex-basis: 300px; }
  .brand-title { font-size: 1.45rem; }
  .brand-tagline { font-size: .92rem; }
  .navbar-modern .nav-link { padding-inline: .8rem !important; }
  .nav-actions .btn { padding-inline: 1rem; }
}

@media (max-width: 1199.98px) {
  .brand-identity { flex-basis: 250px; }
  .brand-tagline { display: none; }
  .brand-title { font-size: 1.35rem; }
  .navbar-modern .nav-link { padding-inline: .72rem !important; }
}

@media (max-width: 991.98px) {
  .highlight-icon-dropdown { width: 100%; }
  .highlight-icon-grid { grid-template-columns: 1fr; }
  .navbar-modern {
    padding: .75rem 0;
  }
  .navbar-shell {
    gap: .75rem;
  }
  .brand-identity {
    flex-basis: auto;
    max-width: calc(100% - 78px);
  }
  .navbar-main-panel {
    margin-top: .9rem;
    padding: 1rem;
    border: 1px solid rgba(20,80,76,.08);
    border-radius: 24px;
    background: rgba(255,255,255,.96);
    box-shadow: var(--shadow-sm);
  }
  .nav-links {
    gap: .35rem;
  }
  .navbar-modern .nav-link {
    display: block;
    padding: .82rem 1rem !important;
  }
  .nav-actions {
    width: 100%;
    justify-content: stretch;
    flex-wrap: wrap;
    margin-left: 0;
  }
  .nav-actions .btn {
    flex: 1 1 calc(50% - .5rem);
    justify-content: center;
  }
  .btn-icon-cart {
    flex: 0 0 56px !important;
  }
  .sidebar { min-height: auto; }
  .hero-v4 .carousel-item,
  .hero-slide-content { min-height: 620px; }
  .floating-panel { margin-top: -18px; }
  .parallax-section { background-attachment: scroll; }
}
@media (max-width: 767.98px) {
  .brand-title {
    font-size: 1.2rem;
  }
  .brand-tagline {
    display: none;
  }
  .navbar-main-panel {
    padding: .85rem;
  }
  .nav-actions .btn {
    flex-basis: calc(100% - 64px);
  }
  .hero-v4 { padding-top: .75rem; }
  .hero-v4 .carousel-item,
  .hero-slide-content { min-height: 680px; }
  .hero-slide-content { padding: 1.25rem; }
  .hero-search { padding: .75rem; }
  .product-thumb { height: 220px; }
  .banner-thumb { height: 180px; }
  .footer { border-top-left-radius: 24px; border-top-right-radius: 24px; }
}


.order-items-table th,
.invoice-items-table th {
  white-space: nowrap;
}
.order-item-media {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 240px;
}
.order-item-thumb,
.invoice-item-thumb,
.order-review-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 18px;
  background: linear-gradient(135deg, #eaf9f5, #fff5e5);
  border: 1px solid rgba(20, 80, 76, 0.08);
  flex-shrink: 0;
}
.order-review-thumb {
  width: 88px;
  height: 88px;
}
.order-merchant-badge,
.invoice-merchant-header {
  display: flex;
  align-items: center;
  gap: .95rem;
}
.order-merchant-badge {
  padding: .85rem 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15,139,141,.1), rgba(243,201,105,.15));
  border: 1px solid rgba(15, 139, 141, 0.14);
}
.order-merchant-badge-logo,
.invoice-merchant-logo {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  object-fit: cover;
  background: #fff;
  border: 1px solid rgba(20, 80, 76, 0.08);
}
.invoice-box {
  background: #fff;
  border-radius: 28px;
  padding: 2rem;
  border: 1px solid rgba(20, 80, 76, 0.08);
  box-shadow: 0 24px 60px rgba(5, 71, 68, 0.08);
}
.qris-status-card {
  border-radius: 20px;
  border: 1px solid rgba(15, 139, 141, 0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(238, 249, 245, 0.9));
  padding: 1rem;
}
.qris-status-card.is-active {
  border-color: rgba(22, 163, 74, 0.22);
  background: linear-gradient(180deg, rgba(240, 253, 244, 0.98), rgba(236, 253, 245, 0.9));
}
.qris-status-meta {
  height: 100%;
  padding: .75rem .85rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(20, 80, 76, 0.08);
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.qris-status-meta span {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.qris-status-meta strong {
  color: var(--dark);
  font-size: .95rem;
}
.invoice-brand-block {
  max-width: 360px;
}
.merchant-order-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
.merchant-order-step {
  position: relative;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(20, 80, 76, 0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248, 250, 252, 0.98));
  min-height: 180px;
}
.merchant-order-step::after {
  content: '';
  position: absolute;
  top: 33px;
  right: -1rem;
  width: 1rem;
  height: 2px;
  background: rgba(20, 80, 76, 0.12);
}
.merchant-order-step:last-child::after {
  display: none;
}
.merchant-order-step-node {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: .85rem;
  border: 1px solid rgba(20, 80, 76, 0.08);
  background: #fff;
  color: var(--muted);
}
.merchant-order-step-title {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .35rem;
}
.merchant-order-step-desc {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
  margin-bottom: .7rem;
}
.merchant-order-step-time {
  font-size: .84rem;
  font-weight: 600;
  color: var(--dark);
}
.merchant-order-step.is-done {
  background: linear-gradient(180deg, rgba(240, 253, 244, 0.96), rgba(236, 253, 245, 0.92));
  border-color: rgba(22, 163, 74, 0.18);
}
.merchant-order-step.is-done .merchant-order-step-node {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
  border-color: rgba(22, 163, 74, 0.18);
}
.merchant-order-step.is-current {
  background: linear-gradient(180deg, rgba(255, 247, 237, 0.98), rgba(255, 251, 235, 0.94));
  border-color: rgba(245, 158, 11, 0.22);
  box-shadow: 0 18px 36px rgba(245, 158, 11, 0.12);
}
.merchant-order-step.is-current .merchant-order-step-node {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.2);
}
@media (max-width: 991.98px) {
  .merchant-order-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .merchant-order-step::after {
    display: none;
  }
}
@media (max-width: 575.98px) {
  .merchant-order-timeline {
    grid-template-columns: 1fr;
  }
  .merchant-order-step {
    min-height: 0;
  }
}
@media print {
  .invoice-box {
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0;
  }
}
@media (max-width: 767.98px) {
  .order-item-media {
    min-width: 0;
    align-items: flex-start;
  }
  .order-item-thumb,
  .invoice-item-thumb,
  .order-review-thumb,
  .order-merchant-badge-logo,
  .invoice-merchant-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }
}


.timeline-history {
  display: grid;
  gap: .85rem;
}
.timeline-history-item {
  padding: .95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(20, 80, 76, 0.08);
  background: rgba(255,255,255,0.9);
}
.customer-order-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
.customer-order-step {
  position: relative;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(20, 80, 76, 0.08);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.98));
  min-height: 190px;
}
.customer-order-step::after {
  content: '';
  position: absolute;
  top: 30px;
  right: -1rem;
  width: 1rem;
  height: 2px;
  background: rgba(20, 80, 76, 0.12);
}
.customer-order-step:last-child::after { display:none; }
.customer-order-step-node {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  margin-bottom: .75rem;
  background: #fff;
  color: var(--muted);
  border: 1px solid rgba(20, 80, 76, 0.08);
}
.customer-order-step-title {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .35rem;
}
.customer-order-step-headline {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
  min-height: 64px;
  margin-bottom: .65rem;
}
.customer-order-step-time {
  font-size: .84rem;
  font-weight: 600;
  color: var(--dark);
}
.customer-order-step.is-done {
  border-color: rgba(22, 163, 74, 0.18);
  background: linear-gradient(180deg, rgba(240,253,244,.98), rgba(236,253,245,.94));
}
.customer-order-step.is-done .customer-order-step-node {
  background: rgba(22, 163, 74, 0.14);
  color: #15803d;
  border-color: rgba(22,163,74,.18);
}
.customer-order-step.is-current {
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}
.customer-order-step.is-waiting {
  border-color: rgba(148, 163, 184, 0.24);
  background: linear-gradient(180deg, rgba(248,250,252,.98), rgba(241,245,249,.96));
}
.customer-order-step.is-waiting .customer-order-step-node {
  background: rgba(148, 163, 184, 0.16);
  color: #475569;
}
.customer-order-step.is-verification {
  border-color: rgba(59, 130, 246, 0.22);
  background: linear-gradient(180deg, rgba(239,246,255,.98), rgba(224,242,254,.94));
}
.customer-order-step.is-verification .customer-order-step-node {
  background: rgba(59, 130, 246, 0.14);
  color: #1d4ed8;
}
.customer-order-step.is-processing {
  border-color: rgba(245, 158, 11, 0.22);
  background: linear-gradient(180deg, rgba(255,247,237,.98), rgba(254,252,232,.94));
}
.customer-order-step.is-processing .customer-order-step-node {
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
}
.customer-order-step.is-shipping {
  border-color: rgba(14, 165, 233, 0.22);
  background: linear-gradient(180deg, rgba(240,249,255,.98), rgba(224,242,254,.94));
}
.customer-order-step.is-shipping .customer-order-step-node {
  background: rgba(14, 165, 233, 0.14);
  color: #0369a1;
}
.customer-order-step.is-neutral .customer-order-step-node {
  background: rgba(148,163,184,.08);
}
@media (max-width: 991.98px) {
  .customer-order-timeline {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .customer-order-step::after { display:none; }
}
@media (max-width: 575.98px) {
  .customer-order-timeline {
    grid-template-columns: 1fr;
  }
  .customer-order-step,
  .customer-order-step-headline {
    min-height: 0;
  }
}

.variant-bulk-editor {
  border-style: dashed !important;
}
.variant-swatch-field {
  min-width: 92px;
}
.variant-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .45rem;
}
.variant-gallery-thumb {
  position: relative;
  border-radius: .9rem;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.08);
  background: #fff;
  aspect-ratio: 1 / 1;
}
.variant-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.variant-gallery-thumb button {
  position: absolute;
  top: .25rem;
  right: .25rem;
  border-radius: 999px;
  width: 26px;
  height: 26px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.variant-swatch-list {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
.variant-swatch-btn {
  border: 1px solid rgba(15,23,42,.08);
  background: #fff;
  border-radius: 999px;
  padding: .55rem .8rem;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 600;
  transition: all .2s ease;
}
.variant-swatch-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}
.variant-swatch-btn.is-active {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}
.variant-swatch-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--swatch-color, #d4af37);
  border: 1px solid rgba(15,23,42,.14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}
.gallery-thumb.is-active {
  outline: 2px solid rgba(212, 175, 55, 0.85);
  outline-offset: 2px;
}
@media (max-width: 767.98px) {
  .variant-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ===== Demo Layer ===== */
.demo-version-badge{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.38rem .7rem;
  border-radius:999px;
  background:linear-gradient(135deg,#ff9f1a,#ff7a00);
  color:#fff;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.04em;
  box-shadow:0 12px 28px rgba(255,122,0,.22);
  margin-bottom:.45rem;
}
.demo-ribbon-fixed{
  position:fixed;
  right:16px;
  bottom:16px;
  z-index:1050;
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  background:linear-gradient(135deg,#ff9f1a,#ff7a00);
  color:#fff;
  border-radius:999px;
  padding:.7rem 1rem;
  font-weight:800;
  box-shadow:0 18px 45px rgba(255,122,0,.28);
}
.demo-panel-note{
  border:1px solid rgba(255,122,0,.22);
  background:rgba(255,159,26,.08);
  border-radius:1rem;
  padding:1rem 1.1rem;
}
.demo-login-shortcuts{
  border:1px solid rgba(14,141,144,.12);
  background:#fff;
  border-radius:1.25rem;
  box-shadow:0 18px 38px rgba(12,32,36,.06);
  padding:1rem;
}
.demo-login-shortcuts .shortcut-item{
  border:1px solid rgba(12,32,36,.08);
  border-radius:1rem;
  padding:.85rem 1rem;
  background:#fff;
  transition:all .2s ease;
}
.demo-login-shortcuts .shortcut-item:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 24px rgba(12,32,36,.08);
}
.dashboard-section-card{
  border:1px solid rgba(12,32,36,.08);
  border-radius:1.25rem;
  background:#fff;
  box-shadow:0 20px 40px rgba(12,32,36,.05);
}
.table-shell{
  border-radius:1rem;
  overflow:hidden;
  background:#fff;
  box-shadow:0 12px 30px rgba(12,32,36,.05);
}
.table-shell table{margin-bottom:0}
.status-pill{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  border-radius:999px;
  padding:.35rem .7rem;
  font-size:.78rem;
  font-weight:700;
}
.customer-shell{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:1.5rem;
}
.customer-sidebar{
  background:#fff;
  border-radius:1.25rem;
  padding:1.2rem;
  box-shadow:0 20px 40px rgba(12,32,36,.06);
  height:max-content;
}
.customer-sidebar a{
  display:block;
  padding:.7rem .85rem;
  border-radius:.85rem;
  color:#0c2024;
  text-decoration:none;
  margin-bottom:.35rem;
}
.customer-sidebar a.active,
.customer-sidebar a:hover{
  background:rgba(14,141,144,.1);
  color:#0b676b;
}
.invoice-sheet{
  background:#fff;
  border-radius:1.5rem;
  box-shadow:0 24px 50px rgba(12,32,36,.08);
  padding:2rem;
}
.invoice-meta{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:1rem;
}
.empty-state{
  border:1px dashed rgba(12,32,36,.14);
  border-radius:1.25rem;
  padding:2rem 1.25rem;
  text-align:center;
  background:#fff;
}
.upload-proof-preview{
  border:1px dashed rgba(12,32,36,.16);
  border-radius:1rem;
  padding:1rem;
  background:#fafcfb;
}
@media (max-width: 991.98px){
  .customer-shell{grid-template-columns:1fr}
}
