/* ============================================================
   CUSTOM — Per-store overrides for TuckOut Winnipeg
   Add store-specific tweaks here. Loaded last so it wins
   over theme.css and style.css.
   ============================================================ */

/* ---------- "Find Us" map card (local SEO landing pages) ---------- */

.local-map-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: stretch;
  margin-top: 2rem;
  background: var(--card);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(1rem, 2.5vw, 1.5rem);
}

.local-map-embed {
  position: relative;
  min-height: 360px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--sand);
}

.local-map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.local-map-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.5rem clamp(0.25rem, 1vw, 1rem);
}

.local-map-info__body h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  margin-bottom: 1.1rem;
}

.local-map-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}

.local-map-detail:last-child {
  border-bottom: none;
}

.local-map-detail .ic {
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--chili-soft);
  color: var(--chili-dark);
  font-size: 1rem;
}

.local-map-detail h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.local-map-detail p,
.local-map-detail a {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
}

.local-map-detail a:hover {
  color: var(--chili-dark);
  text-decoration: underline;
}

.local-map-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

@media (max-width: 900px) {
  .local-map-card {
    grid-template-columns: 1fr;
  }

  .local-map-embed {
    min-height: 280px;
  }

  .local-map-actions {
    justify-content: stretch;
  }

  .local-map-actions .btn,
  .local-map-actions .btn-line {
    flex: 1 1 auto;
  }
}

/* Screen-reader-only heading: keeps section headings in the
   h1 > h2 > h3 outline for SEO/accessibility without changing
   any visible layout. */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* our-food.html: dish captions use a semantic <h3> for heading
   hierarchy, but must keep the exact look of the old plain-text
   figcaption (no added margin/weight/size from the browser's
   default heading styles). */
.gallery-wall figcaption h3 {
  margin: 0;
  font: inherit;
  color: inherit;
}

/* delivery-area-card: optional H4 sub-heading (e.g. "Parking &
   Transit Access") that can follow the address list, used on
   tags/*-takeout pages. */
.delivery-area-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-top: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.delivery-area-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* order-step: optional H4 sub-heading (e.g. "Heat Levels
   Available") nested under a numbered step. */
.order-step h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-top: 0.85rem;
  margin-bottom: 0.3rem;
  color: var(--ink);
}

/* ---------- TuckOut logo: wide badge (1031×713), not a round mark ----------
   Size by height so the wider artwork is never squashed into the
   template's circular logo frame. */
.brand img {
  height: 58px;
  width: auto;
  border-radius: var(--r-md);
  padding: 3px 6px;
}

.foot-brand img {
  width: auto;
  height: 84px;
  object-fit: contain;
  border-radius: var(--r-md);
  padding: 4px 8px;
}

/* ---------- image sizing: let CSS aspect-ratios win ----------
   Pages carry width/height attributes (good for layout-shift/SEO),
   but a bare height attribute overrides the template's
   aspect-ratio + object-fit rules and stretches images
   (e.g. the home story collage rendered 800px tall).
   height:auto neutralises only the attribute; every class-level
   height rule in style.css still takes precedence. */
img {
  height: auto;
}

/* ---------- factory sketch decor (from the TuckOut logo) ----------
   Faint line-art of the logo's chimney + hall with animated steam
   (assets/decor/*.svg — the steam drift lives inside the SVG and
   stops for prefers-reduced-motion). Added as an extra background
   layer so each section keeps its own colour. */
.story {
  background:
    url("assets/decor/factory-sketch-brown.svg") right -1.5rem bottom 0 / clamp(260px, 32vw, 440px) no-repeat,
    var(--sand);
}

.faq {
  background:
    url("assets/decor/factory-sketch-brown.svg") left -1rem bottom 0 / clamp(240px, 28vw, 400px) no-repeat,
    var(--sand);
}

.cta-band {
  background:
    url("assets/decor/factory-sketch-brown.svg") left 3% bottom 0 / clamp(220px, 26vw, 360px) no-repeat;
}

.site-footer {
  background:
    url("assets/decor/factory-sketch-cream.svg") right 2% bottom 3.2rem / clamp(240px, 26vw, 380px) no-repeat,
    var(--basil-deep);
}

@media (max-width: 700px) {
  .story,
  .faq,
  .cta-band,
  .site-footer {
    background-size: 210px auto, auto;
  }
  .cta-band {
    background-size: 190px auto;
  }
}
