/* =========================================================
   دُغري / DOGHREE — where we deliver
   /areas, /governorates/{gov}, /areas/{slug}, /store/{slug} and the home FAQ.
   Tokens, buttons and the page head come from landing.css and pages.css.
   ========================================================= */

.dg-places { padding-block: clamp(32px, 5vw, 64px) clamp(48px, 6vw, 88px); display: grid; gap: clamp(32px, 5vw, 56px); }
.dg-psec { display: grid; gap: 16px; }
.dg-psec__h { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.01em; }
.dg-psec__h small { display: block; margin-top: 6px; font-family: var(--dg-font-body); font-size: 15.2px; font-weight: 700; color: var(--dg-muted); letter-spacing: 0; }
.dg-psec__lead { color: var(--dg-muted); max-width: 66ch; }
.dg-psec__note { color: var(--dg-muted); font-size: 15.2px; }
.dg-psec p a, .dg-psec__lead a { text-decoration: underline; text-decoration-color: var(--dg-yellow-deep); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* the short "about this area" paragraph */
.dg-pintro { max-width: 70ch; font-size: clamp(16.8px, 1.6vw, 18.4px); line-height: 1.9; }
.dg-pintro p + p { margin-top: .7em; }

/* a governorate block on /areas */
.dg-govs { display: grid; gap: 20px; }
.dg-gov { padding: clamp(18px, 3vw, 28px); border-radius: var(--dg-r-lg); background: var(--dg-paper); border: 1px solid var(--dg-line); display: grid; gap: 14px; }
.dg-gov__top { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; justify-content: space-between; }
.dg-gov__h { font-size: clamp(22px, 2.6vw, 30px); }
.dg-gov__meta { color: var(--dg-muted); font-size: 15.2px; font-weight: 700; }
.dg-gov__more { font-weight: 800; text-decoration: underline; text-decoration-color: var(--dg-yellow-deep); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* lists of places as chips */
.dg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dg-chips a, .dg-chips span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--dg-line); font-size: 15.2px; line-height: 1.3; }
.dg-chips a { font-weight: 700; transition: background .2s, border-color .2s; }
.dg-chips a:hover { background: var(--dg-yellow-soft, #FFF1C7); border-color: var(--dg-ink); }
.dg-chips small { color: var(--dg-muted); font-weight: 400; font-size: 13.6px; }
.dg-chips--quiet span { background: transparent; }

/* landmarks grouped by type */
.dg-marks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.dg-mark-group { padding: 16px 18px; border-radius: var(--dg-r); background: var(--dg-paper); border: 1px solid var(--dg-line); }
.dg-mark-group h3 { font-family: var(--dg-font-body); font-weight: 800; font-size: 16px; margin-bottom: 6px; }
.dg-mark-group ul { display: grid; gap: 4px; color: #2B2924; font-size: 15.2px; }

/* store cards */
.dg-stores { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.dg-scard { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 14px 16px; border-radius: var(--dg-r); background: #fff; border: 1px solid var(--dg-line); transition: transform .2s var(--dg-ease), box-shadow .2s var(--dg-ease), border-color .2s; }
.dg-scard:hover { transform: translateY(-2px); box-shadow: var(--dg-shadow); border-color: var(--dg-ink); }
.dg-scard__ico { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--dg-yellow); }
.dg-scard__ico img { width: 48px; height: 48px; border-radius: 14px; object-fit: cover; }
.dg-scard b { font-size: 16.8px; line-height: 1.35; overflow-wrap: anywhere; }
.dg-scard span { color: var(--dg-muted); font-size: 14.4px; }

/* call to action band (light) */
.dg-pcta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.dg-pcta .dg-btn { min-height: 52px; }

/* the two "join" cards */
.dg-pjoin { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dg-pjoin__card { display: grid; gap: 6px; align-content: start; padding: 22px; border-radius: var(--dg-r-lg); background: var(--dg-ink); color: var(--dg-chalk); }
.dg-pjoin__card h2 { font-size: clamp(20px, 2.4vw, 26px); color: var(--dg-yellow); }
.dg-pjoin__card p { color: var(--dg-muted-dark); font-size: 15.2px; }
.dg-pjoin__card .dg-btn { justify-self: start; margin-top: 10px; }

/* store page: facts, hours, products */
.dg-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.dg-fact { padding: 16px 18px; border-radius: var(--dg-r); background: var(--dg-paper); border: 1px solid var(--dg-line); }
.dg-fact dt { color: var(--dg-muted); font-size: 14.4px; font-weight: 700; }
.dg-fact dd { margin: 4px 0 0; font-weight: 800; font-size: 16.8px; }
.dg-fact dd a { text-decoration: underline; text-decoration-color: var(--dg-yellow-deep); text-underline-offset: 4px; }
.dg-hours { width: 100%; max-width: 520px; border-collapse: collapse; font-size: 15.2px; }
.dg-hours :where(th, td) { padding: 8px 10px; border-bottom: 1px dashed var(--dg-line); text-align: start; }
.dg-hours th { font-weight: 700; }
.dg-hours td { direction: ltr; text-align: end; font-variant-numeric: tabular-nums; }
.dg-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.dg-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--dg-line); }
.dg-item img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--dg-sand); }
.dg-item span { font-size: 15.2px; line-height: 1.4; overflow-wrap: anywhere; }
.dg-item b { white-space: nowrap; font-size: 15.2px; }
.dg-closed { padding: 12px 16px; border-radius: 14px; background: var(--dg-sand); font-weight: 700; }
.dg-storehead { display: flex; gap: 16px; align-items: center; }
.dg-storehead img { width: 72px; height: 72px; border-radius: 20px; object-fit: cover; border: 2px solid var(--dg-ink); background: #fff; }

@media (max-width: 720px) {
  .dg-pjoin { grid-template-columns: minmax(0, 1fr); }
  .dg-pcta .dg-btn { width: 100%; }
}
