/* الموقع العام — يبني على styles.css (الهوية الأموية: أخضر + رقّ + نحاس) */
body.site { padding-bottom: 0; }
.site-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.site-top .logo { text-decoration: none; color: inherit; }
.site-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.site-nav a { color: var(--light-muted); text-decoration: none; font-size: .9rem; padding: 6px 10px; border-radius: 8px; }
.site-nav a:hover, .site-nav a.on { color: var(--copper-light); background: rgba(224, 194, 116, .08); }
.site-langs a { color: var(--light-muted); text-decoration: none; font-size: .78rem; font-weight: 700; padding: 5px 9px; border: 1px solid rgba(224, 194, 116, .25); border-radius: 8px; }
.site-langs a.active { background: var(--copper); color: var(--bg-deep); border-color: var(--copper); }

.site-main { max-width: 980px; margin: 0 auto; padding: 22px 16px 10px; color: var(--light); }
.site-main h1 { font-family: "Amiri", serif; font-size: clamp(1.7rem, 5vw, 2.6rem); line-height: 1.35; color: var(--light); }
.site-main h2 { font-family: "Amiri", serif; font-size: 1.55rem; color: var(--copper-light); margin: 34px 0 14px; }
.site-main h2::after { content: ""; display: block; width: 160px; height: 14px; margin-top: 4px; background: var(--arabesque) left / contain no-repeat; }
[dir="rtl"] .site-main h2::after { background-position: right; }
.lead { color: var(--light-muted); font-size: 1.08rem; line-height: 1.9; max-width: 680px; }
.lead.small { font-size: .98rem; margin-top: 4px; }
.fine { color: var(--light-muted); font-size: .82rem; line-height: 1.8; margin-top: 14px; opacity: .9; }
.empty { color: var(--light-muted); padding: 14px 0; }

