/* am24Shops: pet shops directory. Colours/spacing from css/am24/tokens.css only. Buttons reuse .am24-btn (e2-listing.css). */
.am24s { font-family: var(--am24-font); color: var(--am24-text); }
.am24s h2 { font-size: 20px; font-weight: var(--am24-fw-head); margin: 0 0 var(--am24-s2); line-height: 1.3; }
.am24s p { line-height: 1.6; }
.am24s a { color: var(--am24-accent); }
.am24s-lead { font-size: 17px; max-width: 760px; margin: 0 0 var(--am24-s3); color: var(--am24-text); }
.am24s-note { font-size: var(--am24-fs-sm); color: var(--am24-muted); margin: var(--am24-s3) 0; }

/* boxes */
.am24s-box { background: var(--am24-surface); border: 1px solid var(--am24-border); border-radius: var(--am24-radius); padding: var(--am24-s3); margin: 0 0 var(--am24-s3); }
.am24s-box > :last-child { margin-bottom: 0; }

/* hub: emirate cards */
.am24s-cities { list-style: none; margin: 0 0 var(--am24-s4); padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--am24-s2); }
.am24s-cities li { margin: 0; }
.am24s-city { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: var(--am24-s3); background: var(--am24-surface); border: 1px solid var(--am24-border); border-radius: var(--am24-radius); text-decoration: none; color: var(--am24-text) !important; transition: box-shadow .15s, border-color .15s; }
a.am24s-city:hover { border-color: var(--am24-accent); box-shadow: var(--am24-shadow-hover); }
.am24s-city__name { font-size: 20px; font-weight: 700; }
.am24s-city__count { font-weight: 600; color: var(--am24-accent); }
.am24s-city__areas { font-size: var(--am24-fs-sm); color: var(--am24-muted); }
.am24s-city--soon { background: var(--am24-surface-2); border-style: dashed; }
.am24s-city--soon .am24s-city__count { color: var(--am24-muted); font-weight: 500; }
.am24s-claim__btn { width: auto !important; display: inline-flex !important; margin-top: var(--am24-s1) !important; }

/* city: area chips */
.am24s-areas { display: flex; flex-wrap: wrap; gap: var(--am24-s1); margin: 0 0 var(--am24-s4); }
.am24s-areas a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: var(--am24-radius-pill); background: var(--am24-surface); border: 1px solid var(--am24-border); color: var(--am24-text) !important; text-decoration: none; font-size: var(--am24-fs-sm); font-weight: 600; }
.am24s-areas a:hover { border-color: var(--am24-accent); background: var(--am24-tint); }
.am24s-areas a span { color: var(--am24-muted); font-weight: 500; }

/* groups + cards */
.am24s-group { margin: 0 0 var(--am24-s4); scroll-margin-top: calc(var(--am24-header-h) + 16px); }
.am24s-group h2 a { color: inherit; }
.am24s-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--am24-s2); }
.am24s-card { display: flex; flex-direction: column; gap: 12px; padding: var(--am24-s2) var(--am24-s2) 20px; background: var(--am24-surface); border: 1px solid var(--am24-border); border-radius: var(--am24-radius); transition: box-shadow .15s, border-color .15s; }
.am24s-card:hover { border-color: var(--am24-border-strong); box-shadow: var(--am24-shadow-hover); }
.am24s-card__link { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--am24-text) !important; }
.am24s-card__text { display: flex; flex-direction: column; min-width: 0; }
.am24s-card__name { font-weight: 700; font-size: 17px; line-height: 1.3; }
.am24s-card__link:hover .am24s-card__name { color: var(--am24-accent); text-decoration: underline; }
.am24s-card__area { font-size: var(--am24-fs-sm); color: var(--am24-muted); }
.am24s-card__today { margin: 0; font-size: var(--am24-fs-sm); }
.am24s-card__actions { display: flex; gap: var(--am24-s1); margin-top: auto; }
.am24s-card__actions .am24-btn { flex: 1 1 0; min-width: 0; min-height: 44px; font-size: 15px; padding: 0 10px; }

.am24s-tile { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--am24-radius); background: var(--am24-tint); color: var(--am24-accent); font-weight: 700; font-size: 20px; }
.am24s-tile--lg { width: 64px; height: 64px; font-size: 28px; }

.am24s-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.am24s-chips li { margin: 0; padding: 4px 10px; border-radius: var(--am24-radius-pill); background: var(--am24-surface-2); font-size: var(--am24-fs-xs); font-weight: 600; }

