/**
 * site.css — styles for kpgold.co.th
 * Sections: tokens · base · header · layout · price card · analysis · chart ·
 *           calendar · services/branches/footer · responsive (≤960px, ≤640px)
 * Fonts (Google Fonts, max weight 600): Cinzel (KP GOLD), Chonburi (Thai shop
 * name), Kanit (prices/headings), IBM Plex Sans Thai (body), Noto Sans Myanmar.
 */

/* ---------- design tokens ---------- */
:root {
  --red-dark: #4f0c0c;    /* top bar (phones + languages) */
  --red: #7a1414;         /* brand red: logo bar, links */
  --gold: #ddbf5f;        /* UI gold (brand gold tinted 20% lighter): tab bar, LINE button, badges */
  --gold-brand: #d4af37;  /* original brand gold, kept only for the "KP GOLD" wordmark */
  --gold-hover: #e4cb7c;  /* LINE button hover (slightly lighter than --gold) */
  --ink: #1c1917;         /* main text */
  --muted: #5f5a55;       /* secondary text (passes 4.5:1 on white) */
  --line: #e7e1d6;        /* card borders */
  --line-soft: #efe9df;   /* dividers inside cards */
  --cream: #f6f3ee;       /* gold bar header row, info tiles */
  --cream-gold: #fbf3e0;  /* ornament header row */
  --up: #00a63e;          /* price up vs previous close */
  --down: #e10600;        /* price down vs previous close */
  --font: 'IBM Plex Sans Thai', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-num: 'Kanit', var(--font);
}

