/* Line 31026: the one SunRay place design (resources/views/sunray-place/page.blade.php), on top of the shopping concierge's
   own CSS (base, sheet, cards, host). Mobile first (390 px), then 768 and 1200; light and dark; reduced motion safe. The place
   record's palette arrives as --sp-sky, --sp-sea, --sp-land and --sp-accent on <body>. */
.sp-page {
  --sp-ink: var(--sc-ink); --sp-muted: var(--sc-muted); --sp-bg: var(--sc-bg); --sp-card: var(--sc-surface);
  --sp-line: var(--sc-border); --sp-strong: var(--sc-ink-strong);
  --sp-buy: #17211b; --sp-buy-ink: #fbfaf5;
  --sp-radius: 18px; --sp-gap: 16px; --sp-pad: 18px; --sp-max: 1200px;
}
@media (prefers-color-scheme: dark) {
  .sp-page { --sp-buy: #f4f1e6; --sp-buy-ink: #121612; }
}
/* every jump on the page (Products, How it works, Get a quote, Sunny opening Square beside her) lands below the sticky header */
.sp-html { scroll-padding-top: 108px; }
@media (min-width: 768px) { .sp-html { scroll-padding-top: 76px; } }
.sp-skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--sp-buy); color: var(--sp-buy-ink); text-decoration: none; }
.sp-skip:focus { top: 10px; }

/* header: brand, three pages, one call link, EN | ES, the bag; no phone strip, no second agent */
.sp-header {
  position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "brand end" "nav nav";
  align-items: center; gap: 2px 10px; padding: 8px var(--sp-pad) 6px; background: color-mix(in srgb, var(--sp-bg) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--sp-line);
}
.sp-brand { grid-area: brand; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; color: var(--sp-strong); }
.sp-brand__sun { color: var(--sp-accent); flex: none; }
.sp-brand__word { font: 600 22px/1 var(--sc-serif); letter-spacing: .01em; }
.sp-brand__place { font: 500 12px/1 var(--sc-sans); text-transform: uppercase; letter-spacing: .12em; color: var(--sp-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 34vw; }
.sp-nav { grid-area: nav; display: flex; gap: 4px 18px; overflow-x: auto; scrollbar-width: none; }
.sp-nav::-webkit-scrollbar { display: none; }
/* line 31083 CHANGES 21: on a phone the place's pages are ONE row that scrolls sideways under a soft edge fade */
@media (max-width: 767px) {
  .sp-nav { flex-wrap: nowrap; overscroll-behavior-x: contain; padding-right: 28px;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent 100%); }
}
.sp-nav a { display: inline-flex; align-items: center; min-height: 36px; font: 500 14px/1 var(--sc-sans); color: var(--sp-ink); text-decoration: none; white-space: nowrap; }
.sp-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.sp-header__end { grid-area: end; display: flex; align-items: center; justify-content: flex-end; gap: 6px; min-width: 0; }
.sp-call { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--sp-line); color: var(--sp-strong); text-decoration: none; font: 600 13px/1 var(--sc-sans); white-space: nowrap; }
.sp-call:hover { border-color: var(--sp-ink); }
.sp-call__num { font-variant-numeric: tabular-nums; }
.sp-call svg { flex: none; }
.sp-lang { display: inline-flex; border: 1px solid var(--sp-line); border-radius: 999px; padding: 2px; }
.sp-lang__pick { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; min-height: 34px; border-radius: 999px; font: 600 12px/1 var(--sc-sans); letter-spacing: .06em; color: var(--sp-muted); text-decoration: none; }
.sp-lang__pick[aria-current="true"] { background: var(--sp-buy); color: var(--sp-buy-ink); }
.sp-bag { width: 44px; }
@media (max-width: 400px) {
  .sp-brand__place { display: none; }
  .sp-call { padding: 0 10px; font-size: 12px; }
  .sp-call svg { display: none; } /* line 31175: a phone's header has room for the number, not a squeezed icon */
}

