@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("/fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("/fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("/fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url("/fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url("/fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
:root { --brand: #47195F; --brand-2: #2E0F3E; --orange: #FF6600; --peach: #FFB27A; --navy: #050D2C; --ink: #1F1A24; --muted: #5E566A; --line: #E2DDE8; --soft: #F1EBF5; --bg: #F5F3F7; --card: #FFFFFF; --ok: #1E5B2C; --ok-bg: #E3F2E6; --warn: #6B4205; --warn-bg: #FCEFD9; --bad: #A12828; --r: 14px; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.45 "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }
a { color: var(--brand); } a:hover { color: var(--brand-2); }
h1, h2, h3, .ps { font-family: Poppins, system-ui, sans-serif; letter-spacing: -.01em; }
h1 { font-size: 24px; margin: 0; } h2 { font-size: 19px; margin: 0; } h3 { font-size: 16px; margin: 0; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
.hint { color: var(--muted); font-size: 14px; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.top { position: sticky; top: 0; z-index: 20; background: var(--card); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 6px 16px; padding-top: max(6px, env(safe-area-inset-top)); }
.logo img { display: block; width: 124px; height: 48px; object-fit: contain; }
.top-acts { display: flex; gap: 2px; }
.icon-btn { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 10px; border-radius: 10px; text-decoration: none; font-weight: 600; color: var(--brand); }
.icon-btn:hover { background: var(--soft); }
@media (max-width: 560px) { .hide-sm { display: none; } }
.hero { background: var(--brand); color: #fff; }
.hero .wrap { padding-top: 22px; padding-bottom: 22px; display: flex; flex-direction: column; gap: 10px; }
.hero h1 { font-size: 26px; line-height: 1.15; }
.hero p { margin: 0; color: #E9DDF2; font-size: 15px; }
.search { display: flex; gap: 8px; }
.search input { flex: 1; min-height: 46px; border-radius: 12px; border: 0; padding: 0 14px; font-size: 16px; background: #fff; color: var(--ink); }
.btn { min-height: 46px; border-radius: 12px; border: 1px solid var(--brand); background: #fff; color: var(--brand); font-weight: 600; padding: 0 16px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; text-align: center; line-height: 1.2; }
.btn:hover { background: var(--soft); }
.btn.p { background: var(--brand); color: #fff; } .btn.p:hover { background: var(--brand-2); }
.btn.o { background: var(--orange); border-color: var(--orange); color: var(--navy); }
.btn.wa { background: #1F8B4C; border-color: #1F8B4C; color: #fff; }
.btn.sm { min-height: 38px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.btn[disabled] { opacity: .5; cursor: default; }
.btn .sub { display: block; font-weight: 400; font-size: 12.5px; opacity: .9; }
.sec { padding: 18px 0 6px; }
.sec-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; gap: 10px; }
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.cat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); min-height: 98px; }
.cat:hover { border-color: var(--brand); color: var(--ink); }
.cat b { font-family: Poppins, sans-serif; font-size: 15px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px; }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.tile:hover { border-color: var(--brand); color: var(--ink); }
.tile .ph { aspect-ratio: 1 / 1; background: var(--soft); display: flex; align-items: center; justify-content: center; color: #7A7085; font-size: 13px; position: relative; }
.tile .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile .tx { padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.tile b { font-size: 15px; line-height: 1.25; }
.price { font-family: Poppins, sans-serif; font-weight: 600; color: var(--brand); }
.chip { display: inline-block; font-size: 12px; font-weight: 600; border-radius: 99px; padding: 2px 9px; white-space: nowrap; align-self: flex-start; }
.c-ok { background: var(--ok-bg); color: var(--ok); } .c-warn { background: var(--warn-bg); color: var(--warn); } .c-p { background: var(--soft); color: var(--brand); } .c-n { background: #ECEAF0; color: #4A4452; }
.play { position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 0, .62); color: #fff; border-radius: 99px; font-size: 12px; font-weight: 600; padding: 2px 8px; }
.pills { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; }
.pill { min-height: 38px; border: 1px solid #BDB3C9; border-radius: 99px; padding: 0 13px; background: #fff; font-weight: 600; font-size: 14px; cursor: pointer; }
.pill.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.bar { background: var(--card); border-bottom: 1px solid var(--line); }
.bar .wrap { padding-top: 6px; padding-bottom: 10px; }
.back { min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; text-decoration: none; }
.muted-box { background: var(--soft); border-radius: 12px; padding: 10px 12px; color: var(--brand); font-size: 14.5px; }
.empty { text-align: center; padding: 30px 10px; color: var(--muted); }
.item { display: grid; gap: 18px; padding: 12px 0 30px; }
@media (min-width: 860px) { .item { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; } }
.gal { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.gal-main { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: #111; }
.gal-main::-webkit-scrollbar { display: none; }
.gal-main > * { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.gal-main img, .gal-main video { width: 100%; height: 100%; object-fit: contain; display: block; background: #111; }
.gal-main button { border: 0; padding: 0; background: none; cursor: zoom-in; width: 100%; height: 100%; }
.gal-no { background: var(--soft) !important; color: #7A7085; }
.thumbs { display: flex; gap: 6px; padding: 8px; overflow-x: auto; }
.thumbs button { flex: none; width: 64px; height: 64px; border-radius: 8px; border: 2px solid transparent; padding: 0; overflow: hidden; background: var(--soft); cursor: pointer; position: relative; }
.thumbs button.on { border-color: var(--brand); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-foot { display: flex; justify-content: space-between; align-items: center; padding: 0 10px 10px; gap: 8px; }
.info { display: flex; flex-direction: column; gap: 12px; }
.info .big-price { font-family: Poppins, sans-serif; font-size: 28px; font-weight: 700; color: var(--brand); line-height: 1.1; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.kv { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 6px 10px; margin: 0; font-size: 15px; }
.kv dt { color: var(--muted); margin: 0; } .kv dd { margin: 0; font-weight: 600; }
.acts { display: flex; flex-direction: column; gap: 8px; }
.acts .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.foot { background: var(--navy); color: #E8E9F0; margin-top: 30px; }
.foot .wrap { padding-top: 22px; padding-bottom: 28px; padding-bottom: max(28px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.foot b { font-family: Poppins, sans-serif; color: #fff; }
.foot a { color: var(--peach); font-weight: 600; }
.foot .small { font-size: 13px; color: #B9BCCB; margin-top: 6px; }
.sheet { position: fixed; inset: 0; z-index: 50; background: rgba(31, 26, 36, .5); display: flex; align-items: flex-end; justify-content: center; }
.sheet-in { background: #fff; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; border-radius: 18px 18px 0 0; padding: 18px 16px 22px; padding-bottom: max(22px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .sheet { align-items: center; } .sheet-in { border-radius: 18px; } }
.sheet-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.x { width: 44px; height: 44px; border: 0; background: none; font-size: 22px; cursor: pointer; color: var(--muted); flex: none; }
.f { display: flex; flex-direction: column; gap: 4px; }
.f label { font-size: 14px; font-weight: 600; color: #4A4452; }
.f input, .f select, .f textarea { min-height: 46px; border: 1px solid #BDB3C9; border-radius: 12px; padding: 0 12px; background: #fff; font-size: 16px; }
.f textarea { padding: 10px 12px; min-height: 90px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus, .search input:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.err { color: var(--bad); font-size: 14.5px; min-height: 1em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.steps { display: flex; flex-direction: column; gap: 10px; }
.step { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.dot { width: 24px; height: 24px; border-radius: 99px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.lightbox { position: fixed; inset: 0; z-index: 60; background: #000; display: flex; flex-direction: column; }
.lightbox .lb-img { flex: 1; overflow: auto; display: flex; align-items: center; justify-content: center; touch-action: pinch-zoom; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox .lb-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; padding-top: max(10px, env(safe-area-inset-top)); color: #fff; gap: 8px; }
.lightbox .lb-bar a, .lightbox .lb-bar button { color: #fff; background: rgba(255, 255, 255, .14); border: 0; min-height: 44px; border-radius: 10px; padding: 0 14px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; cursor: pointer; }
.loading { padding: 40px 16px; text-align: center; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; z-index: 70; font-weight: 600; max-width: 90vw; }
[hidden] { display: none !important; }

/* ====================== v2.9.0: the new look (same as the app) ====================== */
:root { --brand: #47195F; --deep: #2A0E3A; --bg: #F6F6F7; --line: #E5E3E8; --muted: #5D5766; --ink: #18141D; --price: #2A0E3A; }
.hero { background: var(--deep); }
.hero .wrap { padding-top: 26px; padding-bottom: 22px; }
.hero h1 { font-size: clamp(26px, 6vw, 34px); }
.trust { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: #E9DDF2; }
.trust li { display: inline-flex; align-items: center; gap: 5px; }
.trust svg { color: #9EE6BC; }
.cat { border-radius: 16px; }
.tile { border-radius: 16px; }
.tile .ph { background: #F1EFF3; }
.grade { position: absolute; left: 8px; top: 8px; background: #FFFFFF; color: #1D7A4A; border-radius: 99px; font-size: 12px; font-weight: 700; padding: 2px 9px; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.price { color: var(--price); }
.info .big-price { color: var(--price); }
.foot { background: var(--deep); }
.foot a { color: #FFB27F; }
.fab-wa { position: fixed; right: 16px; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 40; min-height: 52px; padding: 0 18px; border-radius: 99px; background: #1D7A4A; color: #FFFFFF; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }
.fab-wa:hover { background: #17633C; color: #FFFFFF; }
body { padding-bottom: 70px; }
@media (max-width: 380px) { .fab-wa span { display: none; } .fab-wa { padding: 0 14px; } }
/* receipt check page */
.narrow { max-width: 560px; display: flex; flex-direction: column; gap: 14px; padding-top: 18px; padding-bottom: 20px; }
.ck { background: var(--card, #FFFFFF); border: 1px solid var(--line); border-radius: 20px; padding: 26px 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.ck-ic { width: 66px; height: 66px; border-radius: 50%; background: #E6F4EC; color: #1D7A4A; display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 800; }
.ck-no .ck-ic { background: #FCEBE9; color: #B3261E; }
.ck h1 { font-size: 22px; }
.ck p { margin: 0; color: var(--muted); }
.kv dt.sep, .kv dd.sep { border-top: 1px solid var(--line); margin: 4px 0; }