/* ---------- base ---------- */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; font-size: 16px; line-height: 1.55; }
b, strong, th { font-weight: 600; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
img { max-width: 100%; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
[hidden] { display: none !important; }

/* ---------- header: dark bar → red brand bar (logo, LINE, watermark) → gold tab bar ---------- */
.site-header { color: #fff; }
.bar-top { background: var(--red-dark); }
.bar-top-in { padding-top: 10px; padding-bottom: 10px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; font-size: 14px; }
.bar-top a { color: #fff; }
.langs { display: flex; gap: 4px; }
.langs a, .langs span { padding: 4px 12px; border-radius: 999px; color: #fff; text-decoration: none; }
.langs [aria-current] { background: var(--gold); color: var(--ink); font-weight: 600; }
.langs .soon { opacity: .6; cursor: default; }
.langs .my { font-family: 'Noto Sans Myanmar', sans-serif; }

.bar-brand { background: var(--red); position: relative; overflow: hidden; }
.watermark { position: absolute; top: 0; bottom: 0; right: calc(max(24px, (100% - 1240px) / 2 + 24px) + 195px); width: 230px; overflow: hidden; pointer-events: none; }
.watermark img { position: absolute; left: 0; top: -36px; width: 420px; height: 393px; max-width: none; opacity: .5; }
.bar-brand-in { position: relative; padding-top: 22px; padding-bottom: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; }
.brand { display: flex; align-items: center; gap: 28px; color: #fff; text-decoration: none; min-width: 0; }
.brand:hover { color: #fff; }
.brand-logo { flex: 0 0 auto; width: 89px; height: 83px; object-fit: contain; display: block; filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)); }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-en { font-family: 'Cinzel', serif; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 38px; line-height: 1.05; color: var(--gold-brand); }
.brand-th { font-family: 'Chonburi', serif; font-size: 18px; line-height: 1.6; }
.line-btn { flex: 0 0 auto; display: inline-flex; gap: 6px; align-items: center; background: var(--gold); color: var(--ink); text-decoration: none; font-weight: 600; padding: 12px 20px; border-radius: 8px; }
.line-btn:hover { color: var(--ink); background: var(--gold-hover); }

.bar-nav { background: var(--gold); }
.tabs { display: flex; flex-wrap: wrap; }
.tabs a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 14px 22px; display: inline-flex; align-items: center; }
.tabs a[aria-current] { background: var(--ink); color: #fff; }
.tabs a:not([aria-current]):hover { background: rgba(0,0,0,.08); }

/* ---------- homepage layout: left column (price, analysis) + right column (chart, calendar) ---------- */
.home { padding-top: 32px; padding-bottom: 48px; display: flex; gap: 28px; align-items: flex-start; }
.col-left { flex: 1.9 1 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.col-right { flex: 1 1 0; min-width: 320px; display: flex; flex-direction: column; gap: 20px; }
.card { border: 1px solid var(--line); border-radius: 16px; background: #fff; }
h1, h2 { font-family: var(--font-num); font-weight: 600; }
h2 { margin: 0; font-size: 24px; line-height: 1.2; }

/* ---------- price card: two tables (gold bar / ornament), info tiles, share, notes ---------- */
.price-card { overflow: hidden; }
.price-head { padding: 22px 26px 14px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 16px; }
.price-head h1 { margin: 0; font-size: 34px; line-height: 1.1; }
.asof { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.badge { font-weight: 600; padding: 6px 14px; border-radius: 999px; font-size: 15px; background: var(--cream); }
.badge.up { background: #e6f7ec; color: var(--up); }
.badge.down { background: #fde8e7; color: var(--down); }

.ptable { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 17px; }
.c-name { width: 40%; } .c-val { width: 30%; }
.ptable thead tr { font-size: 14px; }
.th-bar { background: var(--cream); }
.th-orn { background: var(--cream-gold); }
.ptable thead th, .ptable thead td { padding: 8px 26px; text-align: right; font-weight: 500; color: var(--muted); }
.ptable tbody th { text-align: left; padding: 14px 26px; vertical-align: top; font-weight: 600; font-size: 18px; line-height: 1.35; }
.ptable .unit { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.ptable .note { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.ptable tbody td { text-align: right; padding: 14px 26px; vertical-align: top; }
.pv { font-family: var(--font-num); font-size: 30px; font-weight: 600; line-height: 1.2; }
.pd { font-size: 13px; font-weight: 600; min-height: 1.3em; }
.up { color: var(--up); } .down { color: var(--down); }
.ptable-gap { height: 10px; border-top: 1px solid var(--line-soft); }

.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 14px 26px 0; border-top: 1px solid var(--line-soft); }
.mini { background: var(--cream); border-radius: 12px; padding: 14px 18px; }
.mini-l { font-size: 14px; color: var(--muted); }
.mini-v { font-family: var(--font-num); font-size: 24px; font-weight: 500; }

.price-foot { padding: 14px 26px 20px; display: flex; flex-direction: column; gap: 14px; }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.share-l { font-size: 14px; color: var(--muted); margin-right: 2px; }
.sh { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.sh svg { width: 22px; height: 22px; }
.sh:hover { color: #fff; filter: brightness(.92); }
.sh-fb { background: #1877f2; } .sh-line { background: #06c755; } .sh-x { background: #000; }
.save-card { min-height: 44px; padding: 0 16px; margin-left: 4px; border-radius: 8px; border: 0; background: var(--ink); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.save-card:disabled { opacity: .6; cursor: progress; }
.notes { font-size: 14px; color: #3f3a36; line-height: 1.5; max-width: 600px; }
.notes ul { margin: 4px 0 0; padding-left: 20px; }
.notes li { margin: 2px 0; }

/* ---------- latest analysis articles ---------- */
.analysis-card { padding: 20px 22px 8px; background: #fbf7ec; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.sec-head a { font-size: 14px; padding: 10px 0; }
.ana-item { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid #ebe1c8; }
.ana-thumb { flex: 0 0 64px; height: 64px; border-radius: 10px; background: #f3e6c4; object-fit: cover; }
.ana-meta { font-size: 13px; color: var(--muted); }
.ana-title { color: var(--ink); font-weight: 600; text-decoration: none; line-height: 1.4; }
.empty { margin: 0; padding: 14px 0; border-top: 1px solid #ebe1c8; color: var(--muted); }
.disclaimer { margin: 4px 0 10px; padding-top: 10px; border-top: 1px solid #ebe1c8; font-size: 12px; color: var(--muted); }

/* ---------- chart card: slide tabs, range buttons, chart area, prev/next + dots ---------- */
.chart-card { padding: 22px 26px; }
.chart-sub { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.chart-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.chart-tabs button { min-height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.chart-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.slides { touch-action: pan-y; }
.ranges { display: inline-flex; margin-top: 14px; background: var(--cream); border-radius: 10px; padding: 4px; gap: 2px; }
.ranges button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; }
.ranges button[aria-selected="true"] { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.lw-chart { height: 300px; margin-top: 16px; }
.chart-empty { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.credit { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.tv-box { height: 380px; margin-top: 12px; }
.chart-nav { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; }
.round-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.round-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dots-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.dots { display: flex; gap: 6px; }
.dots span { width: 8px; height: 8px; border-radius: 4px; background: #d9d2c5; transition: width .2s; }
.dots span.on { width: 22px; background: var(--red); }
.swipe-hint { font-size: 12px; color: var(--muted); }

/* ---------- economic calendar (TradingView widget) ---------- */
.cal-card { padding: 20px 22px 16px; }
.cal-sub { margin: 2px 0 10px; font-size: 13px; color: var(--muted); }
.tv-cal { height: 460px; border-radius: 10px; overflow: hidden; }

/* ---------- services list, branch cards, footer ---------- */
.services { background: var(--cream); }
.services .wrap, .branches .wrap { padding-top: 48px; padding-bottom: 48px; }
.services h2, .branches h2 { font-size: 30px; }
.svc-sub { margin: 2px 0 16px; color: var(--muted); }
.services ul { margin: 0; padding-left: 22px; font-size: 17px; line-height: 1.5; }
.services li { margin: 6px 0; }
.services li span { color: var(--muted); }
.branches h2 { margin-bottom: 20px; }
.branch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.branch { border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.branch h3 { margin: 0; font-size: 20px; }
.branch-th { margin: 2px 0 10px; color: var(--red); font-size: 20px; font-weight: 600; line-height: 1.3; }
.branch p { font-size: 15px; margin: 0; }
.map-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; font-weight: 600; }

.site-footer { background: var(--ink); color: #e7e1d6; font-size: 14px; }
.site-footer a { color: #e7e1d6; }
.foot-in { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }


/* ---------- inner pages: title band + breadcrumb ---------- */
.page-hero { background: var(--cream); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-top: 40px; padding-bottom: 36px; }
.crumbs { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.page-hero h1 { margin: 0; font-size: 44px; line-height: 1.1; }
.lead { margin: 12px 0 0; font-size: 18px; max-width: 760px; color: var(--muted); }

/* ---------- contact page: branch cards, map, hours, online channels ---------- */
.contact { padding-top: 32px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 24px; }
.sunday-note { order: 2; margin: 0; padding: 10px 14px; background: var(--cream-gold); border-radius: 10px; font-size: 15px; }
.branch-cards { order: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.online { order: 3; }
.bcard { min-width: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.bmap { height: 340px; background: #e8eef6; display: flex; align-items: center; justify-content: center; }
.bmap iframe { width: 100%; height: 100%; border: 0; display: block; }
/* Storefront photo (same box size as the map); links to Google Maps */
.bphoto { position: relative; display: block; height: 340px; overflow: hidden; background: #e8eef6; }
.bphoto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 85%; display: block; } /* keep the vertical shop sign in view */
.bphoto--ck img { object-position: 50% 35%; } /* Chonkasem photo: keep the main red sign in view */
.bphoto-cta { position: absolute; right: 12px; bottom: 12px; background: #fff; color: var(--red); font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.bphoto:hover .bphoto-cta { background: var(--cream-gold); }
.bmap-fallback { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.bbody { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 16px; }
.bcard h2 { font-size: 28px; }
.bname { margin: 4px 0 0; color: var(--red); font-size: 20px; font-weight: 600; }
.baddr { margin: 0; font-size: 17px; }
.bknown { margin: 0; font-size: 15px; padding: 10px 14px; background: var(--cream-gold); border-radius: 10px; }
.bphones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bphones a { background: var(--cream); border-radius: 10px; padding: 10px 14px; color: var(--ink); text-decoration: none; }
.bphones a:hover { background: #efe9df; color: var(--ink); }
.bphones span { display: block; font-size: 13px; color: var(--muted); }
.bphones strong { font-size: 18px; font-weight: 600; }
.bcard h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
.hours { width: 100%; border-collapse: collapse; font-size: 16px; }
.hours tr { border-top: 1px solid var(--line-soft); }
.hours th { text-align: left; padding: 8px 0; font-weight: 500; }
.hours td { text-align: right; padding: 8px 0; font-weight: 600; }
.hours td.closed { color: #b91c1c; }
.hours tr.today { background: #fff8e6; }
.today-tag { font-size: 12px; font-weight: 600; background: var(--gold); color: var(--ink); padding: 1px 8px; border-radius: 999px; margin-left: 4px; }
.bservices { margin: 0; font-size: 15px; color: var(--muted); }
.bactions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.btn-primary, .btn-outline { min-height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 10px; text-decoration: none; font-weight: 600; text-align: center; padding: 0 10px; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-outline { border: 1px solid var(--red); color: var(--red); }
.btn-outline:hover { background: #fdf3f3; }
.online h2 { font-size: 28px; margin-bottom: 12px; }
.online-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.ochan { flex: 1 1 220px; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); }
.ochan:hover { border-color: var(--gold); color: var(--ink); }
.oicon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; }
.oicon svg { width: 22px; height: 22px; }
.oi-line { background: #06c755; } .oi-fb { background: #1877f2; } .oi-tt { background: #000; }
.olabel { display: block; font-size: 13px; color: var(--muted); }
.ochan strong { font-weight: 600; }

/* ---------- gold-info guide page: tables, type cards, price illustration, FAQ ---------- */
.guide { padding-top: 36px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 40px; font-size: 17px; line-height: 1.7; }
.guide > * { max-width: 860px; } /* readable line length; left-aligned with the header content */
.guide h2 { font-size: 28px; margin-bottom: 12px; }
.guide p { margin: 0 0 12px; }
.guide p:last-child { margin-bottom: 0; }
.guide .small { margin-top: 10px; font-size: 14px; color: var(--muted); }
.gtable-box { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; max-width: 640px; }
.gtable { width: 100%; border-collapse: collapse; font-size: 16px; }
.gtable thead tr { background: var(--cream); color: var(--muted); font-size: 14px; }
.gtable th, .gtable td { padding: 10px 16px; }
.gtable thead th { font-weight: 500; }
.gtable tbody tr { border-top: 1px solid var(--line-soft); }
.gtable-3 { table-layout: fixed; }                               /* weight table: 3 equal centered columns with dividers */
.gtable-3 th, .gtable-3 td { text-align: center; }
.gtable-3 th + th, .gtable-3 td { border-left: 1px solid var(--line); }
.gtable-left th, .gtable-left td { text-align: left; }           /* purity table */
.gtable .k { font-weight: 400; color: var(--muted); }
.type-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.type-card { border-radius: 14px; padding: 18px 20px; background: var(--cream); }
.type-card.orn { background: var(--cream-gold); }
.type-card h3 { margin: 0 0 6px; font-size: 20px; font-family: var(--font-num); font-weight: 600; }
.type-card ul { margin: 0; padding-left: 20px; }
/* numbered red circle shared by the illustration and its legend */
.callout { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.ann { margin: 0 0 22px; }
.ann-box { border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; max-width: 680px; }
.ann-top { background: var(--ink); color: #fff; padding: 12px 16px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.ann-title { font-weight: 600; }
.ann-when { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.ann-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.ann-table .a-name { width: 40%; } .ann-table .a-val { width: 30%; }
.ann-h { font-size: 14px; color: var(--muted); }
.ann-h.bar { background: var(--cream); } .ann-h.orn { background: var(--cream-gold); }
.ann-h td { padding: 8px 16px; }
.ann-lbl { display: flex; align-items: center; justify-content: flex-end; gap: 6px; font-weight: 600; }
.ann-table th { text-align: left; padding: 12px 16px; font-weight: 600; }
.ann-v { padding: 12px 16px; text-align: right; font-family: var(--font-num); font-size: 24px; font-weight: 500; }
.ann-foot { border-top: 1px solid var(--line-soft); padding: 10px 16px; display: flex; align-items: center; gap: 8px; font-size: 15px; }
.ann-foot .up { font-weight: 600; }
.ann figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.legend { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.legend > div { display: grid; grid-template-columns: 34px 130px minmax(0, 1fr); align-items: start; }
.legend dt { font-weight: 600; }
.legend dd { margin: 0; }
.faq-item { border-top: 1px solid var(--line-soft); padding: 14px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line-soft); }
.faq-item summary { font-weight: 600; font-size: 17px; cursor: pointer; min-height: 28px; }
.faq-item p { margin: 8px 0 0; color: var(--muted); }
.guide-cta { background: var(--cream-gold); border-radius: 16px; padding: 20px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.guide-cta p { margin: 0; }
.guide-cta-btns { display: grid; grid-template-columns: repeat(2, minmax(140px, 1fr)); gap: 10px; }

/* ---------- tablet: single column, ordered price → chart → analysis → calendar ---------- */
@media (max-width: 960px) {
  .home { flex-direction: column; align-items: stretch; gap: 20px; }
  .col-left, .col-right { display: contents; }
  .price-card { order: 1; } .chart-card { order: 2; } .analysis-card { order: 3; } .cal-card { order: 4; }
  .branch-cards { grid-template-columns: 1fr; }
}

/* ---------- phone: compact header, 2-line LINE button, smaller prices ---------- */
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .bar-top-in { font-size: 13px; }
  .phones .sep { display: none; }
  .watermark { right: 0; width: 160px; }
  .watermark img { width: 300px; height: 281px; top: -20px; }
  .bar-brand-in { padding-top: 14px; padding-bottom: 14px; gap: 10px; }
  .brand { gap: 14px; }
  .brand-logo { width: 66px; height: 62px; }
  .brand-en { font-size: 28px; }
  .brand-th { font-size: 15px; white-space: nowrap; }
  .brand-extra { display: none; }
  .line-btn { flex-direction: column; gap: 0; width: 80px; min-height: 44px; padding: 4px 6px; font-size: 13px; line-height: 1.25; justify-content: center; }
  .line-btn .colon { display: none; }
  .tabs { flex-wrap: nowrap; padding-left: 0; padding-right: 0; }
  .tabs a { flex: 1 1 auto; justify-content: center; padding: 12px 6px; white-space: nowrap; font-size: 14px; } /* all 4 tabs fit at 360px+ */

  .home { padding-top: 16px; padding-bottom: 32px; }
  .price-head { padding: 18px 16px 12px; }
  .price-head h1 { font-size: 28px; }
  .asof { font-size: 14px; }
  .ptable thead th, .ptable thead td, .ptable tbody th, .ptable tbody td { padding-left: 12px; padding-right: 12px; }
  .c-name { width: 30%; } .c-val { width: 35%; }
  .ptable thead th, .ptable thead td, .ptable tbody td { padding-left: 6px; }
  .ptable tbody th { font-size: 14px; }
  .pv { font-size: 19px; }
  .ptable .note { display: none; }
  .mini-grid { grid-template-columns: 1fr; gap: 8px; padding: 12px 16px 0; }
  .mini { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; }
  .mini-v { font-size: 20px; }
  .price-foot { padding: 14px 16px 18px; }
  .chart-card { padding: 18px 16px; }
  .ranges { display: flex; width: 100%; }
  .ranges button { flex: 1; padding: 0 6px; }
  .lw-chart { height: 260px; }
  .analysis-card, .cal-card { padding-left: 16px; padding-right: 16px; }
  .services h2, .branches h2 { font-size: 26px; }
  .services .wrap, .branches .wrap { padding-top: 36px; padding-bottom: 36px; }
  .branch-grid { grid-template-columns: 1fr; }

  .page-hero .wrap { padding-top: 24px; padding-bottom: 22px; }
  .page-hero h1 { font-size: 32px; }
  .lead { font-size: 16px; }
  .contact { padding-top: 16px; padding-bottom: 36px; gap: 16px; }
  .sunday-note { order: 0; font-size: 14px; }
  .bmap, .bphoto { height: 240px; }
  .bbody { padding: 16px; gap: 12px; }
  .bcard h2 { font-size: 22px; }
  .bname { font-size: 17px; }
  .baddr { font-size: 15px; }
  .bknown { font-size: 14px; }
  .bphones strong { font-size: 16px; }
  .hide-sm { display: none; }
  .online h2 { font-size: 24px; }

  .guide { padding-top: 20px; padding-bottom: 36px; gap: 32px; font-size: 16px; }
  .guide h2 { font-size: 24px; }
  .type-grid { grid-template-columns: 1fr; }
  .gtable th, .gtable td { padding: 9px 10px; }
  .ann-top { padding: 10px 12px; }
  .ann-h td, .ann-table th, .ann-v { padding-left: 10px; padding-right: 10px; }
  .ann-v { font-size: 18px; }
  .ann-table .a-name { width: 30%; } .ann-table .a-val { width: 35%; }
  .legend > div { grid-template-columns: 34px minmax(0, 1fr); }
  .legend dd { grid-column: 2; }
  .guide-cta { padding: 16px; }
  .guide-cta-btns { width: 100%; grid-template-columns: 1fr 1fr; }
}