/* hero: short, so the kits sit on the first screen at every width */
.sp-main { display: block; }
.sp-hero {
  position: relative; padding: 16px var(--sp-pad) 14px; color: #fff; overflow: hidden;
  background: linear-gradient(160deg, var(--sp-sky) 0%, color-mix(in srgb, var(--sp-sky) 55%, var(--sp-sea)) 55%, var(--sp-sea) 100%);
}
.sp-hero::after { content: ""; position: absolute; right: -60px; top: -70px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--sp-accent) 70%, #fff) 0%, transparent 68%); opacity: .55; pointer-events: none; }
.sp-eyebrow { position: relative; z-index: 1; font: 600 12px/1.3 var(--sc-sans); letter-spacing: .14em; text-transform: uppercase; opacity: .92; }
.sp-hero__title { position: relative; z-index: 1; margin-top: 6px; font: 600 clamp(26px, 7vw, 46px)/1.04 var(--sc-serif); letter-spacing: -.01em; max-width: 24ch; text-wrap: balance; }
.sp-hero__sub { position: relative; z-index: 1; margin-top: 8px; max-width: 62ch; font: 400 14px/1.45 var(--sc-sans); opacity: .95; }
.sp-hero__sun { position: relative; z-index: 1; display: inline-flex; align-items: flex-start; gap: 8px; margin-top: 10px; padding: 6px 10px; border-radius: 12px; background: rgba(0,0,0,.18); font: 500 12.5px/1.4 var(--sc-sans); max-width: 60ch; }
.sp-hero__sun svg { flex: none; margin-top: 1px; color: color-mix(in srgb, var(--sp-accent) 60%, #fff); }
.sp-hero__sun-lead { font-weight: 700; }
.sp-hero__sun-more { display: block; font-weight: 400; opacity: .92; }
/* Line 31279 (3): the first screen stands on the place's own photograph, as the store's on its aerial (base.css .sc-hero: the
   picture covers it, the store's shade under the words), the headline and the sun line over it, readable at 390 and 1440; its
   credit is the hero's last line (the figure's caption, linked by the template kit), clear of the words and the picture's top */
.sp-hero--photo { display: flex; flex-direction: column; justify-content: flex-end; min-height: min(540px, 68svh); padding: 0; background: #23282c; }
.sp-hero--photo::after { display: none; }
.sp-hero--photo .sp-hero__fig { display: contents; }
.sp-hero__img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; object-position: 50% 50%; }
.sp-hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(12,16,20,.62) 0%, rgba(12,16,20,.34) 62%, rgba(12,16,20,.16) 100%),
    linear-gradient(0deg, rgba(8,10,14,.74) 0%, rgba(8,10,14,.28) 46%, rgba(8,10,14,0) 74%);
}
.sp-hero--photo .sp-hero__body { order: 1; position: relative; z-index: 1; padding: 72px var(--sp-pad) 12px; }
.sp-hero--photo .sp-hero__title, .sp-hero--photo .sp-hero__sub { text-shadow: 0 1px 14px rgba(0,0,0,.38); }
.sp-hero--photo .sp-hero__sun { background: rgba(8,10,14,.44); }
.sp-hero__credit { order: 2; position: relative; z-index: 1; padding: 0 var(--sp-pad) 10px; }
.sp-hero__credit .sp-frame__credit, .sp-hero__credit .sp-photo-credit { display: block; margin: 0; color: rgba(255,255,255,.84); font-size: 11px; line-height: 1.45; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.sp-hero__credit .sp-photo-credit a, .sp-hero__credit .sp-photo-credit a:hover { color: #fff; }

/* sections */
.sp-section-head { max-width: var(--sp-max); margin: 0 auto; padding: 0 var(--sp-pad); }
.sp-h2 { font: 600 clamp(26px, 6vw, 40px)/1.08 var(--sc-serif); color: var(--sp-strong); text-wrap: balance; }
.sp-h3 { font: 600 17px/1.3 var(--sc-sans); color: var(--sp-strong); }
.sp-lead { margin-top: 6px; color: var(--sp-muted); font-size: 15px; max-width: 60ch; }
.sp-kits, .sp-quote, .sp-how, .sp-faq { padding: 26px 0; }

/* kits: a swipe row on phones, a five-up grid on desktop */
.sp-kits { padding-top: 18px; }
.sp-kits__row {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(232px, 70%); gap: 12px; margin-top: 14px; padding: 2px var(--sp-pad) 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--sp-pad); overscroll-behavior-x: contain;
}
.sp-kits__cell { scroll-snap-align: start; display: flex; }
.sp-kit { display: flex; flex-direction: column; width: 100%; border: 1px solid var(--sp-line); border-radius: var(--sp-radius); background: var(--sp-card); overflow: hidden; }
.sp-kit__media { position: relative; aspect-ratio: 4 / 3; min-height: 0; background: var(--sc-thumb); }
.sp-kit__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.sp-kit__tag { position: absolute; left: 10px; top: 10px; padding: 4px 8px; border-radius: 999px; background: var(--sp-accent); color: var(--sp-on-accent, #1a1205); font: 600 11px/1 var(--sc-sans); letter-spacing: .04em; }
.sp-kit__hp { position: absolute; right: 10px; top: 10px; padding: 4px 8px; border-radius: 999px; background: rgba(0,0,0,.62); color: #fff; font: 600 12px/1 var(--sc-sans); }
/* Line 31718: the kit photos print their own title across the top, so the chips (Best seller, the HP) sit in a band of their
   own above the picture, never on it; the picture keeps its whole box below the band */
.sp-kit__media { box-sizing: content-box; padding-top: 30px; }
.sp-kit__img { top: 30px; height: calc(100% - 30px); }
.sp-kit__tag, .sp-kit__hp { top: 5px; }
.sp-kit__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 12px 14px 14px; }
.sp-kit__name { font: 600 15px/1.3 var(--sc-sans); color: var(--sp-strong); }
.sp-kit__fit { font-size: 13px; color: var(--sp-muted); }
.sp-kit__price { margin-top: auto; font-size: 13px; color: var(--sp-muted); }
.sp-kit__price strong { font: 600 22px/1 var(--sc-sans); color: var(--sp-strong); margin-right: 4px; }
.sp-kit__stock { font-size: 12px; color: var(--sp-muted); }
/* Buy and Ask share a line when both labels fit; a longer agent name (Mrs. Sunny, Pregúntele a ...) puts Ask on its own line */
.sp-kit__do { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.sp-kit__do > .sp-buy, .sp-kit__do > .sp-ask { flex: 1 1 auto; min-width: 0; }
.sp-kit__do > .sp-buy { padding: 0 16px; }
.sp-buy, .sp-ask { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 12px; font: 600 14px/1 var(--sc-sans); text-decoration: none; cursor: pointer; }
.sp-buy { background: var(--sp-buy); color: var(--sp-buy-ink); border: 0; }
.sp-buy:hover { filter: brightness(1.12); }
.sp-buy[aria-busy="true"] { opacity: .6; }
.sp-ask { border: 1px solid var(--sp-line); background: transparent; color: var(--sp-ink); padding: 0 10px; line-height: 1.2; text-align: center; }
.sp-ask:hover { border-color: var(--sp-ink); }
/* Line 31087 CHANGES 2: lit, the kit's Add to bag (the master template's one button, partials/add-to-bag) stands in Buy's place
   with Buy's look, beside Ask */
.sp-kit__do > .sc-site__add {
  flex: 1 1 auto; width: auto; min-width: 0; min-height: 44px; margin: 0; padding: 0 16px; border: 0; border-radius: 12px;
  background: var(--sp-buy); color: var(--sp-buy-ink); font: 600 14px/1 var(--sc-sans);
}
.sp-kit__do > .sc-site__add:hover { background: var(--sp-buy); filter: brightness(1.12); }

/* phones: the five kits as a compact list (picture beside the words), so the first kit's Buy is on the first screen */
@media (max-width: 767px) {
  .sp-kits { padding-top: 12px; }
  .sp-kits .sp-section-head .sp-h2 { font-size: 22px; }
  .sp-kits .sp-lead { font-size: 13.5px; margin-top: 2px; }
  .sp-kits__row { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; gap: 10px; margin-top: 10px; overflow: visible; scroll-snap-type: none; }
  .sp-kit { flex-direction: row; }
  .sp-kit__media { flex: none; width: 34%; max-width: 132px; aspect-ratio: auto; padding-top: 24px; }
  /* line 31718: the HP chip above the picture and the tag below it, each in its own band */
  .sp-kit__img { position: absolute; inset: 24px 0 22px; height: auto; }
  .sp-kit__tag { top: auto; bottom: 3px; left: 6px; padding: 3px 6px; font-size: 10px; }
  .sp-kit__hp { right: auto; left: 6px; top: 4px; font-size: 11px; }
  .sp-kit__body { padding: 10px 12px 12px; gap: 3px; }
  .sp-kit__name { font-size: 14px; }
  .sp-kit__fit { font-size: 12.5px; }
  .sp-kit__price strong { font-size: 19px; }
  .sp-kit__do { margin-top: 4px; }
  .sp-buy, .sp-ask, .sp-kit__do > .sc-site__add { min-height: 40px; }
}

/* the quote */
.sp-quote { background: color-mix(in srgb, var(--sp-sea) 8%, var(--sp-bg)); }
.sp-quote__frame { max-width: var(--sp-max); margin: 14px auto 0; padding: 0 var(--sp-pad); }
.sp-quote__frame iframe { display: block; width: 100%; min-height: 760px; border: 1px solid var(--sp-line); border-radius: var(--sp-radius); background: var(--sp-card); }
.sp-quote__open { max-width: var(--sp-max); margin: 10px auto 0; padding: 0 var(--sp-pad); font-size: 14px; }
.sp-quote__open a { color: var(--sp-strong); text-underline-offset: 4px; }
.sp-quote__bag { max-width: var(--sp-max); margin: 18px auto 0; padding: 0 var(--sp-pad); }
.sp-quote__hint { margin-top: 4px; font-size: 13px; color: var(--sp-muted); }
.sp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sp-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--sp-line); background: var(--sp-card); color: var(--sp-ink); text-decoration: none; font-size: 14px; }
.sp-chip strong { color: var(--sp-strong); }
.sp-chip:hover { border-color: var(--sp-ink); }
.sp-textlink { margin-top: 10px; padding: 8px 0; border: 0; background: none; color: var(--sp-strong); font: 600 14px/1.3 var(--sc-sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* how it works and the numbers */
.sp-steps { display: grid; gap: 12px; max-width: var(--sp-max); margin: 14px auto 0; padding: 0 var(--sp-pad); list-style: none; counter-reset: none; }
.sp-step { position: relative; padding: 14px 14px 14px 58px; border: 1px solid var(--sp-line); border-radius: var(--sp-radius); background: var(--sp-card); }
.sp-step p { margin-top: 4px; color: var(--sp-muted); font-size: 14px; }
.sp-step__n { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sp-accent); color: var(--sp-on-accent, #1a1205); font: 700 14px/1 var(--sc-sans); }
.sp-numbers { max-width: var(--sp-max); margin: 18px auto 0; padding: 0 var(--sp-pad); }
.sp-numbers__list { display: grid; gap: 10px; margin: 10px 0 0; }
.sp-number { padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--sp-sky) 9%, var(--sp-card)); border: 1px solid var(--sp-line); }
.sp-number dt { font: 600 16px/1.35 var(--sc-sans); color: var(--sp-strong); }
.sp-number dd { margin: 4px 0 0; font-size: 12px; color: var(--sp-muted); overflow-wrap: anywhere; }
.sp-numbers__note { margin-top: 10px; font-size: 14px; color: var(--sp-muted); max-width: 70ch; }

/* Line 31087 item 1: the place story is the record's own photographs, full-bleed, one after another (no three.js, no WebGL).
   Each comes in with a slow zoom (scroll-linked where the browser can, else once as it enters) under a soft light; its words
   sit under the picture on a phone and on a dark band over its foot from 768 px, where they never cover the picture's middle. */
/* the story paints nothing past itself (the photos zoom inside their frames; line 31069's guarantee for the questions after it) */
.sp-story { position: relative; padding: 28px 0 40px; clip-path: inset(0); }
/* one column the page's own width: a photo that fails to load (its alt line on one row) never pushes the page sideways */
.sp-reel { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.sp-frame { position: relative; }
.sp-frame__fig { margin: 0; }
.sp-frame__pic { position: relative; overflow: hidden; height: clamp(260px, 58svh, 520px); background: color-mix(in srgb, var(--sp-sky) 30%, var(--sp-card)); }
.sp-frame__img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transform-origin: 50% 40%; transition: transform 9s cubic-bezier(.2,.6,.2,1); will-change: transform; }
.sp-frame.is-in .sp-frame__img { transform: scale(1); }
.sp-frame__light { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 70% at 86% -6%, color-mix(in srgb, var(--sp-accent) 38%, rgba(255,240,205,.55)) 0%, transparent 58%);
  mix-blend-mode: soft-light; opacity: .75; animation: sp-glow 11s ease-in-out infinite alternate; }
@keyframes sp-glow { from { opacity: .45; transform: translate3d(-2%, 0, 0); } to { opacity: .9; transform: translate3d(2%, 1.5%, 0); } }
@supports (animation-timeline: view()) {
  .sp-frame__img, .sp-frame.is-in .sp-frame__img { transition: none; animation: sp-drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  @keyframes sp-drift { from { transform: scale(1.12) translate3d(0, -3%, 0); } to { transform: scale(1.02) translate3d(0, 3%, 0); } }
}
.sp-frame__cap { max-width: var(--sp-max); margin: 0 auto; padding: 10px var(--sp-pad) 0; }
.sp-frame__title { font: 600 clamp(19px, 4.6vw, 26px)/1.15 var(--sc-serif); color: var(--sp-ink); }
.sp-frame__text { margin-top: 6px; max-width: 68ch; font-size: 15px; line-height: 1.5; color: var(--sp-ink); }
.sp-frame__credit { display: block; margin-top: 6px; font-size: 11px; color: var(--sp-muted); overflow-wrap: anywhere; }
.sp-frame--words .sp-frame__cap { padding-top: 18px; padding-bottom: 18px; border-left: 3px solid var(--sp-accent); margin-left: var(--sp-pad); padding-left: 14px; }
.sp-story__flow { padding-top: 26px; }
.sp-story__head { margin-top: 10px; }
.sp-pillars, .sp-cities { max-width: var(--sp-max); margin: 14px auto 0; padding: 0 var(--sp-pad); }
.sp-pillars { display: grid; gap: 14px; }
.sp-pillars--mixed { align-items: start; }
figcaption { margin-top: 4px; font-size: 11px; color: var(--sp-muted); overflow-wrap: anywhere; }
.sp-pillar, .sp-city { border-radius: var(--sp-radius); background: color-mix(in srgb, var(--sp-card) 90%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid color-mix(in srgb, var(--sp-line) 70%, transparent); }
.sp-pillar { padding: 16px; }
.sp-pillar p, .sp-city p { margin-top: 6px; font-size: 15px; color: var(--sp-ink); }
.sp-pillar__photo { margin: -16px -16px 12px; }
.sp-pillar__photo img, .sp-city__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--sp-radius) var(--sp-radius) 0 0; }
.sp-pillar__photo figcaption, .sp-city__photo figcaption { padding: 0 16px; }
.sp-cities { display: grid; gap: 14px; list-style: none; }
.sp-city { overflow: hidden; }
.sp-city__photo { margin: 0; }
.sp-city__body { padding: 14px 16px 16px; }
.sp-city__facts { margin-top: 8px; display: grid; gap: 4px; }
.sp-city__facts li { font-size: 13px; color: var(--sp-muted); padding-left: 14px; position: relative; }
.sp-city__facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--sp-accent); }
.sp-city__more > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--sp-ink); cursor: pointer; list-style: none; }
.sp-city__more > summary::-webkit-details-marker { display: none; }
.sp-city__more > summary::after { content: "+"; font-size: 18px; line-height: 1; color: var(--sp-accent); }
.sp-city__more[open] > summary::after { content: "\2212"; }
.sp-city__more .sp-city__facts { margin-top: 0; }
.sp-city p.sp-city__sun { margin-top: 10px; font-size: 13px; color: var(--sp-muted); }
.sp-city__sun small { display: block; font-size: 12px; }

