:root {
  --ink: #171717;
  --ink-soft: #2a2927;
  --paper: #fffdf8;
  --ivory: #f6f0e6;
  --sand: #e5d3b7;
  --stone: #a79d90;
  --muted: #6f6962;
  --line: #e2dbd1;
  --burgundy: #8d2226;
  --burgundy-dark: #68171a;
  --gold: #c8922f;
  --gold-soft: #f1dfb5;
  --rose: #ead6d2;
  --sage: #dfe5dc;
  --success: #2f6f4e;
  --danger: #a33d3d;
  --shadow: 0 18px 48px rgba(43, 35, 27, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
.container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
h1, h2, h3, h4, .brand strong { font-family: "Manrope", Arial, sans-serif; }

.announcement {
  background: var(--ink);
  color: #f7f1e7;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 8px 18px;
  font-size: 12px;
  letter-spacing: .04em;
}
.announcement span + span::before { content: "•"; margin-right: 26px; color: var(--gold); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, .97);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: max-content;
}
.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  background: #050505;
  border: 1px solid rgba(200, 146, 47, .42);
  flex: 0 0 auto;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand strong { display: block; font-size: 16px; line-height: 1.05; letter-spacing: -.02em; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; letter-spacing: .22em; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.main-nav a { padding: 29px 0 25px; border-bottom: 3px solid transparent; font-size: 13px; font-weight: 700; color: #3c3935; }
.main-nav a:hover, .main-nav a.active { color: var(--burgundy); border-bottom-color: var(--burgundy); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-link { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.cart-link { display: inline-flex; align-items: center; gap: 9px; background: var(--ink); color: #fff; border-radius: 999px; padding: 11px 15px; font-size: 13px; font-weight: 800; }
.cart-link b { min-width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 24px; padding: 6px; }

.flash-stack { position: relative; z-index: 60; }
.flash { margin-top: 16px; padding: 13px 16px; border: 1px solid; border-radius: var(--radius-sm); }
.flash.success { background: #edf7f1; border-color: #badcc8; color: #225b3c; }
.flash.error { background: #fff0f0; border-color: #edbaba; color: #842e2e; }

.hero { padding: 42px 0 28px; background: var(--paper); }
.hero-panel {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(115deg, #f8f3eb 0%, #f1e7d9 58%, #e7d2ca 100%);
}
.hero-main { padding: 68px 58px 56px; display: flex; flex-direction: column; justify-content: center; }
.hero-kicker, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--burgundy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-kicker::before, .eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.hero h1 {
  max-width: 720px;
  margin: 18px 0 22px;
  font-size: clamp(45px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.hero-main > p { max-width: 620px; margin: 0; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 21px;
  background: var(--burgundy);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.btn:hover { background: var(--burgundy-dark); }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: #363330; }
.btn-outline { background: transparent; color: var(--ink); border-color: #bfb5a8; }
.btn-outline:hover { background: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--gold-soft); }
.btn-sm { min-height: 36px; padding: 8px 13px; font-size: 12px; }
.hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(23,23,23,.13); padding-top: 23px; gap: 18px; }
.hero-meta strong { display: block; font-family: "Manrope", sans-serif; font-size: 20px; }
.hero-meta span { display: block; color: var(--muted); font-size: 11px; }
.hero-visual { min-height: 610px; position: relative; background: #181716; overflow: hidden; }
.hero-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 27%, rgba(200,146,47,.42), transparent 27%), linear-gradient(165deg, transparent 38%, rgba(141,34,38,.78)); }
.hero-visual-head { position: absolute; z-index: 2; top: 32px; left: 32px; right: 32px; display: flex; align-items: center; justify-content: space-between; color: #fff; }
.hero-visual-head span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.hero-logo-seal { width: 76px; height: 76px; border-radius: 17px; overflow: hidden; border: 1px solid rgba(255,255,255,.22); }
.hero-logo-seal img { width: 100%; height: 100%; object-fit: cover; }
.hero-product { position: absolute; z-index: 1; width: 90%; max-height: 470px; object-fit: contain; left: 5%; top: 17%; }
.hero-caption { position: absolute; z-index: 2; left: 32px; right: 32px; bottom: 30px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; color: #fff; }
.hero-caption strong { display: block; font-size: 24px; line-height: 1.1; }
.hero-caption span { color: #d8d0c8; font-size: 12px; }
.hero-price { font-family: "Manrope", sans-serif; font-size: 21px; color: var(--gold-soft); white-space: nowrap; }

.quality-strip { padding: 14px 0 0; }
.quality-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 20px; background: #fff; overflow: hidden; }
.quality-item { padding: 20px 24px; display: flex; gap: 13px; align-items: center; }
.quality-item + .quality-item { border-left: 1px solid var(--line); }
.quality-number { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--ivory); color: var(--burgundy); font-weight: 900; }
.quality-item strong { display: block; font-size: 13px; }
.quality-item span { display: block; color: var(--muted); font-size: 11px; }

.section { padding: 82px 0; }
.section-soft, .section-muted { background: var(--ivory); }
.section-dark { background: var(--ink); color: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-title { margin: 8px 0 0; font-size: clamp(31px, 4vw, 49px); line-height: 1.1; letter-spacing: -.045em; }
.section-copy { max-width: 620px; margin: 12px 0 0; color: var(--muted); }
.text-link { color: var(--burgundy); font-size: 13px; font-weight: 800; }
.text-link:hover { color: var(--burgundy-dark); }

.collection-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 22px; }
.collection-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 22px; }
.collection-card { min-height: 265px; position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #f2e9de; }
.collection-card.primary { min-height: 552px; background: #d8c5a7; }
.collection-card.secondary { background: var(--rose); }
.collection-card.tertiary { background: var(--sage); }
.collection-copy { position: relative; z-index: 2; max-width: 58%; padding: 34px; }
.collection-copy h3 { margin: 7px 0 10px; font-size: 34px; line-height: 1.05; letter-spacing: -.035em; }
.collection-copy p { margin: 0; color: #5e5750; font-size: 14px; }
.collection-image { position: absolute; width: 62%; max-height: 86%; object-fit: contain; right: -2%; bottom: 0; }
.collection-card.primary .collection-image { width: 82%; max-height: 73%; right: -8%; bottom: -3%; }
.collection-link { display: inline-block; margin-top: 20px; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }

.category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.category-card { min-height: 330px; position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 34px; color: #fff; background: var(--ink-soft); }
.category-card.sandal { background: var(--burgundy); }
.category-card h3 { margin: 5px 0; font-size: 36px; }
.category-card p { max-width: 330px; color: rgba(255,255,255,.78); }
.category-card img { position: absolute; width: 57%; max-height: 80%; object-fit: contain; right: 0; bottom: -4%; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.product-card:hover { border-color: #bfb3a4; box-shadow: var(--shadow); }
.product-image { aspect-ratio: 1 / 1; position: relative; display: grid; place-items: center; overflow: hidden; background: #f2eee7; }
.product-image img { width: 92%; height: 92%; object-fit: contain; }
.product-image img.photo { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; z-index: 2; top: 14px; left: 14px; background: var(--burgundy); color: #fff; border-radius: 999px; padding: 6px 10px; font-size: 10px; font-weight: 900; letter-spacing: .06em; }
.product-info { padding: 17px 17px 18px; }
.product-category { color: var(--burgundy); font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.product-name { margin: 5px 0 7px; font-family: "Manrope", sans-serif; font-size: 17px; font-weight: 800; line-height: 1.25; }
.rating { color: var(--gold); font-size: 14px; letter-spacing: .04em; }
.rating small { margin-left: 5px; color: var(--muted); letter-spacing: 0; }
.price-row { display: flex; align-items: center; gap: 8px; margin-top: 9px; }
.price { font-size: 17px; font-weight: 900; }
.old-price { color: #9e978e; font-size: 12px; text-decoration: line-through; }
.product-card-footer { margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-stock { color: var(--muted); font-size: 11px; }
.product-action { color: var(--burgundy); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }

.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefit { min-height: 178px; padding: 25px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.icon-circle { width: 42px; height: 42px; margin-bottom: 17px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-soft); color: var(--burgundy); font-weight: 900; }
.benefit h3 { margin: 0 0 6px; font-size: 15px; }
.benefit p { margin: 0; color: var(--muted); font-size: 12px; }

.story-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 58px; align-items: center; }
.story-visual { min-height: 510px; position: relative; overflow: hidden; border-radius: 30px; background: linear-gradient(145deg, #b78635, #651b20 58%, #181716); }
.story-visual img.product-story-image { position: absolute; width: 86%; max-height: 70%; object-fit: contain; left: 7%; bottom: 0; }
.brand-seal { position: absolute; z-index: 2; width: 120px; height: 120px; left: 28px; top: 28px; overflow: hidden; border-radius: 22px; border: 1px solid rgba(255,255,255,.25); }
.brand-seal img { width: 100%; height: 100%; object-fit: cover; }
.brand-note { position: absolute; z-index: 2; right: 28px; top: 34px; max-width: 165px; color: #fff; text-align: right; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.story-content h2 { margin: 12px 0 20px; font-size: clamp(37px, 5vw, 61px); line-height: 1.05; letter-spacing: -.055em; }
.story-content p { color: var(--muted); }
.story-points { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.story-points div { border-left: 3px solid var(--gold); padding-left: 15px; }
.story-points strong { display: block; }
.story-points span { display: block; color: var(--muted); font-size: 12px; }

.instagram-panel { display: grid; grid-template-columns: .78fr 1.22fr; gap: 36px; align-items: center; border-radius: 30px; padding: 42px; background: #fff; border: 1px solid var(--line); }
.instagram-copy h2 { margin: 10px 0 16px; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.045em; }
.instagram-copy p { color: var(--muted); }
.instagram-handle { display: inline-flex; margin: 5px 0 22px; color: var(--burgundy); font-weight: 900; }
.instagram-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.instagram-tile { aspect-ratio: 1; position: relative; overflow: hidden; background: var(--ivory); border-radius: 16px; }
.instagram-tile img { width: 100%; height: 100%; object-fit: contain; }
.instagram-tile::after { content: "Lihat koleksi"; position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 7px 9px; border-radius: 999px; background: rgba(23,23,23,.78); color: #fff; text-align: center; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.newsletter { min-height: 190px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 42px 46px; border-radius: 28px; color: #fff; background: linear-gradient(110deg, var(--burgundy-dark), var(--burgundy) 55%, #a46f25); }
.newsletter h2 { margin: 0 0 8px; font-size: 35px; }
.newsletter p { margin: 0; color: #f2dfdc; }

.page-hero { padding: 56px 0; background: linear-gradient(115deg, var(--ivory), #efe1d8); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin: 0 0 10px; font-size: clamp(39px, 5vw, 60px); line-height: 1.05; letter-spacing: -.045em; }
.page-hero p { margin: 0; color: var(--muted); }
.catalog-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; }
.filter-card { align-self: start; position: sticky; top: 108px; padding: 21px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.filter-card h3 { margin: 0 0 16px; font-size: 17px; }
.filter-group { margin-bottom: 21px; }
.filter-group label, .form-group label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 900; }
.field, select, textarea { width: 100%; border: 1px solid #d8d0c5; border-radius: 11px; background: #fff; padding: 12px 13px; outline: none; }
.field:focus, select:focus, textarea:focus { border-color: var(--burgundy); box-shadow: 0 0 0 3px rgba(141,34,38,.09); }
.catalog-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.catalog-top p { color: var(--muted); }
.catalog-top select { width: auto; }
.empty-state { padding: 70px 20px; border: 1px dashed #cfc5b8; border-radius: 20px; text-align: center; }

.product-detail { display: grid; grid-template-columns: 1.02fr .98fr; gap: 55px; align-items: start; }
.detail-image { min-height: 570px; position: sticky; top: 110px; display: grid; place-items: center; overflow: hidden; border-radius: 28px; background: #f1ece4; }
.detail-image img { width: 94%; max-height: 535px; object-fit: contain; }
.detail-info h1 { margin: 8px 0 15px; font-size: clamp(38px, 5vw, 59px); line-height: 1.05; letter-spacing: -.045em; }
.detail-price { margin: 18px 0; font-size: 28px; font-weight: 900; }
.detail-description { color: var(--muted); }
.variant-group { margin: 24px 0; }
.variant-group > label { display: block; margin-bottom: 9px; font-weight: 900; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-row label { margin: 0; }
.choice-row input { position: absolute; opacity: 0; }
.choice-row span { display: block; padding: 9px 13px; border: 1px solid #d5cdc1; border-radius: 9px; cursor: pointer; font-size: 12px; font-weight: 800; }
.choice-row input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.buy-row { display: flex; gap: 12px; margin-top: 26px; }
.qty-control { display: flex; overflow: hidden; border: 1px solid #d5cdc1; border-radius: 999px; background: #fff; }
.qty-control button { width: 42px; border: 0; background: #fff; cursor: pointer; }
.qty-control input { width: 46px; border: 0; text-align: center; outline: 0; }
.stock-note { margin-top: 10px; color: var(--muted); font-size: 12px; }
.detail-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.detail-perks div { padding: 14px; border-radius: 12px; background: var(--ivory); font-size: 12px; }
.reviews-wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: 36px; }
.rating-box { padding: 28px; border-radius: 22px; background: var(--ivory); text-align: center; }
.rating-box strong { font-family: "Manrope", sans-serif; font-size: 62px; }
.rating-box .rating { font-size: 22px; }
.review-list { display: grid; gap: 15px; }
.review-item { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.review-head { display: flex; justify-content: space-between; gap: 15px; }
.review-item p { margin-bottom: 0; color: var(--muted); }
.review-form { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }

.cart-layout { display: grid; grid-template-columns: 1.4fr .6fr; gap: 30px; align-items: start; }
.cart-list { display: grid; gap: 14px; }
.cart-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.cart-thumb { aspect-ratio: 1; display: grid; place-items: center; border-radius: 13px; background: var(--ivory); }
.cart-thumb img { width: 90%; height: 90%; object-fit: contain; }
.cart-item h3 { margin: 0 0 4px; font-size: 17px; }
.cart-meta { color: var(--muted); font-size: 12px; }
.cart-price { text-align: right; }
.cart-price strong { display: block; }
.summary-card { position: sticky; top: 110px; padding: 24px; border-radius: 22px; background: var(--ink); color: #fff; }
.summary-card h2 { margin-top: 0; }
.summary-line { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.summary-total { border-bottom: 0; font-size: 20px; font-weight: 900; }
.checkout-grid { display: grid; grid-template-columns: 1fr .72fr; gap: 32px; }
.panel { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.panel h2 { margin-top: 0; }
.order-mini { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.success-card { max-width: 760px; margin: 0 auto; padding: 45px; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.success-icon { width: 80px; height: 80px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: #e7f5eb; color: #2c7846; font-size: 42px; }

.site-footer { padding: 64px 0 22px; background: #151515; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .65fr .9fr 1fr; gap: 42px; }
.footer-brand { margin-bottom: 16px; color: #fff; }
.footer-brand .brand-mark { width: 64px; height: 64px; }
.footer-grid h3 { margin: 0 0 14px; font-size: 14px; }
.footer-grid p, .footer-grid span, .footer-grid a { display: block; margin: 7px 0; color: #bdb6ad; font-size: 12px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 42px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: #8d8780; font-size: 11px; }

/* Admin */
.admin-body { background: #f4f1ec; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 260px 1fr; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; padding: 25px 18px; background: #171717; color: #fff; }
.admin-sidebar .brand { padding: 0 8px; margin-bottom: 30px; }
.admin-sidebar .brand small { color: #9f9991; }
.admin-sidebar .brand-mark { width: 48px; height: 48px; }
.admin-nav { display: grid; gap: 5px; }
.admin-nav a { padding: 11px 13px; border-radius: 9px; color: #bbb5ad; font-size: 13px; font-weight: 700; }
.admin-nav a:hover, .admin-nav a.active { background: #2d2926; color: #fff; }
.admin-nav .logout { margin-top: 20px; color: #f0aaa3; }
.admin-main { padding: 28px; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.admin-topbar h1 { margin: 0; font-size: 28px; }
.admin-topbar p { margin: 3px 0 0; color: var(--muted); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card { padding: 20px; border: 1px solid #e4ded5; border-radius: 16px; background: #fff; }
.stat-card span { color: var(--muted); font-size: 11px; }
.stat-card strong { display: block; margin-top: 8px; font-family: "Manrope", sans-serif; font-size: 30px; }
.admin-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; margin-top: 18px; }
.admin-card { padding: 20px; border: 1px solid #e4ded5; border-radius: 16px; background: #fff; }
.admin-card h2 { margin: 0 0 15px; font-size: 18px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th, td { padding: 12px; border-bottom: 1px solid #ece7df; text-align: left; vertical-align: middle; }
th { color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.table-product { display: flex; align-items: center; gap: 10px; }
.table-product img { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; background: var(--ivory); }
.status { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #ecefeb; font-size: 10px; font-weight: 900; }
.status.Baru { background: #fff0d8; color: #8a5916; }
.status.Diproses { background: #e7f0ff; color: #315c9e; }
.status.Selesai { background: #e5f5e9; color: #2d7541; }
.status.Dibatalkan { background: #ffe8e8; color: #9b3e3e; }
.actions { display: flex; flex-wrap: wrap; gap: 6px; }
.action-link { padding: 6px 9px; border-radius: 8px; background: #f0ece6; font-size: 10px; font-weight: 900; }
.action-link.danger { background: #fff0f0; color: var(--danger); }
.admin-form { max-width: 900px; }
.form-section { margin-bottom: 16px; padding: 22px; border: 1px solid #e4ded5; border-radius: 16px; background: #fff; }
.form-section h2 { margin: 0 0 18px; font-size: 18px; }
.switch-row { display: flex; gap: 20px; }
.image-preview { width: 220px; aspect-ratio: 1; object-fit: contain; border: 1px solid var(--line); border-radius: 16px; background: var(--ivory); }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 22px; background: linear-gradient(135deg, #f1e8dc, #dfd0ca); }
.login-card { width: min(440px, 100%); padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.login-card .brand { margin-bottom: 28px; }
.login-card h1 { margin: 0 0 8px; font-size: 30px; }
.login-card p { margin-top: 0; color: var(--muted); }
.helper { color: var(--muted); font-size: 11px; }
.notice { margin-bottom: 16px; padding: 13px 15px; border-radius: 12px; background: #fff4d8; color: #73541d; font-size: 12px; }

@media (max-width: 1040px) {
  .main-nav { position: absolute; left: 20px; right: 20px; top: 94px; display: none; flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 12px 0; border-bottom-width: 1px; }
  .menu-toggle { display: block; margin-left: auto; }
  .hero-panel, .product-detail, .story-grid, .checkout-grid, .instagram-panel { grid-template-columns: 1fr; }
  .hero-visual { min-height: 520px; }
  .collection-grid { grid-template-columns: 1fr; }
  .collection-stack { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .benefit-grid, .quality-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .quality-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .quality-item:nth-child(4) { border-top: 1px solid var(--line); }
  .detail-image { position: relative; top: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: relative; height: auto; }
  .admin-nav { grid-template-columns: repeat(3, 1fr); }
  .admin-grid, .stat-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 24px, 1200px); }
  .announcement { gap: 0; font-size: 10px; }
  .announcement span + span { display: none; }
  .nav-wrap { min-height: 70px; }
  .brand-mark { width: 43px; height: 43px; }
  .brand strong { font-size: 14px; }
  .cart-link span, .icon-link { display: none; }
  .hero { padding-top: 20px; }
  .hero-panel { min-height: auto; border-radius: 24px; }
  .hero-main { padding: 45px 26px 36px; }
  .hero h1 { font-size: 45px; }
  .hero-meta { grid-template-columns: 1fr; gap: 12px; }
  .hero-meta div { padding-bottom: 10px; border-bottom: 1px solid rgba(23,23,23,.08); }
  .hero-visual { min-height: 430px; }
  .hero-product { top: 20%; }
  .hero-caption { left: 20px; right: 20px; bottom: 20px; }
  .hero-caption strong { font-size: 19px; }
  .quality-strip-inner, .benefit-grid, .story-points, .form-grid, .reviews-wrap, .cart-layout { grid-template-columns: 1fr; }
  .quality-item + .quality-item { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 58px 0; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .collection-stack { grid-template-columns: 1fr; }
  .collection-card.primary { min-height: 480px; }
  .collection-copy { max-width: 74%; padding: 26px; }
  .collection-copy h3 { font-size: 29px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-info { padding: 13px; }
  .product-name { font-size: 14px; }
  .product-card-footer { display: none; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-card { position: relative; top: auto; }
  .catalog-top { align-items: flex-start; flex-direction: column; gap: 10px; }
  .catalog-top select { width: 100%; }
  .detail-image { min-height: 390px; }
  .detail-perks { grid-template-columns: 1fr; }
  .buy-row { flex-wrap: wrap; }
  .buy-row .btn { width: 100%; }
  .cart-item { grid-template-columns: 80px 1fr; }
  .cart-price { grid-column: 2; text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter { align-items: flex-start; flex-direction: column; padding: 30px; }
  .instagram-panel { padding: 28px; }
  .instagram-preview { gap: 7px; }
  .admin-main { padding: 18px; }
  .stat-grid, .admin-grid { grid-template-columns: 1fr; }
  .admin-nav { grid-template-columns: 1fr 1fr; }
  .admin-topbar { align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (max-width: 440px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 39px; }
  .hero-visual { min-height: 380px; }
  .hero-visual-head { top: 20px; left: 20px; right: 20px; }
  .hero-logo-seal { width: 60px; height: 60px; }
  .collection-copy { max-width: 100%; }
  .collection-image { opacity: .56; width: 76%; }
  .page-hero { padding: 42px 0; }
  .success-card { padding: 28px 20px; }
  .instagram-preview { grid-template-columns: 1fr; }
  .instagram-tile:nth-child(n+2) { display: none; }
}


/* Marketplace & shipping additions */
.market-mini { min-height: 34px; display: inline-flex; align-items: center; border-radius: 999px; padding: 7px 11px; font-size: 10px; font-weight: 900; border: 1px solid var(--line); background: #fff; }
.market-mini.shopee { color: #d84a1b; }
.market-mini.tokopedia { color: #168b45; }
.market-mini:hover { border-color: #bdb3a6; background: var(--ivory); }
.marketplace-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marketplace-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
.marketplace-copy h2 { margin: 10px 0 14px; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.045em; }
.marketplace-copy p { max-width: 560px; margin: 0; color: var(--muted); }
.marketplace-options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.marketplace-card { min-height: 132px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.marketplace-card:hover { border-color: #bdb3a6; box-shadow: var(--shadow); }
.marketplace-card .marketplace-logo { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; color: #fff; font: 900 24px/1 "Manrope",sans-serif; }
.marketplace-card.shopee .marketplace-logo { background: #ee4d2d; }
.marketplace-card.tokopedia .marketplace-logo { background: #1ba94c; }
.marketplace-card strong, .marketplace-card small { display: block; }
.marketplace-card strong { font: 800 18px/1.2 "Manrope",sans-serif; }
.marketplace-card small { margin-top: 5px; color: var(--muted); }
.marketplace-card b { font-size: 20px; }
.marketplace-buy { margin-top: 20px; padding: 17px; border: 1px solid var(--line); border-radius: 16px; background: var(--ivory); }
.marketplace-buy > span { display: block; margin-bottom: 10px; color: var(--muted); font-size: 11px; font-weight: 700; }
.marketplace-buy > div { display: flex; gap: 9px; flex-wrap: wrap; }
.market-button { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 14px; border-radius: 999px; color: #fff; font-size: 12px; font-weight: 900; }
.market-button.shopee { background: #ee4d2d; }
.market-button.tokopedia { background: #1ba94c; }
.shipping-box { margin: 22px 0; padding: 20px; border-radius: 18px; background: var(--ivory); border: 1px solid var(--line); }
.shipping-box-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.shipping-box-head h3 { margin: 5px 0 0; font-size: 20px; }
.shipping-status { display: inline-flex; padding: 7px 10px; border-radius: 999px; background: #fff4d8; color: #73541d; font-size: 10px; font-weight: 900; white-space: nowrap; }
.success-shipping { max-width: 440px; margin: 22px auto; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--ivory); }
.success-shipping span, .success-shipping strong, .success-shipping small { display: block; }
.success-shipping span, .success-shipping small { color: var(--muted); font-size: 11px; }
.success-shipping strong { margin: 3px 0; font-size: 18px; }
.order-totals .summary-line { border-color: var(--line); }
.shipping-detail { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.shipping-detail:last-child { border-bottom: 0; }
.shipping-detail span { color: var(--muted); font-size: 11px; }

@media (max-width: 1120px) {
  .market-mini { display: none; }
}
@media (max-width: 1040px) {
  .marketplace-panel { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .marketplace-options { grid-template-columns: 1fr; }
  .shipping-box-head { flex-direction: column; }
  .shipping-status { white-space: normal; }
}