/* shop profile */
.am24s-pcard { background: var(--am24-surface); border: 1px solid var(--am24-border); border-radius: var(--am24-radius); padding: var(--am24-s3); margin: 0 0 var(--am24-s3); }
.am24s-pcard__head { display: flex; align-items: center; gap: var(--am24-s2); margin-bottom: var(--am24-s2); }
.am24s-pcard__sub { margin: 0; font-weight: 600; }
.am24s-pcard__today { margin: 0; color: var(--am24-muted); font-size: var(--am24-fs-sm); }
.am24s-pcard__src { margin: var(--am24-s2) 0 0; font-size: var(--am24-fs-sm); color: var(--am24-muted); }
.am24s-actions { display: flex; flex-wrap: wrap; gap: var(--am24-s1); }
.am24s-actions .am24-btn { width: auto; flex: 0 1 auto; }
.am24s-pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--am24-s2); margin-bottom: var(--am24-s3); }
.am24s-pgrid .am24s-box { margin: 0; }
.am24s-h2-gap { margin-top: var(--am24-s3) !important; }
.am24s-hours { width: 100%; border-collapse: collapse; font-size: var(--am24-fs-sm); }
.am24s-hours th, .am24s-hours td { text-align: left; padding: 6px 0; border-bottom: 1px solid var(--am24-border); vertical-align: top; }
.am24s-hours th { font-weight: 600; padding-right: 12px; }
.am24s-hours tr:last-child th, .am24s-hours tr:last-child td { border-bottom: 0; }
.am24s-online { list-style: none; margin: 0; padding: 0; }
.am24s-online li { margin: 0 0 6px; }
.am24s-about p { max-width: 760px; }
.am24s-all { margin: var(--am24-s2) 0 0; font-weight: 600; }
.am24s-links ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.am24s-links li { margin: 0; }

@media (max-width: 1023px) {
    .am24s-pgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
    .am24s-pgrid { grid-template-columns: 1fr; }
    .am24s-box, .am24s-pcard { padding: var(--am24-s2); }
    .am24s-actions .am24-btn { flex: 1 1 100%; }
    .am24s-grid { grid-template-columns: 1fr; }
    .am24s-lead { font-size: 16px; }
}

/* Nova colours every content <a> button green; keep the outline style for secondary actions */
.am24s a.am24-btn--call { background: var(--am24-surface) !important; color: var(--am24-accent) !important; border: 2px solid var(--am24-accent) !important; }
.am24s a.am24-btn--call:hover { background: var(--am24-tint) !important; }
.am24s a.am24-btn--primary { background: var(--am24-accent) !important; color: #fff !important; border: 2px solid var(--am24-accent) !important; }
.am24s a.am24-btn--primary:hover { background: var(--am24-accent-hover) !important; border-color: var(--am24-accent-hover) !important; }

/* ---------------- 1.1.0: photos, search, filters, icons ---------------- */
/* Icon colours per shop type (soft fill + strong stroke). Local to this plugin; the green pair comes from tokens.css */
.am24s { --am24s-fish-bg: #E3F0F7; --am24s-fish: #2B6A8C; --am24s-bird-bg: #FBF1D3; --am24s-bird: #8A6A12; --am24s-groom-bg: #F4E6EF; --am24s-groom: #8C3A6B; --am24s-vet-bg: #E7EEF9; --am24s-vet: #2F5597; }
.am24s svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.am24s-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--am24-tint); color: var(--am24-accent); }
.am24s-ico svg { width: 24px; height: 24px; }
.am24s-ico--lg { width: 64px; height: 64px; border-radius: 18px; }
.am24s-ico--lg svg { width: 32px; height: 32px; }
.am24s-ico--fish { background: var(--am24s-fish-bg); color: var(--am24s-fish); }
.am24s-ico--bird { background: var(--am24s-bird-bg); color: var(--am24s-bird); }
.am24s-ico--groom { background: var(--am24s-groom-bg); color: var(--am24s-groom); }
.am24s-ico--vet { background: var(--am24s-vet-bg); color: var(--am24s-vet); }
.am24s-h2 { font-size: 22px !important; margin: var(--am24-s4) 0 var(--am24-s2) !important; }

