/* delivery, pickup and live demo section styles */

/* ================= Remote: simulation note ================= */
.rc-sim-note { margin-top: 30px; text-align: center; color: var(--text-dim); font-size: .95rem; }
.rc-sim-note a { color: var(--gold); font-weight: 600; text-underline-offset: 3px; }
.rc-sim-note a:hover { color: var(--gold-soft); }

/* ================= Delivery: map ================= */
.map-svg { max-width: 560px; }

.wi-zone { animation: zone-march 14s linear infinite; }
@keyframes zone-march { to { stroke-dashoffset: -36; } }

.wi-lanes { opacity: 0; transition: opacity .9s ease .5s; pointer-events: none; }
.wi-lanes.is-on { opacity: 1; }
.wi-lane {
  fill: none; stroke: var(--mint); stroke-width: 1.5; stroke-opacity: .55;
  stroke-dasharray: 5 6; stroke-linecap: round;
  animation: lane-flow 2.4s linear infinite;
  transition: stroke-width .4s, stroke-opacity .4s;
}
.wi-lanes.is-lit .wi-lane { stroke-width: 2.6; stroke-opacity: 1; }
.wi-lane-label { font: 600 10px var(--font-body); letter-spacing: .12em; fill: var(--mint); opacity: .85; }
@keyframes lane-flow { to { stroke-dashoffset: -22; } }

.wi-shop { pointer-events: none; }
.wi-shop text {
  font: 700 10px var(--font-head); fill: #fff;
  paint-order: stroke; stroke: rgba(8,24,16,.85); stroke-width: 3px;
}
.wi-shop-body { fill: #fff; stroke: var(--gold); stroke-width: 1.4; }
.wi-shop-awning { fill: var(--gold); stroke: var(--green-950); stroke-width: .8; stroke-linejoin: round; }
.wi-shop-door { fill: var(--green-700); }
.wi-shop-leader { fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-dasharray: 2 2; }

.wi-route-live.tier-ship_wi, .wi-route-live.tier-ship_us { stroke: var(--mint); }
.wi-dest.tier-ship_wi circle:first-child, .wi-dest.tier-ship_us circle:first-child { fill: var(--mint); }
.wi-dest.tier-ship_wi .wi-dest-ring, .wi-dest.tier-ship_us .wi-dest-ring { stroke: var(--mint); }

.map-note { margin-top: 12px; text-align: center; color: var(--mint); font-size: .95rem; font-weight: 500; }
.map-note:empty { display: none; }

.map-legend { gap: 8px 18px; }
.map-legend i.lg-lane { width: 20px; height: 0; border-radius: 0; background: none; border: 0; border-top: 2px dashed var(--mint); }
.map-legend i.lg-shop { width: 14px; height: 14px; border-radius: 3px; background: #fff; border: 2px solid var(--gold); box-shadow: inset 0 4px 0 var(--gold); }

/* ================= Delivery: tier cards ================= */
.tier { transition: opacity .7s ease, transform .7s ease, border-color .25s, background .25s, box-shadow .25s; }
.tier[data-tier="pickup"] { border-color: rgba(255,182,18,.22); }
.tier[data-tier="pickup"] .tier-tag { background: rgba(255,182,18,.14); color: var(--gold); box-shadow: inset 0 0 0 1.5px rgba(255,182,18,.6); }
.tier[data-tier="ship_wi"] .tier-tag { background: rgba(126,226,174,.18); color: var(--mint); }
.tier[data-tier="ship_us"] .tier-tag { background: rgba(255,255,255,.14); color: #fff; }
.tier.is-match { border-color: var(--gold); background: rgba(255,182,18,.1); box-shadow: 0 0 0 1px var(--gold), 0 12px 32px rgba(0,0,0,.28); }
.tier.is-match header::after {
  content: "Your ZIP"; margin-left: auto; white-space: nowrap;
  font: 700 .72rem var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--gold);
}

/* ================= The Shop ================= */
.stage-shop {
  background:
    radial-gradient(760px 420px at 88% 22%, rgba(255,182,18,.09), transparent 70%),
    linear-gradient(180deg, var(--green-950), var(--black));
  overflow: hidden;
}
.shop-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.shop-copy h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; margin-bottom: 18px; color: #fff; }
.shop-lead { color: var(--text-mid); font-size: 1.12rem; max-width: 52ch; margin-bottom: 26px; }

.shop-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.shop-facts > div {
  display: grid; gap: 2px; align-content: start;
  padding: 14px 14px 16px; border-radius: 14px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-dark);
}
.shop-facts b { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; line-height: 1.15; color: var(--gold); }
.shop-facts span { color: var(--text-mid); font-size: .88rem; line-height: 1.35; }

.shop-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
.shop-address, .shop-pickup {
  display: grid; gap: 6px; align-content: start;
  padding: 18px 20px; border-radius: 16px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
}
.shop-address { font-style: normal; border-color: rgba(255,182,18,.4); }
.shop-address-label, .shop-pickup-label {
  font-family: var(--font-head); font-weight: 700; font-size: .75rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
}
.shop-address-lines { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; line-height: 1.35; color: #fff; }
.shop-directions {
  display: inline-flex; align-items: center; gap: 8px; align-self: start;
  min-height: 44px; margin-top: 2px;
  color: var(--gold); font-weight: 600; text-underline-offset: 3px;
}
.shop-directions:hover { color: var(--gold-soft); }
.shop-pickup p { color: var(--text-mid); font-size: .94rem; }

.shop-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.shop-visual { margin: 0; }
.tv-wall {
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line-dark); box-shadow: var(--shadow-lg);
  background: #08100c;
}
.tvw-svg { width: 100%; height: auto; display: block; }
.tvw-glow { opacity: 0; animation: tvw-glow 7s ease-in-out infinite; }
@keyframes tvw-glow { 0%, 62%, 100% { opacity: 0; } 80% { opacity: .22; } }
.shop-visual figcaption { color: var(--text-dim); font-size: .86rem; margin-top: 12px; text-align: center; }

/* ================= FAQ links ================= */
.faq-list details p a { color: var(--green-600); font-weight: 600; text-underline-offset: 3px; }
.faq-list details p a:hover { color: var(--green-800); }

/* ================= Spot map scene ================= */
.spot-map { aspect-ratio: 506 / 509; }
.s-map .wi-lane-label { font-size: 12px; }
.s-map.active .wi-lanes { opacity: 1; transition-delay: 2.4s; }
.s-map .wi-lane { stroke-width: 2; stroke-opacity: .8; }

@media (prefers-reduced-motion: reduce) {
  .wi-zone, .wi-lane, .tvw-glow { animation: none; }
}

/* ================= Responsive ================= */
@media (min-width: 1181px) and (max-width: 1299px) {
  .main-nav a { padding: 8px 8px; font-size: .9rem; }
  .header-inner { gap: 14px; }
}
@media (max-width: 960px) {
  .shop-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .shop-visual { max-width: 640px; margin-inline: auto; }
}
@media (max-width: 640px) {
  .shop-cards { grid-template-columns: minmax(0, 1fr); }
  .shop-facts { gap: 8px; }
  .shop-facts > div { padding: 12px 10px 14px; }
  .shop-facts b { font-size: 1.3rem; }
  .shop-facts span { font-size: .8rem; }
  .shop-ctas .btn { flex: 1 1 100%; }
  .tier.is-match header { flex-wrap: wrap; }
}

.stage-delivery .section-head h2, .final-cta-inner p { text-wrap: balance; }
