/* ============================================================================
   store.css — หน้าร้าน /<ภาษา>/stores/<slug>/ (แบบ ก รูปปกเต็มกว้าง)
   การ์ดสินค้า หน้าต่างรายละเอียด ช่องค้น ตัวเรียง มาจาก shop.css
   ========================================================================== */

.st-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px; background: linear-gradient(180deg, #E8CD8E, #C49A4E); color: #1A140A; font-size: 12.5px; font-weight: 600; line-height: 1.5; }
.st-badge svg { width: 14px; height: 14px; }
.st-logo-t { display: grid; place-items: center; background: #2A2722; color: #F2D58F; font: 600 48px/1 var(--f-th); }
.st-none { padding: 22px; border-radius: 12px; background: var(--soft); color: var(--muted); }

.sto-cover { height: clamp(180px, 26vw, 320px); overflow: hidden; background: #15120D; }
.sto-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.sto-cover-e { background: #15120D url(/assets/images/city-bkk-dark.svg) center bottom / cover no-repeat; }
.sto-head { border-bottom: 1px solid var(--line); }
.sto-in { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; padding-bottom: 26px; }
.sto-logo { width: 140px; height: 140px; margin-top: -64px; border-radius: 50%; background: #fff; object-fit: cover; box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--gold); position: relative; }
img.sto-logo[src$=".svg"] { object-fit: contain; padding: 12px; }
/* ร้านที่ไม่มีโลโก้: ตัวอักษรแรกของชื่อร้าน บนวงกลมสีเข้ม */
.sto-logo.st-logo-t { background: #2A2722; }
.sto-id { padding-top: 18px; display: grid; gap: 8px; justify-items: start; min-width: 0; }
.sto-id h1 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; overflow-wrap: anywhere; }
.sto-id h1.sto-brand { font-family: var(--f-brand); font-weight: 600; letter-spacing: .04em; }
.sto-desc { max-width: 64ch; color: var(--muted); }
.sto-facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; }
.sto-facts li { display: inline-flex; align-items: center; gap: 7px; }
.sto-facts svg { width: 17px; height: 17px; color: var(--gold-t); }
.sto-back { margin-top: 26px; }
.sto-back a { color: var(--gold-t); font-weight: 600; }
.sto-back a:hover { color: var(--text); }

@media (max-width: 700px) {
  .sto-in { grid-template-columns: 1fr; gap: 0; }
  .sto-logo { width: 104px; height: 104px; margin-top: -52px; }
  .sto-id { padding-top: 12px; }
  .shop-sec .sto-back a { color: var(--gold-l); }
}