/* questions */
.sp-faq__list { max-width: var(--sp-max); margin: 12px auto 0; padding: 0 var(--sp-pad); display: grid; gap: 8px; }
.sp-qa { border: 1px solid var(--sp-line); border-radius: 14px; background: var(--sp-card); }
.sp-qa summary { cursor: pointer; padding: 14px 16px; font: 600 15px/1.35 var(--sc-sans); color: var(--sp-strong); list-style: none; }
.sp-qa summary::-webkit-details-marker { display: none; }
.sp-qa summary::after { content: "+"; float: right; margin-left: 10px; color: var(--sp-muted); }
.sp-qa[open] summary::after { content: "–"; }
.sp-qa p { padding: 0 16px 16px; color: var(--sp-ink); font-size: 15px; }

/* footer: the one set of facts, the pages, the local SunRay sites */
.sp-footer { padding: 28px var(--sp-pad) 20px; background: var(--sc-forest); color: var(--sc-on-dark); }
.sp-footer__grid { max-width: var(--sp-max); margin: 0 auto; display: grid; gap: 22px; }
.sp-footer__title { font: 600 13px/1.2 var(--sc-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sc-on-dark-2); margin-bottom: 10px; }
.sp-footer ul { display: grid; gap: 7px; }
.sp-footer li { font-size: 14px; line-height: 1.45; }
.sp-footer a, .sp-footer__talk { color: var(--sc-on-dark); text-underline-offset: 4px; }
.sp-footer__talk { padding: 0; border: 0; background: none; font: inherit; text-decoration: underline; cursor: pointer; }
.sp-footer small { color: var(--sc-on-dark-2); opacity: .8; }
.sp-footer__brand { max-width: var(--sp-max); margin: 24px auto 0; font: 600 26px/1 var(--sc-serif); }
.sp-footer__preview { max-width: var(--sp-max); margin: 8px auto 0; font-size: 12px; color: var(--sc-on-dark-2); opacity: .85; }

