:root {
  --green: #146b3a;
  --green-dark: #0f5132;
  --green-soft: #eaf7ef;
  --orange: #ff7a1a;
  --orange-dark: #e76000;
  --text: #1f2933;
  --muted: #667085;
  --line: #e7ece8;
  --surface: #ffffff;
  --surface-soft: #f6faf7;
  --warning-soft: #fff4e8;
  --shadow: 0 12px 28px rgba(15, 81, 50, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto auto minmax(220px, 1fr) auto auto;
  gap: 18px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-dark);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand span span {
  color: var(--green);
}

.brand-mark {
  width: 31px;
  height: 31px;
  display: inline-grid;
  place-items: center;
  border: 3px solid var(--green);
  border-radius: 8px;
  color: var(--green);
  font-size: 16px;
  line-height: 1;
  position: relative;
}

.brand-mark::before {
  content: "";
  position: absolute;
  top: -9px;
  width: 15px;
  height: 10px;
  border: 3px solid var(--green);
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
  background: var(--surface);
}

.brand-logo-img {
  height: 38px;
  border-radius: 8px;
  object-fit: contain;
  border: 1px solid var(--line);
  background: #fff;
}

.brand-logo-square {
  width: 38px;
}

.brand-logo-wide {
  width: 110px;
}

.admin-brand .brand-logo-wide,
.login-card .brand-logo-wide {
  width: 126px;
  height: 44px;
}

.site-nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: #263238;
  font-weight: 600;
  font-size: 14px;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--green);
  background: var(--green-soft);
}

.search-form {
  min-width: 0;
}

.search-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 16px;
  background: #fff;
  color: var(--text);
  outline: none;
}

.search-form input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(20, 107, 58, 0.12);
}

.account-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green);
  font-weight: 800;
  white-space: nowrap;
}

.account-link:hover,
.account-link.active {
  background: var(--green-soft);
}
.cart-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: end;
  gap: 9px;
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

.cart-count {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  place-items: center;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--green-dark);
  font-weight: 800;
}

.section {
  padding: 64px 0;
}

.section-tight {
  padding: 36px 0;
}

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

.section-head h2,
.page-title h1 {
  margin: 0;
  color: var(--green-dark);
  line-height: 1.15;
}

.section-head p,
.page-title p {
  margin: 8px 0 0;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.btn:hover {
  background: var(--orange-dark);
}

.btn-small {
  min-height: 34px;
  padding: 8px 12px;
  font-size: 13px;
}

.btn-danger {
  background: #dc2626;
}

.btn-danger:hover {
  background: #b91c1c;
}

.btn-disabled,
.btn-disabled:hover,
button:disabled {
  background: #eef2f1;
  color: #94a3a0;
  cursor: not-allowed;
}

.action-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.inline-form {
  display: inline;
}
.btn-secondary {
  background: var(--green);
}

.btn-secondary:hover {
  background: var(--green-dark);
}

.btn-ghost {
  background: #fff;
  color: var(--green);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: var(--green-soft);
}

.hero {
  padding: 62px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  gap: 46px;
  align-items: center;
}

.hero-copy h1 {
  margin: 12px 0 18px;
  max-width: 560px;
  color: var(--green-dark);
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 520px;
  margin: 0 0 26px;
  color: #475467;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.landing-product-section {
  padding-top: 34px;
}

.hero-media {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  grid-template-rows: 220px 220px;
  gap: 12px;
}

.photo-sprite {
  background-image: url("../images/umkm-hero.jpeg");
  background-repeat: no-repeat;
  background-size: 1122px 1402px;
  background-color: var(--surface-soft);
}

.hero-photo {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-photo-large {
  grid-row: 1 / span 2;
  background-position: -534px -112px;
}

.hero-photo-top {
  background-position: -804px -108px;
}

.hero-photo-bottom {
  background-position: -805px -332px;
}

.hero-media-uploaded {
  display: block;
  min-height: 448px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.hero-media-uploaded img {
  width: 100%;
  height: 100%;
  min-height: 448px;
  object-fit: cover;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.category-card {
  min-height: 142px;
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 20px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: center;
  font-weight: 800;
}

.category-card:hover {
  border-color: rgba(20, 107, 58, 0.36);
  box-shadow: var(--shadow);
}

.category-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 2px solid var(--green);
  border-radius: 8px;
  color: var(--green);
  font-weight: 900;
  text-align: center;
  line-height: 1;
}

.category-icon-settings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.category-icon-setting {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.category-icon-setting strong {
  color: var(--text);
}

.category-icon-setting input {
  grid-column: 1 / -1;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  outline: none;
}

.category-icon-setting input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(20, 107, 58, 0.12);
}

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

.product-grid.featured {
  grid-template-columns: repeat(6, 1fr);
}

.product-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.product-image {
  height: 210px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.featured .product-image {
  height: 178px;
}

.uploaded-product-image {
  overflow: hidden;
  background: var(--surface-soft);
}

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

.detail-image.uploaded-product-image {
  min-height: 480px;
  box-shadow: var(--shadow);
}

.detail-image.uploaded-product-image img {
  object-fit: contain;
  background: #fff;
}

.cart-thumb.uploaded-product-image img,
.admin-product-thumb.uploaded-product-image img {
  object-fit: cover;
}

.admin-product-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.admin-product-thumb.photo-sprite {
  background-size: 590px auto;
  background-repeat: no-repeat;
  background-color: var(--surface-soft);
}

.admin-product-thumb.photo-keripik {
  background-position: -40px -417px;
}

.admin-product-thumb.photo-sambal {
  background-position: -129px -417px;
}

.admin-product-thumb.photo-tas {
  background-position: -215px -417px;
}

.admin-product-thumb.photo-sabun {
  background-position: -306px -417px;
}

.admin-product-thumb.photo-mug {
  background-position: -392px -417px;
}

.admin-product-thumb.photo-batik {
  background-position: -481px -417px;
}

.admin-product-thumb.photo-madu {
  background-position: -423px -57px;
}

.admin-product-thumb.photo-pot {
  background-position: -431px -174px;
}

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  border: 1px solid var(--line);
  font-weight: 900;
}

.photo-keripik {
  background-position: -76px -795px;
}

.photo-sambal {
  background-position: -246px -795px;
}

.photo-tas {
  background-position: -410px -795px;
}

.photo-sabun {
  background-position: -581px -795px;
}

.photo-mug {
  background-position: -746px -795px;
}

.photo-batik {
  background-position: -915px -795px;
}

.photo-madu {
  background-position: -804px -108px;
}

.photo-pot {
  background-position: -820px -332px;
}

.product-body {
  padding: 14px;
}

.product-body h3 {
  min-height: 44px;
  margin: 0 0 8px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
}

.product-meta {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--green);
  font-weight: 900;
}

.price-old {
  color: #98a2b3;
  font-size: 13px;
  text-decoration: line-through;
  font-weight: 600;
}
.product-stats {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.product-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 3px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  line-height: 1;
}

.seller-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-radius: 8px;
  background: var(--green-soft);
  border: 1px solid #d6eddf;
}

.qris-image {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  padding: 14px;
  border: 1px solid #d6eddf;
  border-radius: 8px;
  background: var(--green-soft);
}
.seller-illustration {
  width: 156px;
  height: 104px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f9fff9, #dcefe4);
  border: 1px solid #d6eddf;
  display: grid;
  place-items: center;
  color: var(--green);
  font-weight: 900;
}

.seller-banner h2 {
  margin: 0 0 6px;
  color: var(--green-dark);
}

.seller-banner p {
  margin: 0;
  color: #475467;
}

.site-footer {
  margin-top: 50px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.brand-footer {
  font-size: 21px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--green);
}

.page-title {
  padding: 46px 0 26px;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}

.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-tabs a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}

