/* Store directory: shared visual language with individual store pages. */
.stores-page { padding: 24px 0 64px; color: #181918; }
.stores-page [hidden] { display: none !important; }
.stores-page .shop-calendar__icon { width: 20px; height: 20px; flex: 0 0 20px; }
.stores-breadcrumb { display: flex; gap: 14px; color: #797b75; font-size: 13px; margin-bottom: 36px; }
.stores-page .stores-breadcrumb a { color: inherit; }
.stores-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.stores-eyebrow { margin: 0 0 10px; color: #6e7068; font-size: 11px; font-weight: 600; letter-spacing: .16em; }
.stores-heading h1 { margin: 0; font-size: clamp(28px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.035em; line-height: 1.2; }
.stores-intro { margin: 12px 0 0; font-size: 15px; color: #73756d; line-height: 1.6; }
.stores-view { display: flex; gap: 4px; padding: 4px; border: 1px solid #e2e1dc; border-radius: 12px; flex-shrink: 0; background: #f7f7f5; }
.stores-view button { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px 18px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #65665f; font: inherit; font-size: 13px; cursor: pointer; }
.stores-view button[aria-selected='true'] { color: #181918; background: #fff; border-color: #e2e1dc; box-shadow: 0 1px 3px #00000006; font-weight: 600; }
.stores-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.store-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid #d6d5cd; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 4px 16px #23251d08; }
.stores-page a.store-card__photo { display: flex; align-items: center; justify-content: center; aspect-ratio: 1.8; overflow: hidden; background: #f4f3ee; color: #6e7068; border-bottom: 1px solid #e8e7e2; }
.store-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.store-card__photo:hover img { transform: scale(1.025); }
.store-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.store-card__body h2 { font-size: 20px; font-weight: 600; line-height: 1.35; letter-spacing: -.025em; margin: 0 0 12px; }
.stores-page a.store-card__title { color: #181918; }
.stores-page a.store-card__title:is(:hover, :focus, :active) { color: #181918; text-decoration: underline; text-underline-offset: 4px; }
.store-card__hours { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: #52554e; line-height: 1.5; }
.store-card__hours .shop-calendar__icon { width: 17px; height: 17px; flex-basis: 17px; margin-right: 2px; }
.store-card__hours strong { color: #30332c; font-weight: 600; }
.store-card__price { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 22px 0 20px; margin-top: auto; min-height: 113px; }
.store-card__label { color: #585b53; font-size: 13px; }
.store-card__value { display: flex; gap: 5px; align-items: baseline; line-height: 1.15; }
.store-card__value .shop-calendar__amount { font-size: 38px; font-weight: 600; letter-spacing: -.045em; color: #161716; }
.store-card__value .shop-calendar__unit { color: #585b53; font-size: 16px; font-weight: 400; }
.store-card__unavailable { font-size: 20px; font-weight: 500; line-height: 1.5; }
.store-card__delivery { display: flex; align-items: center; gap: 11px; padding: 16px 0; border-top: 1px solid #ecebe7; }
.store-card__badge { display: flex; align-items: center; justify-content: center; width: 43px; height: 32px; flex-shrink: 0; border-radius: 6px; background: #ac292b; color: #fff; font-size: 12px; font-weight: 600; }
.store-card__delivery-copy { flex: 1; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; line-height: 1.5; color: #53564e; }
.store-card__delivery time { font-size: 15px; font-weight: 600; color: #272924; white-space: nowrap; }
.store-card__pending { font-size: 12px; }
.store-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 3px; }
.stores-page a.store-card__details, .stores-page a.store-card__route { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; font-size: 12px; font-weight: 500; color: #252722; border-radius: 8px; line-height: 1.3; transition: background .15s; }
.stores-page a.store-card__details { padding: 9px 12px; background: #fbb900; border: 1px solid #fbb900; font-weight: 600; flex: 1; }
.stores-page a.store-card__route { padding: 9px 2px; color: #4d5148; }
.stores-page a.store-card__details:hover { background: #eaaa00; border-color: #eaaa00; color: #181918; }
.stores-page a.store-card__route:hover { color: #181918; text-decoration: underline; text-underline-offset: 4px; }
.stores-page :is(a, button):focus-visible { outline: 2px solid #57594f; outline-offset: -3px; }
#stores-map { height: 560px; border: 1px solid #deddd7; border-radius: 18px; overflow: hidden; background: #f3f2ed; }
.stores-map-note, .stores-map-error { margin: 12px 0 0; color: #666962; font-size: 13px; }
.stores-map-marker { border: 2px solid #fff; border-radius: 10px; background: #fbb900; color: #171813; padding: 8px 10px; font-family: inherit; font-weight: 600; font-size: 13px; line-height: 1.2; box-shadow: 0 2px 8px #0003; cursor: pointer; white-space: nowrap; }
.stores-page .mapboxgl-popup-content { padding: 20px; border-radius: 12px; font-family: "Poppins", sans-serif; font-size: 13px; min-width: 220px; }
.stores-popup h2 { font-size: 17px; line-height: 1.4; margin: 0 16px 10px 0; }
.stores-popup p { margin: 5px 0; font-size: 12px; line-height: 1.5; }
.stores-popup a { display: inline-block; margin-top: 12px; font-weight: 600; color: #222 !important; text-decoration: underline; text-underline-offset: 3px; }
.stores-page .mapboxgl-popup-close-button { display: block; width: 28px; height: 28px; font-size: 22px; }
@media (max-width: 1199px) and (min-width: 768px) { .stores-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
    .stores-page { padding: 18px 0 36px; }
    .stores-breadcrumb { margin-bottom: 26px; font-size: 12px; }
    .stores-heading { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 22px; }
    .stores-heading h1 { max-width: 320px; font-size: 30px; }
    .stores-intro { font-size: 14px; }
    .stores-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .store-card__body { padding: 20px; }
    .store-card__body h2 { font-size: 21px; }
    .store-card__delivery-copy { font-size: 12px; }
    .store-card__actions { gap: 16px; }
    #stores-map { height: 480px; max-height: 65vh; border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) { .store-card__photo img, .store-card__actions a { transition: none; } }

@media (min-width: 768px) { .store-card__body h2 { min-height: 54px; } }

.stores-page a.store-card__details:is(:focus, :active) { color: #181918; }
.stores-page a.store-card__route:is(:focus, :active) { color: #252722; }

.stores-map-marker[aria-expanded='true'] { border-color: #705312; box-shadow: 0 0 0 2px #fff, 0 3px 10px #0003; z-index: 2; }
.stores-page .mapboxgl-popup { z-index: 3; }
.stores-page .mapboxgl-popup-content { box-shadow: 0 4px 20px #25271926; }

/* Compact directory on the home page. */
.home-stores { padding: 56px 0; background: #faf9f6; }
.home-stores .stores-heading h2 { margin: 0; font-size: clamp(27px, 3.2vw, 38px); font-weight: 600; line-height: 1.2; letter-spacing: -.035em; }
.home-stores__list { display: grid; gap: 12px; }
.home-stores__row { display: grid; grid-template-columns: minmax(240px, 1fr) 150px 190px 145px; gap: 24px; align-items: center; padding: 16px 24px; min-height: 110px; background: #fff; border: 1px solid #deddd5; border-radius: 16px; }
.home-stores__identity h3 { margin: 0 0 10px; font-size: 18px; font-weight: 600; line-height: 1.4; letter-spacing: -.02em; }
.home-stores .store-card__hours { font-size: 12px; }
.home-stores .store-card__price { padding: 0; margin: 0; min-height: 0; gap: 7px; }
.home-stores .store-card__value .shop-calendar__amount { font-size: 32px; }
.home-stores .store-card__value .shop-calendar__unit { font-size: 14px; }
.home-stores .store-card__label { font-size: 11px; }
.home-stores .store-card__unavailable { font-size: 15px; }
.home-stores .store-card__delivery { border: 0; padding: 0; gap: 10px; }
.home-stores .store-card__delivery-copy { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; font-size: 11px; }
.home-stores .store-card__delivery time { font-size: 17px; }
.home-stores .store-card__actions { display: flex; flex-direction: column; gap: 3px; padding: 0; }
.home-stores a.store-card__details { width: 100%; }
.home-stores a.store-card__route { min-height: 34px; font-size: 11px; }
.home-stores__footer { display: flex; justify-content: flex-end; margin-top: 22px; }
.stores-page .home-stores__footer a { display: inline-flex; align-items: center; gap: 8px; color: #30332c; font-size: 13px; font-weight: 500; padding: 8px 0; }
.stores-page .home-stores__footer a:hover { color: #181918; text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 992px) and (max-width: 1199px) {
    .home-stores__row { grid-template-columns: minmax(200px, 1fr) 130px 174px 135px; gap: 20px; padding: 16px 20px; }
}
@media (max-width: 991px) {
    .home-stores__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .home-stores__row { grid-template-columns: minmax(100px, 1fr) minmax(0, 1.25fr); grid-template-rows: 1fr auto auto; gap: 18px 14px; align-items: center; padding: 18px; min-height: 0; }
    .home-stores__identity { grid-column: 1 / -1; align-self: start; }
    .home-stores__identity h3 { font-size: 18px; margin-bottom: 8px; }
    .home-stores .store-card__hours { font-size: 12px; }
    .home-stores .store-card__price { gap: 6px; }
    .home-stores .store-card__label { font-size: 11px; }
    .home-stores .store-card__delivery { gap: 6px; min-width: 0; }
    .home-stores .store-card__badge { width: 36px; height: 30px; font-size: 11px; }
    .home-stores .store-card__delivery-copy { min-width: 0; font-size: 10px; }
    .home-stores .store-card__delivery time { font-size: 16px; }
    .home-stores .store-card__actions { grid-column: 1 / -1; flex-direction: row; gap: 12px; padding-top: 14px; border-top: 1px solid #ecebe5; }
    .home-stores a.store-card__details { width: auto; }
    .home-stores a.store-card__route { font-size: 12px; }
}
@media (max-width: 767px) {
    .home-stores { padding: 36px 0; }
    .home-stores__list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .home-stores__footer { justify-content: flex-start; margin-top: 16px; }
}