/* the live human at the bottom right, one premium button that opens Call, WhatsApp and Text */
.sp-page .sc-meet-human { background: #fbfaf5; color: #17211b; border: 0; box-shadow: 0 6px 18px rgba(0,0,0,.22); padding: 0 14px 0 12px; font-weight: 600; }
.sp-page .sc-meet-human::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3fbf6a; box-shadow: 0 0 0 3px rgba(63,191,106,.25); }
.sp-page .sc-meet-human:hover { background: #fff; }

/* tablet */
@media (min-width: 768px) {
  .sp-page { --sp-pad: 28px; }
  .sp-header { grid-template-columns: auto 1fr auto; grid-template-areas: "brand nav end"; padding-top: 10px; padding-bottom: 10px; }
  .sp-nav { justify-content: center; }
  .sp-brand__place { max-width: none; }
  .sp-hero { padding-top: 24px; padding-bottom: 20px; }
  .sp-hero__title { max-width: 30ch; font-size: clamp(30px, 4.6vw, 44px); }
  .sp-hero--photo { min-height: min(560px, 64vh); padding: 0; }
  .sp-hero--photo .sp-hero__body { padding: 96px var(--sp-pad) 16px; }
  .sp-hero--photo .sp-hero__title { max-width: 22ch; font-size: clamp(34px, 4.8vw, 52px); }
  .sp-kits__row { grid-auto-columns: minmax(250px, 40%); }
  .sp-steps { grid-template-columns: repeat(3, 1fr); }
  .sp-numbers__list { grid-template-columns: 1fr 1fr; }
  .sp-pillars { grid-template-columns: 1fr 1fr; }
  .sp-cities { grid-template-columns: 1fr 1fr; }
  .sp-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
/* small tablets: the hero's eyebrow names the place, so the header keeps the brand, the nav and the one call link apart */
@media (min-width: 768px) and (max-width: 1023px) {
  .sp-brand__place { display: none; }
}
/* desktop: the five kits side by side on the first screen */
@media (min-width: 1200px) {
  .sp-page { --sp-pad: 40px; }
  .sp-hero { padding: 26px max(var(--sp-pad), calc((100vw - var(--sp-max)) / 2 + var(--sp-pad))) 22px; }
  .sp-hero__title { max-width: 30ch; font-size: clamp(30px, 3vw, 44px); }
  .sp-hero__sub { max-width: 78ch; }
  .sp-hero--photo { padding: 0; }
  .sp-hero--photo .sp-hero__body, .sp-hero__credit { width: 100%; max-width: var(--sp-max); margin: 0 auto; }
  .sp-hero--photo .sp-hero__title { max-width: 22ch; font-size: clamp(36px, 3.4vw, 52px); }
  .sp-kits { padding-top: 14px; }
  .sp-kits .sp-h2 { font-size: 30px; }
  .sp-kits .sp-lead { margin-top: 2px; font-size: 14px; }
  .sp-kits__row { margin-top: 10px; }
  /* the header already names the place and the kits say what comes in them: the five Buys clear Sunny's face and bar */
  .sp-hero .sp-eyebrow, .sp-kits .sp-lead { display: none; }
  .sp-hero__title { margin-top: 0; }
  .sp-hero__sun { max-width: none; }
  .sp-kit__price { font-size: 12px; }
  .sp-kit__do .sp-ask { font-size: 13px; padding: 0 6px; }
  .sp-kit__body { padding: 10px 12px 12px; gap: 4px; }
  .sp-kit__name { font-size: 14px; line-height: 1.25; }
  .sp-kit__fit { font-size: 12.5px; }
  .sp-kit__price strong { font-size: 20px; }
  .sp-kits__row { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; max-width: var(--sp-max); margin-left: auto; margin-right: auto; }
  .sp-pillars { grid-template-columns: repeat(3, 1fr); }
  .sp-cities { grid-template-columns: repeat(3, 1fr); }
}
/* five narrow kits (Sunny's container open below 1440 px, or a short laptop screen): each name keeps three lines (the whole
   name stays in the page for readers and agents) so a long name, often a Spanish one, never pushes the Buys down */
@media (min-width: 1200px) and (max-width: 1439px), (min-width: 1200px) and (max-height: 860px) {
  .sp-kit__name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
  .sp-kit__tag { padding: 3px 6px; font-size: 10px; }
}
/* short laptop screens (1280x720, 1366x768): a tighter hero and shorter kit pictures keep the Buys clear of Sunny's bars */
@media (min-width: 1200px) and (max-height: 860px) {
  .sp-hero { padding-top: 14px; padding-bottom: 14px; }
  .sp-hero__title { font-size: clamp(28px, 2.4vw, 36px); }
  .sp-hero__sub { display: none; }
  .sp-hero--photo { min-height: min(440px, 56vh); padding: 0; }
  .sp-hero--photo .sp-hero__body { padding-top: 56px; }
  .sp-hero--photo .sp-hero__title { font-size: clamp(30px, 2.8vw, 42px); }
  .sp-kits { padding-top: 8px; }
  .sp-kits .sp-h2 { font-size: 24px; }
  .sp-kit__media { aspect-ratio: 2 / 1; }
}
/* from 768 px the words lie on a dark band over the picture's foot, light on dark, never over its middle */
@media (min-width: 768px) {
  .sp-frame__pic { height: clamp(420px, 78svh, 760px); }
  .sp-frame__fig { position: relative; }
  .sp-frame__fig .sp-frame__cap { position: absolute; left: 0; right: 0; bottom: 0; max-width: none; margin: 0; padding: 64px max(var(--sp-pad), calc((100vw - var(--sp-max)) / 2 + var(--sp-pad))) 22px;
    background: linear-gradient(180deg, transparent 0%, rgba(8, 14, 20, .58) 42%, rgba(8, 14, 20, .78) 100%); }
  .sp-frame__fig .sp-frame__title, .sp-frame__fig .sp-frame__text { color: #fff; max-width: 60ch; text-shadow: 0 1px 2px rgba(0,0,0,.45); }
  .sp-frame__fig .sp-frame__credit { color: rgba(255,255,255,.82); }
  .sp-reel { gap: 0; }
  .sp-frame--words .sp-frame__cap { margin: 22px auto; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-frame__img, .sp-frame.is-in .sp-frame__img { transform: none; transition: none; animation: none; }
  .sp-frame__light { animation: none; }
}

/* a refused record (the owner sees every reason) */
.sp-refused { margin: 0; font: 400 15px/1.5 system-ui, sans-serif; background: #fbfaf6; color: #1c1d16; }
.sp-refused__main { max-width: 760px; margin: 0 auto; padding: 32px 20px; }
.sp-refused__list { margin: 14px 0; padding-left: 20px; display: grid; gap: 6px; }
@media (prefers-color-scheme: dark) { .sp-refused { background: #151812; color: #ecebe3; } }
/* Line 31087 item 2 (shop_quote_widget): lit, the quote section is only the quote's beginning, a small card like the
   quote's own "Start your instant quote" (pool or well, the address, Start my quote); Start opens the place's quote page, the
   quote at the page's width with Buy on the kit it picks (.sp-quote--page). Flat: hairlines, never a shadow. */
.sp-qw-wrap { max-width: var(--sp-max); margin: 14px auto 0; padding: 0 var(--sp-pad); }
.sp-qw {
  display: grid; gap: 12px; max-width: 560px; padding: 16px; border: 1px solid var(--sp-line); border-radius: var(--sp-radius);
  background: var(--sp-card);
}
.sp-qw__kind { display: flex; gap: 4px; min-width: 0; margin: 0; padding: 4px; border: 1px solid var(--sp-line); border-radius: 999px; }
.sp-qw__legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sp-qw__opt { position: relative; display: flex; flex: 1 1 0; min-width: 0; }
.sp-qw__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sp-qw__opt span {
  display: flex; flex: 1; align-items: center; justify-content: center; min-height: 40px; padding: 0 12px; border-radius: 999px;
  color: var(--sp-muted); font: 600 14px/18px var(--sc-sans); text-align: center;
}
.sp-qw__opt input:checked + span { background: var(--sp-buy); color: var(--sp-buy-ink); }
.sp-qw__opt input:focus-visible + span { outline: 2px solid var(--sp-strong); outline-offset: 2px; }
.sp-qw__label { font: 600 14px/20px var(--sc-sans); color: var(--sp-strong); }
.sp-qw__field { position: relative; display: flex; align-items: center; margin-top: -6px; }
.sp-qw__pin { position: absolute; left: 14px; color: var(--sp-muted); pointer-events: none; }
.sp-qw__addr {
  width: 100%; min-height: 48px; padding: 0 14px 0 40px; border: 1px solid var(--sp-line); border-radius: 12px;
  background: var(--sp-bg); color: var(--sp-ink); font: 400 16px/22px var(--sc-sans);
}
.sp-qw__addr::placeholder { color: var(--sc-placeholder); }
.sp-qw__addr:focus-visible { outline: 2px solid var(--sp-strong); outline-offset: 1px; }
.sp-qw__start { gap: 8px; width: 100%; min-height: 48px; font-size: 15px; }
.sp-quote--page { padding-top: 14px; }
.sp-quote__back {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--sp-muted); font: 500 14px/18px var(--sc-sans);
  text-decoration: none;
}
.sp-quote__back:hover { color: var(--sp-strong); }
.sp-quote__title { margin-top: 2px; }
.sp-quote__where { margin-top: 8px; color: var(--sp-muted); font: 500 14px/20px var(--sc-sans); overflow-wrap: anywhere; }
.sp-quote__frame--page iframe { min-height: 760px; }
.sp-chip[aria-current="true"] { border-color: var(--sp-strong); }
.sp-chip__picked { padding: 2px 8px; border-radius: 999px; background: var(--sp-buy); color: var(--sp-buy-ink); font: 600 12px/16px var(--sc-sans); font-style: normal; }
.sp-chip__picked[hidden] { display: none; }
@media (max-width: 479.98px) {
  .sp-qw { padding: 14px; }
  .sp-quote__frame--page { padding: 0 10px; }
  .sp-quote__frame--page iframe { min-height: 680px; }
}

/* Line 31744 (pump_sites_store_listing): sunrayus.com's six listings, each one card with its kit and its pump at the served
   prices and Square links; the picture is a button that opens it big (place.js viewer, after sunrayus.com's own lightbox:
   the dark sheet, the close button, Esc, a tap outside); the signed speed line leads the section at every width */
.sp-kits__speed { margin-top: 8px; max-width: 66ch; font: 600 15px/1.45 var(--sc-sans); color: var(--sp-strong); }
.sp-kit__zoom { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in; }
.sp-kit__zoom:focus-visible { outline: 3px solid var(--sp-accent); outline-offset: -3px; border-radius: var(--sp-radius); }
.sp-kit__pump { font-size: 13px; color: var(--sp-muted); }
.sp-kit__pump strong { font: 600 17px/1 var(--sc-sans); color: var(--sp-strong); margin-right: 4px; }
.sp-kit__terms { font-size: 12.5px; font-weight: 600; color: #137333; }
.sp-kit--listing .sp-kit__do > .sp-buy { flex: 1 1 100%; padding: 0 12px; }
.sp-kit__do--listing { margin-top: 0; padding: 0 14px 14px; }
.sp-buy--pump { background: transparent; color: var(--sp-strong); border: 1.5px solid var(--sp-buy); }
.sp-zoom { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0, 0, 0, .9); }
.sp-zoom[hidden] { display: none; }
.sp-zoom__img { display: block; max-width: 92vw; max-height: 86vh; width: auto; height: auto; border-radius: 12px; background: #fff; box-shadow: 0 8px 40px rgba(0, 0, 0, .5); object-fit: contain; }
.sp-zoom__close { position: absolute; top: max(12px, env(safe-area-inset-top)); right: 12px; width: 48px; height: 48px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .16); color: #fff; font: 600 26px/1 var(--sc-sans); cursor: pointer; }
.sp-zoom__close:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.sp-zoom__cap { position: absolute; left: 16px; right: 72px; bottom: max(14px, env(safe-area-inset-bottom)); margin: 0; color: #fff; font: 500 14px/1.35 var(--sc-sans); }
html.sp-zoom-open { overflow: hidden; }
@media (prefers-color-scheme: dark) { .sp-kit__terms { color: #81c995; } }
@media (max-width: 767px) {
  .sp-kits__speed { font-size: 13.5px; margin-top: 4px; }
  .sp-kit__pump { font-size: 12px; }
  .sp-kit__pump strong { font-size: 15px; }
  .sp-kit__terms { font-size: 11.5px; }
  .sp-kit--listing .sp-buy { min-height: 40px; font-size: 13px; }
  /* a phone: the picture and the words side by side, the two Square links and Ask under them at the card's whole width */
  .sp-kit--listing { flex-wrap: wrap; }
  .sp-kit--listing > .sp-kit__body { flex: 1 1 0; min-width: 0; }
  .sp-kit__do--listing { flex: 1 1 100%; padding: 0 12px 12px; }
}
@media (min-width: 768px) {
  .sp-kits__row--listing { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; max-width: var(--sp-max); margin-left: auto; margin-right: auto; }
}
@media (min-width: 1200px) {
  .sp-kits__row--listing { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sp-kit__do--listing { padding: 0 12px 12px; }
}

/* Line 31250: readable attribution below the photo at every width, clear of its subject. */
.sp-frame__fig .sp-frame__cap {
  position: static;
  padding: 12px max(var(--sp-pad), calc((100vw - var(--sp-max)) / 2 + var(--sp-pad)));
  background: none;
}
.sp-frame__fig .sp-frame__title,
.sp-frame__fig .sp-frame__text { color: var(--sp-ink); text-shadow: none; }
.sp-frame__fig .sp-frame__credit,
.sp-photo-credit { color: var(--sp-ink); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.sp-photo-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.sp-photo-credit a:hover { color: var(--sp-ink); }
.sp-photo-credit a:focus-visible { outline: 2px solid var(--sp-accent); outline-offset: 3px; }