.filter-tabs a.active,
.filter-tabs a:hover {
  color: var(--green);
  background: var(--green-soft);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 38px;
  align-items: start;
}

.detail-image {
  min-height: 480px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.detail-image.is-zoomable {
  cursor: zoom-in;
  position: relative;
}

.detail-image.is-zoomable::after {
  content: "Zoom";
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-dark);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 900;
  box-shadow: var(--shadow);
}

body.zoom-open {
  overflow: hidden;
}

.product-zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(15, 23, 42, 0.82);
}

.product-zoom-frame {
  width: min(1120px, 100%);
  height: min(82vh, 780px);
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.product-zoom-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-zoom-sprite {
  width: 100%;
  height: 100%;
  background-image: url("../images/umkm-hero.jpeg");
  background-repeat: no-repeat;
  background-size: 3500px auto;
  background-color: var(--surface-soft);
}

.product-zoom-close {
  position: fixed;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--green-dark);
  font-weight: 900;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.product-zoom-close:hover {
  background: var(--green-soft);
}

.detail-copy h1 {
  margin: 10px 0 12px;
  color: var(--green-dark);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
}

.detail-price {
  margin: 18px 0;
  color: var(--green);
  font-size: 28px;
  font-weight: 900;
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.info-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.form-card,
.summary-card,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
}

.table-empty-state {
  display: grid;
  gap: 8px;
  justify-items: start;
  background: var(--surface-soft);
}

.table-empty-state p {
  margin: 0;
  color: var(--muted);
}

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

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}
.form-field {
  display: grid;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--text);
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  outline: none;
}

.form-field textarea {
  min-height: 110px;
  resize: vertical;
}

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

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

.account-orders-card {
  min-width: 0;
}

.account-orders-card .table-wrap {
  overflow-x: visible;
}

.account-orders-card .data-table th:first-child,
.account-orders-card .data-table td:first-child {
  min-width: 170px;
  white-space: nowrap;
}
.cart-layout,
.checkout-layout,
.payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  align-items: start;
}

.cart-list {
  display: grid;
  gap: 14px;
}

.cart-item {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.cart-thumb {
  height: 88px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.cart-thumb.photo-sprite {
  background-size: 720px auto;
  background-repeat: no-repeat;
  background-color: var(--surface-soft);
}

.cart-thumb.photo-keripik {
  background-position: -49px -510px;
}

.cart-thumb.photo-sambal {
  background-position: -158px -510px;
}

.cart-thumb.photo-tas {
  background-position: -263px -510px;
}

.cart-thumb.photo-sabun {
  background-position: -373px -510px;
}

.cart-thumb.photo-mug {
  background-position: -479px -510px;
}

.cart-thumb.photo-batik {
  background-position: -587px -510px;
}

.cart-thumb.photo-madu {
  background-position: -516px -69px;
}

.cart-thumb.photo-pot {
  background-position: -526px -213px;
}
.cart-item h3 {
  margin: 0 0 4px;
}

.cart-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: end;
}

.cart-controls input {
  width: 70px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.summary-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.summary-actions .btn {
  width: 100%;
}
.summary-card h2,
.form-card h2 {
  margin-top: 0;
  color: var(--green-dark);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.summary-line.total {
  border-bottom: 0;
  color: var(--green);
  font-size: 20px;
  font-weight: 900;
}

.notice {
  padding: 14px;
  border-radius: 8px;
  background: var(--warning-soft);
  color: #8a4b00;
  border: 1px solid #ffd8ad;
}

.setting-file-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.setting-file-preview img {
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
}
.notice-success {
  background: var(--green-soft);
  border-color: #bfe8d0;
  color: var(--green);
}

.split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

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

.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
}

.contact-card h2 {
  margin: 0 0 8px;
  color: var(--green-dark);
}

.admin-body {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  background: var(--surface-soft);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 18px;
  background: #fff;
  border-right: 1px solid var(--line);
}

.admin-brand {
  margin-bottom: 28px;
}

.admin-menu {
  display: grid;
  gap: 8px;
}

.admin-menu a {
  padding: 12px 14px;
  border-radius: 8px;
  color: #475467;
  font-weight: 800;
}

.admin-menu a.active,
.admin-menu a:hover {
  color: var(--green);
  background: var(--green-soft);
}

.admin-topbar {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 30px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.admin-topbar h1 {
  margin: 2px 0 0;
  color: var(--green-dark);
  line-height: 1.1;
}

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

.admin-main {
  padding: 30px;
}

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

.stat-card,
.admin-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.stat-card span {
  color: var(--muted);
  font-weight: 700;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  color: var(--green-dark);
  font-size: 28px;
  line-height: 1.1;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
  gap: 20px;
}

.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.data-table th,
.data-table td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--green-dark);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.order-detail-card {
  display: grid;
  gap: 18px;
}

.order-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.order-detail-head h3,
.order-info-panel h3,
.order-status-panel h3 {
  margin: 0;
  color: var(--green-dark);
}

.order-detail-head h3 {
  margin-top: 5px;
  font-size: 22px;
}

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

.order-info-panel,
.order-status-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.detail-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
}

.detail-list div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.detail-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.detail-list dt {
  color: var(--muted);
  font-weight: 700;
}

.detail-list dd {
  margin: 0;
  color: var(--text);
  font-weight: 800;
  text-align: right;
  overflow-wrap: anywhere;
}

.order-items-panel {
  padding-bottom: 8px;
}

.compact-table {
  min-width: 0;
  margin-top: 10px;
}

.compact-table th,
.compact-table td {
  padding: 10px 8px;
}

.compact-table th:nth-child(2),
.compact-table td:nth-child(2),
.compact-table th:nth-child(3),
.compact-table td:nth-child(3) {
  text-align: right;
}

.order-status-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.status-select-field {
  display: grid;
  gap: 6px;
  min-width: 240px;
}

.status-select-field span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.status-select-field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--text);
  outline: none;
}

.status-select-field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(20, 107, 58, 0.12);
}
.order-status-panel p {
  margin: 4px 0 0;
  color: var(--muted);
}
.admin-card h2 {
  margin: 0 0 14px;
  color: var(--green-dark);
}

.settings-subtitle {
  margin: 24px 0 8px;
  color: var(--green-dark);
}

