/* ==========================================================================
   Single store (single-store): hero + map, info strip, departments, nearby
   ========================================================================== */

/* Hero
   -------------------------------------------------------------------------- */
.store-hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 96px); align-items: center; }
.store-hero .eyebrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.store-hero .h-display { margin-bottom: 10px; }
.store-hero__type { color: var(--muted); font-size: 18px; margin-bottom: clamp(20px, 2vw, 32px); }
.status--boxed { gap: 12px; font-size: 17px; padding: 12px 18px; border: 1px solid rgba(244, 239, 230, 0.2); margin: 0 0 clamp(24px, 2.5vw, 40px); }
.status--boxed .status__dot { width: 9px; height: 9px; background: rgba(244, 239, 230, 0.45); }
.status--boxed.is-open { border-color: rgba(214, 167, 82, 0.55); }
.status--boxed.is-open .status__dot { box-shadow: 0 0 0 5px rgba(214, 167, 82, 0.2); }
.store-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.store-hero__map-wrap { position: relative; isolation: isolate; } /* keeps the address label (z-index 500) under the sticky header */
.store-hero__map { aspect-ratio: 16 / 10; width: 100%; box-shadow: 0 0 0 1px var(--line-gold-strong); }
.store-hero__address { position: absolute; left: 16px; bottom: 16px; z-index: 500; margin: 0; background: var(--navy-900); color: var(--white); font-size: 15px; padding: 10px 14px; box-shadow: 0 6px 18px rgba(0, 25, 50, 0.3); }

/* Info strip
   -------------------------------------------------------------------------- */
.store-info__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.store-info__col { padding: 0 clamp(24px, 3vw, 56px); border-left: 1px solid var(--line-gold-strong); }
.store-info__col:first-child { padding-left: 0; border-left: 0; }
.store-info__col:last-child { padding-right: 0; }
.store-info__title { font-family: var(--font-serif); font-weight: 800; font-size: clamp(22px, 0.8vw + 14px, 28px); margin-bottom: 20px; }
.hours { width: 100%; border-collapse: collapse; font-size: 16px; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px solid rgba(11, 26, 44, 0.1); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours .is-today th, .hours .is-today td { font-weight: 700; }
.hours .is-today .badge { padding: 2px 6px; margin-left: 6px; vertical-align: 1px; }
.store-info__note { font-size: 15px; color: var(--muted-on-cream); }
.store-info__services { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 14px; }
.store-info__services b { display: block; font-weight: 700; font-size: 17px; }
.store-info__services span { color: var(--muted-on-cream); font-size: 15px; }

/* Departments (food tiles)
   -------------------------------------------------------------------------- */
.store-depts__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 4vw, 96px); align-items: end; margin-bottom: clamp(36px, 4vw, 64px); }
.store-depts__head .text-lg { max-width: 56ch; margin: 0; }
.depts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 72px); }
.depts .food-tile { width: clamp(150px, 14vw, 240px); color: var(--white); }
.depts .food-tile__label { font-size: clamp(17px, 0.4vw + 14px, 20px); }
.depts a.food-tile .food-tile__img::after { background: rgba(0, 25, 50, 0.55); }
.depts .food-tile__img img { transition: transform 0.6s var(--ease-out); }
.depts a.food-tile:hover .food-tile__img img,
.depts a.food-tile:focus-visible .food-tile__img img { transform: scale(1.1); }
/* Store features: client icons + label */
.store-offer { margin-top: clamp(40px, 4vw, 64px); padding-top: clamp(28px, 3vw, 44px); border-top: 1px solid rgba(214, 167, 82, 0.35); }
.store-offer .label-caps { margin-bottom: clamp(20px, 2vw, 32px); }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 28px 16px; }
.features li { display: grid; justify-items: center; gap: 12px; text-align: center; font-size: 15px; font-weight: 600; line-height: 1.25; color: var(--white); }
.features img { width: 64px; height: 64px; }

/* Photo gallery under the hero: 4 visible, arrows scroll the rest, open in a lightbox */
.store-gallery { padding: clamp(20px, 2vw, 32px) 0; background: var(--navy-900); }
.store-gallery__grid { --gap: clamp(8px, 1vw, 16px); list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--gap)) / 4); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.store-gallery__grid::-webkit-scrollbar { display: none; }
.store-gallery__grid li { scroll-snap-align: start; }
.store-gallery__arrows { justify-content: flex-end; margin-top: clamp(12px, 1vw, 16px); }
.store-gallery__grid button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; aspect-ratio: 3 / 2; }
.store-gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out), opacity 0.3s; }
.store-gallery__grid button:hover img,
.store-gallery__grid button:focus-visible img { transform: scale(1.05); }
.lightbox { max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; padding: clamp(16px, 4vw, 64px); border: 0; background: rgba(4, 14, 26, 0.94); color: var(--white); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 2 * clamp(16px, 4vw, 64px)); object-fit: contain; }
.lightbox__btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border: 0; background: var(--gold-500); color: var(--navy-900); cursor: pointer; }
.lightbox__btn:hover { background: var(--gold-400); }
.lightbox__btn .icon { width: 20px; height: 20px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.store-depts__cross { margin: clamp(32px, 3.5vw, 56px) 0 0; padding-top: 24px; border-top: 1px solid rgba(214, 167, 82, 0.35); color: var(--muted); font-size: 17px; }
.store-depts__cross a { color: var(--gold-500); }

/* Nearby
   -------------------------------------------------------------------------- */
.nearby__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 24px); }

/* Mobile sticky actions
   -------------------------------------------------------------------------- */
.sticky-actions { display: none; }

@media (max-width: 1024px) {
  .store-hero__grid, .store-depts__head { grid-template-columns: 1fr; }
  .store-hero__map { aspect-ratio: 4 / 3; }
  .store-info__grid { grid-template-columns: 1fr; gap: 36px; }
  .store-info__col { padding: 0; border-left: 0; }
  .store-info__col + .store-info__col { padding-top: 32px; border-top: 1px solid var(--line-gold-strong); }
  .nearby__list { grid-template-columns: 1fr; }
  .sticky-actions { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--navy-900); border-top: var(--rule) solid var(--gold-500); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); gap: 10px; transform: translateY(110%); transition: transform 0.4s var(--ease-out); }
  .sticky-actions.is-visible { transform: none; }
  .sticky-actions.is-visible ~ .whatsapp-fab { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .sticky-actions a { display: grid; place-items: center; min-height: 48px; font: 500 16px/1 var(--font-sans); text-decoration: none; }
  .sticky-actions__call { color: var(--white); box-shadow: inset 0 0 0 1px rgba(244, 239, 230, 0.5); }
  .sticky-actions__dir { background: var(--gold-500); color: var(--navy-900); }
  .site-footer { padding-bottom: 96px; }
  .store-info__note a { padding-block: 10px; margin-block: -10px; }
}
@media (max-width: 600px) {
  .store-hero__actions .btn { flex: 1; justify-content: center; padding: 16px 14px; }
  .depts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .store-gallery__grid { grid-auto-columns: calc((100% - var(--gap)) / 2); }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
  .features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 8px; }
  .features li { font-size: 13px; }
  .features img { width: 52px; height: 52px; }
  .depts[data-count="1"] { grid-template-columns: 1fr; justify-items: center; }
  .depts .food-tile { width: 100%; max-width: 200px; }
  .store-hero__address { left: 10px; bottom: 10px; font-size: 14px; }
}
