/* ส่วนเพิ่มสำหรับเว็บจริง (ใช้ token เดียวกับ styles.css) */
.authbox{max-width:460px;margin:48px auto;padding:32px;display:flex;flex-direction:column;gap:16px}
.authbox h1{margin:0;font-size:34px}
.muted{color:var(--p-muted)}
.err{background:#fde9e3;color:#9a2f16;border-radius:12px;padding:10px 14px;font-size:14px}
.ok{background:var(--mint-soft);border-radius:12px;padding:10px 14px;font-size:14px}
.menu{position:relative}
.menu-pop{position:absolute;right:0;top:calc(100% + 8px);background:#fff;border:1px solid var(--line-c);border-radius:14px;box-shadow:0 12px 32px rgba(35,35,35,.14);min-width:220px;padding:6px;display:flex;flex-direction:column;z-index:40}
.menu-pop a,.menu-pop button{display:block;text-align:left;padding:11px 14px;border-radius:10px;text-decoration:none;color:var(--p-ink);background:none;border:0;font-size:15px;min-height:44px}
.menu-pop a:hover,.menu-pop button:hover{background:var(--p-surface)}
.order{border:1px solid var(--line-c);border-radius:var(--r);padding:20px;display:flex;flex-direction:column;gap:14px}
.order-h{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;align-items:center}
.order-items{display:flex;flex-wrap:wrap;gap:12px}
.order-items div{display:flex;gap:10px;align-items:center;min-width:220px}
.order-items img{width:52px;height:65px;object-fit:cover;border-radius:10px;background:var(--p-surface)}
.pay{display:flex;flex-wrap:wrap;gap:20px;align-items:center;background:var(--p-surface);border-radius:14px;padding:16px}
.pay img.qrimg{width:170px;height:170px;object-fit:contain;background:#fff;border-radius:12px}
.upl{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px}
.upl figure{margin:0;display:flex;flex-direction:column;gap:6px}
.upl img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:12px;background:var(--p-surface)}
.upl select{min-height:40px;font-size:13px;padding:0 8px}
.skeleton{background:var(--p-surface);border-radius:var(--r);min-height:200px}
.row-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.row-actions input{width:180px;min-height:40px}
.st-payment_submitted{background:#fff3cd;color:#7a5200}.st-pending_payment{background:#fde9e3;color:#9a2f16}.st-paid{background:#e7eefb;color:#1e3f8a}.st-cancelled{background:#ececec;color:#555}.st-completed{background:var(--p-accent);color:var(--p-ink)}
.st-active{background:var(--p-accent);color:var(--p-ink)}.st-reserved{background:#fff3cd;color:#7a5200}.st-sold{background:#232323;color:#fff}.st-hidden,.st-draft{background:#ececec;color:#555}
.st-approved{background:var(--p-accent);color:var(--p-ink)}.st-rejected,.st-suspended{background:#ececec;color:#555}
.empty{padding:48px;text-align:center;color:var(--p-muted);background:var(--p-surface);border-radius:var(--r)}

/* ===== ชุดที่ 1: หัวใจ / แถบหน้าแรก / หาตัวที่ใส่ได้ / หน้าร้าน ===== */
.pcw{position:relative;min-width:0}
.pcw .ov{position:absolute;left:0;right:0;top:0;aspect-ratio:4/5;pointer-events:none;z-index:2}
.fav{pointer-events:auto;position:absolute;right:10px;bottom:10px;width:44px;height:44px;border-radius:50%;border:0;background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:center;color:var(--p-ink);box-shadow:0 2px 8px rgba(35,35,35,.12);transition:transform .18s var(--ease)}
.fav:hover{transform:scale(1.08)}
.fav:active{transform:scale(.92)}
.fav.inl{position:static;background:var(--p-surface);box-shadow:none}
section.s.rs{padding:36px 0 4px}
section.s.rs+section.s.rs{padding-top:12px}
section.s.rs+section.s#shop{margin-top:36px}
.rs .sec-h{margin-bottom:20px}
.rs .sec-h h2{font-size:clamp(24px,2.6vw,34px)}
.rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(170px,220px);gap:18px;overflow-x:auto;padding-bottom:14px;scroll-snap-type:x proximity;scrollbar-width:thin}
.rail>.pcw{scroll-snap-align:start}
.rail:focus-visible{outline:2px solid var(--p-ink);outline-offset:4px;border-radius:8px}
.fitbox{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;padding:14px 18px;margin:-12px 0 28px;border-radius:var(--r);background:var(--mint-soft);font-size:14px}
.fitbox .muted{flex:1 1 220px}
.fitbox label{display:flex;align-items:center;gap:8px;white-space:nowrap}
.fitbox input{width:76px;min-height:40px;padding:0 10px;border:1px solid var(--line-c);border-radius:10px;background:#fff;font:inherit}
img.av{object-fit:cover;background:var(--p-surface)}
.av-xl{width:96px;height:96px;font-size:28px}
.contact{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.btn.line{background:#06c755;border-color:#06c755;color:#fff}
.store{padding-top:36px}
.store-h{display:grid;grid-template-columns:auto 1fr auto;gap:24px;align-items:center;padding:28px;border-radius:var(--r);background:var(--p-surface)}
.store-h h1{margin:2px 0 0;font-size:clamp(30px,3.4vw,44px)}
.store-h p{margin:6px 0 0;color:var(--p-muted)}
.store-h .facts{margin-top:14px}
.store-c{flex-direction:column;align-items:stretch}
@media (max-width:860px){
  .store-h{grid-template-columns:1fr;gap:16px;padding:20px}
  .store-h .facts{gap:20px}
  .store-h .facts b{font-size:22px}
  .store-c{grid-column:1/-1;flex-direction:row;flex-wrap:wrap}
  .av-xl{width:72px;height:72px;font-size:22px}
  .bnav{grid-template-columns:repeat(5,1fr)!important}
  .rail{grid-auto-columns:minmax(150px,44vw)}
}
