/* ============ OPON — gaya klasik-editorial yang kekinian ============ */
:root {
  --bg: #f7f2e8;
  --paper: #fffdf8;
  --ink: #16231c;
  --muted: #5d6a62;
  --accent: #e85d2f;
  --lime: #c9f26b;
  --lilac: #dcd5f6;
  --peach: #ffd9c2;
  --sky: #d0e7f8;
  --rose: #f7d0d9;
  --ok: #1f7a4d;
  --err: #c0392b;
  --radius: 22px;
  --shadow: 5px 5px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --max: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg);
  background-image: radial-gradient(rgba(22, 35, 28, .09) 1px, transparent 1px);
  background-size: 22px 22px; line-height: 1.6; overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.muted { color: var(--muted); }

/* ---------- Tombol ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 700;
  text-decoration: none; cursor: pointer; background: var(--paper); box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s, background .15s; font-size: .95rem;
}
.button:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.button:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.button:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.button-primary { background: var(--accent); color: #fff; }
.button-ghost { background: var(--paper); }
.button.full { width: 100%; margin-top: 10px; }
.button.small { padding: 8px 16px; font-size: .85rem; }

/* ---------- Pengumuman & Topbar ---------- */
.announce { background: var(--ink); color: var(--lime); text-align: center; padding: 9px 16px; font-size: .85rem; font-weight: 600; }
.topbar {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px max(20px, calc((100vw - var(--max)) / 2)); background: rgba(247, 242, 232, .88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 2px solid transparent; transition: border-color .2s;
}
.topbar.scrolled { border-bottom-color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; display: grid; place-items: center; background: var(--ink); color: var(--lime);
  border-radius: 12px; font-family: var(--serif); font-weight: 700; font-size: 1.4rem; transform: rotate(-6deg);
}
.brand-text { font-family: var(--serif); font-weight: 700; font-size: 1.45rem; line-height: 1; display: flex; flex-direction: column; }
.brand-text small { font-family: var(--sans); font-weight: 700; font-size: .56rem; letter-spacing: .16em; color: var(--muted); margin-top: 3px; }
.wordmark { font-weight: 700; }
.brand-dot { color: var(--accent); }

nav { display: flex; align-items: center; gap: 6px; }
nav > a:not(.nav-cta) { text-decoration: none; font-weight: 600; font-size: .92rem; padding: 8px 12px; border-radius: 999px; }
nav > a:not(.nav-cta):hover { background: rgba(22, 35, 28, .08); }
.nav-cta { text-decoration: none; background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .9rem; margin-left: 6px; }
.nav-cta:hover { background: var(--accent); }
.nav-account { display: inline-flex; margin-left: 4px; position: relative; }
.btn-login { border: 2px solid var(--ink); background: var(--paper); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: .88rem; cursor: pointer; }
.btn-login:hover { background: var(--lime); }
.user-menu { position: relative; }
.user-chip { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--ink); background: var(--paper); border-radius: 999px; padding: 4px 12px 4px 4px; cursor: pointer; font-weight: 700; font-size: .88rem; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font-weight: 800; border: 2px solid var(--ink); }
.user-label { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge-admin { background: var(--accent); color: #fff; font-size: .6rem; padding: 2px 7px; border-radius: 99px; letter-spacing: .08em; }
.user-pop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: var(--paper); border: 2px solid var(--ink); border-radius: 16px; box-shadow: var(--shadow-sm); padding: 8px; display: flex; flex-direction: column; z-index: 60; }
.user-pop small { padding: 6px 10px; color: var(--muted); word-break: break-all; }
.user-pop a, .user-pop button { text-align: left; background: none; border: 0; padding: 10px; border-radius: 10px; font-weight: 600; text-decoration: none; cursor: pointer; font-size: .92rem; }
.user-pop a:hover, .user-pop button:hover { background: var(--sage, #e6eddb); }

.menu-toggle { display: none; width: 46px; height: 46px; border: 2px solid var(--ink); border-radius: 14px; background: var(--paper); cursor: pointer; position: relative; box-shadow: var(--shadow-sm); }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .2s, top .2s; }
.menu-toggle span:first-child { top: 16px; } .menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Layout umum ---------- */
main { display: block; }
.section, .order-section, .payment-section, .hero, .steps-strip { max-width: var(--max); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: 72px 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 800; letter-spacing: .16em; color: var(--accent); margin-bottom: 12px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(232, 93, 47, .6); } 70% { box-shadow: 0 0 0 10px rgba(232, 93, 47, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 93, 47, 0); } }
h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 0; }
.dot { color: var(--accent); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.section-heading p { max-width: 380px; color: var(--muted); margin: 0; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-block: 56px 40px; }
.hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(3rem, 9vw, 6rem); line-height: .95; letter-spacing: -.035em; margin-bottom: 20px; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--accent); }
.hero-description { font-size: 1.12rem; color: var(--muted); max-width: 480px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-proof { display: inline-flex; gap: 8px; font-size: .86rem; font-weight: 600; background: var(--paper); border: 2px solid var(--ink); padding: 8px 14px; border-radius: 999px; }
.proof-icon { color: var(--accent); }
.hero-art { position: relative; height: 440px; }
.art-card { position: absolute; border: 2.5px solid var(--ink); border-radius: 26px; box-shadow: var(--shadow); }
.card-back { width: 62%; height: 74%; right: 2%; top: 4%; background: var(--lime); transform: rotate(7deg); padding: 20px; }
.mini-label { font-size: .68rem; font-weight: 800; letter-spacing: .14em; }
.back-shapes { position: absolute; bottom: 22px; left: 20px; display: flex; gap: 10px; }
.back-shapes i { width: 38px; height: 38px; border: 2.5px solid var(--ink); border-radius: 50%; background: var(--paper); }
.back-shapes i:nth-child(2) { border-radius: 10px; background: var(--accent); }
.back-shapes i:nth-child(3) { border-radius: 50% 50% 0 50%; background: var(--lilac); }
.card-front { width: 66%; height: 78%; left: 2%; bottom: 0; background: var(--ink); color: var(--paper); transform: rotate(-4deg); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; }
.card-top, .poster-bottom { display: flex; justify-content: space-between; font-size: .7rem; font-weight: 700; letter-spacing: .12em; }
.spark { color: var(--lime); font-size: 1.3rem; }
.poster-type { font-family: var(--serif); font-weight: 700; font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: .95; letter-spacing: -.03em; }
.poster-type em { color: var(--accent); font-weight: 500; }
.floating-tag { position: absolute; background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: .82rem; box-shadow: var(--shadow-sm); animation: float 5s ease-in-out infinite; }
.tag-top { top: 2%; left: 8%; } .tag-bottom { bottom: 8%; right: 0; animation-delay: -2.5s; }
.tag-check { display: inline-grid; place-items: center; width: 20px; height: 20px; background: var(--lime); border-radius: 50%; font-size: .7rem; margin-right: 4px; }
@keyframes float { 50% { transform: translateY(-9px) rotate(-1.5deg); } }

.steps-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 12px; }
.steps-strip > div { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--ink); color: var(--paper); border-block: 2px solid var(--ink); }
.steps-strip > div:first-child { border-radius: 18px 0 0 18px; } .steps-strip > div:last-child { border-radius: 0 18px 18px 0; }
.steps-strip strong { font-family: var(--serif); color: var(--lime); font-size: 1.5rem; }
.steps-strip span { font-weight: 600; font-size: .92rem; }

