/* Free business page (templates/business.php), Gate 12b — owner-approved mockup 2026-12-05. Loaded after
   directory.css (shared header, footer, buttons, chips, tiles). Phone column, centred up to 640px on desktop. */
body.bhnd { background: var(--bg); }
.g-main.biz { max-width: 640px; margin: 0 auto; padding: 0 0 8px; }
.biz .crumb { font-size: 12px; color: var(--muted); padding: 12px 16px 0; display: flex; gap: 6px; flex-wrap: wrap; }
.biz .crumb a { color: var(--muted); text-decoration: none; }
.biz .crumb a:hover { color: var(--brand2); }
.biz .crumb b { color: var(--ink); font-weight: 500; }
.biz .crumb .sep { opacity: .6; }

.hero-card, .biz .sec { margin: 12px 16px 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.biz .sec { padding: 16px; }
.hero-card .tile.av { width: 60px; height: 60px; border-radius: 16px; }
.hero-card .tile.av .ico-svg { width: 28px; height: 28px; }
.hero-card h1 { font-size: 22px; font-weight: 700; line-height: 1.3; }
.hero-card .meta { font-size: 13px; color: var(--muted); margin-top: 3px; }
.hero-card .chips { margin-top: 14px; }
.hero-card .chips .chip { font-size: 12px; padding: 5px 10px; border: 0; background: var(--soft); }
.hero-card .chips .chip.open { background: var(--open-bg); }
.hero-card .chips .chip.closed { background: var(--closed-bg); }
.hero-card .chips .chip.partner { background: var(--brand); }
.hero-card .bhnd-partner { margin-top: 16px; width: 100%; }
.hero-card .acts { margin-top: 16px; }
.hero-card .bhnd-partner + .acts { margin-top: 8px; }
.biz .mini { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.biz .mini a { font-size: 13px; color: var(--brand2); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.biz .mini a:hover { text-decoration: underline; }

.biz .sec h2, .biz .near h2 { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.biz .row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.biz .sec > .row:first-of-type, .biz .branch > .row:first-of-type { border-top: 0; padding-top: 0; }
.biz .row > span { min-width: 0; overflow-wrap: anywhere; }
.biz .row small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.biz .row a { color: var(--brand2); text-decoration: none; }
.biz .row.link a { font-weight: 500; }
.biz .desc { font-size: 14px; color: var(--ink); line-height: 1.7; }
.biz .hours { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; font-size: 13px; }
.biz .hours .t { color: var(--muted); text-align: end; }
.biz .hours .today { font-weight: 600; color: var(--ink); }
.biz .hours em { font-style: normal; font-weight: 500; color: var(--open); }
.biz .branch { padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--line); scroll-margin-top: 70px; }
.biz .branch:first-of-type { padding-top: 0; margin-top: 0; border-top: 0; }
.biz .branch h3 { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.biz .branch .hours { margin-top: 8px; }
.biz .blinks { display: flex; gap: 16px; margin-top: 10px; font-size: 13px; }
.biz .blinks a { color: var(--brand2); font-weight: 500; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.biz .blinks a.wa { color: var(--wa); }
.biz [data-branch].hl { box-shadow: 0 0 0 2px var(--sky); border-radius: 12px; }
.biz .ph { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.biz .ph a { display: block; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: var(--soft); }
.biz .ph img { width: 100%; height: 100%; object-fit: cover; }
.biz .ph + .row { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.biz .about p + p { margin-top: 8px; }

.biz .claim { margin: 12px 16px 0; border: 1px dashed #c9d8dc; border-radius: 16px; padding: 14px; display: flex; gap: 12px; align-items: center; background: #fafcfc; }
.biz .claim p { font-size: 13px; line-height: 1.6; flex: 1; min-width: 0; }
.biz .claim p b { display: block; font-size: 14px; }
.biz .claim a { font-size: 13px; font-weight: 600; color: var(--brand); border: 1.5px solid var(--brand); border-radius: 10px; padding: 8px 12px; white-space: nowrap; text-decoration: none; }

.biz .near { margin: 20px 0 0; padding: 0 16px; }
.biz .near h2 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.biz .near h2 a { font-size: 13px; color: var(--brand2); font-weight: 500; text-decoration: none; }
.biz .hs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 4px; scroll-snap-type: x proximity; }
.biz .hs::-webkit-scrollbar { display: none; }
.biz .nc { flex: none; width: 150px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; text-decoration: none; color: inherit; scroll-snap-align: start; }
.biz .nc .tile { width: 36px; height: 36px; border-radius: 10px; margin-bottom: 10px; }
.biz .nc .tile .ico-svg { width: 18px; height: 18px; }
.biz .nc b { font-size: 13px; display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.biz .nc small { font-size: 12px; color: var(--muted); display: block; }

.biz .own { margin: 20px 16px 0; border-radius: 16px; padding: 16px; background: linear-gradient(135deg, #f3f8f9, #eaf3f5); border: 1px solid var(--line); font-size: 13px; color: var(--muted); line-height: 1.7; }
.biz .own b { color: var(--ink); font-size: 14px; display: block; }
.biz .own a { color: var(--brand); font-weight: 600; }

@media (min-width: 700px) {
	.g-main.biz { padding-top: 8px; }
	.biz .hs { margin: 0; padding: 0 0 4px; }
}
/* Photos (Dashboard → Photos / صور المكان) + embedded map */
.biz .ph.gal a { aspect-ratio: 1 / 1; }
.biz .ph.gal a:first-child { grid-column: span 2; grid-row: span 2; }
.biz .bmap { height: 240px; border-radius: 14px; overflow: hidden; background: var(--soft); border: 1px solid var(--line); z-index: 0; position: relative; }
@media (min-width: 720px) { .biz .bmap { height: 320px; } }

/* Cover (first photo, Dashboard → Photos): top of the hero card, edge to edge. Owner item 6, 2026-12-05. */
.hero-card.has-cover { padding-top: 0; overflow: hidden; }
.hero-card .hcover { margin: 0 -18px 14px; aspect-ratio: 16 / 7; background: var(--soft); }
.hero-card .hcover img { width: 100%; height: 100%; object-fit: cover; display: block; }