.hero { text-align: center; padding: 18px 0 6px; }
.hero h1 { margin: 6px auto 10px; max-width: 760px; }
.hero .lead { margin: 0 auto; }
.hero-logo { width: 104px; height: 104px; border-radius: 24px; filter: drop-shadow(0 10px 26px rgba(0, 0, 0, .3)); }
.stores { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.store-badge { display: flex; align-items: center; gap: 11px; height: 60px; padding: 0 20px; background: #000; border: 1px solid #a6a6a6; border-radius: 12px; color: #fff; text-decoration: none; text-align: start; }
a.store-badge:hover { border-color: #fff; }
.store-badge svg { width: 30px; height: 30px; flex-shrink: 0; }
.store-badge small { display: block; font-size: .62rem; color: #d9d9d9; line-height: 1.1; }
.store-badge b { display: block; font-size: 1.22rem; line-height: 1.2; font-family: system-ui, "Cairo", sans-serif; }
.store-badge.dim { opacity: .65; cursor: default; }

.app-note { max-width: 640px; margin: 24px auto 0; text-align: start; background: var(--bg-card); color: var(--fg); border: 1px solid var(--border-gold); border-radius: var(--radius); padding: 14px 18px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.app-note b { color: var(--green-deep); }
.app-note p { margin-top: 6px; font-size: .9rem; color: var(--fg-muted); line-height: 1.8; }

.stats-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 34px 0 6px; padding: 16px 0; border-block: 1px solid rgba(224, 194, 116, .22); text-align: center; }
.stats-band b { display: block; font-size: clamp(1.3rem, 4vw, 1.9rem); color: var(--copper-light); font-family: system-ui, "Cairo", sans-serif; }
.stats-band span { font-size: .8rem; color: var(--light-muted); }

.steps { list-style: none; display: grid; gap: 12px; padding: 0; }
.steps li, .vd, .faq, .mosque, .country, .city-grid a { background: var(--bg-card); color: var(--fg); border: 1px solid var(--border); border-radius: var(--radius); }
.steps li { padding: 16px 18px; position: relative; }
.steps .n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fbf7ec; font-weight: 800; margin-inline-end: 8px; }
.steps p, .vd p { color: var(--fg-muted); font-size: .9rem; line-height: 1.8; margin-top: 6px; }
.verdicts { display: grid; gap: 12px; }
.vd { padding: 16px 18px; }
.vd b { display: inline-flex; align-items: center; gap: 8px; }
.vd b::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent); }
.vd.halal b { color: var(--halal); }
.vd.haram b { color: var(--haram); }
.vd.mush b { color: var(--mushbooh); }

.mosq-teaser { text-align: center; }
.mosq-teaser h2::after { margin-inline: auto; background-position: center !important; }
.mosq-teaser > p { color: var(--light-muted); }
.country-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0; }
.country { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 10px; text-decoration: none; transition: transform .15s; }
.country:hover, .city-grid a:hover { transform: translateY(-2px); border-color: var(--copper); }
.flag { display: inline-block; width: 40px; height: 27px; border-radius: 4px; box-shadow: 0 1px 3px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(0, 0, 0, .08); margin-bottom: 6px; vertical-align: middle; }
.flag.inline { width: 30px; height: 20px; margin: 0 0 4px; }
.flag.mini { width: 16px; height: 11px; border-radius: 2px; margin: 0; }
.f-nl { background: linear-gradient(#ae1c28 33.3%, #fff 0 66.6%, #21468b 0); }
.f-de { background: linear-gradient(#000 33.3%, #dd0000 0 66.6%, #ffce00 0); }
.f-at { background: linear-gradient(#c8102e 33.3%, #fff 0 66.6%, #c8102e 0); }
.f-be { background: linear-gradient(90deg, #000 33.3%, #fdda24 0 66.6%, #ef3340 0); }
.country small { color: var(--fg-muted); }
.faq { padding: 12px 16px; margin-bottom: 8px; }
.faq summary { font-weight: 700; cursor: pointer; color: var(--green-deep); }
.faq p { margin-top: 8px; color: var(--fg-muted); line-height: 1.8; font-size: .92rem; }
.cta { text-align: center; margin: 40px 0 10px; padding: 26px 16px; border-radius: 18px; background: rgba(224, 194, 116, .07); border: 1px solid rgba(224, 194, 116, .2); }
.cta h2 { margin-top: 0; }
.cta h2::after { margin-inline: auto; background-position: center !important; }

.crumbs { font-size: .82rem; color: var(--light-muted); margin-bottom: 10px; }
.crumbs a { color: var(--copper-light); text-decoration: none; }
.mq-search { display: flex; gap: 8px; margin: 18px 0 10px; }
.mq-search input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-card); color: var(--fg); font: inherit; }
.mq-search .btn, .near-btn { width: auto; padding-inline: 18px; margin: 0; }
.btn.outline.near-btn { color: var(--light); border-color: rgba(224, 194, 116, .45); }
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.city-grid a { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 10px 12px; text-decoration: none; transition: transform .15s; }
.city-grid b { font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.city-grid small { color: var(--fg-muted); white-space: nowrap; font-size: .78rem; }
.mq-list { display: grid; gap: 10px; margin-top: 14px; }
.mosque { padding: 14px 16px; }
.mq-head { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.mq-head h3 { font-size: 1rem; color: var(--green-deep); }
.mq-km { font-size: .8rem; color: var(--copper-dark); font-weight: 700; white-space: nowrap; }
.mq-addr { color: var(--fg-muted); font-size: .86rem; margin-top: 4px; }
.mq-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mq-btn { font-size: .82rem; font-weight: 700; text-decoration: none; padding: 7px 14px; border-radius: 999px; background: var(--green); color: #fbf7ec; }
.mq-btn.ghost { background: transparent; color: var(--green-deep); border: 1px solid var(--green); }

.site-foot { max-width: 980px; }
.osm-attr { font-size: .75rem; color: var(--light-muted); margin-bottom: 10px; }
.osm-attr a { font-size: .75rem; }

@media (min-width: 760px) {
  .steps, .verdicts { grid-template-columns: repeat(3, 1fr); }
  .country-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px) {
  .site-nav { order: 3; width: 100%; margin: 0; justify-content: center; }
  .mq-search { flex-wrap: wrap; }
  .mq-search .btn { flex: 1; }
  .near-btn { width: 100%; }
}

/* المحلات والمطاعم (إعلانات مدفوعة) */
.shops-teaser { text-align: center; }
.shops-teaser h2::after { margin-inline: auto; background-position: center !important; }
.shops-teaser > p { color: var(--light-muted); margin-bottom: 14px; }
.btn.on-dark { display: inline-block; width: auto; padding-inline: 22px; color: var(--light); border-color: rgba(224, 194, 116, .5); text-decoration: none; }
.btn.on-dark:hover { background: rgba(224, 194, 116, .1); }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 4px; }
.chip { font-size: .82rem; text-decoration: none; background: transparent; color: var(--light); border: 1px solid rgba(224, 194, 116, .3); padding: 6px 12px; border-radius: 999px; }
.chip.on, .chip:hover { background: var(--copper); color: var(--bg-deep); border-color: var(--copper); }
.shop-grid { display: grid; gap: 12px; margin-top: 18px; }
.shop { background: var(--bg-card); color: var(--fg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.shop-img { width: 100%; height: 180px; object-fit: cover; display: block; background: var(--bg-elevated); }
.shop-body { padding: 14px 16px; }
.shop-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.shop-head h2 { font-family: "Cairo", sans-serif; font-size: 1.05rem; color: var(--green-deep); margin: 0; }
.shop-head h2::after { display: none; }
.ad-tag { font-size: .68rem; font-weight: 700; color: var(--copper-dark); border: 1px solid var(--border-gold); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.shop-note { font-size: .88rem; color: var(--fg-muted); line-height: 1.7; margin-top: 6px; }
.shop-empty { margin-top: 22px; padding: 26px 22px; border: 1px dashed rgba(224, 194, 116, .45); border-radius: 18px; text-align: center; }
.shop-empty h2 { margin: 0 0 8px; }
.shop-empty h2::after { margin-inline: auto; background-position: center !important; }
.shop-empty p { color: var(--light-muted); line-height: 1.9; max-width: 560px; margin: 0 auto; }
.adv-band { display: grid; gap: 18px; margin: 34px 0 10px; padding: 24px 20px; border-radius: 18px; background: var(--bg-card); color: var(--fg); border: 1px solid var(--border); box-shadow: 0 12px 30px rgba(0, 0, 0, .2); }
.adv-band h2 { margin-top: 0; color: var(--green-deep); }
.adv-band p { color: var(--fg-muted); line-height: 1.8; }
.adv-points { margin: 12px 0 0; padding-inline-start: 18px; color: var(--fg-muted); line-height: 2; font-size: .92rem; }
.adv-points li::marker { color: var(--copper); }
.adv-price { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 18px; border-radius: 14px; background: var(--bg-elevated); text-align: center; }
.adv-price b { font-size: 2.6rem; line-height: 1; color: var(--green-deep); font-family: system-ui, "Cairo", sans-serif; }
.adv-price span { color: var(--fg-muted); font-size: .9rem; }
.adv-price small { color: var(--fg-muted); font-size: .8rem; margin: 6px 0 10px; }
.adv-price .btn { width: auto; padding-inline: 22px; text-decoration: none; }
.adv-mail { font-size: .8rem; color: var(--green-deep); margin-top: 8px; }
:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 3px; }
@media (min-width: 760px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-band { grid-template-columns: 1.5fr 1fr; padding: 30px; }
}
