/* ================= KuyTitip web buyer — gaya katalog event (Bangkok / Australia / ...) ================= */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/inter-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/inter-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
  --red: #ef3b2d; --red-2: #ff5a4c; --red-dark: #c92418; --red-soft: #fdecea;
  --ink: #161a26; --ink-2: #5d6474; --muted: #9298a6;
  --bg: #f6f7f9; --card: #ffffff; --line: #eceef2; --line-2: #e1e4ea;
  --ok: #17915f; --ok-soft: #e3f5ec; --warn: #b8650a; --warn-soft: #fdf0dc;
  --wa: #1faa59; --ev: #ef3b2d;
  --r: 18px; --shadow: 0 1px 2px rgba(16,24,40,.05), 0 12px 28px -22px rgba(16,24,40,.35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; }
body { min-height: 100vh; padding-bottom: 86px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
img { display: block; }
a { color: inherit; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* ---------- top nav ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { max-width: 1200px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; margin-right: auto; }
.logo-bag { width: 40px; height: 40px; border-radius: 12px; background: var(--red); color: #fff; display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 8px 16px -10px rgba(239,59,45,.9); }
.logo-txt { display: flex; flex-direction: column; min-width: 0; }
.logo-txt b { font-weight: 800; font-size: 1.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-txt small { font-size: .6rem; letter-spacing: .12em; color: var(--ink-2); font-weight: 600; }
.links { display: none; gap: 4px; }
.links a { text-decoration: none; font-weight: 500; font-size: .92rem; padding: 9px 14px; border-radius: 999px; color: var(--ink-2); }
.links a.on { background: var(--red); color: #fff; font-weight: 600; }
.links a:hover:not(.on) { background: var(--bg); }
.nav-act { display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; cursor: pointer; }
.icon-btn svg, .bottom svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.count { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--red); color: #fff; font-size: .68rem; font-weight: 700; line-height: 19px; text-align: center; border: 2px solid #fff; }
.btn-wa-top { display: none; text-decoration: none; background: var(--red); color: #fff; font-weight: 600; font-size: .9rem; padding: 10px 16px; border-radius: 12px; }
#myOrdersBtn { display: none; }
@media (min-width: 900px) { .links { display: flex; } .btn-wa-top:not([hidden]) { display: inline-block; } #myOrdersBtn { display: grid; } }

.wrap { max-width: 1200px; margin: 0 auto; padding: 16px; }

/* ---------- event tabs ---------- */
.ev-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: none; }
.ev-tabs::-webkit-scrollbar { display: none; }
.ev-tab { flex-shrink: 0; display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line-2); background: #fff; border-radius: 14px; padding: 8px 14px; cursor: pointer; text-align: left; }
.ev-tab .fl { font-size: 1.3rem; }
.ev-tab b { display: block; font-weight: 700; font-size: .9rem; }
.ev-tab small { color: var(--ink-2); font-size: .74rem; }
.ev-tab.on { border-color: var(--ev); background: color-mix(in srgb, var(--ev) 8%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ev) 14%, transparent); }

/* ---------- hero ---------- */
.hero { position: relative; border-radius: 26px; overflow: hidden; min-height: 300px; background: #fff; box-shadow: var(--shadow); isolation: isolate; }
.hero-skel { height: 300px; background: linear-gradient(90deg, #f1f2f5, #e7e9ee, #f1f2f5); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.hero-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center right; }
.hero-bg.fallback { background:
  radial-gradient(700px 300px at 85% 30%, color-mix(in srgb, var(--ev) 55%, #ffd7b5) 0%, transparent 70%),
  linear-gradient(120deg, #fff4ef 0%, color-mix(in srgb, var(--ev) 18%, #fff) 55%, color-mix(in srgb, var(--ev) 45%, #ffb58a) 100%); }
.hero-flag { position: absolute; right: 4%; bottom: -6%; font-size: clamp(120px, 22vw, 260px); opacity: .9; z-index: -1; line-height: 1; filter: drop-shadow(0 20px 30px rgba(0,0,0,.18)); transform: rotate(-8deg); }
.hero-fade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.86) 38%, rgba(255,255,255,.15) 68%, rgba(255,255,255,0) 100%); }
.hero-in { position: relative; padding: 26px 22px 22px; max-width: 640px; }
.pill { display: inline-block; background: var(--red); color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .06em; padding: 7px 14px; border-radius: 10px; transform: rotate(-2deg); box-shadow: 0 8px 18px -10px rgba(239,59,45,.9); }
.hero h1 { font-weight: 800; font-size: clamp(2.6rem, 9vw, 5.6rem); line-height: .95; letter-spacing: -0.035em; margin: 12px 0 6px; text-transform: uppercase; color: color-mix(in srgb, var(--ev) 55%, #14112b); }
.hero .dates { font-weight: 800; font-size: clamp(1.05rem, 3.4vw, 1.8rem); letter-spacing: .02em; color: color-mix(in srgb, var(--ev) 40%, #14112b); }
.hero .tag { font-size: clamp(.95rem, 2.4vw, 1.15rem); margin: 10px 0 0; color: var(--ink); }
.hero .sub { font-size: .9rem; color: var(--ink-2); margin: 4px 0 0; max-width: 460px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; }
.trust span { display: inline-flex; align-items: center; gap: 7px; font-size: .84rem; font-weight: 500; }
.trust i { width: 26px; height: 26px; border-radius: 8px; background: #fff; display: grid; place-items: center; font-style: normal; font-size: .9rem; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.hero-side { display: none; }
.closed-note { margin-top: 14px; display: inline-block; background: var(--warn-soft); color: var(--warn); font-weight: 600; font-size: .85rem; padding: 8px 12px; border-radius: 10px; }
@media (min-width: 900px) {
  .hero { min-height: 360px; }
  .hero-in { padding: 40px 44px 34px; }
  .hero-side { display: grid; gap: 10px; position: absolute; right: 26px; top: 50%; transform: translateY(-50%); width: 240px; }
  .hero-side div { background: rgba(255,255,255,.94); border-radius: 14px; padding: 11px 14px; display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 500; box-shadow: 0 8px 24px -14px rgba(0,0,0,.4); }
  .hero-side div i { font-style: normal; font-size: 1.15rem; }
  .hero-side small { display: block; color: var(--ink-2); font-size: .72rem; }
  .hero-flag { right: 290px; }
}

/* ---------- search & chips ---------- */
.search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; padding: 6px 6px 6px 14px; margin: -26px 14px 16px; position: relative; z-index: 2; box-shadow: 0 12px 30px -18px rgba(16,24,40,.45); }
.search svg { width: 20px; height: 20px; fill: none; stroke: var(--ink-2); stroke-width: 2; flex-shrink: 0; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 10px 4px; font-size: .95rem; }
.search button { border: 0; background: var(--red); color: #fff; font-weight: 600; padding: 11px 22px; border-radius: 12px; cursor: pointer; }
@media (min-width: 900px) { .search { margin: -30px 44px 18px; } }
.cats { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 9px 16px; font-weight: 500; font-size: .9rem; cursor: pointer; white-space: nowrap; }
.cat i { font-style: normal; }
.cat.on { background: var(--red); border-color: var(--red); color: #fff; font-weight: 600; }
@media (max-width: 640px) {
  .cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 6px; overflow: visible; }
  .cat { flex-direction: column; gap: 6px; border: 0; background: none; padding: 0; font-size: .72rem; text-align: center; white-space: normal; line-height: 1.2; }
  .cat i { width: 52px; height: 52px; border-radius: 50%; background: var(--red-soft); display: grid; place-items: center; font-size: 1.4rem; }
  .cat.on { background: none; color: var(--red); }
  .cat.on i { background: var(--red); box-shadow: 0 8px 16px -10px rgba(239,59,45,.9); }
  .cat.extra { display: none; }
  .cats.open .cat.extra { display: flex; }
}

/* ---------- sections & grid ---------- */
.sec { margin-top: 26px; }
.sec-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.sec-head h2 { font-size: clamp(1.15rem, 3vw, 1.45rem); font-weight: 800; display: flex; align-items: center; gap: 10px; }
.sec-head h2::before { content: ""; width: 5px; height: 22px; border-radius: 3px; background: var(--red); }
.more { color: var(--red); font-weight: 600; text-decoration: none; font-size: .9rem; white-space: nowrap; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.card .ph { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(160deg, #f7f4f2, #eef0f3); display: grid; place-items: center; color: var(--muted); font-size: 2.2rem; cursor: zoom-in; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.heart { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 12px -6px rgba(0,0,0,.4); color: var(--red); font-size: 1rem; }
.ribbon { position: absolute; top: 10px; left: 10px; background: var(--red); color: #fff; font-size: .7rem; font-weight: 700; padding: 5px 9px; border-radius: 8px; }
.card .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card .br { font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card .nm { font-weight: 700; font-size: .98rem; line-height: 1.3; }
.card .ds { color: var(--ink-2); font-size: .82rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .pr { font-weight: 800; font-size: 1.15rem; color: var(--red); margin-top: auto; padding-top: 8px; }
.buy { display: grid; grid-template-columns: auto 1fr; gap: 8px; margin-top: 10px; }
.step { display: grid; grid-template-columns: 30px 28px 30px; align-items: center; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; height: 42px; }
.step button { height: 100%; border: 0; background: #fff; font-size: 1.1rem; cursor: pointer; }
.step span { text-align: center; font-weight: 600; font-size: .92rem; }
.add { height: 42px; border: 0; border-radius: 12px; background: var(--red); color: #fff; font-weight: 600; font-size: .9rem; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.add svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.add.in { background: var(--ok); }
.add[disabled] { opacity: .45; cursor: not-allowed; }
@media (max-width: 520px) {
  .buy { grid-template-columns: 1fr auto; }
  .add .lbl { display: none; }
  .add { width: 42px; }
  .card .ds { display: none; }
}
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 16px; }

/* brands */
.brands { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .brands { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .brands { grid-template-columns: repeat(6, 1fr); } }
.brand { background: #fff; border: 1px solid var(--line); border-radius: 14px; height: 70px; display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; letter-spacing: .02em; cursor: pointer; text-transform: uppercase; color: var(--ink); }
.brand.on { border-color: var(--red); color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }

/* schedule */
.sched { display: grid; gap: 12px; }
@media (min-width: 700px) { .sched { grid-template-columns: repeat(3, 1fr); } }
.sched-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; gap: 14px; align-items: center; cursor: pointer; box-shadow: var(--shadow); text-align: left; }
.sched-card .fl { font-size: 2rem; }
.sched-card b { display: block; font-weight: 700; }
.sched-card small { color: var(--ink-2); }
.st { display: inline-block; margin-top: 6px; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.st.open { background: var(--ok-soft); color: var(--ok); }
.st.closed { background: var(--warn-soft); color: var(--warn); }

/* steps & faq */
.steps4 { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .steps4 { grid-template-columns: repeat(4, 1fr); } }
.steps4 li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.steps4 b { width: 32px; height: 32px; border-radius: 10px; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 10px; }
.steps4 h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.steps4 p { margin: 0; color: var(--ink-2); font-size: .88rem; line-height: 1.45; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 8px; }
.faq summary { padding: 14px 16px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: "+"; color: var(--red); font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0; padding: 0 16px 14px; color: var(--ink-2); line-height: 1.5; font-size: .92rem; }
.foot { margin: 34px 0 10px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.btn-wa { background: var(--wa); color: #fff; text-decoration: none; font-weight: 600; padding: 12px 18px; border-radius: 12px; }

/* ---------- bottom nav (mobile) ---------- */
.bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.bottom a, .bottom button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; border: 0; background: none; font-size: .68rem; font-weight: 500; color: var(--ink-2); cursor: pointer; padding: 4px 0; }
.bottom .on { color: var(--red); font-weight: 600; }
.bottom .count { top: -2px; right: calc(50% - 22px); }
@media (min-width: 900px) { .bottom { display: none; } }

/* ---------- cart bar & sheet ---------- */
.cartbar { position: fixed; left: 12px; right: 12px; bottom: calc(74px + env(safe-area-inset-bottom)); z-index: 35; max-width: 560px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; background: var(--ink); color: #fff; border-radius: 18px; box-shadow: 0 16px 34px -16px rgba(16,24,40,.6); }
.cartbar b { font-weight: 800; font-size: 1.05rem; display: block; }
.cartbar small { opacity: .75; font-size: .78rem; }
.cartbar button { border: 0; background: var(--red); color: #fff; font-weight: 600; padding: 12px 16px; border-radius: 12px; cursor: pointer; }
@media (min-width: 900px) { .cartbar { bottom: 20px; } }
dialog.sheet { border: 0; padding: 0; width: 100%; max-width: 560px; margin: auto auto 0; border-radius: 24px 24px 0 0; background: var(--bg); color: var(--ink); max-height: 92vh; }
dialog.sheet::backdrop { background: rgba(16,18,30,.5); }
@media (min-width: 700px) { dialog.sheet { margin: auto; border-radius: 24px; } }
.sheet-in { padding: 20px 18px 24px; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 10px; }
.sheet-head h2 { font-weight: 800; font-size: 1.3rem; }
.x { border: 0; background: #fff; width: 36px; height: 36px; border-radius: 50%; font-size: 1.05rem; cursor: pointer; flex-shrink: 0; }
.ev-badge { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line-2); border-radius: 99px; padding: 5px 10px; font-size: .8rem; font-weight: 600; }
.line-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.line-item img, .line-item .noimg { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: #fff; flex-shrink: 0; display: grid; place-items: center; }
.line-item .nm { font-weight: 600; font-size: .92rem; }
.line-item .sub { color: var(--ink-2); font-size: .82rem; }
.line-item .step { height: 36px; grid-template-columns: 30px 26px 30px; }
.sum { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-size: 1rem; }
.sum b { font-weight: 800; color: var(--red); font-size: 1.3rem; }
.field { margin-bottom: 12px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .9rem; }
.req::after { content: " *"; color: var(--red); }
.input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; outline: none; }
.input:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(239,59,45,.12); }
textarea.input { min-height: 76px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; border: 0; border-radius: 14px; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn.wa { background: var(--wa); color: #fff; }
.btn.red { background: var(--red); color: #fff; }
.btn.ghost { background: #fff; border: 1.5px solid var(--line-2); color: var(--ink); }
.btn[disabled] { opacity: .6; }
.btn-col > * + * { margin-top: 10px; }
.note { color: var(--ink-2); font-size: .84rem; line-height: 1.45; margin: 8px 0 0; }
.err { background: #fde2e0; color: #b3261e; border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; font-size: .9rem; }
.ok-box { text-align: center; padding: 6px 0; }
.ok-box .big { font-size: 3rem; }
.ok-box h2 { font-weight: 800; }
.code { font-family: ui-monospace, Menlo, monospace; font-weight: 700; font-size: 1.2rem; background: #fff; padding: 6px 12px; border-radius: 10px; display: inline-block; margin: 6px 0 10px; }
.order-row { display: flex; gap: 12px; align-items: center; padding: 12px; background: #fff; border-radius: 14px; margin-bottom: 8px; text-decoration: none; border: 1px solid var(--line); }
.order-row .fl { font-size: 1.5rem; }
.order-row b { display: block; font-weight: 700; }
.order-row small { color: var(--ink-2); }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 80; display: grid; place-items: center; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 100%; }
.toast { position: fixed; left: 50%; bottom: calc(150px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; font-size: .88rem; opacity: 0; pointer-events: none; transition: .2s; z-index: 90; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- lacak ---------- */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin-bottom: 14px; box-shadow: var(--shadow); }
.panel h2 { font-size: 1.1rem; font-weight: 800; margin-bottom: 12px; }
.tl { list-style: none; margin: 0; padding: 0; }
.tl li { position: relative; padding: 0 0 18px 36px; color: var(--muted); }
.tl li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); background: #fff; }
.tl li::after { content: ""; position: absolute; left: 11px; top: 25px; bottom: 2px; width: 2px; background: var(--line-2); }
.tl li:last-child::after { display: none; }
.tl li.done, .tl li.now { color: var(--ink); }
.tl li.done::before { background: var(--ok); border-color: var(--ok); }
.tl li.done::after { background: var(--ok); }
.tl li.now { font-weight: 700; }
.tl li.now::before { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 5px var(--red-soft); }
.tl small { display: block; font-weight: 400; color: var(--ink-2); font-size: .82rem; }
.row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; color: var(--ink-2); }
.row b { color: var(--ink); font-weight: 600; }
.row.total { border-top: 1px dashed var(--line-2); margin-top: 6px; padding-top: 10px; }
.row.total b { color: var(--red); font-weight: 800; font-size: 1.2rem; }
.photos { display: flex; gap: 8px; flex-wrap: wrap; }
.photos img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; cursor: zoom-in; background: var(--bg); }
.badge { display: inline-block; font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.b-ok { background: var(--ok-soft); color: var(--ok); }
.b-bad { background: #fde2e0; color: #b3261e; }
.mini-hero { border-radius: 22px; padding: 22px; color: #fff; margin-bottom: 14px; background: linear-gradient(120deg, color-mix(in srgb, var(--ev) 85%, #000), var(--ev)); position: relative; overflow: hidden; }
.mini-hero .fl { position: absolute; right: 14px; bottom: -14px; font-size: 90px; opacity: .9; }
.mini-hero small { font-weight: 600; letter-spacing: .1em; opacity: .9; font-size: .74rem; }
.mini-hero h1 { font-weight: 800; font-size: 1.7rem; margin: 6px 0 4px; }
/* mobile hero tuning */
@media (max-width: 899px) {
  .hero-in { padding-bottom: 48px; }
  .hero-flag { font-size: 120px; right: -14px; top: 14px; bottom: auto; opacity: .28; transform: rotate(-12deg); }
  .hero-fade { background: linear-gradient(180deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,.88) 60%, rgba(255,255,255,.95) 100%); }
  .trust { gap: 6px 12px; }
  .trust span { font-size: .78rem; }
}
.mini-hero .fl { opacity: .3; font-size: 80px; right: 6px; bottom: -10px; }
.mini-hero > *:not(.fl) { position: relative; z-index: 1; }
.hero h1.long { font-size: clamp(2rem, 6.4vw, 3.9rem); max-width: 14ch; }
.logo-img { width: 44px; height: 44px; flex-shrink: 0; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(239,59,45,.28)); }