/* hero (hub + city): lead, search box, stats; city pages get the emirate photo behind a green veil */
.am24s-hero { position: relative; border-radius: var(--am24-radius); background: var(--am24-forest); color: #fff; padding: var(--am24-s4); margin: 0 0 var(--am24-s3); }
.am24s-hero--photo { background: linear-gradient(90deg, rgba(28, 51, 36, .94) 0%, rgba(28, 51, 36, .82) 45%, rgba(28, 51, 36, .35) 100%), var(--am24s-photo) center / cover no-repeat, var(--am24-forest); min-height: 200px; display: flex; flex-direction: column; justify-content: center; }
.am24s-hero .am24s-lead { color: #fff; max-width: 620px; margin-bottom: var(--am24-s2); }
.am24s-search { position: relative; max-width: 620px; }
.am24s-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--am24-muted); pointer-events: none; }
.am24s-search input { width: 100%; height: 52px; padding: 0 16px 0 48px; border: 0; border-radius: var(--am24-radius-pill); background: #fff; color: var(--am24-text); font: 500 16px var(--am24-font); box-shadow: 0 4px 16px rgba(0, 0, 0, .15); outline: none; box-sizing: border-box; }
.am24s-search input:focus { box-shadow: 0 0 0 3px var(--am24-cream), 0 4px 16px rgba(0, 0, 0, .15); }
.am24s-stats { list-style: none; margin: var(--am24-s3) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--am24-on-forest); font-size: var(--am24-fs-sm); }
.am24s-stats li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.am24s-stats strong { color: #fff; }
.am24s-stats svg { color: var(--am24-cream); }

/* hub: emirate photo cards */
.am24s-city { padding: 0; overflow: hidden; }
.am24s-city__img { display: block; aspect-ratio: 19 / 10; overflow: hidden; background: var(--am24-surface-2); }
.am24s-city__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
a.am24s-city:hover .am24s-city__img img { transform: scale(1.04); }
.am24s-city__body { display: flex; flex-direction: column; gap: 4px; padding: var(--am24-s2) var(--am24-s3) var(--am24-s3); }
.am24s-city__go { margin-top: 8px; font-weight: 600; color: var(--am24-accent); font-size: var(--am24-fs-sm); }
.am24s-cities { margin-bottom: var(--am24-s2); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.am24s-soon { font-size: var(--am24-fs-sm); color: var(--am24-muted); margin: 0 0 var(--am24-s2); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.am24s-soon strong { color: var(--am24-text); }
.am24s-soon span { padding: 4px 12px; border-radius: var(--am24-radius-pill); border: 1px dashed var(--am24-border-strong); }

/* hub: browse by what they sell */
.am24s-types { list-style: none; margin: 0 0 var(--am24-s4); padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.am24s-types li { margin: 0; }
.am24s-type { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: var(--am24-s2) 8px; background: var(--am24-surface); border: 1px solid var(--am24-border); border-radius: var(--am24-radius); cursor: pointer; font-family: var(--am24-font); color: var(--am24-text); transition: border-color .15s, box-shadow .15s; }
.am24s-type:hover, .am24s-type.is-on { border-color: var(--am24-accent); box-shadow: var(--am24-shadow-hover); }
.am24s-type.is-on { background: var(--am24-tint); }
.am24s-type__label { font-weight: 700; font-size: 15px; text-align: center; }
.am24s-type__count { font-size: var(--am24-fs-xs); color: var(--am24-muted); }

/* hub: search results */
.am24s-results { background: var(--am24-surface); border: 1px solid var(--am24-border); border-radius: var(--am24-radius); padding: var(--am24-s2) var(--am24-s3); margin: 0 0 var(--am24-s3); scroll-margin-top: calc(var(--am24-header-h) + 16px); }
.am24s-results__head { display: flex; justify-content: space-between; align-items: center; gap: var(--am24-s2); margin-bottom: 12px; }
.am24s-results__clear, .am24s-reset { background: none; border: 0; padding: 6px 0; color: var(--am24-accent); font: 600 var(--am24-fs-sm) var(--am24-font); cursor: pointer; text-decoration: underline; }
.am24s-results__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 4px 16px; }
.am24s-results__list li { margin: 0; }
.am24s-results__list a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; text-decoration: none; color: var(--am24-text) !important; }
.am24s-results__list a:hover { background: var(--am24-bg); }
.am24s-results__list .am24s-ico { width: 40px; height: 40px; border-radius: 12px; }
.am24s-results__list .am24s-ico svg { width: 20px; height: 20px; }

/* shop logos (1.2.0): the shop's own logo on a white tile, icon when there is none */
.am24s-logo { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 88px; height: 56px; padding: 6px; border: 1px solid var(--am24-border); border-radius: 12px; background: #fff; overflow: hidden; }
.am24s-logo img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.am24s-logo--lg { width: 144px; height: 88px; padding: 8px; border-radius: 16px; }
.am24s-results__list .am24s-logo { width: 64px; height: 40px; padding: 4px; border-radius: 10px; }
.am24s-results__name { display: block; font-weight: 700; }
.am24s-results__where { display: block; font-size: var(--am24-fs-sm); color: var(--am24-muted); }
.am24s-results__more { margin: 12px 0 0; font-size: var(--am24-fs-sm); color: var(--am24-muted); }

.am24s-two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--am24-s2); }
.am24s-two .am24s-box { margin: 0; }
.am24s-credit { font-size: var(--am24-fs-xs); color: var(--am24-muted); margin: var(--am24-s3) 0 0; }
.am24s-credit a { color: var(--am24-muted) !important; }

/* city: filter chips, area jump list, count */
.am24s-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 var(--am24-s2); }
.am24s-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: var(--am24-radius-pill); background: var(--am24-surface); border: 1px solid var(--am24-border-strong); color: var(--am24-text); font: 600 var(--am24-fs-sm) var(--am24-font); cursor: pointer; }
.am24s-chip span { color: var(--am24-muted); font-weight: 500; }
.am24s-chip:hover { border-color: var(--am24-accent); }
.am24s-chip.is-on { background: var(--am24-accent); border-color: var(--am24-accent); color: #fff; }
.am24s-chip.is-on span { color: var(--am24-on-forest); }
.am24s-areas-wrap { margin: 0 0 var(--am24-s2); }
.am24s-areas-wrap summary { cursor: pointer; font-weight: 600; color: var(--am24-accent); padding: 6px 0; }
.am24s-areas-wrap summary span { color: var(--am24-muted); font-weight: 500; }
.am24s-areas-wrap .am24s-areas { margin: 12px 0 0; }
.am24s-count { font-size: var(--am24-fs-sm); color: var(--am24-muted); margin: 0 0 var(--am24-s2); }
.am24s-none { padding: var(--am24-s3); background: var(--am24-surface); border: 1px dashed var(--am24-border-strong); border-radius: var(--am24-radius); text-align: center; }
.am24s-group[hidden], .am24s-card[hidden] { display: none !important; }

/* cards: small inline icons */
.am24s-card__area, .am24s-card__today { display: flex; align-items: center; gap: 6px; }
.am24s-card__area svg, .am24s-card__today svg { width: 14px; height: 14px; color: var(--am24-muted); }
.am24s-open { color: var(--am24-accent); font-weight: 700; }

@media (max-width: 767px) {
    .am24s-hero { padding: var(--am24-s3) var(--am24-s2); }
    .am24s-hero--photo { background: linear-gradient(180deg, rgba(28, 51, 36, .78) 0%, rgba(28, 51, 36, .92) 100%), var(--am24s-photo) center / cover no-repeat, var(--am24-forest); }
    .am24s-two { grid-template-columns: 1fr; }
    .am24s-types { grid-template-columns: repeat(2, 1fr); }
    .am24s-filters { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(-1 * var(--am24-gutter)); margin-right: calc(-1 * var(--am24-gutter)); padding: 0 var(--am24-gutter) 4px; scrollbar-width: none; }
    .am24s-filters::-webkit-scrollbar { display: none; }
    .am24s-chip { flex: none; }
}

/* ---------------- 1.3.0: search dropdown (hub), vets ---------------- */
.am24s-dd { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 8px); max-height: min(440px, 60vh); overflow-y: auto; padding: 8px; background: var(--am24-surface); border: 1px solid var(--am24-border); border-radius: var(--am24-radius); box-shadow: 0 12px 32px rgba(0, 0, 0, .18); color: var(--am24-text); text-align: left; }
.am24s-dd[hidden] { display: none; }
.am24s-dd__label { margin: 4px 8px 4px !important; font-size: var(--am24-fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--am24-muted); }
.am24s-dd__item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; text-decoration: none; color: var(--am24-text) !important; }
.am24s-dd__item:hover, .am24s-dd__item.is-active { background: var(--am24-tint); }
.am24s-dd .am24s-ico { width: 40px; height: 40px; border-radius: 12px; }
.am24s-dd .am24s-ico svg { position: static; transform: none; width: 20px; height: 20px; color: inherit; }
.am24s-dd .am24s-logo { width: 64px; height: 40px; padding: 4px; border-radius: 10px; }
.am24s-dd__all { display: block; width: 100%; margin-top: 4px; padding: 10px 8px; border: 0; border-top: 1px solid var(--am24-border); background: none; text-align: left; color: var(--am24-accent); font: 600 var(--am24-fs-sm) var(--am24-font); cursor: pointer; }
.am24s-dd__empty { margin: 8px !important; color: var(--am24-muted); font-size: var(--am24-fs-sm); }
.am24s-24 { color: var(--am24-accent); font-weight: 700; }
.am24s-card__em { margin: 0; font-size: var(--am24-fs-sm); }
