/* ═══ MAFIA ART STORE — storefront ═══ */
:root {
  --ink: #0d0d0d;
  --ink-2: #1a1a1a;
  --paper: #f5f0e6;
  --paper-2: #efe9dc;
  --gold: #c9a227;
  --gold-2: #a8861f;
  --muted: #8a867d;
  --line: rgba(13, 13, 13, 0.12);
  --line-light: rgba(245, 240, 230, 0.14);
  --serif: 'Poppins', Georgia, serif;
  --sans: 'Poppins', system-ui, sans-serif;
  --shadow: 0 20px 60px rgba(13, 13, 13, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Topbar ── */
.topbar {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.topbar-track {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  animation: topbar-run 24s linear infinite;
  will-change: transform;
}
.topbar-half { display: inline-flex; align-items: center; }
.topbar-item {
  font-size: 11px;
  letter-spacing: 3px;
  padding: 9px 0;
  font-weight: 500;
  color: var(--paper);
}
.topbar-sep { color: var(--gold); font-size: 9px; padding: 0 26px; }
@keyframes topbar-run {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Header ── */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { color: var(--gold); font-size: 18px; }
.brand-text {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 4px;
}
.brand-text em { color: var(--gold); font-style: normal; font-weight: 400; }
.main-nav { display: flex; gap: 28px; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; }
.main-nav a { color: var(--ink); opacity: 0.75; transition: opacity 0.2s; padding: 4px 0; border-bottom: 1px solid transparent; }
.main-nav a:hover { opacity: 1; border-bottom-color: #8b1a09; }
.main-nav a.active { opacity: 1; border-bottom-color: #8b1a09; }
.site-header .main-nav a:hover, .site-header .main-nav a.active { border-bottom-color: #8b1a09 !important; }
.header-actions { display: flex; align-items: center; gap: 10px; position: relative; }
.icon-btn {
  background: none; border: 1px solid var(--line); border-radius: 50%;
  width: 38px; height: 38px; display: grid; place-items: center;
  font-size: 16px; cursor: pointer; color: var(--ink); font-family: var(--sans); font-weight: 600;
  transition: all 0.2s; text-transform: uppercase;
}
.icon-btn:hover { border-color: var(--ink); }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: -6px; right: -6px; background: var(--gold); color: var(--ink);
  font-size: 10px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px;
  display: grid; place-items: center; padding: 0 4px;
}
.admin-link { font-size: 11px; letter-spacing: 1px; border: 1px solid var(--ink); padding: 6px 10px; border-radius: 3px; }

/* ── Flash ── */
.flash {
  padding: 12px 0; font-size: 13px; text-align: center; letter-spacing: 0.5px;
}
.flash-error { background: var(--ink); color: #d99a6c; }
.flash-success { background: var(--ink); color: var(--gold); }

/* ── Buttons ── */
.btn {
  display: inline-block; border: 1px solid transparent; cursor: pointer;
  font-family: var(--sans); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 14px 30px; border-radius: 2px; transition: all 0.2s; font-weight: 600;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #252525; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-lg { padding: 16px 36px; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ─── Auth: divider + Google button ─── */
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line, #e2dccf); }
.btn-google { background: #fff; color: #3c4043; border: 1px solid #dadce0; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.btn-google:hover { background: #f8f9fa; color: #3c4043; }
.btn-google::before { content: ''; width: 18px; height: 18px; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path fill="%23EA4335" d="M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"/><path fill="%234285F4" d="M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"/><path fill="%23FBBC05" d="M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"/><path fill="%2334A853" d="M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"/></svg>') no-repeat center / contain; }
.link-arrow { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.link-btn { background: none; border: none; cursor: pointer; font-family: var(--sans); font-size: 13px; color: inherit; padding: 0; }
.link-btn:hover { text-decoration: underline; }

/* ── Hero ── */
.hero {
  background-color: var(--ink);
  background-image: var(--hero-bg, url('/img/bg.png'));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--paper);
  aspect-ratio: 3 / 1;
  min-height: 340px;
  display: flex;
  align-items: center;
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 1; }
.hero-kicker { color: var(--gold); letter-spacing: 4px; font-size: 12px; margin-bottom: 22px; text-shadow: 0 1px 3px rgba(0,0,0,0.45); }
.hero-title {
  font-family: var(--serif); font-size: 64px; line-height: 1.05; font-weight: 600;
  letter-spacing: 1px; margin-bottom: 24px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35), 0 6px 24px rgba(0,0,0,0.4);
}
.hero-title em { color: var(--gold); }
.hero-sub { color: rgba(245, 240, 230, 0.7); max-width: 460px; font-size: 16px; font-weight: 300; margin-bottom: 0; text-shadow: 0 1px 3px rgba(0,0,0,0.4); }
.hero-cta {
  display: flex;
  gap: 14px;
  /* Spacing is admin-configurable via Website Editor → Homepage → Hero CTA margin. */
  margin-top: var(--hero-cta-margin-top, 36px);
  margin-right: var(--hero-cta-margin-right, 0px);
  margin-bottom: var(--hero-cta-margin-bottom, 0px);
  margin-left: var(--hero-cta-margin-left, 0px);
}
.hero-cta-mobile-text { display: none; }
.mobile-scroll-float { display: none; }
.hero .btn-ghost { color: var(--paper); border-color: rgba(245, 240, 230, 0.4); text-shadow: 0 1px 3px rgba(0,0,0,0.4); }
.hero .btn-ghost:hover { background: var(--paper); color: var(--ink); text-shadow: none; }

/* ── Sections ── */
.section { padding: 88px 0; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark .section-title { color: var(--paper); }
.section-dark .link-arrow { color: var(--paper); border-color: var(--gold); }
.collection-section.has-bg-image { background-size: cover; background-position: center; background-repeat: no-repeat; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 40px; gap: 20px;
}
.kicker { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; font-weight: 600; }
.section-title { font-family: var(--serif); font-size: 38px; font-weight: 600; letter-spacing: 0.5px; }
.section-title em { color: var(--gold); }

/* ── Grids / cards ── */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.product-card { background: var(--paper-2); border: 1px solid var(--line); transition: all 0.25s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(201, 162, 39, 0.5); }
.pc-media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .pc-media img { transform: scale(1.05); }
.pc-badge {
  position: absolute; top: 12px; left: 12px; background: var(--gold); color: var(--ink);
  font-size: 10px; letter-spacing: 2px; font-weight: 700; padding: 5px 10px; border-radius: 2px;
}
.pc-badge-dark { background: var(--ink); color: var(--paper); }
.pc-body { padding: 18px 20px 22px; }
.pc-cat { font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pc-name { font-family: var(--serif); font-size: 19px; font-weight: 600; margin: 6px 0 8px; line-height: 1.3; }
.pc-stars { color: var(--gold); font-size: 13px; margin-bottom: 8px; }
.pc-count { color: var(--muted); font-size: 12px; margin-left: 6px; }
.pc-price { display: flex; gap: 10px; align-items: baseline; }
.price-now { font-weight: 600; font-size: 15px; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: 13px; }
.price-now.big, .price-old.big { font-size: 28px; font-family: var(--serif); }
.price-now.big { color: var(--gold); }

/* ── Category strip ── */
.cat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card {
  border: 1px solid var(--line-light); padding: 36px 30px; position: relative;
  transition: all 0.25s; display: block;
}
.cat-card:hover { border-color: var(--gold); background: rgba(201, 162, 39, 0.05); }
.cat-num { font-family: var(--serif); font-size: 40px; color: var(--gold); opacity: 0.5; }
.cat-card h3 { font-family: var(--serif); font-size: 24px; margin: 14px 0 10px; color: var(--paper); }
.cat-card p { color: rgba(245, 240, 230, 0.6); font-size: 13px; font-weight: 300; }
.cat-arrow { position: absolute; top: 36px; right: 28px; color: var(--gold); font-size: 20px; }

/* ── Promise band ── */
.promise-band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 48px 24px; }
.promise { display: flex; gap: 18px; align-items: flex-start; }
.promise > span { color: var(--gold); font-size: 26px; line-height: 1; }
.promise h4 { font-family: var(--serif); font-size: 17px; margin-bottom: 4px; }
.promise p { font-size: 13px; color: var(--muted); }

/* ── CTA band ── */
.cta-band { background: var(--ink); color: var(--paper); padding: 80px 0; }
.cta-inner { text-align: center; max-width: 560px; }
.cta-inner h2 { font-family: var(--serif); font-size: 36px; margin-bottom: 12px; }
.cta-inner p { color: rgba(245, 240, 230, 0.65); margin-bottom: 28px; font-weight: 300; }
.newsletter { display: flex; gap: 10px; }
.newsletter input {
  flex: 1; background: transparent; border: 1px solid var(--line-light); color: var(--paper);
  padding: 14px 18px; font-family: var(--sans); font-size: 14px; border-radius: 2px;
}
.newsletter input::placeholder { color: rgba(245, 240, 230, 0.4); }
.cta-fine { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(201, 162, 39, 0.7); margin-top: 18px !important; margin-bottom: 0 !important; }

/* ── Footer ── */
.site-footer { background: var(--ink); color: var(--paper); position: relative; isolation: isolate; }
.site-footer.has-bg-image { background-size: cover; background-position: center; background-repeat: no-repeat; }
.site-footer.has-bg-image::before { content: ''; position: absolute; inset: 0; z-index: 0; background: rgba(13, 13, 13, var(--footer-overlay-opacity, .65)); pointer-events: none; }
.site-footer > * { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 70px 24px 50px; }
.footer-brand .brand-mark { font-size: 24px; }
.footer-brand p { color: rgba(245, 240, 230, 0.6); font-size: 13px; font-weight: 300; margin-top: 14px; max-width: 300px; }
.footer-tag { letter-spacing: 3px; font-size: 10px; color: var(--gold) !important; }
.footer-col h4 { font-family: var(--serif); font-size: 16px; margin-bottom: 18px; color: var(--paper); }
.footer-col a, .footer-col p { display: block; color: rgba(245, 240, 230, 0.6); font-size: 13px; margin-bottom: 10px; font-weight: 300; }
.footer-col a:hover { color: var(--gold); }
.footer-contact-link { line-height: 1.55; }
.footer-contact-link svg { width: 14px; height: 14px; margin-right: 6px; }
.footer-hours { margin-top: 16px; }
.footer-hours strong { display: block; margin-bottom: 7px; color: var(--paper); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; }
.contact-hours { white-space: pre-line; }
.footer-bottom { border-top: 1px solid var(--line-light); padding: 20px 0; }
.footer-bottom.has-bg-image { position: relative; isolation: isolate; background-size: cover; background-position: center; background-repeat: no-repeat; }
.footer-bottom.has-bg-image::before { content: ''; position: absolute; inset: 0; z-index: 0; background: rgba(13, 13, 13, var(--footer-bottom-overlay-opacity, .55)); pointer-events: none; }
.footer-bottom .container { position: relative; z-index: 1; display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 1.5px; color: rgba(245, 240, 230, 0.4); }
.pay-badges { letter-spacing: 3px; }
.inline-form { display: inline; }

/* ── Cart drawer ── */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(13, 13, 13, 0.55); opacity: 0;
  pointer-events: none; transition: opacity 0.3s; z-index: 90;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 400px; max-width: 92vw;
  background: var(--paper); z-index: 100; transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 26px; border-bottom: 1px solid var(--line);
}
.cart-head h3 { font-family: var(--serif); font-size: 22px; }
.cart-close { background: none; border: none; font-size: 18px; cursor: pointer; color: var(--ink); }
.cart-items { flex: 1; overflow-y: auto; padding: 18px 26px; }
.cart-empty { color: var(--muted); text-align: center; margin-top: 40%; font-size: 14px; line-height: 1.8; }
.cart-empty.tiny { margin-top: 8px; font-size: 12px; }
.cart-line { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 64px; height: 80px; object-fit: cover; background: var(--ink); }
.cl-info { flex: 1; min-width: 0; }
.cl-info a { font-family: var(--serif); font-size: 15px; font-weight: 600; display: block; }
.cl-info .cl-price { font-size: 13px; color: var(--gold); font-weight: 600; margin-top: 2px; }
.cl-controls { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.cl-controls button {
  width: 24px; height: 24px; border: 1px solid var(--line); background: none; cursor: pointer;
  font-size: 13px; line-height: 1; border-radius: 2px;
}
.cl-controls span { font-size: 13px; min-width: 20px; text-align: center; }
.cl-remove { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.cl-total { font-weight: 600; font-size: 14px; }
.cart-foot { border-top: 1px solid var(--line); padding: 20px 26px; }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 14px; }
.cart-total strong { font-family: var(--serif); font-size: 20px; }

/* ── Toast ── */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 20px);
  background: var(--ink); color: var(--paper); padding: 14px 26px; font-size: 13px;
  letter-spacing: 0.5px; border-radius: 2px; opacity: 0; pointer-events: none;
  transition: all 0.3s; z-index: 200; border-left: 3px solid var(--gold);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── Page head (catalog) ── */
.page-head { background: var(--ink); color: var(--paper); padding: 64px 0 56px; text-align: center; }
.page-head.has-bg-image { background-image: linear-gradient(rgba(13,13,13,.68), rgba(13,13,13,.78)), var(--page-head-bg); background-position: center; background-size: cover; background-repeat: no-repeat; }
.page-title { font-family: var(--serif); font-size: 46px; font-weight: 600; letter-spacing: 1px; }
.page-sub { color: rgba(245, 240, 230, 0.55); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-top: 10px; }

/* ── Catalog layout ── */
.catalog-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding: 56px 24px 90px; }
.filter-form { position: sticky; top: 100px; }
.filter-group { margin-bottom: 28px; }
.filter-group h4 { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; color: var(--muted); }
.filter-group input[type="search"], .filter-group input[type="number"] {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); background: var(--paper);
  font-family: var(--sans); font-size: 13px; border-radius: 2px;
}
.filter-link { display: block; padding: 7px 0; font-size: 14px; color: var(--ink); opacity: 0.7; border-left: 2px solid transparent; padding-left: 12px; }
.filter-link:hover { opacity: 1; }
.filter-link.on { opacity: 1; font-weight: 600; border-left-color: var(--gold); }
.price-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.clear-link { display: block; text-align: center; margin-top: 14px; font-size: 12px; color: var(--muted); }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.result-count { font-size: 13px; color: var(--muted); }
.sort-form select {
  padding: 10px 14px; border: 1px solid var(--line); background: var(--paper);
  font-family: var(--sans); font-size: 13px; border-radius: 2px; cursor: pointer;
}
.empty-state { text-align: center; padding: 70px 0; }
.empty-state.small { padding: 30px 0; }
.empty-mark { font-size: 44px; color: var(--gold); margin-bottom: 14px; }
.empty-state h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 8px; }
.empty-state p { color: var(--muted); font-size: 14px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.page-num {
  width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line);
  font-size: 13px; border-radius: 2px; transition: all 0.2s;
}
.page-num:hover { border-color: var(--ink); }
.page-num.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ── Product detail ── */
.breadcrumb { padding: 26px 0 0; font-size: 12px; letter-spacing: 1px; color: var(--muted); display: flex; gap: 10px; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .here { color: var(--ink); }
.product-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; padding: 34px 0 70px; }
.gallery-main { position: relative; background: var(--ink); aspect-ratio: 4 / 5; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; }
.thumb { width: 74px; height: 92px; border: 2px solid transparent; cursor: pointer; overflow: hidden; background: var(--ink); padding: 0; }
.thumb.on { border-color: var(--gold); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding-top: 12px; }
.product-name { font-family: var(--serif); font-size: 40px; font-weight: 600; line-height: 1.1; margin-bottom: 12px; }
.product-rating { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.stars-big { color: var(--gold); font-size: 16px; letter-spacing: 2px; }
.rating-num { font-size: 13px; color: var(--muted); }
.product-price { margin-bottom: 18px; display: flex; gap: 14px; align-items: baseline; }
.product-short { color: var(--muted); font-size: 15px; margin-bottom: 26px; font-weight: 300; }
.buy-row { display: flex; gap: 12px; align-items: stretch; margin-bottom: 16px; }
.qty-box { display: flex; border: 1px solid var(--ink); align-items: center; }
.qty-box button { width: 40px; height: 100%; background: none; border: none; cursor: pointer; font-size: 16px; padding: 0; }
.qty-box input {
  width: 44px; text-align: center; border: none; border-left: 1px solid var(--ink); border-right: 1px solid var(--ink);
  font-family: var(--sans); font-size: 14px; height: 52px; background: var(--paper);
}
.wish-btn { width: 52px; padding: 0; font-size: 18px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.stock-line { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 26px; }
.stock-line.in { color: #2e7d32; }
.stock-line.out { color: var(--muted); }
.spec-list { border-top: 1px solid var(--line); }
.spec-row { display: flex; justify-content: space-between; padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 13px; }
.spec-row span { color: var(--muted); }
.spec-row strong { font-weight: 500; text-align: right; }
.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; }
.body-copy { color: var(--muted); font-size: 15px; font-weight: 300; line-height: 1.9; }
.side-note { background: var(--paper-2); border: 1px solid var(--line); padding: 30px; align-self: start; }
.side-note p:last-child { font-size: 13px; color: var(--muted); font-weight: 300; line-height: 1.8; }

/* ── Reviews ── */
.review-form { background: var(--paper-2); border: 1px solid var(--line); padding: 28px; margin-bottom: 34px; }
.review-form input[type="text"], .review-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); background: var(--paper);
  font-family: var(--sans); font-size: 14px; margin-bottom: 12px; border-radius: 2px;
}
.rating-input { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; font-size: 13px; color: var(--muted); }
.star-pick { display: flex; flex-direction: row-reverse; gap: 2px; }
.star-pick label { cursor: pointer; font-size: 26px; color: #d8d2c4; transition: color 0.15s; }
.star-pick label input { display: none; }
.star-pick label:hover, .star-pick label:hover ~ label,
.star-pick label input:checked ~ span,
.star-pick:has(input:checked) label span { color: var(--gold); }
.review-login { background: var(--paper-2); padding: 16px 22px; font-size: 13px; color: var(--muted); margin-bottom: 30px; border: 1px solid var(--line); }
.review-list { display: grid; gap: 18px; }
.review-empty { color: var(--muted); font-size: 14px; }
.review-card { border: 1px solid var(--line); padding: 24px 26px; background: var(--paper-2); }
.review-top { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 14px;
}
.verified-tag { display: inline-block; margin-left: 8px; background: rgba(46, 125, 50, 0.12); color: #2e7d32; font-size: 10px; letter-spacing: 1px; padding: 2px 8px; border-radius: 2px; font-weight: 600; }
.review-stars { color: var(--gold); font-size: 13px; margin-top: 2px; }
.review-date { color: var(--muted); font-size: 11px; margin-left: 10px; }
.review-title { font-family: var(--serif); font-size: 16px; margin-bottom: 6px; }
.review-body { font-size: 14px; color: var(--muted); font-weight: 300; }

/* ── Auth ── */
.auth-wrap { padding: 70px 24px 110px; }
.auth-card { display: grid; grid-template-columns: 1fr 1.1fr; max-width: 860px; margin: 0 auto; border: 1px solid var(--line); }
.auth-side {
  background: var(--ink); color: var(--paper); padding: 54px 44px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.auth-side .brand-mark { font-size: 30px; }
.auth-side h2 { font-family: var(--serif); font-size: 32px; line-height: 1.2; margin: 30px 0 16px; font-weight: 600; }
.auth-side p { color: rgba(245, 240, 230, 0.65); font-size: 14px; font-weight: 300; line-height: 1.8; }
.auth-quote { color: var(--gold); font-family: var(--serif); font-style: italic; font-size: 16px; }
.auth-form { padding: 54px 48px; background: var(--paper-2); }
.form-title { font-family: var(--serif); font-size: 32px; font-weight: 600; margin-bottom: 4px; }
.form-sub { color: var(--muted); font-size: 13px; margin-bottom: 26px; }
.auth-form label { display: block; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.auth-form input, .auth-form select {
  width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line);
  background: var(--paper); font-family: var(--sans); font-size: 14px; border-radius: 2px; color: var(--ink);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.auth-switch { font-size: 13px; color: var(--muted); text-align: center; margin-top: 22px; }
.auth-switch a { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--ink); }
.auth-demo { text-align: center; font-size: 11px; color: var(--muted); margin-top: 20px; letter-spacing: 0.5px; }

/* ── Checkout ── */
.checkout-wrap { padding: 60px 24px 100px; }
.checkout-head { text-align: center; margin-bottom: 50px; }
.checkout-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.checkout-sec { margin-bottom: 40px; }
.checkout-sec h3 { font-family: var(--serif); font-size: 20px; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.checkout-form label { display: block; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.checkout-form input, .checkout-form select {
  width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line);
  background: var(--paper-2); font-family: var(--sans); font-size: 14px; border-radius: 2px; color: var(--ink);
}
.checkout-form input.field-error { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,0.18); }
.checkout-form input.field-error:focus { outline: none; border-color: #c0392b; }
.pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.pay-opt { position: relative; cursor: pointer; }
.pay-opt input { position: absolute; opacity: 0; }
.pay-opt span {
  display: block; text-align: center; padding: 14px 8px; border: 1px solid var(--line);
  background: var(--paper-2); font-size: 12px; letter-spacing: 0.5px; text-transform: uppercase;
  transition: all 0.2s; font-weight: 600;
}
.pay-opt input:checked + span { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.pay-note { font-size: 11px; color: var(--muted); }
.checkout-actions { display: flex; justify-content: space-between; align-items: center; }
.order-summary {
  border: 1px solid var(--line); background: var(--paper-2); padding: 30px;
  position: sticky; top: 100px;
}
.order-summary h3 { font-family: var(--serif); font-size: 20px; margin-bottom: 18px; }
#summaryItems { margin-bottom: 8px; }
.sum-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; color: var(--muted); }
.sum-row strong { color: var(--ink); }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 16px; color: var(--ink); font-weight: 700; }
.sum-row.total strong { font-family: var(--serif); font-size: 22px; color: var(--gold); }
.sum-fine { font-size: 11px; color: var(--muted); margin-top: 14px; text-align: center; letter-spacing: 1px; }
.ci-info span { display: block; }

/* ── Confirmation ── */
.confirm-wrap { padding: 70px 24px 110px; }
.confirm-card { max-width: 640px; margin: 0 auto; text-align: center; }
.confirm-mark {
  width: 84px; height: 84px; border-radius: 50%; background: var(--gold); color: var(--ink);
  font-size: 38px; display: grid; place-items: center; margin: 0 auto 26px;
}
.confirm-title { font-family: var(--serif); font-size: 42px; margin-bottom: 12px; }
.confirm-sub { color: var(--muted); font-weight: 300; margin-bottom: 40px; }
.confirm-order { border: 1px solid var(--line); background: var(--paper-2); padding: 10px 28px; margin-bottom: 30px; text-align: left; }
.confirm-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.confirm-row:last-child { border-bottom: none; }
.confirm-row.total { font-weight: 700; }
.confirm-row.total strong { font-family: var(--serif); font-size: 20px; color: var(--gold); }
.status-ok { color: #2e7d32; }
.confirm-items { text-align: left; margin-bottom: 30px; }
.confirm-item { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.confirm-item img { width: 54px; height: 68px; object-fit: cover; background: var(--ink); }
.ci-info { flex: 1; }
.ci-info strong { font-family: var(--serif); font-size: 15px; }
.ci-total { font-size: 14px; }
.confirm-ship { background: var(--ink); color: var(--paper); padding: 26px 30px; text-align: left; margin-bottom: 34px; }
.confirm-ship h4 { font-family: var(--serif); color: var(--gold); margin-bottom: 10px; letter-spacing: 1px; }
.confirm-ship p { font-size: 13px; color: rgba(245, 240, 230, 0.75); font-weight: 300; line-height: 1.8; }

/* ── Account ── */
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding: 60px 24px 100px; }
.account-side { }
.account-id { text-align: center; border: 1px solid var(--line); background: var(--paper-2); padding: 34px 20px; margin-bottom: 20px; }
.avatar-big {
  width: 72px; height: 72px; border-radius: 50%; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; font-family: var(--serif); font-size: 24px; margin: 0 auto 14px;
}
.account-id strong { font-family: var(--serif); font-size: 18px; display: block; }
.account-email { font-size: 12px; color: var(--muted); display: block; margin: 4px 0 14px; }
.admin-pill { font-size: 11px; letter-spacing: 1px; border: 1px solid var(--gold); color: var(--gold); padding: 5px 12px; border-radius: 2px; }
.account-nav { display: flex; flex-direction: column; border: 1px solid var(--line); }
.account-nav a { padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; display: flex; justify-content: space-between; }
.account-nav a:last-child { border-bottom: none; }
.account-nav a:hover, .account-nav a.on { background: var(--ink); color: var(--paper); }
.nav-count { opacity: 0.6; }
.logout-form { margin-top: 16px; text-align: center; }
.account-main { min-height: 500px; }
.tab-pane.hidden { display: none; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 36px; }
.stat-card { border: 1px solid var(--line); background: var(--paper-2); padding: 24px 20px; }
.stat-card strong { font-family: var(--serif); font-size: 26px; display: block; color: var(--gold); }
.stat-card span { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.panel-form { border: 1px solid var(--line); background: var(--paper-2); padding: 30px; max-width: 620px; }
.panel-form h3 { font-family: var(--serif); font-size: 20px; margin-bottom: 20px; }
.panel-form label { display: block; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.panel-form input, .panel-form select {
  width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line);
  background: var(--paper); font-family: var(--sans); font-size: 14px; border-radius: 2px; color: var(--ink);
}
.panel-form input:disabled { opacity: 0.6; }
.order-card { border: 1px solid var(--line); margin-bottom: 20px; background: var(--paper-2); }
.order-head { display: flex; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--line); align-items: center; }
.order-num { font-family: var(--serif); font-size: 17px; }
.order-date { font-size: 12px; color: var(--muted); margin-left: 14px; }
.order-status { font-size: 10px; letter-spacing: 2px; padding: 5px 12px; border-radius: 2px; font-weight: 700; }
.st-pending, .st-processing { background: rgba(201, 162, 39, 0.15); color: var(--gold-2); }
.st-shipped { background: rgba(33, 150, 243, 0.12); color: #1565c0; }
.st-delivered { background: rgba(46, 125, 50, 0.12); color: #2e7d32; }
.st-cancelled, .st-refunded { background: rgba(13, 13, 13, 0.08); color: var(--muted); }
.order-items { padding: 8px 24px; }
.order-item { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.order-item:last-child { border-bottom: none; }
.order-item img { width: 44px; height: 56px; object-fit: cover; background: var(--ink); }
.oi-name { flex: 1; }
.oi-qty { color: var(--muted); }
.oi-price { font-weight: 600; }
.order-foot { display: flex; justify-content: space-between; padding: 14px 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.order-foot strong { color: var(--ink); font-size: 15px; font-family: var(--serif); }
.wish-card { border: 1px solid var(--line); background: var(--paper-2); }
.wish-card img { aspect-ratio: 4/5; object-fit: cover; width: 100%; background: var(--ink); }
.wish-info { padding: 14px 16px 18px; }
.wish-name { font-family: var(--serif); font-weight: 600; font-size: 15px; display: block; margin-bottom: 6px; }
.wish-info .remove { font-size: 11px; color: var(--muted); margin-top: 6px; }
.addr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 30px; }
.addr-card { border: 1px solid var(--line); padding: 20px 22px; background: var(--paper-2); }
.addr-type { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.addr-card p { font-size: 13px; color: var(--muted); margin: 10px 0 12px; line-height: 1.8; }

/* ── Error ── */
.error-wrap { padding: 110px 24px; text-align: center; }
.error-code { font-family: var(--serif); font-size: 130px; line-height: 1; color: var(--gold); opacity: 0.35; }
.error-card h1 { font-family: var(--serif); font-size: 34px; margin-bottom: 12px; }
.error-card p { color: var(--muted); margin-bottom: 30px; }

/* ── Responsive ── */
@media (max-width: 1000px) {
  .main-nav { gap: 16px; font-size: 11px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .product-layout, .checkout-layout, .two-col { grid-template-columns: 1fr; }
  .catalog-layout, .account-layout { grid-template-columns: 1fr; }
  .about-story-grid { grid-template-columns: 1fr; gap: 44px; }
  .filter-form { position: static; }
  .footer-grid, .promise-grid { grid-template-columns: 1fr 1fr; }
  .auth-card { grid-template-columns: 1fr; }
  .hero-title { font-size: 44px; }
  .cat-strip { grid-template-columns: 1fr; }
}
/* ── Mobile header & nav ── */
@media (max-width: 640px) {
  .admin-link { display: none; } /* admin masuk via /admin langsung */
}
/* ── Page head ── */
.page-head { padding: 84px 0 40px; background: var(--ink); color: var(--paper); }
.page-head .kicker { color: var(--gold); letter-spacing: 4px; font-size: 12px; margin-bottom: 14px; }
.page-title { font-family: var(--serif); font-size: 44px; font-weight: 600; margin-bottom: 12px; }
.page-head p:last-child { color: rgba(245, 240, 230, 0.65); font-weight: 300; max-width: 520px; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 64px; align-items: start; }
.contact-info { display: grid; gap: 26px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-ico {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--gold); font-size: 16px;
}
.contact-item h4 { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-item p, .contact-item a { color: var(--ink); font-size: 15px; }
.contact-item a:hover { color: var(--gold); }
.contact-social-block { min-width: 0; }
.contact-socials { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-socials a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--ink); transition: all .2s;
}
.contact-socials a:hover { color: var(--paper); border-color: var(--gold); background: var(--gold); }
.contact-socials svg { width: 18px; height: 18px; }
.contact-form-wrap .contact-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 18px; color: var(--ink); }
.contact-form .form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form textarea {
  width: 100%; margin-top: 8px; padding: 12px 14px; border: 1px solid var(--line);
  background: var(--paper); font-family: inherit; font-size: 14px; color: var(--ink); outline: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); }
.contact-form .opt { font-weight: 400; color: var(--muted); font-size: 12px; }

/* ── Blog ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.blog-card {
  display: block; background: var(--paper); border: 1px solid var(--line); text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(13, 13, 13, 0.12); }
.blog-cover { height: 210px; background-size: cover; background-position: center; }
.blog-cover-plain {
  display: grid; place-items: center; background: var(--ink); color: var(--gold);
  font-size: 40px; letter-spacing: 8px;
}
.blog-body { padding: 24px; }
.blog-date { font-size: 12px; letter-spacing: 1.5px; color: var(--muted); text-transform: uppercase; margin-bottom: 10px; }
.blog-body h3 { font-family: var(--serif); font-size: 21px; color: var(--ink); margin-bottom: 10px; line-height: 1.25; }
.blog-excerpt { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.blog-body .link-arrow { color: var(--ink); font-size: 13px; font-weight: 600; }
.blog-body .link-arrow i { transition: transform 0.2s; font-size: 11px; }
.blog-card:hover .link-arrow i { transform: translateX(4px); }

.blog-detail-inner { max-width: 760px; }
.blog-back { display: inline-block; color: var(--muted); font-size: 13px; margin-bottom: 40px; text-decoration: none; }
.blog-back:hover { color: var(--gold); }
.blog-detail-title { font-family: var(--serif); font-size: 42px; line-height: 1.15; margin-bottom: 14px; }
.blog-detail-meta { color: var(--muted); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 32px; }
.blog-detail-cover { height: 380px; background-size: cover; background-position: center; margin-bottom: 32px; }
.blog-detail-excerpt {
  font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink);
  border-left: 2px solid var(--gold); padding-left: 20px; margin-bottom: 28px;
}
.blog-detail-content { font-size: 16px; line-height: 1.8; color: #2a2a2a; font-weight: 400; }
.blog-detail-content > *:first-child { margin-top: 0; }
.blog-detail-content > *:last-child { margin-bottom: 0; }
.blog-detail-content p { margin: 0 0 1.35em; }
.blog-detail-content h2, .blog-detail-content h3, .blog-detail-content h4 { font-family: var(--serif); line-height: 1.25; margin: 1.7em 0 0.65em; }
.blog-detail-content h2 { font-size: 30px; }
.blog-detail-content h3 { font-size: 24px; }
.blog-detail-content strong { font-weight: 700; }
.blog-detail-content ul, .blog-detail-content ol { margin: 0 0 1.35em; padding-left: 1.5em; }
.blog-detail-content li { margin-bottom: 0.35em; }
.blog-detail-content a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.blog-detail-content blockquote { border-left: 2px solid var(--gold); color: var(--muted); font-family: var(--serif); font-size: 20px; font-style: italic; margin: 1.6em 0; padding-left: 20px; }
.blog-detail-content img { display: block; height: auto; margin: 1.6em auto; max-width: 100%; }

/* ── Shipping page ── */
.shipping-content { max-width: 800px; font-size: 16px; line-height: 1.85; color: #2a2a2a; }
.shipping-content h1, .shipping-content h2, .shipping-content h3 { font-family: var(--serif); color: var(--ink); line-height: 1.25; margin: 1.6em 0 .55em; }
.shipping-content h1 { font-size: 32px; }
.shipping-content h2 { font-size: 25px; }
.shipping-content h3 { font-size: 20px; }
.shipping-content h1:first-child, .shipping-content h2:first-child, .shipping-content h3:first-child { margin-top: 0; }
.shipping-content p, .shipping-content ul, .shipping-content ol, .shipping-content blockquote { margin: 0 0 1.1em; }
.shipping-content ul, .shipping-content ol { padding-left: 1.35em; }
.shipping-content a { color: var(--gold-2); text-decoration: underline; }
.shipping-content blockquote { border-left: 2px solid var(--gold); padding-left: 18px; color: var(--muted); font-family: var(--serif); font-style: italic; }
.shipping-content img { max-width: 100%; height: auto; }

/* ── About Us ── */
.about-head { position: relative; overflow: hidden; text-align: center; }
.about-head::after {
  content: '◆'; position: absolute; right: 7vw; top: 50%; transform: translateY(-50%);
  color: rgba(201, 162, 39, .12); font-family: var(--serif); font-size: clamp(90px, 14vw, 210px);
}
.about-head .container { position: relative; z-index: 1; }
.about-head .container > p:last-child { margin-right: auto; margin-left: auto; }
.about-story-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 72px; align-items: center; }
.about-image-wrap { position: relative; min-height: 560px; margin: 0; overflow: hidden; background: var(--ink-2); }
.about-image-wrap::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(201, 162, 39, .36); pointer-events: none; }
.about-image-wrap img { width: 100%; height: 100%; min-height: 560px; display: block; object-fit: cover; }
.about-image-mark {
  position: absolute; right: 22px; bottom: 18px; z-index: 1; width: 52px; height: 52px;
  display: grid; place-items: center; background: var(--gold); color: var(--ink); font-size: 18px;
}
.about-copy .section-title { margin-bottom: 26px; }
.about-rich { color: var(--muted); font-size: 16px; line-height: 1.9; }
.about-rich > * + * { margin-top: 18px; }
.about-rich h2, .about-rich h3 { color: var(--ink); font-family: var(--serif); }
.about-rich ul, .about-rich ol { padding-left: 22px; }
.about-rich a { color: var(--gold-2); text-decoration: underline; }
.about-rich img { max-width: 100%; height: auto; }

/* ── Brand & footer extras ── */
.brand-img { height: 34px; width: auto; display: block; }
.footer-social { display: flex; gap: 14px; margin-top: 18px; }
.footer-social a {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid rgba(245, 240, 230, 0.25); color: rgba(245, 240, 230, 0.8);
  font-size: 14px; transition: all 0.2s;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-social .fa-brands, .contact-socials .fa-brands { font-size: 17px; }
.empty-note { color: var(--muted); padding: 40px 0; }

@media (max-width: 640px) {
  .mobile-scroll-float {
    position: fixed; z-index: 80; bottom: 20px; left: 50%; transform: translateX(-50%);
    display: grid; place-items: center; width: 42px; height: 48px;
    border: 1px solid rgba(201,162,39,.48); border-radius: 999px;
    background: linear-gradient(145deg, rgba(35,35,33,.78), rgba(8,8,8,.72));
    box-shadow: 0 8px 22px rgba(0,0,0,.28), inset 0 1px 0 rgba(245,240,230,.12);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); pointer-events: none;
    transition: opacity .28s ease, transform .28s ease; animation: mobile-scroll-float 1.8s ease-in-out infinite;
  }
  .mobile-scroll-float.is-hidden { opacity: 0; transform: translate(-50%, 8px); animation: none; }
  .mobile-scroll-mouse { width: 16px; height: 25px; display: grid; justify-content: center; padding-top: 5px; border: 1.5px solid var(--gold); border-radius: 999px; box-sizing: border-box; }
  .mobile-scroll-mouse span { width: 2px; height: 5px; border-radius: 99px; background: var(--gold); animation: mobile-scroll-wheel 1.5s ease-in-out infinite; }
  .contact-grid, .blog-grid { grid-template-columns: 1fr; }
  .about-story-grid { grid-template-columns: 1fr; gap: 38px; }
  .about-image-wrap, .about-image-wrap img { min-height: 390px; }
  .hero-cta { flex-direction: column; margin-top: var(--hero-cta-mobile-margin-top, var(--hero-cta-margin-top, 36px)); }
  .hero-cta .btn { font-size: var(--hero-cta-mobile-size, 13px); padding: 1.08em 2.31em; }
  .hero-cta-desktop-text { display: none; }
  .hero-cta-mobile-text { display: inline; }
  .hero-cta.hide-on-mobile { display: none; }
  .pay-grid, .stat-cards, .addr-grid { grid-template-columns: 1fr 1fr; }
}

@keyframes mobile-scroll-float {
  0%, 100% { margin-bottom: 0; }
  50% { margin-bottom: 4px; }
}
@keyframes mobile-scroll-wheel {
  0% { transform: translateY(0); opacity: 0; }
  25% { opacity: 1; }
  75% { opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-scroll-float, .mobile-scroll-mouse span { animation: none; }
}
/* ── wishlist toggle + saved address ── */
.pc-wrap { position: relative; }
.wish-toggle { position: absolute; top: 12px; right: 12px; z-index: 2; margin: 0; }
.wish-toggle button { width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(255,255,255,.92); color: #8a8a8f; font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.12); transition: color .2s, transform .2s; }
.wish-toggle button:hover { color: var(--gold); transform: scale(1.08); }
.wish-toggle.on button { color: var(--gold); }
.saved-addr { margin-bottom: 18px; }
.saved-addr select { width: 100%; padding: 10px 12px; border: 1px solid #d9d9de; border-radius: 6px; font: inherit; background: #fff; }

/* ── order detail page ── */
.od-wrap { padding: 40px 0 80px; }
.od-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 10px; flex-wrap: wrap; }
.od-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 26px 0; }
.od-card { background: #fff; border: 1px solid #e5e5ea; border-radius: 10px; padding: 22px; }
.od-card h3 { margin: 0 0 12px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: #8a8a8f; }
.od-card p { margin: 0; line-height: 1.7; color: #333; }
.od-items { border-top: 1px solid #ececf1; }
.od-item { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid #ececf1; }
.od-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.od-item-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.od-item-info span { font-size: 13px; color: #8a8a8f; }
.od-item-total { font-weight: 600; }
.od-totals { padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.od-totals > div { display: flex; justify-content: space-between; font-size: 14px; }
.od-totals .total { border-top: 1px solid #ececf1; padding-top: 12px; margin-top: 4px; font-size: 17px; font-weight: 700; }
.order-foot { gap: 12px; flex-wrap: wrap; }
.order-foot-right { display: flex; align-items: center; gap: 14px; }
@media (max-width: 720px) { .od-grid { grid-template-columns: 1fr; } }

/* ── Mobile nav (CSS-only hamburger, no JS) ── */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger {
  display: none; width: 38px; height: 38px; border: 1px solid var(--line);
  border-radius: 50%; cursor: pointer; position: relative; background: none;
}
.nav-burger span {
  position: absolute; left: 9px; right: 9px; height: 2px; background: var(--ink);
  transition: transform 0.25s, opacity 0.2s;
}
.nav-burger span:nth-child(1) { top: 14px; }
.nav-burger span:nth-child(2) { top: 20px; }
.nav-burger span:nth-child(3) { top: 26px; }

@media (max-width: 640px) {
  .page-head.has-bg-image { background-image: linear-gradient(rgba(13,13,13,.68), rgba(13,13,13,.78)), var(--page-head-mobile-bg, var(--page-head-bg)); }
  .nav-burger {
    display: block; flex: none;
    width: 36px; height: 36px; margin-left: 2px; order: 5;
  }
  .main-nav {
    display: none; position: fixed; top: 0; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--paper);
    border-bottom: 1px solid var(--line); padding-top: 70px; padding-bottom: 8px; z-index: 200;
    box-shadow: 0 20px 40px rgba(13,13,13,0.18);
  }
  .main-nav a { padding: 14px 24px; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: none; }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); z-index: 210; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); z-index: 210; }
  .header-inner {
    flex-wrap: nowrap; gap: 12px;
    padding-top: 14px !important; padding-bottom: 14px !important;
    position: relative; z-index: 220; background: var(--paper);
  }
  .brand { min-width: 0; }
  .brand-img { height: 28px; max-width: 42vw; object-fit: contain; object-position: left; }
  .brand-text { font-size: 16px; letter-spacing: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  /* napas antar icon: tombol lebih besar + jarak cukup */
  .header-actions { gap: 10px; }
  .icon-btn { width: 40px; height: 40px; font-size: 15px; }
  .nav-burger { width: 42px; height: 42px; margin-left: 6px; }
  /* prevent horizontal overflow on small screens */
  .section-title, .page-title, .hero-title, .product-name, .blog-detail-title, .confirm-title, .error-code { word-break: break-word; }
  .section-title { font-size: 28px; }
  .page-title, .confirm-title { font-size: 32px; }
  .blog-detail-title { font-size: 30px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .account-side { grid-column: 1 / -1; }
  .form-row, .contact-form .form-row2, .od-grid { grid-template-columns: 1fr; }
  .two-col, .checkout-layout, .catalog-layout, .account-layout, .contact-grid, .product-layout { gap: 32px; }
  .auth-form, .auth-side { padding: 36px 26px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-top: 1rem !important; }
  .footer-bottom .container { flex-direction: column; gap: 8px; text-align: center; }
  .newsletter { flex-direction: column; }
  .review-form, .panel-form { padding: 22px; }
  .stat-cards, .pay-grid { grid-template-columns: 1fr 1fr; }
  /* Rasio 3:1 hanya untuk layar lebar. Di ponsel hero perlu ruang vertikal
     agar judul, deskripsi, dan CTA tidak saling berhimpitan. */
  .hero {
    aspect-ratio: auto;
    min-height: 380px;
    padding: 56px 0;
    background-position: right center;
    background-image: var(--hero-mobile-bg, var(--hero-bg, url('/img/bg.png')));
  }
  .hero-kicker { margin-bottom: 14px; font-size: 10px; letter-spacing: 3px; }
  .hero-title { font-size: 34px; margin-bottom: 14px; }
  .hero-sub { margin-bottom: 22px; font-size: 13px; }
  .cat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .cat-card { padding: 24px 18px; }
  .cat-card h3 { font-size: 20px; margin: 10px 0 8px; }
  .cat-arrow { top: 24px; right: 18px; }
  .section { padding: 56px 0; }
  .cta-inner h2 { font-size: 26px; }
  .od-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .hero { min-height: 360px; padding: 46px 0; }
  .hero-title { font-size: 30px; }
  .section-title, .page-title { font-size: 26px; }
  .stat-cards, .pay-grid, .addr-grid { grid-template-columns: 1fr; }
  /* header XS: padding lebih longgar */
  .header-inner { gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  .header-actions { gap: 8px; }
  .icon-btn { width: 38px; height: 38px; }
  .nav-burger { width: 40px; height: 40px; margin-left: 2px; }
  /* produk tetap 2 kolom di layar sempit */
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pc-body { padding: 12px 12px 16px; }
  .pc-name { font-size: 15px; }
  .pc-price { font-size: 13px; flex-wrap: wrap; gap: 6px; }
  .product-name { font-size: 30px; }
  .buy-row { flex-direction: column; align-items: stretch; }
  .qty-box { width: 100%; justify-content: space-between; }
  .wish-btn { width: 100%; }
  .cart-drawer { width: 100%; max-width: 100vw; }
  .checkout-actions { flex-direction: column; gap: 14px; }
}

/* ── Global: all text in Poppins bold ── */
body, body *:not([class*="fa-"]):not(.fa):not(.ql-editor):not(.ql-toolbar):not(i) { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; }

/* Rich blog copy must retain its own emphasis instead of inheriting the global UI weight above. */
body .blog-detail .blog-detail-content:not(.ql-editor):not(.ql-toolbar):not(.fa):not([class*="fa-"]),
body .blog-detail .blog-detail-content :not(.ql-editor):not(.ql-toolbar):not(.fa):not([class*="fa-"]) { font-weight: 400 !important; }
body .blog-detail .blog-detail-content strong:not(.ql-editor):not(.ql-toolbar):not(.fa):not([class*="fa-"]),
body .blog-detail .blog-detail-content b:not(.ql-editor):not(.ql-toolbar):not(.fa):not([class*="fa-"]) { font-weight: 700 !important; }
body .blog-detail .blog-detail-content h2:not(.ql-editor):not(.ql-toolbar):not(.fa):not([class*="fa-"]),
body .blog-detail .blog-detail-content h3:not(.ql-editor):not(.ql-toolbar):not(.fa):not([class*="fa-"]),
body .blog-detail .blog-detail-content h4:not(.ql-editor):not(.ql-toolbar):not(.fa):not([class*="fa-"]) { font-weight: 600 !important; }
/* ── Lucide icon sizing (replaces Font Awesome) ── */
[data-lucide] { display:inline-block; vertical-align:middle; width:1em; height:1em; stroke-width:2; }
.icon-btn [data-lucide] { width:18px; height:18px; }
.cart-ico [data-lucide] { width:20px; height:20px; }
.wish-toggle [data-lucide] { width:18px; height:18px; }
.wish-toggle .lucide-filled { fill: currentColor; color: #c0392b; }
.footer-social [data-lucide] { width:16px; height:16px; }
.contact-ico [data-lucide] { width:20px; height:20px; }
.blog-date [data-lucide], .blog-detail-meta [data-lucide] { width:14px; height:14px; }
.promise [data-lucide] { width:22px; height:22px; }