.hero-admin-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.hero-admin-preview h3 {
  margin: 6px 0 8px;
  color: var(--green-dark);
  font-size: 28px;
  line-height: 1.15;
}

.hero-admin-preview p {
  margin: 0 0 14px;
  color: var(--text);
}

.hero-admin-preview img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.color-settings-grid {
  align-items: end;
}

.color-field {
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
}

.color-field span {
  grid-column: 1 / -1;
}

.color-field input[type="color"] {
  width: 58px;
  height: 46px;
  padding: 4px;
  cursor: pointer;
}

.color-field input[readonly] {
  background: var(--surface-soft);
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
}

.theme-preview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--green-soft);
}

.theme-preview h3 {
  margin: 4px 0 4px;
  color: var(--green-dark);
}

.theme-preview p {
  margin: 0;
  color: var(--text);
}

.mini-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  padding: 24px;
}

.login-card {
  width: min(420px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 28px;
  box-shadow: var(--shadow);
}

.login-card .brand {
  margin-bottom: 18px;
}


.detail-image.photo-sprite {
  min-height: 480px;
  background-size: 3500px auto;
  background-repeat: no-repeat;
  background-color: var(--surface-soft);
  box-shadow: var(--shadow);
}

.detail-image.photo-keripik {
  background-position: -237px -2480px;
}

.detail-image.photo-sambal {
  background-position: -767px -2480px;
}

.detail-image.photo-tas {
  background-position: -1279px -2480px;
}

.detail-image.photo-sabun {
  background-position: -1812px -2480px;
}

.detail-image.photo-mug {
  background-position: -2327px -2480px;
}

.detail-image.photo-batik {
  background-position: -2854px -2480px;
}

.detail-image.photo-madu {
  background-position: -2508px -337px;
}

.detail-image.photo-pot {
  background-position: -2558px -1036px;
}
@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: auto auto auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    order: 5;
    display: none;
    padding-bottom: 14px;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .search-form {
    grid-column: 1 / -1;
    order: 6;
    display: none;
  }

  .search-form.open,
  .site-nav.open + .search-form {
    display: block;
  }

  .search-form input {
    width: 100%;
  }
  .hero-grid,
  .detail-grid,
  .auth-layout,
  .account-layout,
  .cart-layout,
  .checkout-layout,
  .payment-layout,
  .order-detail-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 760px) {
  .account-orders-card .table-wrap {
    overflow-x: auto;
  }

  .account-orders-card .data-table {
    min-width: 620px;
  }
  .container {
    width: min(100% - 24px, 1180px);
  }

  .header-inner {
    min-height: 72px;
    gap: 12px;
  }

  .brand {
    font-size: 20px;
  }

  .cart-icon {
    display: none;
  }

  .site-nav.open {
    flex-direction: column;
    align-items: stretch;
  }

  .hero {
    padding-top: 36px;
  }

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

  .hero-media {
    grid-template-columns: 1fr;
    grid-template-rows: 270px 180px 180px;
  }

  .hero-media-uploaded,
  .hero-media-uploaded img {
    min-height: 320px;
  }

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

  .hero-photo-large {
    grid-row: auto;
  }

  .category-grid,
  .product-grid,
  .product-grid.featured,
  .contact-grid,
  .form-grid,
  .category-icon-settings {
    grid-template-columns: 1fr;
  }

  .seller-banner {
    grid-template-columns: 1fr;
  }

  .footer-inner,
  .toolbar,
  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .cart-item {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .cart-controls {
    grid-column: 1 / -1;
    justify-content: start;
  }

  .admin-body {
    display: block;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .order-status-panel,
  .admin-topbar,
  .admin-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-main {
    padding: 18px;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }
}

.seller-guide-hero p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
}

.seller-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.guide-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--text);
}

.guide-list li::marker {
  color: var(--green);
}

.compact-detail-list div {
  grid-template-columns: minmax(170px, 0.55fr) minmax(0, 1fr);
}

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

.seller-step-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--surface-soft);
}

.seller-step-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 900;
  font-size: 13px;
}

.seller-step-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--green-dark);
}

.seller-step-grid p {
  margin: 6px 0 0;
  color: var(--muted);
}
@media (max-width: 900px) {
  .seller-guide-grid,
  .seller-step-grid {
    grid-template-columns: 1fr;
  }

  .compact-detail-list div {
    grid-template-columns: 1fr;
  }
}
/* seller-guide-grid mobile */
.report-stat-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.stat-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 1200px) {
  .report-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.admin-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.admin-sidebar-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--green-dark);
  font-weight: 900;
  cursor: pointer;
}

.admin-sidebar-toggle:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-soft);
}

.sidebar-backdrop {
  display: none;
}

