.discovery-intro { padding-block: 40px 24px; max-width: 800px; }
.discovery-intro h1 { max-width: 25ch; letter-spacing: -.025em; }
.discovery-intro p { color: var(--secondary); font-size:1.125rem; }
.filters, .filter-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); align-items: end; }
.filters { background: var(--surface); border: 1px solid var(--divider); border-radius: 16px; padding: 24px; box-shadow: 0 8px 32px #17352c08; }
label { display: grid; gap: 6px; font-weight: 600; }
input, select, button, .button { font: inherit; min-height: 48px; border-radius: 4px; }
input, select { width: 100%; min-width: 0; padding: 10px; background: #fff; color: var(--ink); border: 1px solid var(--secondary); }
button, .button { display: inline-flex; justify-content: center; align-items: center; padding: 10px 16px; border: 1px solid var(--brand); background: var(--brand); color: #fff; text-decoration: none; cursor: pointer; }
button:hover, .button:hover { background: var(--hover); color: #fff; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.more-filters { grid-column: 1 / -1; }
summary { padding-block: 12px; cursor: pointer; min-height: 48px; }
.checkbox { display: flex; gap: 10px; align-items: center; }
.checkbox input { width: 24px; flex-shrink: 0; }
.muted, .map-note { font-size:0.875rem; color: var(--secondary); margin-block: 12px; }
/* Keep result positions stable when private, in-memory distances disappear on Back. */
#geo-status, .distance { min-height: 1.8em; }
.results { display: grid; gap: 24px; padding-block: 16px 32px; }
.shop-card { display: grid; background: #fff; border: 1px solid var(--divider); border-radius: 16px; overflow: hidden; scroll-margin-top: 20px; align-content: start; transition: border-color .15s; }
.shop-card:hover { border-color: var(--brand); }
.shop-art { display: flex; min-height: 64px; padding: 20px 24px; align-items: center; background: #edf1ec; color: var(--secondary); overflow-wrap: anywhere; font-size:0.875rem; border-bottom: 1px solid var(--divider); }
.art-mark { font: 3.25rem/1.2 Georgia, serif; letter-spacing: -.08em; margin-bottom: auto; }
.shop-art strong { font-size:1.25rem; line-height: 1.5; }
.shop-art > span:not(.art-mark) { font-size:0.875rem; }
.shop-cover { display: block; width: 100%; height: 100%; min-height: 220px; max-height: 440px; object-fit: cover; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; }
.gallery figure { flex: 0 0 100%; min-width: 0; margin: 0; scroll-snap-align: start; }
.gallery figcaption { padding: 8px 0; font-size:0.875rem; }
.gallery nav { display: flex; flex-wrap: wrap; gap: 8px; }
.gallery-select { display: inline-flex; align-items: center; min-height: 48px; padding: 8px 16px; border: 1px solid var(--divider); }
.gallery-select[aria-current=true] { background: var(--brand); color: white; }
.shop-address { margin-top: 20px; }
.quick-profile { margin-bottom: 16px; border-block: 1px solid var(--divider); }
.source-detail { color: var(--secondary); margin-bottom: 16px; }
.card-body { padding: 24px; min-width: 0; }
.card-body .profile-link { width: 100%; border-radius: 8px; }
.card-body .eyebrow { text-transform: uppercase; letter-spacing: .05em; }
.offer { border-block: 1px solid var(--divider); padding-block: 14px; }
.offer strong { display: block; color: var(--brand); }
.profile-grid > section { background: #fff; border: 1px solid var(--divider); border-radius: 16px; padding: 24px; align-self: start; }
h3 { font-size:1.375rem; line-height: 1.45; margin-block: 0 12px; overflow-wrap: anywhere; }
.card-body .eyebrow { font-size:0.875rem; }
.offer strong { font-size:1.5rem; }
.profile-grid { display: grid; gap: 32px; }
.profile-grid > * { min-width: 0; }
.profile h1 { overflow-wrap: anywhere; }
.hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.hours-grid dd { margin: 0; }
table { border-collapse: collapse; width: 100%; margin-block: 16px; }
th, td { text-align: start; padding: 12px 6px; border-bottom: 1px solid var(--divider); overflow-wrap: anywhere; }
/* Wrap treatment labels, never split a duration or currency amount across lines. */
.treatment-menu td:nth-child(2), .treatment-menu td:last-child { white-space: nowrap; overflow-wrap: normal; font-variant-numeric: tabular-nums; }
.treatment-menu th:last-child, .treatment-menu td:last-child { text-align: end; }
.contact-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 20px; margin-block: 24px; border: 1px solid var(--divider); background: #fff; }
/* In normal flow on small screens: never covers copy, controls, or attribution. */
.business-owned { margin-top: 32px; }
.business-layout { display: grid; gap: 32px; margin-block: 16px 40px; align-items: start; }
.package-card { background: #fff; border: 1px solid var(--divider); border-radius: 16px; padding: 24px; }
.package-price { font-size: clamp(32px, 5vw, 44px); font-weight: 700; line-height: 1.25; margin-bottom: 0; font-variant-numeric: tabular-nums; }
.business-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-block: 24px; }
.business-actions a { min-height: 48px; display: inline-flex; align-items: center; }
.business-details section + section { border-top: 1px solid var(--divider); padding-top: 24px; margin-top: 24px; }
@media (min-width: 900px) { .business-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; } .package-card { padding: 32px; } }
.area-links { margin-block: 16px; }
@media (min-width: 700px) { .results { grid-template-columns: repeat(2, minmax(0,1fr)); } .profile-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .results { grid-template-columns: repeat(3, 1fr); align-items: start; } .shop-card { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
