/* Where to Buy (/where-to-buy/, page 7927): the page's own rules, verbatim from the approved mockup where-to-buy.html. Loads after design-system.css. */
  /* Where to Buy: no photo hero. The page opens straight on the finder, because that is the job: the white bar, then
     the headline, a search and the map. On desktop the list sits beside the map; on phones the map comes first. */
  .header-nav--solid { background: #fff; }
  .find { padding-top: calc(var(--nav) + 26px) !important; text-align: center; }
  .find h1 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.1; letter-spacing: -.02em; }
  .find h1 .g { color: var(--gold); }
  .find .find-sub { font-size: 18px; line-height: 1.5; color: var(--body); margin: 14px auto 0; max-width: 30em; text-wrap: balance; }
  /* search: one field, one button, and "use my location" as a quiet link under it */
  .finder-search { display: flex; gap: 8px; max-width: 520px; margin: 22px auto 0; }
  .finder-search input { flex: 1; min-width: 0; height: 52px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(30,28,29,.22);
                         background: #fff; font: inherit; font-size: 17px; color: var(--ink); }
  .finder-search input::placeholder { color: #8a857e; }
  .finder-search input:focus { outline: 2px solid #c9a24a; outline-offset: 2px; border-color: transparent; }
  .finder-search .btn { min-height: 52px; padding: 0 22px; border: 0; cursor: pointer; font-family: inherit; }
  .locate { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px; padding: 0 6px; background: none; border: 0;
            font: inherit; font-size: 17px; font-weight: 500; color: var(--green); cursor: pointer; }
  .locate svg { width: 18px; height: 18px; }
  /* one tap instead of typing: the towns people search most */
  .towns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 10px auto 0; max-width: 520px; }
  .towns button { min-height: 36px; padding: 0 14px; border: 1px solid rgba(31,61,46,.28); border-radius: 999px; background: rgba(255,255,255,.6); color: var(--green); font: inherit; font-size: 14px; cursor: pointer; }
  .towns button:hover, .towns button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
  /* shops, on the menu, or both: the key under the map doubles as the switch */
  .bf-key { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; padding: 3px; gap: 2px; width: max-content; max-width: calc(100% - 24px); border: 1px solid rgba(31,61,46,.18); border-radius: 999px; background: rgba(255,255,255,.96); box-shadow: 0 2px 10px rgba(0,0,0,.08); }
  @media (max-width: 420px) { .bf-key button { padding: 0 10px; font-size: 13px; } }
  .bf-key button { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: #444; font: inherit; font-size: 14px; cursor: pointer; white-space: nowrap; }
  .bf-key button[aria-pressed="true"] { background: var(--green); color: #fff; }
  .bf-key i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
  .locate:hover span { text-decoration: underline; text-underline-offset: 3px; }
  /* the finder: map and list in one white card on the cream */
  .finder { display: grid; gap: 0; margin: 18px auto 0; max-width: 1120px; background: #fff; border-radius: 18px; overflow: hidden;
            box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 12px 32px rgba(60,45,20,.08); text-align: left; }
  .map { position: relative; background: #cfe5ee; aspect-ratio: 4 / 3; }
  .map svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: manipulation; }
  .map .near { fill: #ece6d8; stroke: #c9bfa6; stroke-width: .8; vector-effect: non-scaling-stroke; }
  .map .keys { fill: none; stroke: #fbf8f1; stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }
  .map .land { fill: #fbf8f1; stroke: #b8ad92; stroke-width: 1; vector-effect: non-scaling-stroke; }
  .map .city { font-family: "SF Pro Display", -apple-system, sans-serif; font-weight: 500; fill: #4a4640; letter-spacing: .02em; paint-order: stroke; stroke: #fbf8f1; stroke-linejoin: round; }
  .map .town { fill: #4a4640; }
  .map .pin { cursor: pointer; }
  .map .pin circle { fill: var(--green); stroke: #fff; vector-effect: non-scaling-stroke; stroke-width: 2.5; transition: fill .2s; }
  .map .pin.on circle { fill: var(--gold); }
  .map .pin .num { fill: #fff; font-family: "SF Pro Display", -apple-system, sans-serif; font-weight: 500; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
  .map .pin .halo { fill: rgba(134,102,28,.18); stroke: none; opacity: 0; transition: opacity .2s; }
  .map .pin.on .halo { opacity: 1; }
  .map-reset { position: absolute; left: 12px; bottom: 12px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(30,28,29,.16);
               background: rgba(255,255,255,.92); font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; }
  .map-reset[hidden] { display: none; }
  /* store list */
  .stores { padding: 6px 18px 16px; }
  .stores-head { margin: 14px 0 4px; font-size: 14px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
  .stores ol { list-style: none; margin: 0; padding: 0; }
  .store { border-bottom: 1px solid rgba(30,28,29,.1); }
  .store:last-child { border-bottom: 0; }
  .store button { display: grid; grid-template-columns: 28px 1fr auto; gap: 4px 12px; width: 100%; padding: 14px 0; background: none; border: 0;
                  text-align: left; font: inherit; color: inherit; cursor: pointer; }
  .store .n { grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff;
              font-size: 14px; font-weight: 500; margin-top: 1px; }
  .store.on .n { background: var(--gold); }
  .store strong { font-family: "Favorit", "SF Pro Display", sans-serif; font-weight: 500; font-size: 19px; line-height: 1.25; color: var(--ink); }
  .store .addr { grid-column: 2; font-size: 16px; line-height: 1.4; color: var(--body); }
  .store .mi { grid-row: 1; grid-column: 3; font-size: 15px; color: var(--body); white-space: nowrap; }
  .store .acts { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 0 0 14px 40px; margin-top: -6px; }
  .store .acts a { display: inline-flex; align-items: center; min-height: 40px; font-size: 16px; font-weight: 500; color: var(--green); text-underline-offset: 3px; }
  .store:not(.on) .acts { display: none; }
  .more { display: block; width: 100%; min-height: 48px; margin-top: 8px; border-radius: 999px; border: 1px solid var(--green); background: none;
          font: inherit; font-size: 17px; font-weight: 500; color: var(--green); cursor: pointer; }
  .more[hidden] { display: none; }
  .none { padding: 18px 0 8px; font-size: 18px; line-height: 1.5; color: var(--body); }
  .none[hidden] { display: none; }
  .none a { color: var(--green); font-weight: 500; text-underline-offset: 3px; }
  .find .check { font-size: 16px; line-height: 1.5; color: var(--body); max-width: 34em; margin: 18px auto 0; }
  /* mockup only: what the data is, so nobody mistakes the sample for the real list */
  .draft-note { max-width: 720px; margin: 20px auto 0; padding: 12px 16px; border: 1px dashed #b9a46a; border-radius: 10px; background: #fffaf0;
                font-size: 15px; line-height: 1.5; color: #6b5a2e; text-align: left; }
  @media (min-width: 900px) {
    .find { padding-top: calc(var(--nav) + 40px) !important; }
    .find .find-sub { font-size: 22px; }
    .finder { grid-template-columns: 400px 1fr; margin-top: 26px; min-height: 600px; }
    .finder .map { order: 2; aspect-ratio: auto; min-height: 600px; }
    .stores { padding: 10px 26px 22px; }
    .find .check { font-size: 18px; }
  }

  /* retailers instead of a store list: each one links to its own hero page on prosecco.com */
  .chains { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
  .chains[hidden] { display: none; }
  .chains a { display: block; padding: 16px 18px; border: 1px solid #e6dcc6; border-radius: 12px; text-decoration: none; background: #fffdf8;
              transition: border-color .2s, transform .2s; }
  .chains a:hover { border-color: var(--gold); transform: translateY(-1px); }
  .chains b { display: block; font-family: "Favorit", "SF Pro Display", sans-serif; font-weight: 500; font-size: 20px; line-height: 1.2; color: var(--ink); }
  .chains span { display: block; margin-top: 3px; font-size: 15px; color: var(--body); }
  .chains span { color: var(--green); font-weight: 500; }
  .store .tel-todo { display: inline-flex; align-items: center; min-height: 40px; font-size: 15px; color: #8a857e; }
  /* ask for her by name: the customer asks the store, so the store comes to us */
  .ask { text-align: center; }
  .ask h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; }
  .ask h2 .g { color: var(--gold); }
  .ask-sub { font-size: 18px; line-height: 1.5; color: var(--body); max-width: 30em; margin: 14px auto 0; }
  .ask-form { display: grid; gap: 12px; max-width: 520px; margin: 24px auto 0; text-align: left; }
  .ask-form label span { display: block; margin: 0 0 6px 4px; font-size: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
  .ask-form input { width: 100%; height: 52px; padding: 0 18px; border-radius: 12px; border: 1px solid rgba(30,28,29,.2); background: var(--paper);
                    font: inherit; font-size: 17px; color: var(--ink); }
  .ask-form input:focus { outline: 2px solid #c9a24a; outline-offset: 2px; border-color: transparent; background: #fff; }
  .ask-form .btn { width: 100%; min-height: 54px; border: 0; cursor: pointer; font-family: inherit; margin-top: 4px; }
  .ask-small { margin: 2px 0 0; text-align: center; font-size: 15px; color: var(--body); }
  .ask-done { max-width: 520px; margin: 24px auto 0; padding: 22px; border-radius: 14px; background: var(--mint); font-size: 18px; color: var(--ink); }
  .ask-done b { font-family: "Favorit", "SF Pro Display", sans-serif; font-weight: 500; }
  .ask-online { display: inline-flex; align-items: center; min-height: 44px; margin-top: 14px; font-size: 17px; font-weight: 500; color: var(--green); text-underline-offset: 3px; }
  @media (min-width: 900px) {
    .chains b { font-size: 21px; }
    .ask-sub { font-size: 20px; }
    .ask-form { grid-template-columns: 1fr 1fr; max-width: 680px; }
    .ask-form label:first-child, .ask-form .btn, .ask-small { grid-column: 1 / -1; }
  }

  /* bubbles on the cream, behind the headline and the finder (the bubble rule: cream sections only) */
  .find { position: relative; overflow: hidden; } .find canvas.fizz { z-index: 0; } .find .wrap { position: relative; z-index: 1; }
  /* the drinks calculator, set as a line like "Not sure what Brut means?" on the homepage */
  .find .calc { font-size: 18px; line-height: 1.5; color: var(--body); max-width: 34em; margin: 12px auto 0; }
  .find .calc a { display: inline-block; padding: 8px 0; color: var(--green); font-weight: 500; text-underline-offset: 3px; }
  @media (min-width: 900px) { .find .calc { font-size: 20px; } }
  /* the party question set as a title, so it reads as its own moment */
  .find .calc { margin-top: 40px; }
  .find .calc-q { display: block; font-family: "Favorit", "SF Pro Display", -apple-system, sans-serif; font-weight: 500; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
  .find .calc-q .g { color: var(--gold); }
  .find .calc a { margin-top: 10px; }

  /* the trade invitation: the homepage's quieter second tier (as under Meet Natalie), selective rather than asking */
  .ask .trade { max-width: 560px; margin: 30px auto 0; padding-top: 26px; border-top: 1px solid var(--rule); }
  .ask .trade-head { font-family: "Favorit", "SF Pro Display", sans-serif; font-weight: 500; font-size: 22px; line-height: 1.25; color: var(--ink); margin: 0 0 6px; text-wrap: balance; }
  .ask .partner-line { font-size: 18px; line-height: 1.5; color: var(--body); margin: 0 auto 16px; }
  .ask .ctas { justify-content: center; }
  @media (min-width: 900px) { .ask .trade-head { font-size: 26px; } .ask .partner-line { font-size: 20px; } }

  /* the bar over the cream: clear, no line, so the page reads as one colour and the bubbles rise behind it */
  /* at the very top it is fully clear; scrolled back up inside the cream it turns cream (not white), so the page stays one colour and the marks stay readable */
  .header-nav--clear { background: rgba(245,241,232,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: none; }
  .header-nav--clear.header-nav--top { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

  /* the sketch film from the founder page, at the top: the original pencil sketch painted into today's bottles. Its white
     background is multiplied into the cream, so it reads as artwork on the page, not a video box. The finished frame
     shows first (still); the film plays once after the page has loaded, then holds that frame. Phones get the 720px cut. */
  .sketch { position: relative; width: 100%; max-width: 420px; margin: -6px auto 6px; aspect-ratio: 1640 / 1190; background: var(--paper); }   /* the cream the white multiplies into */
  .sketch .sketch-still, .sketch video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; display: block; }
  /* the still is always there underneath; the film only fades in once it is actually playing, so a slow or failed film never leaves a gap */
  .sketch video, .sketch .sketch-still { transition: opacity .4s ease; } .sketch video { opacity: 0; } .sketch.playing video { opacity: 1; } .sketch.playing .sketch-still { opacity: 0; }
  /* the replay link sits under the artwork, never on it */
  .sketch { margin-bottom: 30px !important; }
  .replay { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); white-space: nowrap; display: inline-flex; align-items: center; min-height: 40px; padding: 0 6px; background: none; border: 0; cursor: pointer;
            font: inherit; font-size: 15px; font-weight: 500; color: var(--green); }
  .replay[hidden] { display: none; }
  @media (min-width: 900px) {
    .find-top { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; max-width: 1160px; margin: 0 auto; }
    .find-top h1 { font-size: clamp(36px, 3.4vw, 48px); }
    .sketch { width: 100%; max-width: 620px; margin: 0 0 0 auto; }
  }

/* every store lands on the map as a butterfly */
.map .pin .bfly { pointer-events: none; }
.map .pin .bfly .arrive { transform-box: fill-box; transform-origin: center; opacity: 0; }
.map .pin .bfly .wings { transform-box: fill-box; transform-origin: center; }
.map .pin .bfly path { fill: var(--gold); stroke: #fff; stroke-width: .07; }
.map .pin .bfly .body { fill: #5a4413; stroke: none; }
.map .pin.poured .bfly path { fill: #d98aa8; }
.map .pin.on .bfly path { fill: var(--green); }
.poured-tag { display: inline-block; margin-left: 8px; font-style: normal; font-size: 12px; letter-spacing: .04em; color: #a8546f; }
.map.landed .pin .bfly .arrive { animation: bf-arrive 1.1s cubic-bezier(.2,.75,.25,1) var(--d) both; }
.map.landed .pin .bfly .wings { animation: bf-flap .22s ease-in-out var(--d) 5; }
@keyframes bf-arrive { 0% { opacity: 0; transform: translate(-1.6px, -2.6px) rotate(-25deg) scale(.3); } 35% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes bf-flap { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.25); } }
/* the plain dots stay until the butterflies land, then fade as each one arrives: no store is ever hidden waiting on the animation */
.map .pin .dot { transition: opacity .4s ease var(--d, 0s); }
.map.landed .pin.bf-far .dot, .map.landed .pin.bf-far .halo { opacity: 0; }
.bf-replay { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(30,28,29,.16); background: rgba(255,255,255,.94); color: var(--green); font-size: 19px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.bf-replay:hover { background: #fff; }
@media (prefers-reduced-motion: reduce) { .map.landed .pin .bfly .arrive { animation: none; opacity: 1; } .map.landed .pin .bfly .wings { animation: none; } }