@media (min-width: 761px) {
  .admin-sidebar-toggle {
    display: inline-flex;
  }

  .admin-body.sidebar-collapsed {
    grid-template-columns: 0 minmax(0, 1fr);
  }

  .admin-body.sidebar-collapsed .admin-sidebar {
    width: 0;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
    border-right: 0;
  }

  .admin-body.sidebar-collapsed .admin-brand,
  .admin-body.sidebar-collapsed .admin-menu {
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 760px) {
  .admin-body {
    display: block;
  }

  .admin-sidebar-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 80;
    width: min(82vw, 300px);
    height: 100vh;
    padding: 20px 14px;
    overflow-y: auto;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    box-shadow: var(--shadow);
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  .admin-body.sidebar-open .admin-sidebar {
    transform: translateX(0);
  }

  .admin-menu {
    grid-template-columns: 1fr;
  }

  .sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: none;
    border: 0;
    background: rgba(15, 23, 42, 0.32);
    cursor: pointer;
  }

  .admin-body.sidebar-open .sidebar-backdrop {
    display: block;
  }

  .admin-title-row {
    width: 100%;
  }

  .admin-title-row h1 {
    font-size: 28px;
  }

  .admin-topbar {
    position: sticky;
    top: 0;
    z-index: 60;
    min-height: 76px;
    align-items: center;
    flex-direction: row;
    padding: 14px 16px;
  }

  .admin-actions {
    align-items: flex-end;
    flex-direction: column;
    gap: 8px;
  }

  .admin-actions span {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
/* Modern SaaS admin panel refresh */
.admin-body {
  grid-template-columns: 280px minmax(0, 1fr);
  background:
    radial-gradient(circle at top left, rgba(47, 128, 237, 0.08), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #f3f8f5 100%);
  color: #172033;
}

.admin-shell {
  min-width: 0;
}

.admin-sidebar {
  z-index: 50;
  padding: 22px 16px;
  background: rgba(255, 255, 255, 0.92);
  border-right: 1px solid rgba(15, 81, 50, 0.1);
  box-shadow: 16px 0 36px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(18px);
  transition: width 180ms ease, padding 180ms ease, transform 180ms ease;
}

.admin-brand {
  min-height: 54px;
  margin-bottom: 22px;
  padding: 8px 10px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(20, 107, 58, 0.1), rgba(47, 128, 237, 0.08));
}

.admin-menu {
  gap: 6px;
}

.admin-menu a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #526078;
  font-size: 14px;
  font-weight: 850;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.admin-menu a:hover {
  transform: translateX(2px);
}

.admin-menu a.active,
.admin-menu a:hover {
  color: var(--green-dark);
  border-color: rgba(20, 107, 58, 0.12);
  background: linear-gradient(135deg, rgba(20, 107, 58, 0.12), rgba(47, 128, 237, 0.08));
}

.admin-menu a.active::before {
  content: "";
  position: absolute;
  inset: 10px auto 10px -6px;
  width: 4px;
  border-radius: 999px;
  background: var(--green);
}

.menu-icon {
  display: inline-grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  background: #eef5ff;
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.admin-menu a.active .menu-icon,
.admin-menu a:hover .menu-icon {
  background: #fff;
  color: var(--green);
  box-shadow: 0 8px 18px rgba(20, 107, 58, 0.12);
}

.menu-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 45;
  min-height: 86px;
  padding: 18px 28px;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(15, 81, 50, 0.1);
  backdrop-filter: blur(18px);
}

.admin-title-row h1 {
  color: var(--green-dark);
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.02em;
}

.eyebrow {
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.admin-sidebar-toggle {
  min-width: 46px;
  min-height: 46px;
  border-radius: 12px;
  border-color: rgba(15, 81, 50, 0.12);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.admin-actions .btn,
.admin-actions .btn-ghost {
  border-radius: 12px;
}

.admin-actions span {
  color: #1d2939;
  font-weight: 800;
}

.admin-main {
  padding: 28px;
}

.stat-grid {
  gap: 16px;
}

.stat-card,
.admin-card,
.form-card,
.summary-card,
.empty-state,
.contact-card,
.order-info-panel,
.order-status-panel,
.order-detail-head,
.hero-admin-preview,
.seller-step-grid div {
  border: 1px solid rgba(15, 81, 50, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.stat-card {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  padding: 20px;
}

.stat-card::after {
  content: "";
  position: absolute;
  right: -26px;
  top: -30px;
  width: 104px;
  height: 104px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(20, 107, 58, 0.12), rgba(47, 128, 237, 0.12));
}

.stat-card span,
.stat-card small {
  position: relative;
  z-index: 1;
  color: #667085;
}

.stat-card strong {
  position: relative;
  z-index: 1;
  color: var(--green-dark);
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: -0.03em;
}

.admin-card {
  padding: 22px;
}

.admin-card h2,
.form-card h2,
.summary-card h2 {
  color: var(--green-dark);
  letter-spacing: -0.01em;
}

.table-wrap {
  border-radius: 14px;
}

.data-table {
  border-collapse: separate;
  border-spacing: 0;
}

.data-table th {
  background: #f8fbff;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.data-table th:first-child {
  border-top-left-radius: 12px;
}

.data-table th:last-child {
  border-top-right-radius: 12px;
}

.data-table td {
  color: #1d2939;
}

.data-table tbody tr {
  transition: background 140ms ease;
}

.data-table tbody tr:hover {
  background: rgba(47, 128, 237, 0.035);
}

.status-pill,
.product-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid rgba(20, 107, 58, 0.08);
  border-radius: 999px;
  background: #eaf7ef;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.btn,
.account-link {
  border-radius: 12px;
}

.form-field input,
.form-field select,
.form-field textarea,
.search-form input,
.status-select-field select {
  border-radius: 12px;
}

.mini-list li,
.detail-list div {
  border-color: rgba(15, 81, 50, 0.1);
}

@media (min-width: 761px) {
  .admin-body.sidebar-collapsed {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .admin-body.sidebar-collapsed .admin-sidebar {
    width: 86px;
    padding: 22px 12px;
    overflow: visible;
    border-right: 1px solid rgba(15, 81, 50, 0.1);
  }

  .admin-body.sidebar-collapsed .admin-brand {
    width: 62px;
    justify-content: center;
    padding: 8px;
    overflow: hidden;
  }

  .admin-body.sidebar-collapsed .admin-brand .brand-logo-wide,
  .admin-body.sidebar-collapsed .admin-brand .brand span,
  .admin-body.sidebar-collapsed .admin-brand > span:not(.brand-mark),
  .admin-body.sidebar-collapsed .admin-brand .brand-logo-img + span {
    display: none;
  }

  .admin-body.sidebar-collapsed .admin-brand,
  .admin-body.sidebar-collapsed .admin-menu {
    opacity: 1;
    pointer-events: auto;
  }

  .admin-body.sidebar-collapsed .admin-menu a {
    justify-content: center;
    padding: 10px;
  }

  .admin-body.sidebar-collapsed .menu-label {
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    z-index: 90;
    max-width: 180px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #101828;
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) translateX(-6px);
    transition: opacity 140ms ease, transform 140ms ease;
  }

  .admin-body.sidebar-collapsed .admin-menu a:hover .menu-label,
  .admin-body.sidebar-collapsed .admin-menu a:focus-visible .menu-label {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

@media (max-width: 1080px) {
  .admin-main {
    padding: 22px;
  }
}

@media (max-width: 760px) {
  .admin-body {
    background: #f6faf7;
  }

  .admin-sidebar {
    width: min(86vw, 318px);
    padding: 18px 14px;
    background: rgba(255, 255, 255, 0.96);
  }

  .admin-topbar {
    min-height: 74px;
    padding: 12px 14px;
  }

  .admin-main {
    padding: 16px 12px 24px;
  }

  .admin-title-row {
    gap: 10px;
  }

  .admin-title-row h1 {
    font-size: 24px;
  }

  .eyebrow {
    font-size: 10px;
  }

  .admin-actions .btn {
    min-height: 38px;
    padding: 8px 10px;
  }

  .stat-card,
  .admin-card,
  .form-card,
  .summary-card,
  .empty-state {
    border-radius: 14px;
    padding: 16px;
  }

  .data-table th,
  .data-table td {
    padding: 12px 10px;
  }
}
/* Keep brand readable in collapsed portal rail */
@media (min-width: 761px) {
  .admin-body.sidebar-collapsed .admin-brand .brand-logo-img {
    display: block;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    object-fit: contain;
  }

  .admin-body.sidebar-collapsed .admin-brand .brand-mark {
    display: inline-grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

  .admin-body.sidebar-collapsed .admin-brand .brand-name {
    display: none;
  }
}
/* Premium motion layer for admin/seller portals */
:root {
  --portal-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --portal-ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-body {
  transition: grid-template-columns 340ms var(--portal-ease), background 240ms ease;
}

.admin-shell {
  animation: portal-shell-in 420ms var(--portal-ease-soft) both;
}

.admin-sidebar {
  will-change: width, padding, transform;
  transition:
    width 340ms var(--portal-ease),
    padding 340ms var(--portal-ease),
    box-shadow 240ms ease,
    transform 340ms var(--portal-ease);
}

.admin-brand {
  overflow: hidden;
  transition:
    width 340ms var(--portal-ease),
    min-height 240ms ease,
    padding 340ms var(--portal-ease),
    background 240ms ease,
    transform 240ms var(--portal-ease);
}

.admin-brand:hover {
  transform: translateY(-1px);
}

.admin-brand .brand-name,
.admin-brand .brand-logo-img,
.admin-brand .brand-mark {
  transition:
    opacity 220ms ease,
    transform 260ms var(--portal-ease),
    width 340ms var(--portal-ease),
    height 340ms var(--portal-ease);
}

.admin-menu a {
  isolation: isolate;
  overflow: hidden;
  transition:
    background 220ms ease,
    color 180ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms var(--portal-ease);
}

.admin-menu a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.62) 45%, transparent 72%);
  opacity: 0;
  transform: translateX(-70%);
  transition: transform 420ms var(--portal-ease), opacity 220ms ease;
}

.admin-menu a:hover::after,
.admin-menu a.active::after {
  opacity: 1;
  transform: translateX(70%);
}

.admin-menu a.active,
.admin-menu a:hover {
  box-shadow: 0 12px 26px rgba(15, 81, 50, 0.08);
}

.menu-icon {
  transition:
    transform 220ms var(--portal-ease),
    background 220ms ease,
    box-shadow 220ms ease,
    color 180ms ease;
}

.admin-menu a:hover .menu-icon,
.admin-menu a.active .menu-icon {
  transform: scale(1.06) rotate(-2deg);
}

.menu-label {
  transition:
    opacity 220ms ease,
    transform 260ms var(--portal-ease),
    max-width 300ms var(--portal-ease);
}

.admin-sidebar-toggle {
  position: relative;
  overflow: hidden;
  transition:
    transform 180ms var(--portal-ease),
    box-shadow 220ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.admin-sidebar-toggle::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  border-radius: 999px;
  background: rgba(20, 107, 58, 0.12);
  opacity: 0;
  transform: scale(0.2);
  transition: opacity 240ms ease, transform 340ms var(--portal-ease);
}

.admin-sidebar-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 81, 50, 0.12);
}

.admin-sidebar-toggle:active::after,
.admin-body.sidebar-is-toggling .admin-sidebar-toggle::after {
  opacity: 1;
  transform: scale(1);
}

.stat-card,
.admin-card,
.form-card,
.summary-card {
  transition:
    transform 260ms var(--portal-ease),
    box-shadow 260ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.stat-card:hover,
.admin-card:hover,
.form-card:hover,
.summary-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.09);
  border-color: rgba(47, 128, 237, 0.16);
}

.stat-card::after {
  transition: transform 360ms var(--portal-ease), opacity 240ms ease;
}

.stat-card:hover::after {
  transform: scale(1.18) translate(-6px, 6px);
  opacity: 0.95;
}

.data-table tbody tr {
  transition: background 180ms ease, transform 180ms var(--portal-ease), box-shadow 180ms ease;
}

.data-table tbody tr:hover {
  transform: translateX(3px);
  box-shadow: inset 3px 0 0 rgba(47, 128, 237, 0.42);
}

.status-pill,
.product-badge {
  transition: transform 180ms var(--portal-ease), box-shadow 180ms ease, background 180ms ease;
}

.status-pill:hover,
.product-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(20, 107, 58, 0.12);
}

.admin-main > * {
  animation: portal-content-up 460ms var(--portal-ease-soft) both;
}

.admin-main > *:nth-child(2) {
  animation-delay: 55ms;
}

.admin-main > *:nth-child(3) {
  animation-delay: 90ms;
}

@media (min-width: 761px) {
  .admin-body.sidebar-collapsed .admin-sidebar {
    transition:
      width 360ms var(--portal-ease),
      padding 360ms var(--portal-ease),
      transform 360ms var(--portal-ease);
  }

  .admin-body.sidebar-collapsed .admin-brand .brand-name,
  .admin-body.sidebar-collapsed .admin-brand > span:not(.brand-mark):not(.brand-name) {
    display: inline-block;
    max-width: 0;
    opacity: 0;
    transform: translateX(-10px);
    white-space: nowrap;
  }

  .admin-body.sidebar-collapsed .admin-menu a {
    overflow: visible;
  }

  .admin-body.sidebar-collapsed .menu-label {
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
    transition: opacity 180ms ease, transform 240ms var(--portal-ease);
  }
}

@media (max-width: 760px) {
  .admin-sidebar {
    transition: transform 360ms var(--portal-ease), box-shadow 240ms ease;
  }

  .sidebar-backdrop {
    opacity: 0;
    transition: opacity 260ms ease;
  }

  .admin-body.sidebar-open .sidebar-backdrop {
    opacity: 1;
  }
}

@keyframes portal-shell-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes portal-content-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .admin-shell,
  .admin-main > * {
    animation: none !important;
  }
}
/* Mobile storefront header polish */
@media (max-width: 760px) {
  .site-header {
    background: rgba(255, 255, 255, 0.96);
  }

  .header-inner {
    min-height: 64px;
    grid-template-columns: minmax(112px, 1fr) auto auto auto;
    gap: 8px;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .brand {
    min-width: 0;
    max-width: 150px;
    overflow: hidden;
  }

  .brand-logo-img {
    height: 34px;
    border-radius: 7px;
  }

  .brand-logo-wide {
    width: 104px;
  }

  .brand-name {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-toggle,
  .account-link,
  .cart-link {
    min-height: 42px;
    border-radius: 9px;
  }

  .nav-toggle,
  .account-link {
    padding: 9px 13px;
    font-size: 14px;
  }

  .cart-link {
    justify-content: center;
    min-width: 42px;
    padding: 9px 8px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--green);
  }

  .cart-link:hover,
  .cart-link:focus-visible {
    background: var(--green-soft);
  }

  .cart-count {
    min-width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .site-nav {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 4px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  }

  .site-nav.open {
    gap: 6px;
  }

  .site-nav a {
    padding: 11px 12px;
  }

  .search-form {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0;
  }

  .hero {
    padding-top: 28px;
  }
}

@media (max-width: 420px) {
  .header-inner {
    grid-template-columns: minmax(92px, 1fr) auto auto auto;
    gap: 6px;
  }

  .brand {
    max-width: 124px;
  }

  .brand-logo-wide {
    width: 96px;
  }

  .nav-toggle,
  .account-link {
    padding-inline: 10px;
    font-size: 13px;
  }

  .cart-link {
    min-width: 38px;
  }
}
/* Storefront header one-row fix for tablet and mobile */
@media (max-width: 1080px) {
  .header-inner {
    min-height: 64px;
    grid-template-columns: minmax(96px, 1fr) auto auto auto;
    gap: 8px;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .brand {
    min-width: 0;
    max-width: 150px;
    overflow: hidden;
  }

  .brand-logo-img {
    height: 34px;
    border-radius: 7px;
  }

  .brand-logo-wide {
    width: 104px;
  }

  .nav-toggle,
  .account-link,
  .cart-link {
    order: 0;
    min-height: 42px;
    border-radius: 9px;
  }

  .nav-toggle,
  .account-link {
    padding: 9px 13px;
    font-size: 14px;
  }

  .cart-link {
    grid-column: auto;
    min-width: 42px;
    justify-content: center;
    padding: 9px 8px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--green);
  }

  .cart-icon {
    display: none;
  }

  .cart-count {
    min-width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .site-nav {
    grid-column: 1 / -1;
    order: 5;
    width: 100%;
  }

  .search-form {
    grid-column: 1 / -1;
    order: 6;
    width: 100%;
  }
}

@media (max-width: 420px) {
  .header-inner {
    grid-template-columns: minmax(88px, 1fr) auto auto auto;
    gap: 6px;
  }

  .brand {
    max-width: 116px;
  }

  .brand-logo-wide {
    width: 92px;
  }

  .nav-toggle,
  .account-link {
    padding-inline: 9px;
    font-size: 13px;
  }

  .cart-link {
    min-width: 38px;
    padding-inline: 7px;
  }
}
/* Premium landing hero refresh */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 76px 0 64px;
  border-bottom: 1px solid rgba(231, 236, 232, 0.78);
  background:
    radial-gradient(circle at 9% 18%, rgba(255, 122, 26, 0.14), transparent 25%),
    radial-gradient(circle at 84% 12%, rgba(20, 107, 58, 0.12), transparent 24%),
    linear-gradient(135deg, #ffffff 0%, #f7fbf8 46%, #eef8f2 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: 290px;
  height: 290px;
  right: -98px;
  top: 88px;
  background: rgba(255, 122, 26, 0.12);
  filter: blur(10px);
}

.hero::after {
  width: 210px;
  height: 210px;
  left: -86px;
  bottom: -76px;
  background: rgba(20, 107, 58, 0.13);
  filter: blur(8px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
  gap: 54px;
}

.hero-copy .eyebrow {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(20, 107, 58, 0.08);
  color: var(--green);
  box-shadow: inset 0 0 0 1px rgba(20, 107, 58, 0.1);
}

.hero-copy h1 {
  margin-top: 16px;
  margin-bottom: 18px;
  max-width: 620px;
  font-size: clamp(42px, 5.4vw, 68px);
  line-height: 1.02;
  text-wrap: balance;
}

.hero-copy p {
  max-width: 560px;
  margin-bottom: 18px;
  color: #46556c;
  font-size: 19px;
}

.hero-trust-row,
.hero-metrics {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-trust-row {
  margin: 0 0 24px;
}

.hero-trust-row span {
  padding: 7px 10px;
  border: 1px solid rgba(20, 107, 58, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #315241;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(15, 81, 50, 0.05);
}

.hero-actions {
  gap: 14px;
}

.hero-actions .btn {
  min-height: 52px;
  padding-inline: 22px;
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(255, 122, 26, 0.22);
}

.hero-actions .btn-ghost {
  box-shadow: 0 10px 22px rgba(15, 81, 50, 0.07);
}

.hero-metrics {
  margin-top: 24px;
}

.hero-metrics span {
  min-width: 132px;
  padding: 12px 14px;
  border: 1px solid rgba(231, 236, 232, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  color: #526078;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  box-shadow: 0 14px 30px rgba(15, 81, 50, 0.07);
}

.hero-metrics strong {
  display: block;
  color: var(--green-dark);
  font-size: 20px;
  line-height: 1.1;
}

.hero-showcase {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(20, 107, 58, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 26px 70px rgba(15, 81, 50, 0.16);
  backdrop-filter: blur(12px);
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: 28px -18px -20px 32px;
  z-index: -1;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(20, 107, 58, 0.12), rgba(255, 122, 26, 0.16));
}

.hero-showcase .hero-photo {
  box-shadow: none;
}

.hero-media-uploaded.hero-showcase {
  min-height: 468px;
  overflow: visible;
}

.hero-media-uploaded.hero-showcase img {
  min-height: 438px;
  border-radius: 18px;
  box-shadow: none;
}

.hero-float {
  position: absolute;
  z-index: 2;
  max-width: 210px;
  padding: 12px 14px;
  border: 1px solid rgba(231, 236, 232, 0.92);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(15, 81, 50, 0.12);
}

.hero-float-top {
  top: 34px;
  right: 24px;
}

.hero-float-bottom {
  left: 28px;
  bottom: 30px;
}

@media (max-width: 1080px) {
  .hero {
    padding: 52px 0 48px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-copy h1 {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .hero {
    padding: 34px 0 42px;
    background:
      radial-gradient(circle at 12% 10%, rgba(255, 122, 26, 0.15), transparent 26%),
      linear-gradient(180deg, #ffffff 0%, #f4faf6 100%);
  }

  .hero-grid {
    gap: 30px;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.06;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-trust-row {
    gap: 8px;
    margin-bottom: 20px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero-actions .btn {
    min-height: 50px;
    padding-inline: 12px;
    white-space: nowrap;
  }

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

  .hero-metrics span {
    min-width: 0;
    padding: 10px 8px;
    border-radius: 12px;
    font-size: 10px;
  }

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

  .hero-showcase {
    padding: 8px;
    border-radius: 18px;
  }

  .hero-showcase::before {
    inset: 18px -8px -10px 18px;
    border-radius: 20px;
  }

  .hero-media.hero-showcase {
    grid-template-rows: 270px 148px 148px;
  }

  .hero-media-uploaded.hero-showcase,
  .hero-media-uploaded.hero-showcase img {
    min-height: 300px;
  }

  .hero-media-uploaded.hero-showcase img {
    border-radius: 14px;
  }

  .hero-float {
    display: none;
  }
}

@media (max-width: 420px) {
  .hero {
    padding-top: 28px;
  }

  .hero-copy .eyebrow {
    font-size: 10px;
    padding: 6px 9px;
  }

  .hero-copy h1 {
    margin-top: 14px;
    font-size: 36px;
  }

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

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

  .hero-media.hero-showcase {
    grid-template-rows: 248px 132px 132px;
  }
}
/* Lively animated storefront icons */
.category-card {
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.category-card::after {
  content: "";
  position: absolute;
  width: 82px;
  height: 82px;
  right: -34px;
  top: -38px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(43, 142, 255, 0.13), transparent 68%);
  opacity: 0;
  transform: scale(0.65);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

.category-icon {
  position: relative;
  overflow: visible;
  background: linear-gradient(145deg, #ffffff, rgba(43, 142, 255, 0.08));
  box-shadow: 0 10px 20px rgba(43, 142, 255, 0.08);
  animation: category-icon-float 4.4s ease-in-out infinite;
}

.category-icon::before,
.category-icon::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  pointer-events: none;
}

.category-icon::before {
  inset: -7px;
  border: 1px solid rgba(43, 142, 255, 0.18);
  opacity: 0;
  transform: scale(0.88);
  animation: category-icon-pulse 3.2s ease-out infinite;
}

.category-icon::after {
  width: 8px;
  height: 8px;
  top: -6px;
  right: -6px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 122, 26, 0.12);
  animation: icon-spark 2.8s ease-in-out infinite;
}

.category-card:nth-child(2n) .category-icon {
  animation-delay: 0.45s;
}

.category-card:nth-child(3n) .category-icon {
  animation-delay: 0.9s;
}

.category-card:nth-child(4n) .category-icon::after {
  animation-delay: 0.7s;
}

.product-badge,
.cart-count {
  animation: icon-soft-pop 3.6s ease-in-out infinite;
}

.hero-float-top {
  animation: hero-float-drift 4.8s ease-in-out infinite;
}

.hero-float-bottom {
  animation: hero-float-drift 5.4s ease-in-out infinite reverse;
}

.hero-trust-row span {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.hero-trust-row span:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 81, 50, 0.09);
}

@keyframes category-icon-float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  45% {
    transform: translateY(-6px) rotate(-1deg);
  }
  70% {
    transform: translateY(-3px) rotate(1deg);
  }
}

@keyframes category-icon-pulse {
  0% {
    opacity: 0;
    transform: scale(0.88);
  }
  38% {
    opacity: 0.72;
  }
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

@keyframes icon-spark {
  0%, 100% {
    opacity: 0.38;
    transform: scale(0.75);
  }
  45% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes icon-soft-pop {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes hero-float-drift {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes reduced-icon-glow {
  0%, 100% {
    box-shadow: 0 8px 18px rgba(43, 142, 255, 0.08);
  }
  50% {
    box-shadow: 0 10px 24px rgba(43, 142, 255, 0.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  .category-icon,
  .product-badge,
  .cart-count {
    animation: reduced-icon-glow 3.6s ease-in-out infinite;
  }

  .category-icon::before,
  .category-icon::after,
  .hero-float-top,
  .hero-float-bottom {
    animation: none;
  }

  .category-card,
  .hero-trust-row span {
    transition: none;
  }
}
/* Visual animated category image icons */
.category-icon-art {
  --category-art: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%232b8eff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 25h24l-2 24H22L20 25Z'/%3E%3Cpath d='M24 25c0-7 4-11 8-11s8 4 8 11'/%3E%3Cpath d='M27 35h10'/%3E%3C/svg%3E");
  width: 66px;
  height: 66px;
  border: 0;
  border-radius: 22px;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.45) 28%, transparent 30%),
    linear-gradient(145deg, rgba(43, 142, 255, 0.16), rgba(234, 247, 239, 0.92));
  box-shadow: 0 14px 32px rgba(43, 142, 255, 0.14), inset 0 0 0 1px rgba(43, 142, 255, 0.18);
}

.category-icon-art > span {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 0;
}

.category-icon-art > span::before {
  content: "";
  width: 39px;
  height: 39px;
  display: block;
  background-image: var(--category-art);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 7px 10px rgba(43, 142, 255, 0.16));
  animation: category-art-dance 4.2s ease-in-out infinite;
}

.category-card:hover .category-icon-art > span::before {
  animation-duration: 1.55s;
}

.category-icon-makanan-minuman,
.category-icon-food,
.category-icon-minuman {
  --category-art: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%232b8eff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 29h32c0 12-7 21-16 21s-16-9-16-21Z'/%3E%3Cpath d='M20 50h24'/%3E%3Cpath d='M21 20c3-4 7-4 10 0'/%3E%3Cpath d='M34 20c3-4 7-4 10 0'/%3E%3Cpath d='M50 16v34'/%3E%3Cpath d='M50 16c4 4 4 9 0 13'/%3E%3C/svg%3E");
}

.category-icon-fashion-aksesoris,
.category-icon-fashion {
  --category-art: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%232b8eff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 14c2 4 5 6 8 6s6-2 8-6l12 7-6 11-5-2v20H23V30l-5 2-6-11 12-7Z'/%3E%3Cpath d='M27 15c1 3 3 5 5 5s4-2 5-5'/%3E%3C/svg%3E");
}

.category-icon-home-living,
.category-icon-home {
  --category-art: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%232b8eff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 31 32 15l19 16'/%3E%3Cpath d='M19 29v22h26V29'/%3E%3Cpath d='M28 51V39h8v12'/%3E%3Cpath d='M45 20v-5h-7'/%3E%3C/svg%3E");
}

.category-icon-kecantikan-perawatan,
.category-icon-kecantikan {
  --category-art: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%232b8eff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M32 30c7-10 17-10 19-2-8 1-13 5-19 2Z'/%3E%3Cpath d='M32 30c-7-10-17-10-19-2 8 1 13 5 19 2Z'/%3E%3Cpath d='M32 30c3 9-1 17-9 18 0-8 2-14 9-18Z'/%3E%3Cpath d='M32 30c-3 9 1 17 9 18 0-8-2-14-9-18Z'/%3E%3Ccircle cx='32' cy='30' r='4'/%3E%3Cpath d='M50 13l1 5 5 1-5 1-1 5-1-5-5-1 5-1 1-5Z'/%3E%3C/svg%3E");
}

.category-icon-kerajinan-tangan,
.category-icon-kerajinan {
  --category-art: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%232b8eff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 43c9-14 18-22 30-27 2 12-3 24-15 31-6 4-12 4-15-4Z'/%3E%3Cpath d='M22 42c8-8 15-14 24-20'/%3E%3Cpath d='M16 48h20'/%3E%3Cpath d='M13 53h14'/%3E%3C/svg%3E");
}

.category-icon-lainnya,
.category-icon-default {
  --category-art: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%232b8eff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='14' y='14' width='14' height='14' rx='4'/%3E%3Crect x='36' y='14' width='14' height='14' rx='4'/%3E%3Crect x='14' y='36' width='14' height='14' rx='4'/%3E%3Crect x='36' y='36' width='14' height='14' rx='4'/%3E%3C/svg%3E");
}

@keyframes category-art-dance {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  36% {
    transform: translateY(-3px) rotate(-4deg) scale(1.04);
  }
  70% {
    transform: translateY(1px) rotate(3deg) scale(0.98);
  }
}

@media (max-width: 760px) {
  .category-icon-art {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .category-icon-art > span::before {
    width: 34px;
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .category-icon-art > span::before {
    animation: none;
  }
}
/* Mobile category grid compaction */
@media (max-width: 760px) {
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .category-card {
    min-height: 126px;
    gap: 10px;
    padding: 16px 8px;
    border-radius: 10px;
  }

  .category-card > span:last-child {
    font-size: 13px;
    line-height: 1.25;
  }

  .category-icon-art {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .category-icon-art > span::before {
    width: 31px;
    height: 31px;
  }
}

@media (max-width: 420px) {
  .category-grid {
    gap: 10px;
  }

  .category-card {
    min-height: 118px;
    padding: 14px 7px;
  }
}
/* Mobile product cards cleanup */
@media (max-width: 760px) {
  .landing-product-section,
  .section:has(.product-grid) {
    padding-top: 28px;
    padding-bottom: 34px;
  }

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

  .product-card {
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(15, 81, 50, 0.05);
  }

  .product-card:hover {
    transform: translateY(-2px);
  }

  .product-image,
  .featured .product-image {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .product-image.photo-sprite,
  .featured .product-image.photo-sprite {
    background-size: 1700px auto;
  }

  .product-image.photo-keripik { background-position: -115px -1204px; }
  .product-image.photo-sambal { background-position: -373px -1204px; }
  .product-image.photo-tas { background-position: -621px -1204px; }
  .product-image.photo-sabun { background-position: -880px -1204px; }
  .product-image.photo-mug { background-position: -1130px -1204px; }
  .product-image.photo-batik { background-position: -1386px -1204px; }
  .product-image.photo-madu { background-position: -1218px -164px; }
  .product-image.photo-pot { background-position: -1242px -503px; }

  .uploaded-product-image img {
    object-fit: cover;
  }

  .product-badge {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .product-body {
    padding: 11px 10px 12px;
  }

  .product-meta {
    margin-bottom: 7px;
    font-size: 10px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .product-body h3 {
    min-height: 38px;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .price-row {
    gap: 5px;
    font-size: 14px;
    line-height: 1.2;
  }

  .price-old {
    font-size: 11px;
  }

  .product-stats {
    gap: 3px;
    margin-top: 8px;
    font-size: 7px;
  }

  .product-stats span {
    min-height: 16px;
    padding: 3px 4px;
  }
}

@media (max-width: 420px) {
  .product-grid,
  .product-grid.featured {
    gap: 10px;
  }

  .product-image.photo-sprite,
  .featured .product-image.photo-sprite {
    background-size: 1500px auto;
  }

  .product-image.photo-keripik { background-position: -102px -1063px; }
  .product-image.photo-sambal { background-position: -329px -1063px; }
  .product-image.photo-tas { background-position: -548px -1063px; }
  .product-image.photo-sabun { background-position: -777px -1063px; }
  .product-image.photo-mug { background-position: -998px -1063px; }
  .product-image.photo-batik { background-position: -1223px -1063px; }
  .product-image.photo-madu { background-position: -1075px -144px; }
  .product-image.photo-pot { background-position: -1097px -444px; }

  .product-body {
    padding: 10px 9px 11px;
  }

  .product-body h3 {
    font-size: 12.5px;
  }
}
/* Premium seller CTA banner */
.seller-banner-premium {
  position: relative;
  overflow: hidden;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 26px;
  padding: 30px;
  border: 1px solid rgba(43, 142, 255, 0.16);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 122, 26, 0.16), transparent 27%),
    radial-gradient(circle at 88% 10%, rgba(43, 142, 255, 0.16), transparent 24%),
    linear-gradient(135deg, #f3fbff 0%, #ecf8f2 52%, #fff7ec 100%);
  box-shadow: 0 22px 55px rgba(15, 81, 50, 0.1);
}

.seller-banner-premium::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  pointer-events: none;
}

.seller-banner-premium::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -70px;
  bottom: -86px;
  border-radius: 999px;
  background: rgba(255, 122, 26, 0.15);
  pointer-events: none;
}

.seller-banner-premium .seller-illustration {
  position: relative;
  isolation: isolate;
  width: 136px;
  height: 108px;
  border: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 34px rgba(15, 81, 50, 0.11), inset 0 0 0 1px rgba(20, 107, 58, 0.09);
  color: transparent;
}

.seller-shop-roof,
.seller-shop-box,
.seller-shop-spark {
  position: absolute;
  display: block;
}

.seller-shop-roof {
  left: 30px;
  top: 25px;
  width: 76px;
  height: 22px;
  border-radius: 10px 10px 5px 5px;
  background: repeating-linear-gradient(90deg, var(--green) 0 13px, #ffffff 13px 26px);
  box-shadow: 0 8px 18px rgba(20, 107, 58, 0.16);
  animation: seller-roof-bounce 3.8s ease-in-out infinite;
}

.seller-shop-box {
  left: 38px;
  top: 48px;
  width: 60px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(145deg, #fff, #e7f7ee);
  box-shadow: inset 0 0 0 2px rgba(20, 107, 58, 0.12);
}

.seller-shop-box::before,
.seller-shop-box::after {
  content: "";
  position: absolute;
  background: var(--orange);
}

.seller-shop-box::before {
  left: 9px;
  top: 10px;
  width: 15px;
  height: 15px;
  border-radius: 4px;
}

.seller-shop-box::after {
  right: 9px;
  bottom: 0;
  width: 16px;
  height: 24px;
  border-radius: 7px 7px 0 0;
}

.seller-shop-spark {
  right: 24px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #2b8eff;
  box-shadow: 0 0 0 7px rgba(43, 142, 255, 0.12);
  animation: icon-spark 2.7s ease-in-out infinite;
}

.seller-banner-copy {
  position: relative;
  z-index: 1;
}

.seller-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.seller-banner-premium h2 {
  margin-bottom: 7px;
  font-size: clamp(24px, 3vw, 34px);
}

.seller-banner-premium p {
  max-width: 660px;
  color: #46556c;
}

.seller-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.seller-benefits span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid rgba(20, 107, 58, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(15, 81, 50, 0.06);
}

.seller-cta {
  position: relative;
  z-index: 1;
  min-width: 154px;
  border-radius: 14px;
  background: #2b8eff;
  box-shadow: 0 18px 32px rgba(43, 142, 255, 0.25);
}

.seller-cta:hover {
  background: #126fe5;
  transform: translateY(-2px);
}

@keyframes seller-roof-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@media (max-width: 760px) {
  .seller-banner-premium {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .seller-banner-premium .seller-illustration {
    width: 72px;
    height: 72px;
    border-radius: 18px;
  }

  .seller-shop-roof {
    left: 16px;
    top: 18px;
    width: 41px;
    height: 13px;
    border-radius: 7px 7px 4px 4px;
    background: repeating-linear-gradient(90deg, var(--green) 0 8px, #ffffff 8px 15px);
  }

  .seller-shop-box {
    left: 20px;
    top: 31px;
    width: 34px;
    height: 25px;
    border-radius: 6px;
  }

  .seller-shop-box::before {
    left: 6px;
    top: 7px;
    width: 8px;
    height: 8px;
  }

  .seller-shop-box::after {
    right: 6px;
    width: 9px;
    height: 15px;
  }

  .seller-shop-spark {
    right: 9px;
    top: 12px;
    width: 7px;
    height: 7px;
  }

  .seller-banner-premium h2 {
    font-size: 19px;
  }

  .seller-banner-premium p {
    font-size: 13px;
    line-height: 1.45;
  }

  .seller-benefits {
    gap: 6px;
    margin-top: 10px;
  }

  .seller-benefits span {
    min-height: 24px;
    padding: 5px 8px;
    font-size: 10px;
  }

  .seller-cta {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .seller-shop-roof,
  .seller-shop-spark {
    animation: none;
  }
}