:root {
  --color-primary: #e51937;
  --color-primary-dark: #c4122e;
  --color-primary-light: #fff0f2;
  --color-bg: #f4f4f4;
  --color-surface: #ffffff;
  --color-text: #222222;
  --color-text-secondary: #555555;
  --color-text-muted: #888888;
  --color-border: #e5e5e5;
  --color-topbar: #1a1a1a;
  --color-footer: #1e1e1e;
  --font-sans: 'Open Sans', system-ui, -apple-system, sans-serif;
  --header-height: 56px;
  --topbar-height: 28px;
  --nav-height: 48px;
  --site-chrome: calc(var(--topbar-height) + var(--header-height) + var(--nav-height));
  --banner-height: calc(100svh - var(--site-chrome));
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --radius: 4px;
  --radius-lg: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  padding-top: calc(var(--topbar-height) + var(--header-height));
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.text-muted { color: var(--color-text-muted); }
.price-text { color: var(--color-primary); font-weight: 700; }

/* ── Top bar ── */
.top-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1100;
  height: var(--topbar-height);
  background: var(--color-topbar);
  color: #ccc;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
  font-size: 11px;
}
.top-bar strong { color: #fff; }
.top-bar__links { display: flex; gap: 20px; }
.top-bar__links a { color: #ccc; transition: color 0.2s; }
.top-bar__links a:hover { color: #fff; }

/* ── Header ── */
.header {
  position: fixed; top: var(--topbar-height); left: 0; right: 0; z-index: 1000;
  height: var(--header-height);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  display: flex; align-items: center; gap: 12px;
  padding: 0 20px;
  box-shadow: var(--shadow-sm);
}

.menu-toggle {
  display: none;
  background: none; border: none; font-size: 22px;
  cursor: pointer; color: var(--color-text); padding: 4px 8px;
}

.brand {
  background: none; border: none; cursor: pointer;
  font-weight: 700; font-size: 17px; color: var(--color-primary);
  letter-spacing: -0.02em; white-space: nowrap; flex-shrink: 0;
  font-family: var(--font-sans);
}
.brand img { height: 36px; width: auto; }

.search-box {
  flex: 1; max-width: 560px; margin: 0 auto;
  display: flex; border: 2px solid var(--color-border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.2s;
}
.search-box:focus-within { border-color: var(--color-primary); }
.search-box input {
  flex: 1; border: none; outline: none; padding: 7px 12px;
  font-size: 13px; font-family: var(--font-sans);
}
.search-box button {
  background: var(--color-primary); border: none; color: #fff;
  padding: 0 12px; cursor: pointer; font-size: 14px;
  transition: background 0.2s;
}
.search-box button:hover { background: var(--color-primary-dark); }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.header-cart {
  position: relative; background: none; border: none;
  font-size: 22px; cursor: pointer; padding: 6px;
}
.cart-badge {
  position: absolute; top: 0; right: 0;
  background: var(--color-primary); color: #fff;
  font-size: 10px; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.btn-header-login {
  padding: 5px 14px; border: 2px solid var(--color-primary);
  color: var(--color-primary); border-radius: var(--radius);
  font-size: 12px; font-weight: 600; transition: all 0.2s;
}
.btn-header-login:hover { background: var(--color-primary); color: #fff; }

/* ── Main nav ── */
.main-nav {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  display: flex; justify-content: center; gap: 0;
  position: sticky; top: calc(var(--topbar-height) + var(--header-height));
  z-index: 900;
}
.main-nav a {
  padding: 12px 24px; font-size: 13px; font-weight: 600;
  color: var(--color-text-secondary); text-transform: uppercase;
  letter-spacing: 0.03em; transition: all 0.2s;
  border-bottom: 3px solid transparent;
}
.main-nav a:hover { color: var(--color-primary); border-bottom-color: var(--color-primary); }

/* ── Hero slider (tinggi auto-fit layar via JS) ── */
.hero-slider {
  position: relative;
  width: 100%;
  height: var(--banner-height);
  overflow: hidden;
  background: #fff;
}
.hero-slider .slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slider .slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  pointer-events: none;
}
.hero-slider .slide.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}
.hero-slider .slide-full-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}
/* Banner gambar penuh: lebar 100%, tinggi tetap (cover) */
.hero-slider .slide--full .slide-full-img {
  object-fit: cover;
  object-position: center center;
}
.hero-slider .slide--full {
  display: block;
}
.hero-slider .slide.has-image:not(.slide--full) .slide-full-img {
  object-fit: cover;
  object-position: right center;
}
.hero-slider .slide.has-image:not(.slide--full) .slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}
.hero-slider .slide.has-image:not(.slide--full)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}
.hero-slider .slider-dots,
.hero-slider .slider-arrow {
  z-index: 5;
}
.slide--1 { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); }
.slide--2 { background: linear-gradient(135deg, #1b2838 0%, #2d4a3e 50%, #1a3a2a 100%); }
.slide--3 { background: linear-gradient(135deg, #2d1b38 0%, #4a2040 50%, #6b1a2a 100%); }
.slide.has-image { background-size: cover; background-position: right center; }
.slide.has-image::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,0.45); z-index: 0;
}
.slide.has-image .slide-content { position: relative; z-index: 1; }
.slide.slide--full { display: block; background: none !important; }
.slide.slide--full.has-image::before { display: none; }
.slide.slide--full .slide-content { display: none; }
.slide-full-link {
  position: absolute; inset: 0; z-index: 2; display: block;
}

.ek-brand-item img { width: 70%; height: 70%; object-fit: contain; }

.slide-content {
  max-width: 1280px; margin: 0 auto; padding: 48px 40px; width: 100%;
}
.slide-tag {
  display: inline-block; background: var(--color-primary);
  color: #fff; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 5px 12px; border-radius: var(--radius); margin-bottom: 16px;
}
.slide h1, .slide h2 {
  font-size: clamp(32px, 5vw, 52px); font-weight: 700;
  color: #fff; line-height: 1.15;
}
.slide p { color: rgba(255,255,255,0.8); margin-top: 12px; font-size: 16px; max-width: 480px; }
.slide .btn-primary { margin-top: 24px; }

.slider-dots {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 2;
}
.slider-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.slider-dot.active { background: var(--color-primary); transform: scale(1.2); }

.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 2; background: rgba(0,0,0,0.4); border: none;
  color: #fff; font-size: 28px; width: 44px; height: 44px;
  cursor: pointer; border-radius: var(--radius);
  transition: background 0.2s;
}
.slider-arrow:hover { background: var(--color-primary); }
.slider-arrow--prev { left: 16px; }
.slider-arrow--next { right: 16px; }

/* ── Sections ── */
.section { padding: 48px 24px; max-width: 1280px; margin: 0 auto; }
.section-head { margin-bottom: 28px; }
.section-head h2 {
  font-size: 22px; font-weight: 700; color: var(--color-text);
  text-transform: uppercase; letter-spacing: 0.02em;
  padding-bottom: 12px; border-bottom: 3px solid var(--color-primary);
  display: inline-block;
}
.section-sub { color: var(--color-text-muted); margin-top: 8px; font-size: 14px; }

/* ── Category shop grid ── */
.category-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.cat-shop-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px 12px;
  text-align: center; cursor: pointer;
  transition: all 0.25s;
}
.cat-shop-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.cat-shop-card__icon {
  width: 56px; height: 56px; margin: 0 auto 10px;
  background: var(--color-primary-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.cat-shop-card__name {
  font-size: 13px; font-weight: 600; color: var(--color-text);
  line-height: 1.3;
}
.cat-shop-card__count {
  font-size: 11px; color: var(--color-text-muted); margin-top: 4px;
}

/* ── Promo strip ── */
.promo-strip { max-width: 1280px; margin: 0 auto; padding: 0 24px 24px; }
.promo-strip__banner {
  display: block; border-radius: var(--radius-lg); overflow: hidden;
  padding: 32px 40px; color: #fff;
  transition: transform 0.25s, box-shadow 0.25s;
}
.promo-strip__banner:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.promo-strip__banner--pc {
  background: linear-gradient(135deg, #1a1a2e 0%, #e51937 100%);
}
.promo-strip__text strong { display: block; font-size: 24px; margin-bottom: 4px; }
.promo-strip__text span { font-size: 14px; opacity: 0.9; }

/* ── Product filter tabs ── */
.categories { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cat-btn {
  padding: 7px 16px; border-radius: var(--radius);
  font-size: 12px; font-weight: 600; cursor: pointer;
  border: 1px solid var(--color-border);
  background: var(--color-surface); color: var(--color-text-secondary);
  transition: all 0.2s; text-transform: uppercase;
  font-family: var(--font-sans);
}
.cat-btn.active, .cat-btn:hover {
  background: var(--color-primary); color: #fff; border-color: var(--color-primary);
}

/* ── Product grid (rekomendasi) ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.product-grid .ek-pcard { flex: none; width: 100%; }

.card-product {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex; flex-direction: column;
}
.card-product:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: #ddd;
}

.card-product img {
  width: 100%; aspect-ratio: 1/1; object-fit: contain;
  padding: 16px; background: #fafafa;
  border-bottom: 1px solid var(--color-border);
}

.card-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 {
  font-size: 13px; font-weight: 600; line-height: 1.4;
  color: var(--color-text); margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-body p {
  font-size: 12px; color: var(--color-text-muted); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  flex: 1;
}

.card-footer {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--color-border);
}
.price {
  font-weight: 700; font-size: 16px; color: #16a34a;
  display: block; margin-bottom: 10px;
}

.marketplace-btns {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.mp-btn {
  flex: 1; min-width: 40px; max-width: 52px; height: 40px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, opacity 0.2s;
  border: 1px solid rgba(0,0,0,0.06);
}
.mp-btn:hover { transform: translateY(-2px); opacity: 0.92; }
.mp-btn svg { width: 22px; height: 22px; fill: #fff; }
.mp-btn--wa { background: #25d366; }
.mp-btn--tokopedia { background: #03ac0e; }
.mp-btn--shopee { background: #ee4d2d; }
.mp-btn--blibli { background: #0095da; }
.mp-btn--lazada { background: #0f146d; }

.buy-hint {
  font-size: 11px; text-align: center; padding: 6px 0;
}

.tag-badge {
  display: inline-block; padding: 2px 8px; font-size: 10px; font-weight: 600;
  background: var(--color-primary-light); color: var(--color-primary);
  border-radius: var(--radius); margin-bottom: 6px; text-transform: uppercase;
}

/* ── Features ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.feature-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px 20px; text-align: center;
  transition: border-color 0.2s;
}
.feature-box:hover { border-color: var(--color-primary); }
.feature-icon {
  width: 48px; height: 48px; margin: 0 auto 12px;
  background: var(--color-primary-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.feature-box h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.feature-box p { font-size: 12px; color: var(--color-text-muted); line-height: 1.5; }

/* ── About ── */
.about-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.about-card h2 { font-size: 24px; font-weight: 700; color: var(--color-primary); margin-bottom: 16px; }
.about-card p { font-size: 14px; color: var(--color-text-secondary); line-height: 1.8; margin-bottom: 12px; }
.visit-block { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--color-border); }
.visit-block h3 { font-size: 18px; font-weight: 700; }
.store-name { font-size: 16px; font-weight: 600; margin-top: 8px; }
.visit-link { color: var(--color-primary); font-weight: 600; display: block; margin-top: 8px; }

/* ── Articles ── */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.article-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer;
  transition: box-shadow 0.25s, transform 0.25s;
}
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.article-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #fafafa; }
.article-card .card-body { padding: 16px; }

/* ── Contact ── */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.contact-side h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.contact-text { color: var(--color-text-secondary); line-height: 1.7; margin-bottom: 8px; font-size: 14px; }
.contact-link { color: var(--color-primary); font-weight: 600; display: block; margin-bottom: 8px; font-size: 14px; }
.contact-wa-btn { margin-top: 16px; display: inline-flex; }
.contact-map { margin-top: 20px; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--color-border); display: none; }
.contact-map iframe { width: 100%; height: 280px; border: 0; }

/* ── Buttons & inputs ── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 24px; font-size: 14px; font-weight: 600;
  background: var(--color-primary); border: none; color: #fff;
  border-radius: var(--radius); cursor: pointer;
  transition: background 0.2s; font-family: var(--font-sans);
}
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-block { width: 100%; margin-top: 12px; }

.input-field {
  width: 100%; padding: 10px 14px;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); color: var(--color-text);
  font-size: 14px; outline: none; font-family: var(--font-sans);
  transition: border-color 0.2s;
}
.input-field:focus { border-color: var(--color-primary); }
textarea.input-field { min-height: 110px; resize: vertical; }
label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 5px; color: var(--color-text-secondary); }

/* ── Footer ── */
footer {
  background: var(--color-footer);
  color: #aaa; padding: 48px 24px 24px; margin-top: 24px;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px; max-width: 1280px; margin: 0 auto;
}
.footer-brand strong { color: #fff; font-size: 18px; letter-spacing: 0.05em; }
.footer-brand p { margin-top: 8px; font-size: 13px; }
.footer-grid h4 { color: #fff; font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.05em; margin-bottom: 14px; }
.footer-grid a {
  display: block; font-size: 13px; color: #aaa;
  margin-bottom: 8px; transition: color 0.2s;
}
.footer-grid a:hover { color: var(--color-primary); }
.footer-bottom {
  text-align: center; margin-top: 36px; padding-top: 20px;
  border-top: 1px solid #333; font-size: 12px; max-width: 1280px; margin-left: auto; margin-right: auto;
}

/* ── Modal ── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--color-surface); border-radius: var(--radius-lg);
  padding: 28px; width: 100%; max-width: 480px;
  max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-md);
}
.modal--cart { max-width: 420px; }
.modal--article { max-width: 640px; }
.modal h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.modal-close {
  float: right; background: none; border: none;
  font-size: 24px; cursor: pointer; color: var(--color-text-muted);
}
.cart-footer { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--color-border); }
.article-body { margin-top: 12px; line-height: 1.8; white-space: pre-line; }
.login-error { color: var(--color-primary); font-size: 13px; min-height: 18px; }

/* ── Toast ── */
.toast {
  position: fixed; top: calc(var(--topbar-height) + var(--header-height) + 12px);
  right: 20px; z-index: 3000;
  padding: 12px 18px; border-radius: var(--radius);
  font-size: 13px; font-weight: 500;
  background: var(--color-surface); border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  transform: translateX(120%); transition: transform 0.3s;
}
.toast.show { transform: translateX(0); }
.toast.success { border-left: 4px solid #22c55e; }
.toast.error { border-left: 4px solid var(--color-primary); }

.hidden { display: none !important; }

/* ── Admin (keep functional) ── */
body.admin-page {
  background: var(--color-bg); min-height: 100vh;
  font-family: var(--font-sans); padding-top: 0;
}

.admin-login {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.admin-login-card {
  background: var(--color-surface); border-radius: var(--radius-lg);
  padding: 48px 40px; width: 100%; max-width: 420px;
  box-shadow: var(--shadow-md); border: 1px solid var(--color-border);
  text-align: center;
}
.admin-login-badge {
  display: inline-block; padding: 5px 14px; border-radius: var(--radius);
  background: var(--color-primary); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 16px;
}
.admin-login-card h1 { font-size: 28px; font-weight: 700; }
.admin-login-card p { margin-top: 8px; font-size: 14px; color: var(--color-text-muted); }
.back-home { display: inline-block; margin-top: 20px; font-size: 13px; color: var(--color-text-muted); }
.back-home:hover { color: var(--color-primary); }

.admin-app { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px; background: var(--color-surface);
  border-right: 1px solid var(--color-border); padding: 24px 16px;
  display: flex; flex-direction: column; flex-shrink: 0;
}
.sidebar-brand { font-weight: 700; font-size: 16px; color: var(--color-primary); }
.admin-sidebar button {
  display: block; width: 100%; text-align: left; padding: 10px 14px;
  margin-bottom: 2px; background: none; border: none;
  color: var(--color-text-secondary); border-radius: var(--radius);
  cursor: pointer; font-size: 13px; font-family: var(--font-sans);
  transition: all 0.2s;
}
.admin-sidebar button.active,
.admin-sidebar button:hover { background: var(--color-primary-light); color: var(--color-primary); font-weight: 600; }
.admin-sidebar .logout { color: var(--color-primary) !important; margin-top: auto; }

.admin-main { flex: 1; padding: 28px; overflow-x: auto; }
.admin-main table { width: 100%; border-collapse: collapse; margin-top: 12px;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; }
.admin-main th, .admin-main td {
  text-align: left; padding: 12px 16px;
  border-bottom: 1px solid var(--color-border); font-size: 13px;
}
.admin-main th { background: #fafafa; color: var(--color-text-muted);
  font-size: 11px; text-transform: uppercase; font-weight: 700; }
.admin-main .actions button {
  background: none; border: none; color: var(--color-primary);
  cursor: pointer; margin-right: 8px; font-weight: 600; font-size: 12px;
}
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-top-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.admin-top-bar h2, .admin-main > h2 { font-size: 22px; font-weight: 700; }
.admin-form-grid { display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
.settings-section { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--color-border); }
.settings-section h3 { font-size: 15px; margin-bottom: 12px; font-weight: 700; color: var(--color-primary); }
.settings-hint { font-size: 11px; color: var(--color-text-muted); margin-top: 4px; }

.img-size-guide {
  background: #f8fafc; border: 1px solid #e2e8f0; border-left: 4px solid var(--color-primary);
  border-radius: 8px; padding: 12px 14px; margin: 12px 0 16px; max-width: 560px;
  font-size: 12px; line-height: 1.55; color: var(--color-text-secondary);
}
.img-size-guide strong { display: block; font-size: 13px; color: var(--color-text); margin-bottom: 6px; }
.img-size-guide__size {
  display: inline-block; background: var(--color-primary); color: #fff;
  font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 4px; margin-bottom: 6px;
}
.img-size-guide__meta { font-size: 11px; color: var(--color-text-muted); margin-bottom: 6px; }
.img-size-guide ul { margin: 0; padding-left: 18px; }
.img-size-guide li { margin-bottom: 4px; }
.img-size-guide--inline { margin: 10px 0 8px; max-width: none; }
#maps-preview { margin-top: 10px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--color-border); display: none; }
#maps-preview iframe { width: 100%; height: 200px; border: 0; }

.admin-load-warning {
  background: #fff0f2; border: 1px solid #e51937; color: #a10f24;
  padding: 12px 16px; border-radius: 8px; margin-bottom: 16px;
  font-size: 13px; line-height: 1.5;
}

/* ── Enterkomputer-style blocks ── */
.ek-block {
  max-width: 1280px; margin: 0 auto 20px; padding: 0 16px;
}
.ek-block__banner {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 14px 20px; border-radius: 8px 8px 0 0; position: relative;
}
.ek-block__banner--red { background: linear-gradient(180deg, #e51937 0%, #c4122e 100%); border: 2px solid #c4122e; border-bottom: none; }
.ek-block__banner--orange { background: linear-gradient(180deg, #f97316 0%, #ea580c 100%); border: 2px solid #ea580c; border-bottom: none; flex-wrap: wrap; }
.ek-block__banner-title {
  font-size: 22px; font-weight: 800; color: #fde047;
  text-shadow: 2px 2px 0 #000, -1px -1px 0 #000; letter-spacing: 0.04em;
}
.ek-block__banner-sub { color: #fff; font-size: 12px; font-weight: 600; }
.ek-block__body {
  border: 2px solid #c4122e; border-top: none; border-radius: 0 0 8px 8px;
  background: #fff; padding: 16px 8px;
}
.ek-block__body--orange { border-color: #ea580c; }
.ek-block__body--plain {
  border: 1px solid var(--color-border); border-radius: 0 0 8px 8px;
  background: #fff; padding: 16px 8px;
}
.ek-more {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-size: 12px; font-weight: 600; color: #fff; opacity: 0.95;
}
.ek-more:hover { text-decoration: underline; }
.ek-more--dark { color: #222; }

.ek-block__tabhead {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0; position: relative; z-index: 1;
}
.ek-block__tabhead--inset { margin-bottom: 12px; }
.ek-tab {
  display: inline-block; background: #16a34a; color: #fff;
  font-size: 13px; font-weight: 700; padding: 8px 20px;
  border-radius: 6px 6px 0 0;
}
.ek-block__tabhead .ek-more { position: static; transform: none; color: #16a34a; font-size: 12px; }

.ek-carousel-wrap { position: relative; display: flex; align-items: center; gap: 4px; }
.ek-carousel {
  display: flex; gap: 12px; overflow-x: auto; scroll-behavior: smooth;
  flex: 1; padding: 4px 2px 8px; scrollbar-width: thin;
  -ms-overflow-style: none;
}
.ek-carousel::-webkit-scrollbar { height: 4px; }
.ek-carousel::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }

.ek-carousel-arrow {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--color-border); background: #fff;
  color: #666; font-size: 20px; cursor: pointer; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; z-index: 2;
}
.ek-carousel-arrow:hover { background: #16a34a; color: #fff; border-color: #16a34a; }

.ek-pcard {
  flex: 0 0 200px; width: 200px;
  background: #fff; border: 1px solid #e0e0e0; border-radius: 6px;
  overflow: hidden; transition: box-shadow 0.2s;
}
.ek-pcard:hover { box-shadow: var(--shadow-md); }
.ek-pcard__img-wrap { position: relative; background: #fafafa; }
.ek-pcard__img-wrap img {
  width: 100%; aspect-ratio: 1/1; object-fit: contain; padding: 10px;
}
.ek-pcard__discount {
  position: absolute; top: 6px; right: 6px;
  background: var(--color-primary); color: #fff;
  font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 3px;
}
.ek-pcard__ribbon {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: #16a34a; color: #fff; font-size: 8px;
  padding: 3px 6px; text-align: center; font-weight: 600;
}
.ek-pcard__body { padding: 10px; }
.ek-pcard__title {
  font-size: 11px; font-weight: 600; line-height: 1.35; color: #222;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 44px;
}
.ek-pcard__badges { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0; }
.ek-pcard__badge {
  font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 3px; color: #fff;
}
.ek-pcard__badge--ready { background: #16a34a; }
.ek-pcard__badge--hot { background: #7c3aed; }
.ek-pcard__price-old {
  font-size: 10px; color: #888; text-decoration: line-through;
}
.ek-pcard__price-save { font-size: 10px; color: #16a34a; }
.ek-pcard__price {
  font-size: 14px; font-weight: 700; color: #16a34a; margin: 4px 0 8px;
}
.ek-pcard .marketplace-btns { gap: 4px; }
.ek-pcard .mp-btn { min-width: 36px; max-width: 42px; height: 34px; flex: 1; }
.ek-pcard .mp-btn svg { width: 18px; height: 18px; }

.ek-banner {
  max-width: 1280px; margin: 0 auto 20px; padding: 0 16px;
}
.ek-banner__link {
  display: block; border-radius: 10px; overflow: hidden;
  background: linear-gradient(135deg, #1a0a2e 0%, #3d1a5c 40%, #6b1a4a 100%);
  color: #fff; text-decoration: none; position: relative;
  min-height: 220px; transition: transform 0.25s;
}
.ek-banner__link--dynamic { position: relative; }
.ek-banner__link--dynamic::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,10,46,0.88) 0%, rgba(61,26,92,0.8) 50%, rgba(107,26,74,0.85) 100%);
  z-index: 0;
}
.ek-banner__link--dynamic .ek-banner__content,
.ek-banner__link--dynamic .ek-banner__features { position: relative; z-index: 1; }
a.ek-brand-item { text-decoration: none; color: inherit; }
.ek-banner__content { padding: 36px 40px 20px; text-align: center; }
.ek-banner__badge {
  display: inline-block; background: linear-gradient(135deg, #fbbf24, #16a34a);
  color: #000; font-size: 10px; font-weight: 800; padding: 4px 12px;
  border-radius: 4px; margin-bottom: 12px; letter-spacing: 0.05em;
}
.ek-banner__content h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 800; }
.ek-banner__content p { font-size: 14px; opacity: 0.85; margin-top: 6px; }
.ek-banner__promos {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 20px;
}
.ek-banner__promos span {
  border: 2px solid #a855f7; padding: 8px 16px; border-radius: 6px;
  font-size: 12px; background: rgba(0,0,0,0.3);
}
.ek-banner__promos strong { color: #fde047; font-size: 16px; }
.ek-banner__features {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #000; padding: 12px 16px; gap: 8px;
  font-size: 11px; text-align: center;
}
.ek-banner__features strong { display: block; font-size: 16px; margin-bottom: 2px; }

.ek-dual-row {
  max-width: 1280px; margin: 0 auto 20px; padding: 0 16px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.ek-dual-col {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: 8px; padding: 0 16px 16px;
}
.ek-brands-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
}
.ek-brands-grid--large { grid-template-columns: repeat(8, 1fr); }
.ek-brand-item {
  aspect-ratio: 1; border: 1px solid #eee; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #444; text-align: center;
  padding: 6px; background: #fafafa; transition: border-color 0.2s;
  cursor: default; line-height: 1.2;
}
.ek-brand-item:hover { border-color: #16a34a; }

.ek-market-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ek-market-btn {
  display: flex; align-items: center; justify-content: center;
  padding: 20px 12px; border-radius: 8px; color: #fff;
  font-weight: 700; font-size: 14px; text-align: center;
  transition: opacity 0.2s, transform 0.2s; min-height: 72px;
}
.ek-market-btn:hover { opacity: 0.9; transform: scale(1.02); }
.ek-market-btn--tokopedia { background: #03ac0e; }
.ek-market-btn--shopee { background: #ee4d2d; }
.ek-market-btn--lazada { background: #0f146d; }
.ek-market-btn--blibli { background: #0095da; }
.ek-market-btn--disabled { background: #ccc; pointer-events: none; opacity: 0.6; }

.section-head--line h2 {
  border-bottom: none; display: block; text-align: center; width: 100%;
  position: relative; padding-bottom: 0;
}
.section-head--line h2::before,
.section-head--line h2::after {
  content: ''; position: absolute; top: 50%; width: 38%; height: 1px; background: #ddd;
}
.section-head--line h2::before { left: 0; }
.section-head--line h2::after { right: 0; }

.ek-empty {
  text-align: center; padding: 24px; color: var(--color-text-muted);
  font-size: 13px; width: 100%;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .about-card { padding: 24px; }
}

@media (max-width: 768px) {
  :root {
    --site-chrome: calc(var(--topbar-height) + 50px);
  }
  body { padding-top: calc(var(--topbar-height) + 50px); }
  .top-bar__links { display: none; }
  .header { height: 50px; padding: 0 12px; gap: 8px; }
  .menu-toggle { display: block; }
  .search-box { display: none; }
  .main-nav {
    display: none; position: fixed;
    top: calc(var(--topbar-height) + 50px); left: 0; right: 0;
    flex-direction: column; background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: flex; }
  .main-nav a { border-bottom: none; padding: 14px 20px; border-left: 3px solid transparent; }
  .main-nav a:hover { border-left-color: var(--color-primary); border-bottom-color: transparent; }
  .slide-content { padding: 32px 20px; }
  .slider-arrow { display: none; }
  .section { padding: 32px 16px; }
  .category-shop-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .ek-dual-row { grid-template-columns: 1fr; }
  .ek-brands-grid--large { grid-template-columns: repeat(4, 1fr); }
  .ek-banner__features { grid-template-columns: repeat(2, 1fr); }
  .ek-pcard { flex: 0 0 170px; width: 170px; }
  .admin-app { flex-direction: column; }
  .admin-sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .admin-sidebar button { width: auto; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-body h3 { font-size: 12px; }
  .price { font-size: 13px; }
}