/* ---------- Katalog ---------- */
.catalog-tools { display: flex; gap: 14px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 26px; }
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-chip { border: 2px solid var(--ink); background: var(--paper); border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: .88rem; cursor: pointer; transition: background .15s; }
.filter-chip span { opacity: .5; margin-left: 4px; }
.filter-chip:hover { background: var(--lime); }
.filter-chip.active { background: var(--ink); color: var(--paper); }
.search, input, select, textarea {
  width: 100%; padding: 13px 16px; background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; outline-offset: 2px; font-size: 1rem;
}
.search { max-width: 260px; border-radius: 999px; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.service-card { background: var(--paper); border: 2.5px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.service-art { position: relative; height: 170px; padding: 16px; border-bottom: 2.5px solid var(--ink); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.service-art img, .portfolio-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c-purple { background: var(--lilac); } .c-lime { background: var(--lime); } .c-peach { background: var(--peach); }
.c-blue { background: var(--sky); } .c-rose { background: var(--rose); } .c-dark { background: var(--ink); color: var(--paper); }
.art-label { position: relative; font-size: .64rem; font-weight: 800; letter-spacing: .14em; z-index: 1; }
.art-icon { position: absolute; right: 16px; top: 12px; font-size: 3rem; opacity: .85; z-index: 1; }
.art-word { position: relative; font-family: var(--serif); font-weight: 700; font-size: 1.9rem; line-height: .95; letter-spacing: -.02em; z-index: 1; }
.art-sticker { position: absolute; right: 12px; bottom: 12px; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 3px 10px; font-size: .6rem; font-weight: 800; letter-spacing: .08em; transform: rotate(-4deg); z-index: 2; }
.service-content { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.service-category { font-size: .68rem; font-weight: 800; letter-spacing: .12em; color: var(--accent); text-transform: uppercase; }
.service-content h3 { font-family: var(--serif); font-size: 1.45rem; margin: 6px 0; line-height: 1.15; }
.service-content p { color: var(--muted); font-size: .94rem; flex: 1; }
.service-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 2px dashed rgba(22, 35, 28, .25); }
.price-label { display: block; font-size: .68rem; color: var(--muted); font-weight: 700; }
.price { font-weight: 800; font-size: 1.05rem; }
.choose-service { border: 2px solid var(--ink); background: var(--lime); border-radius: 999px; padding: 9px 16px; font-weight: 800; cursor: pointer; transition: background .15s; }
.choose-service:hover { background: var(--accent); color: #fff; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 40px 20px; border: 2px dashed var(--ink); border-radius: var(--radius); color: var(--muted); background: rgba(255, 253, 248, .6); }
.skeleton { height: 340px; border-radius: var(--radius); border: 2.5px solid var(--ink); background: linear-gradient(100deg, var(--paper) 30%, #efe8d8 50%, var(--paper) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s infinite; }
.skeleton.wide { height: 120px; grid-column: 1/-1; }
@keyframes shimmer { to { background-position: -150% 0; } }

/* ---------- Portofolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.portfolio-item h3 { font-family: var(--serif); font-size: 1.25rem; margin: 14px 0 4px; }
.portfolio-item p { color: var(--muted); margin: 0; font-size: .94rem; }
.portfolio-visual { position: relative; aspect-ratio: 4 / 3; border: 2.5px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 18px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.portfolio-visual span { position: relative; z-index: 1; font-size: .66rem; font-weight: 800; letter-spacing: .14em; }
.portfolio-visual strong { position: relative; z-index: 1; font-family: var(--serif); font-size: 1.9rem; line-height: .98; letter-spacing: -.02em; }
.portfolio-visual img + span, .portfolio-visual img ~ strong { background: var(--paper); color: var(--ink); padding: 2px 10px; border-radius: 8px; align-self: flex-start; }

/* ---------- Pembayaran ---------- */
.payment-section { margin-top: 72px; }
.payment-section { display: grid; grid-template-columns: auto 1fr; gap: 20px 28px; align-items: center; background: var(--lime); border: 2.5px solid var(--ink); border-radius: 28px; padding: 32px; box-shadow: var(--shadow); max-width: calc(var(--max) - 40px); margin-inline: auto; width: calc(100% - 40px); }
.payment-mark { width: 70px; height: 70px; display: grid; place-items: center; background: var(--ink); color: var(--lime); border-radius: 50%; font-size: 2rem; }
.payment-section h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 8px; }
.payment-section p { margin: 0; max-width: 640px; }
.payment-steps { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }
.payment-steps span { background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: .84rem; }

/* ---------- Form pesanan ---------- */
.order-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; padding-block: 88px 24px; align-items: start; }
.order-intro h2 { margin-bottom: 18px; font-size: clamp(2.4rem, 6vw, 3.8rem); }
.order-intro h2 em { color: var(--accent); font-weight: 500; }
.order-intro > p { color: var(--muted); max-width: 400px; }
.order-note { display: flex; gap: 12px; align-items: flex-start; background: var(--paper); border: 2px solid var(--ink); border-radius: 18px; padding: 14px 16px; margin-top: 14px; max-width: 420px; }
.order-note > span { color: var(--accent); font-size: 1.2rem; }
.order-note small { display: block; color: var(--muted); }
.order-form { background: var(--paper); border: 2.5px solid var(--ink); border-radius: 28px; padding: 28px; box-shadow: var(--shadow); }
.form-title { display: flex; justify-content: space-between; font-size: .72rem; font-weight: 800; letter-spacing: .14em; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px dashed rgba(22, 35, 28, .3); }
.form-step { color: var(--accent); }
label { display: block; font-weight: 700; font-size: .86rem; margin: 14px 0 6px; }
textarea { resize: vertical; min-height: 110px; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-hint { text-align: right; font-size: .75rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.estimate-row { display: flex; justify-content: space-between; align-items: center; margin: 18px 0; padding: 14px 16px; background: var(--bg); border: 2px dashed var(--ink); border-radius: 16px; }
.estimate-row strong { font-family: var(--serif); font-size: 1.7rem; }
.submit-button { width: 100%; padding: 16px; font-size: 1.05rem; }
.form-disclaimer { font-size: .8rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-feedback { margin-top: 10px; font-size: .9rem; font-weight: 600; }
.form-feedback.err { color: var(--err); background: #fdecea; padding: 10px 14px; border-radius: 12px; border: 2px solid var(--err); }

/* ---------- Pesanan saya ---------- */
.my-orders-list { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.my-order { background: var(--paper); border: 2.5px solid var(--ink); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.my-order-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.my-order h3 { font-family: var(--serif); font-size: 1.2rem; margin: 2px 0; }
.order-code { font-size: .7rem; font-weight: 800; letter-spacing: .12em; color: var(--accent); }
.pill { display: inline-block; font-size: .72rem; font-weight: 800; border: 2px solid var(--ink); border-radius: 999px; padding: 4px 10px; background: var(--paper); white-space: nowrap; }
.pay-lunas { background: var(--lime); } .pay-dp { background: var(--peach); } .pay-dikembalikan { background: var(--rose); }
.progress { list-style: none; display: flex; padding: 0; margin: 16px 0; gap: 4px; }
.progress li { flex: 1; font-size: .66rem; font-weight: 700; text-align: center; color: var(--muted); position: relative; padding-top: 18px; }
.progress li span { position: absolute; top: 0; left: 0; right: 0; height: 8px; border: 2px solid var(--ink); border-radius: 99px; background: var(--paper); }
.progress li.done { color: var(--ink); } .progress li.done span { background: var(--lime); }
.progress li.now span { background: var(--accent); }
.cancelled { margin: 14px 0; padding: 8px 12px; background: #fdecea; color: var(--err); border: 2px solid var(--err); border-radius: 12px; font-weight: 700; font-size: .85rem; }
.my-order-price { margin: 4px 0 8px; font-size: 1.05rem; } .my-order-price small { color: var(--muted); }
.my-order-detail { font-size: .88rem; color: var(--muted); white-space: pre-wrap; margin-bottom: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.admin-note { margin-top: 12px; background: var(--bg); border-left: 5px solid var(--accent); padding: 10px 14px; border-radius: 0 12px 12px 0; font-size: .88rem; }
.admin-note strong { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

/* ---------- Cara pesan ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.steps-grid article { position: relative; background: var(--paper); border: 2.5px solid var(--ink); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.step-number { position: absolute; top: 18px; right: 22px; font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: rgba(22, 35, 28, .1); }
.step-icon { width: 52px; height: 52px; display: grid; place-items: center; background: var(--lime); border: 2px solid var(--ink); border-radius: 16px; font-size: 1.4rem; margin-bottom: 14px; }
.steps-grid h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 6px; }
.steps-grid p { color: var(--muted); margin: 0; }

/* ---------- Footer ---------- */
.footer { margin-top: 96px; background: var(--ink); color: var(--paper); padding: 40px max(20px, calc((100vw - var(--max)) / 2)); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer .brand-mark { background: var(--lime); color: var(--ink); }
.footer .brand-text small { color: rgba(255, 253, 248, .6); }
.footer p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.1rem; }
.copyright { font-size: .82rem; opacity: .7; }

/* ---------- Tombol melayang (HP) ---------- */
.fab { display: none; position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; background: var(--accent); color: #fff; text-decoration: none; font-weight: 800; border: 2.5px solid var(--ink); border-radius: 999px; padding: 14px 22px; box-shadow: var(--shadow-sm); transition: opacity .2s, transform .2s; }
.fab.hide { opacity: 0; pointer-events: none; transform: translateY(20px); }

/* ---------- Dialog ---------- */
.dialog { border: 2.5px solid var(--ink); border-radius: 26px; padding: 26px; background: var(--paper); box-shadow: 8px 8px 0 var(--ink); width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; }
.dialog.wide { width: min(640px, calc(100vw - 32px)); }
.dialog::backdrop { background: rgba(22, 35, 28, .55); backdrop-filter: blur(3px); }
.dialog-close-row { display: flex; justify-content: flex-end; margin: -6px -6px 0 0; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); cursor: pointer; font-weight: 800; }
.icon-btn:hover { background: var(--lime); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--bg); border: 2px solid var(--ink); border-radius: 999px; padding: 4px; margin: 4px 0 8px; }
.tab { border: 0; background: none; border-radius: 999px; padding: 10px; font-weight: 800; cursor: pointer; }
.tab.active { background: var(--ink); color: var(--paper); }
.auth-message { min-height: 1.4em; margin: 12px 0 0; font-size: .88rem; font-weight: 600; text-align: center; }
.auth-message.err { color: var(--err); } .auth-message.ok { color: var(--ok); }
.done-icon { width: 64px; height: 64px; margin: 0 auto 12px; display: grid; place-items: center; background: var(--lime); border: 2.5px solid var(--ink); border-radius: 50%; font-size: 2rem; font-weight: 800; }
.dialog h3 { font-family: var(--serif); font-size: 1.7rem; text-align: center; margin-bottom: 6px; }
.done-code { text-align: center; margin-bottom: 6px; } .done-code strong { background: var(--ink); color: var(--lime); padding: 3px 12px; border-radius: 8px; letter-spacing: .08em; }
.done-text { text-align: center; color: var(--muted); font-size: .92rem; }
.done-actions { margin-bottom: 4px; }

/* ---------- Toast ---------- */
#toastBox { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 1000; display: flex; flex-direction: column; gap: 8px; align-items: center; width: min(92vw, 420px); pointer-events: none; }
.toast { background: var(--ink); color: var(--paper); border: 2px solid var(--ink); border-radius: 14px; padding: 12px 18px; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .25s; text-align: center; }
.toast.show { opacity: 1; transform: none; }
.toast-err { background: var(--err); } .toast-warn { background: var(--accent); }

/* ============ RESPONSIF ============ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-block: 36px 24px; }
  .hero-art { height: 320px; max-width: 460px; margin: 0 auto; width: 100%; }
  .order-section { grid-template-columns: 1fr; gap: 28px; padding-block: 64px 16px; }
  .payment-section { grid-template-columns: 1fr; padding: 24px; }
  .payment-mark { width: 54px; height: 54px; }
  .menu-toggle { display: block; }
  nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); height: 100dvh; background: var(--bg); border-left: 2.5px solid var(--ink);
    flex-direction: column; align-items: stretch; padding: 88px 20px 24px; gap: 6px; transform: translateX(105%); visibility: hidden;
    transition: transform .28s ease, visibility 0s linear .28s; z-index: 70; overflow-y: auto;
  }
  nav.open { transform: none; visibility: visible; transition: transform .28s ease; box-shadow: -10px 0 40px rgba(0, 0, 0, .25); }
  nav > a:not(.nav-cta) { font-size: 1.1rem; padding: 14px 12px; border-bottom: 1.5px dashed rgba(22, 35, 28, .25); border-radius: 0; }
  .nav-cta { text-align: center; margin: 14px 0 0; padding: 15px; }
  .nav-account { margin: 10px 0 0; order: 5; display: block; }
  .btn-login, .user-chip { width: 100%; justify-content: center; padding: 12px; }
  .user-chip { justify-content: flex-start; }
  .user-pop { position: static; margin-top: 8px; box-shadow: none; }
  .menu-toggle { position: relative; z-index: 80; }
  .fab { display: inline-flex; }
}
@media (max-width: 640px) {
  .section { padding-block: 52px 16px; }
  .steps-strip { grid-template-columns: 1fr; padding-inline: 20px; }
  .steps-strip > div, .steps-strip > div:first-child, .steps-strip > div:last-child { border-radius: 0; }
  .steps-strip > div:first-child { border-radius: 18px 18px 0 0; } .steps-strip > div:last-child { border-radius: 0 0 18px 18px; }
  .form-two { grid-template-columns: 1fr; gap: 0; }
  .order-form { padding: 20px; border-radius: 22px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .search { max-width: none; }
  .catalog-tools { flex-direction: column; align-items: stretch; }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding: 4px 20px; scrollbar-width: none; }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-chip { white-space: nowrap; }
  .footer { flex-direction: column; text-align: center; }
  .my-orders-list { grid-template-columns: 1fr; }
  input, select, textarea { font-size: 16px; } /* cegah zoom otomatis iOS */
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
