/* Satellite featured homes v3.1 adds the compact one-row head; v3.3 stacks the phone under the logo and gives each invitation a converting sub-line and a solid CTA; v3.2 moves the arrows to the sides of the row and splits the close into a buyer and a seller invitation, each with its own button (Bryan 2026-11-06).
 * Satellite featured homes v3: visual design authored by Claude (Opus 5.5), 2026-11-06.
 *
 * v3 (Bryan's direction): a feature section, not an ad slot. Up to 12 of our own homes in a
 * photo-led horizontal slider: three and a peek on desktop, swipe on phones, arrow buttons when
 * there is more to see. Each card opens with its town in the site's gold small-caps label so it is
 * obvious where the home is. Panel vocabulary still borrows the site's "On the square this week"
 * parchment panel (gold rule, 16px radius, Cormorant display). The common GAMLS notice stays in the
 * same-page footer note (.sfh-source-note).
 *
 * Whole-photo rule: media box and <img> always share one explicit width/height; contain fit; no
 * overlay, crop, transform or hover zoom. Plain CSS; the only script is the optional arrow-button
 * enhancement emitted by the PHP (no dependency, no autoplay).
 * Modes by the SECTION's width (container "sfh"): >620px photo-on-top slider; <=620px compact
 * landscape cards in a swipe row.
 */

/* ===================================================================== tokens + panel */
.sfh {
  --sfh-ink:#14211a;
  --sfh-forest:#1b2e22;
  --sfh-gold:#a8833a;
  --sfh-gold-ink:#7f6221;
  --sfh-rule:#d9c48e;
  --sfh-hair:#e3d5b3;
  --sfh-panel:#f5eedf;
  --sfh-wash:#ebe2cd;
  --sfh-muted:#4a5650;
  --sfh-pad:32px;
  --sfh-gap:20px;
  --sfh-display:var(--wp--preset--font-family--display,var(--wp--preset--font-family--heading,Georgia,"Times New Roman",serif));
  container:sfh/inline-size;
  box-sizing:border-box;
  width:min(1240px,calc(100% - 48px));
  max-width:100%;
  margin:36px auto;
  padding:18px var(--sfh-pad) 18px;
  background:var(--sfh-panel);
  border:1px solid var(--sfh-rule);
  border-top:3px solid var(--sfh-gold);
  border-radius:16px;
  color:var(--sfh-ink);
  font-family:inherit;
  font-size:15px;
  line-height:1.45;
  clear:both;
}
.sfh *,.sfh *::before,.sfh *::after{box-sizing:border-box}
.sfh p{margin:0}
.entry-content .sfh{width:100%;margin:36px 0}
/* v4.1: on the homepage the section follows the full-bleed Christmas/Events band; give it room to breathe. */
.dd-section + .sfh{margin:64px auto!important}
@media (max-width:640px){.dd-section + .sfh{margin:36px auto!important}}

.sfh a{
  color:var(--sfh-forest)!important;background-image:none!important;border:0!important;box-shadow:none!important;
  text-decoration:underline!important;text-decoration-color:var(--sfh-gold)!important;
  text-decoration-thickness:1px!important;text-underline-offset:3px;letter-spacing:0!important;
}
.sfh a:hover{text-decoration-thickness:2px!important}
.sfh a:focus-visible,.sfh button:focus-visible{outline:3px solid #8a6516;outline-offset:2px;border-radius:4px}

/* ===================================================================== head (one compact row) */
.sfh__head{display:flex;align-items:center;gap:10px 28px}
.sfh__brand{display:flex;flex-direction:column;align-items:center;flex:none;gap:0}
.sfh .sfh__logo{display:block;flex:none;width:230px;max-width:100%;height:auto;margin:-10px 0 -12px;border:0;object-fit:contain}
.sfh__title{flex:1 1 auto;min-width:0;padding-left:28px;border-left:1px solid var(--sfh-rule)}
.sfh h2{
  margin:0!important;padding:0!important;border:0!important;background:none!important;
  font-family:var(--sfh-display)!important;font-size:clamp(28px,2.6vw,36px)!important;font-weight:500!important;
  line-height:1.05!important;letter-spacing:-.005em!important;text-transform:none!important;color:var(--sfh-ink)!important;
}
.sfh h2::before,.sfh h2::after{content:none!important;display:none!important}
.sfh .sfh__asof{margin:6px 0 0!important;font-size:12.5px!important;line-height:1.4;color:var(--sfh-muted)}
.sfh .sfh__source-link{font-size:12.5px;white-space:nowrap;margin-left:.5em}
.sfh .sfh__phone{
  display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:30px;margin:0;
  font-size:17px;letter-spacing:.02em!important;font-weight:700;line-height:1;white-space:nowrap;font-variant-numeric:lining-nums tabular-nums;
}
/* Slider arrows: at the two sides of the row, vertically centred on the photos, straddling the
 * panel edge so they never sit on top of an MLS photo. Hidden at whichever end has nothing more. */
.sfh__rail{position:relative;--sfh-card-w:max(240px,calc((100cqi - 3 * var(--sfh-gap)) / 3.5))} /* cqi = .sfh content width */
.sfh__nav{display:contents}
.sfh__nav[hidden]{display:none}
.sfh .sfh__btn{
  position:absolute;z-index:2;top:calc(4px + var(--sfh-card-w) / 3 - 24px); /* row's 14px top margin collapses outside the rail */
  display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;margin:0;padding:0 0 4px;
  border:1px solid var(--sfh-rule);border-radius:50%;background:#fffdf8;color:var(--sfh-forest);
  font:400 30px/1 var(--sfh-display);cursor:pointer;box-shadow:0 6px 18px rgba(20,33,26,.18);
  transition:opacity .15s ease,background-color .15s ease;
}
.sfh .sfh__btn--prev{left:calc(-1 * var(--sfh-pad) - 24px)}
.sfh .sfh__btn--next{right:calc(-1 * var(--sfh-pad) - 24px)}
.sfh .sfh__btn:hover:not(:disabled){background:var(--sfh-forest);border-color:var(--sfh-forest);color:#fffdf8}
.sfh .sfh__btn:disabled{opacity:0;pointer-events:none}

/* ===================================================================== slider row */
.sfh .gidx{max-width:none;margin:0;padding:0;background:transparent;color:var(--sfh-ink);font:inherit;line-height:1.4}
.sfh .gidx .gidx-grid--strip{
  /* Three and a half cards (width set on .sfh__rail); the row scrolls when there are more. */
  /* minmax(...,1fr): with three or fewer homes the cards stretch to fill the row; with more, it scrolls. */
  display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(var(--sfh-card-w),1fr);
  gap:var(--sfh-gap);margin:14px -4px 0;padding:4px 4px 12px;list-style:none;
  overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;scroll-padding-inline:4px;
  scrollbar-width:thin;scrollbar-color:var(--sfh-rule) transparent;
}
@supports not (width:1cqi){.sfh__rail{--sfh-card-w:300px}}
.sfh .gidx .gidx-grid--strip::-webkit-scrollbar{height:6px}
.sfh .gidx .gidx-grid--strip::-webkit-scrollbar-thumb{background:var(--sfh-rule);border-radius:3px}

/* Cards: photo-led, no box. */
.sfh .gidx .gidx-card{
  container:sfh-card/inline-size;
  display:flex;flex-direction:column;min-width:0;margin:0;padding:0;
  background:transparent;border:0;border-radius:0;box-shadow:none;scroll-snap-align:start;
}
.sfh .gidx .gidx-card__link,
.sfh .gidx .gidx-card__link *{color:inherit!important;text-decoration:none!important;background-image:none!important;border-bottom:0!important;box-shadow:none!important}
.sfh .gidx .gidx-card__link{display:flex;flex-direction:column;gap:10px;flex:none;padding:0;color:var(--sfh-ink)!important;border-radius:8px}
.sfh .gidx .gidx-card__link:hover .gidx-card__title{text-decoration:underline!important;text-decoration-color:var(--sfh-gold)!important;text-underline-offset:3px}
.sfh .gidx .gidx-card__link:focus-visible{outline:3px solid #8a6516;outline-offset:3px}

/* Photo on top, card width at 3:2 by explicit length. */
.sfh .gidx .gidx-card__media{
  --sfh-photo-w:100%;
  --sfh-photo-h:200px;
  display:block;flex:none;width:var(--sfh-photo-w);
  height:var(--sfh-photo-h);min-height:0;max-height:var(--sfh-photo-h);aspect-ratio:auto;
  margin:0;overflow:hidden;border-radius:8px;background:var(--sfh-wash);
}
@supports (height:1cqi){
  .sfh .gidx .gidx-card__media{--sfh-photo-h:calc(100cqi * 2 / 3)}
}
.sfh .gidx .gidx-card__media img{
  display:block;width:100%!important;max-width:100%!important;min-width:0;
  height:var(--sfh-photo-h)!important;max-height:var(--sfh-photo-h)!important;min-height:0;aspect-ratio:auto;
  object-fit:contain!important;object-position:center;margin:0;border:0;border-radius:0;
}
.sfh .gidx-card__media img,
.sfh .gidx-card:hover .gidx-card__media img,
.sfh .gidx-card__link:hover .gidx-card__media img{transform:none!important;filter:none!important;transition:none!important}

/* Text. The town line moves to the top of each card (CSS order only, markup unchanged). */
.sfh .gidx .gidx-card__body{display:flex;flex-direction:column;gap:2px;min-width:0;padding:0}
.sfh .gidx .gidx-card__loc{
  order:-1;margin:0 0 3px!important;font-family:var(--sfh-display);font-size:15px!important;font-weight:600;line-height:1.2;
  font-variant:all-small-caps;letter-spacing:.1em;color:var(--sfh-gold-ink)!important;
}
.sfh .gidx .gidx-card__top{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:0 10px;margin:0!important;line-height:1.05}
.sfh .gidx .gidx-card__price{font-family:var(--sfh-display);font-size:25px;font-weight:600;line-height:1.05;letter-spacing:-.005em;color:var(--sfh-ink)!important}
.sfh .gidx .gidx-badge{font-size:12.5px;color:var(--sfh-muted)!important}
.sfh .gidx .gidx-card__facts{display:flex;flex-wrap:wrap;gap:0 10px;margin:4px 0 0!important;padding:0;font-size:13.5px;line-height:1.4}
.sfh .gidx .gidx-card__facts li{margin:0;padding:0;white-space:nowrap;list-style:none}
.sfh .gidx .gidx-card__facts li::before,.sfh .gidx .gidx-card__facts li::marker{content:none}
.sfh .gidx .gidx-card__title{
  margin:4px 0 0!important;padding:0!important;border:0!important;
  font-family:inherit!important;font-size:15px!important;font-weight:600!important;line-height:1.25!important;
  letter-spacing:0!important;text-transform:none!important;
}
.sfh .gidx .gidx-card__title::before,.sfh .gidx .gidx-card__title::after{content:none!important}

/* Per-listing firm attribution (GAMLS A7): every card, 14px, above the ~13.5px data median. */
.sfh .gidx .gidx-card>.gidx-attribution{
  margin:8px 0 0;padding:7px 0 0;border:0;border-top:1px solid var(--sfh-hair);
  font-size:14px;line-height:1.35;color:#2a362f;background:transparent;
}
.sfh .gidx .gidx-attribution a{font-size:inherit}

.sfh .gidx .gidx-strip__more{margin:0!important;font-size:14px;line-height:1.35}
.sfh .gidx .gidx-strip__more a{display:inline-flex;align-items:center;min-height:36px;font-weight:700}

/* Old markup safety: an upper-section notice, if ever rendered, stays readable. */
.sfh .gidx .gidx-compliance{margin:10px 0 0;padding:0;border:0;font-size:12px;line-height:1.5;color:var(--sfh-muted)}
.sfh .gidx .gidx-compliance__logo{height:22px}

/* ===================================================================== close: buyer + seller invitations
 * Each: a Cormorant headline, a converting sub-line, and a solid call-to-action button. */
.sfh .sfh__cta{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 36px;
  margin:10px 0 0;padding:16px 0 0;border-top:1px solid var(--sfh-rule);
}
.sfh__offer{display:flex;align-items:center;justify-content:space-between;gap:12px 20px;padding-left:16px;border-left:3px solid var(--sfh-gold)}
.sfh__offer-text{flex:1 1 auto;min-width:0}
.sfh .sfh__offer-q{margin:0!important;font-family:var(--sfh-display);font-size:23px!important;font-weight:600;line-height:1.1;color:var(--sfh-ink)}
.sfh .sfh__offer-sub{margin:4px 0 0!important;font-size:14px!important;line-height:1.4;color:#33403a}
.sfh .sfh__button{
  display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 22px;
  border:1.5px solid var(--sfh-forest)!important;border-radius:999px;
  background:transparent;color:var(--sfh-forest)!important;
  font-size:15px;font-weight:700;line-height:1;white-space:nowrap;text-decoration:none!important;flex:none;
  box-shadow:0 2px 0 rgba(20,33,26,.12)!important;
}
.sfh .sfh__button:hover{background:var(--sfh-wash)}
/* Primary: the site's own gold pill (as its header CTA), forest ink. */
.sfh .sfh__button--primary{
  background:linear-gradient(180deg,#e2c477,#c39a45)!important;border-color:#b38b3c!important;color:#14211a!important;
}
.sfh .sfh__button--primary:hover{background:linear-gradient(180deg,#e9cf88,#c9a24f)!important}
/* Seller: solid forest, the site's own navigation colour, ivory ink. */
.sfh .sfh__button--seller{background:var(--sfh-forest)!important;border-color:var(--sfh-forest)!important;color:#fbf6ea!important}
.sfh .sfh__button--seller:hover{background:#26402f!important}
.sfh .sfh__disclosure{margin:10px 0 0!important;font-size:12px!important;line-height:1.45;color:var(--sfh-muted)}

/* ===================================================================== WIDE, three or fewer homes
 * Nothing to slide, so stretching photo cards across 1200px would only make them tall. Use compact
 * landscape cards (whole 3:2 photo beside the text) instead. */
@container sfh (min-width:1000px){
  .sfh .gidx .gidx-grid--strip:not(:has(> .gidx-card:nth-child(4))){grid-auto-columns:minmax(0,1fr);overflow:visible}
  .sfh .gidx .gidx-grid--strip:not(:has(> .gidx-card:nth-child(4))) .gidx-card__link{flex-direction:row;align-items:center;gap:16px}
  .sfh .gidx .gidx-grid--strip:not(:has(> .gidx-card:nth-child(4))) .gidx-card__media{--sfh-photo-w:174px;--sfh-photo-h:116px;border-radius:6px}
  .sfh .gidx .gidx-grid--strip:not(:has(> .gidx-card:nth-child(4))) .gidx-card__body{flex:1}
}

/* ===================================================================== MEDIUM: article column */
@container sfh (min-width:621px) and (max-width:999px){
  .sfh .sfh__logo{width:190px}
  .sfh .sfh__phone{font-size:16px}
  .sfh__title{padding-left:22px}
  .sfh__rail{--sfh-card-w:max(200px,calc((100cqi - 2 * var(--sfh-gap)) / 2.4))}
  .sfh .sfh__cta{grid-template-columns:1fr 1fr;gap:14px 24px}
  .sfh__offer{flex-direction:column;align-items:flex-start}
  .sfh .sfh__offer-q{font-size:21px!important}
  .sfh .gidx .gidx-card__price{font-size:25px}
}

/* ===================================================================== NARROW: phones */
@container sfh (max-width:620px){
  .sfh__head{flex-wrap:wrap;gap:8px 12px}
  .sfh__brand{flex:1 1 100%}
  .sfh .sfh__logo{width:190px}
  .sfh__title{flex:1 1 100%;padding-left:0;border-left:0;text-align:center}
  .sfh .sfh__phone{font-size:16px}
  .sfh h2{font-size:26px!important}
  .sfh .sfh__asof{font-size:12px!important;margin-top:4px!important}
  .sfh__nav{display:none}

  .sfh__rail{--sfh-card-w:min(86cqi,310px)}
  .sfh .gidx .gidx-grid--strip{grid-auto-columns:var(--sfh-card-w);gap:14px;scroll-snap-type:x proximity}
  .sfh .gidx .gidx-card__link{flex-direction:row;align-items:center;gap:12px}
  .sfh .gidx .gidx-card__media{--sfh-photo-w:114px;--sfh-photo-h:76px;border-radius:6px}
  .sfh .gidx .gidx-card__body{flex:1}
  .sfh .gidx .gidx-card__loc{font-size:13.5px!important;margin-bottom:1px!important}
  .sfh .gidx .gidx-card__price{font-size:22px}
  .sfh .gidx .gidx-card__facts{gap:0 8px;font-size:12.5px;line-height:1.35}
  .sfh .gidx .gidx-card__title{font-size:14px!important;margin-top:3px!important}
  .sfh .gidx .gidx-card>.gidx-attribution{margin-top:8px}
  .sfh .gidx .gidx-strip__more{margin:2px 0 0!important}

  .sfh .sfh__cta{grid-template-columns:1fr;gap:14px;padding-top:14px}
  .sfh__offer{flex-direction:column;align-items:stretch;padding-left:12px}
  .sfh .sfh__offer-q{font-size:20px!important}
  .sfh .sfh__offer-sub{font-size:13.5px!important}
  .sfh .sfh__button{width:100%;min-height:44px;padding:0 12px;font-size:14.5px}
  .sfh .sfh__disclosure{font-size:11.5px!important}
}
@container sfh (max-width:300px){
  .sfh .sfh__logo{width:160px}
  .sfh .sfh__phone{font-size:15px}
  .sfh .gidx .gidx-card__media{--sfh-photo-w:96px;--sfh-photo-h:64px}
  .sfh .gidx .gidx-card__link{gap:10px}
  .sfh .gidx .gidx-card__price{font-size:20px}
}
@media (max-width:700px){
  .sfh{--sfh-pad:16px;width:calc(100% - 32px);margin:28px auto;padding-top:18px;padding-bottom:16px;border-radius:14px}
  .entry-content .sfh{width:100%;margin:28px 0}
}

/* Browsers without container queries: simple scrolling row. */
@supports not (container-type:inline-size){
  .sfh .gidx .gidx-grid--strip{grid-auto-columns:280px}
  @media (max-width:700px){
    .sfh__head{flex-wrap:wrap}
    .sfh__title{padding-left:0;border-left:0}
  }
}

/* ===================================================================== footer source note
 * Same-page, normal-flow, always visible: whole unaltered GAMLS logo, every required sentence and the
 * real feed timestamp. 13.5px body, ~8:1 contrast. */
.sfh-source-note{
  box-sizing:border-box;display:block;clear:both;margin:0;padding:22px 24px 26px;
  background:#efe6d3;border-top:1px solid #d9c48e;color:#2f3b34;
  font-family:inherit;font-size:13.5px;line-height:1.6;
  scroll-margin-top:120px;
}
.sfh-source-note .gidx{max-width:1240px;margin:0 auto;padding:0;background:transparent;color:inherit;font:inherit}
.sfh-source-note .gidx .gidx-compliance{
  display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 20px;align-items:start;
  margin:0;padding:0;border:0;color:#2f3b34;font-size:13.5px;line-height:1.6;
}
.sfh-source-note .gidx .gidx-compliance__logo{display:block;width:auto;height:36px;max-width:none;margin:2px 0 0;object-fit:contain!important}
.sfh-source-note .gidx .gidx-compliance p{max-width:92ch;margin:0 0 3px!important;font-size:13.5px!important;line-height:1.6;color:#2f3b34}
/* v3.4: community-guide ownership / non-affiliation disclosure, at the very bottom with the MLS notice. */
.sfh-source-note .sfh-source-note__disclosure{max-width:1240px;margin:10px auto 0!important;padding:0;font-size:13px!important;line-height:1.55;color:#3a463f}
.sfh-source-note .gidx + .sfh-source-note__disclosure{padding-top:10px;border-top:1px solid #dccfae}
.sfh-source-note a{color:#1b2e22;text-decoration:underline;text-underline-offset:3px}
.sfh-source-note a:focus-visible{outline:3px solid #8a6516;outline-offset:2px}
.sfh-source-note:target{outline:2px solid #a8833a;outline-offset:-2px}
@media (max-width:700px){
  .sfh-source-note{padding:18px 16px 22px;font-size:13px}
  .sfh-source-note .gidx .gidx-compliance{grid-template-columns:1fr;gap:8px}
  .sfh-source-note .gidx .gidx-compliance p{font-size:13px!important}
  .sfh-source-note .gidx .gidx-compliance__logo{height:32px}
}

@media (prefers-reduced-motion:reduce){.sfh *,.sfh-source-note *{transition:none!important;scroll-behavior:auto!important}}
@media (forced-colors:active){.sfh .sfh__button,.sfh .sfh__btn{border-color:CanvasText}}

/* ===================================================================== v4 listing viewer + inquiry
 * Opened from a card. Parchment panel in the section's own vocabulary; whole photo on a wash with the
 * controls in a bar BELOW it (nothing drawn over an MLS photo); inquiry form in a side column.
 * Full-screen sheet on phones. */
html.sfh-modal-open{overflow:hidden}
.sfh-viewer{
  --v-ink:#14211a;--v-forest:#1b2e22;--v-gold:#a8833a;--v-gold-ink:#7f6221;--v-rule:#d9c48e;--v-panel:#f8f3e8;--v-wash:#ebe2cd;--v-muted:#4a5650;
  --v-display:var(--wp--preset--font-family--display,var(--wp--preset--font-family--heading,Georgia,serif));
  box-sizing:border-box;width:min(1140px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:0;
  border:1px solid var(--v-rule);border-top:3px solid var(--v-gold);border-radius:16px;background:var(--v-panel);color:var(--v-ink);
  font-family:inherit;font-size:15px;line-height:1.5;overflow:auto;box-shadow:0 30px 80px rgba(10,20,14,.35);
}
.sfh-viewer::backdrop{background:rgba(12,22,16,.62)}
.sfh-viewer *,.sfh-viewer *::before,.sfh-viewer *::after{box-sizing:border-box}
.sfh-viewer p{margin:0}
.sfh-viewer__inner{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 360px;min-height:0}
.sfh-viewer .sfh-viewer__close{
  position:absolute;top:12px;right:12px;z-index:3;width:44px;height:44px;padding:0 0 3px;border:1px solid var(--v-rule);border-radius:50%;
  background:#fffdf8;color:var(--v-forest);font:400 28px/1 var(--v-display);cursor:pointer;box-shadow:0 4px 12px rgba(20,33,26,.15);
}
.sfh-viewer__main{min-width:0;padding:24px 28px 28px}
.sfh-viewer__photo{height:min(52vh,460px);border-radius:10px;background:var(--v-wash);overflow:hidden}
.sfh-viewer__photo img{display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:contain!important;margin:0;border:0;border-radius:0}
.sfh-viewer__photobar{display:flex;align-items:center;justify-content:center;gap:16px;margin:10px 0 0;font-variant-numeric:tabular-nums;color:var(--v-muted);font-size:13.5px}
.sfh-viewer__photobar [hidden]{display:none!important}
.sfh-viewer .sfh__btn{position:static;width:40px;height:40px;padding:0 0 3px;border:1px solid var(--v-rule);border-radius:50%;background:#fffdf8;color:var(--v-forest);font:400 24px/1 var(--v-display);cursor:pointer;box-shadow:none;opacity:1}
.sfh-viewer .sfh__btn:hover{background:var(--v-forest);color:#fffdf8}
.sfh-viewer__info{margin-top:18px}
.sfh-viewer__loc{font-family:var(--v-display);font-size:15px;font-weight:600;font-variant:all-small-caps;letter-spacing:.1em;color:var(--v-gold-ink)}
.sfh-viewer h2{margin:2px 0 0!important;padding:0!important;border:0!important;background:none!important;font-family:var(--v-display)!important;font-size:clamp(26px,3vw,34px)!important;font-weight:500!important;line-height:1.1!important;color:var(--v-ink)!important;text-transform:none!important;letter-spacing:0!important}
.sfh-viewer h2::before,.sfh-viewer h2::after{content:none!important}
.sfh-viewer__price{display:flex;align-items:baseline;gap:14px;margin-top:6px!important}
.sfh-viewer__price [data-v-price]{font-family:var(--v-display);font-size:30px;font-weight:600;line-height:1.1}
.sfh-viewer__status{font-size:13px;color:var(--v-muted)}
.sfh-viewer__status:not(:empty)::before{content:"";display:inline-block;width:.55em;height:.55em;margin-right:.45em;border-radius:50%;background:#2e8b57}
.sfh-viewer__facts{display:flex;flex-wrap:wrap;gap:6px 18px;margin:10px 0 0;padding:10px 0;list-style:none;border-top:1px solid var(--v-rule);border-bottom:1px solid var(--v-rule);font-size:14.5px;font-weight:600}
.sfh-viewer__facts li{margin:0;padding:0;list-style:none}
.sfh-viewer__facts li::before,.sfh-viewer__facts li::marker{content:none}
.sfh-viewer__actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 0}
.sfh-viewer__actions [hidden]{display:none!important}
.sfh-viewer__remarks{margin-top:16px!important;font-size:15px;line-height:1.65;color:#2a362f;white-space:pre-line}
.sfh-viewer__remarks.is-clamped{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}
.sfh-viewer .sfh-viewer__more{margin:6px 0 0;padding:0;border:0;background:none;color:var(--v-forest);font:inherit;font-weight:700;text-decoration:underline;text-decoration-color:var(--v-gold);text-underline-offset:3px;cursor:pointer;min-height:36px}
.sfh-viewer .sfh-viewer__more[hidden]{display:none}
.sfh-viewer__attr{margin-top:12px!important;font-size:14px;color:#2a362f}
.sfh-viewer__side{padding:72px 26px 26px;background:#fffdf8;border-left:1px solid var(--v-rule);border-radius:0 13px 13px 0}
.sfh-viewer .sfh-lead__title{margin:0 0 12px!important;padding:0!important;border:0!important;background:none!important;font-family:var(--v-display)!important;font-size:26px!important;font-weight:600!important;line-height:1.1!important;color:var(--v-ink)!important;text-transform:none!important;letter-spacing:0!important}
.sfh-viewer .sfh-lead__title::before,.sfh-viewer .sfh-lead__title::after{content:none!important}
.sfh-lead__modes,.sfh-lead__days,.sfh-lead__parts{display:flex;flex-wrap:wrap;gap:6px}
.sfh-lead__modes{margin-bottom:14px}
.sfh-chip{position:relative;flex:1 1 auto;margin:0}
.sfh-chip input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.sfh-chip span{display:flex;align-items:center;justify-content:center;gap:.35em;min-height:42px;padding:6px 10px;border:1px solid var(--v-rule);border-radius:999px;background:#fff;font-size:13.5px;line-height:1.2;text-align:center;color:var(--v-ink)}
.sfh-chip input:checked+span{background:var(--v-forest);border-color:var(--v-forest);color:#fbf6ea;font-weight:600}
.sfh-chip input:focus-visible+span{outline:3px solid #8a6516;outline-offset:2px}
.sfh-lead__tour{margin:0 0 12px;padding:0;border:0;min-width:0}
.sfh-lead__tour[hidden]{display:none}
.sfh-lead__tour legend{margin-bottom:6px;padding:0;font-size:13px;font-weight:600;color:var(--v-muted)}
.sfh-lead__days .sfh-chip{flex:0 0 calc((100% - 18px)/4)}
.sfh-lead__days .sfh-chip span{flex-direction:column;gap:0;border-radius:10px;font-size:12.5px}
.sfh-lead__parts{margin-top:6px}
.sfh-lead__note{margin-top:6px!important;font-size:12.5px;color:var(--v-muted)}
.sfh-lead__field{display:block;margin:0 0 10px}
.sfh-lead__field span{display:block;margin-bottom:4px;font-size:13px;font-weight:600;color:var(--v-ink)}
.sfh-lead__field input,.sfh-lead__field textarea{
  display:block;width:100%;min-height:46px;margin:0;padding:10px 12px;border:1px solid #cdbf98;border-radius:10px;background:#fff;
  color:var(--v-ink);font:inherit;font-size:16px;line-height:1.3;box-shadow:none;
}
.sfh-lead__field textarea{min-height:76px;resize:vertical}
.sfh-lead__field input:focus,.sfh-lead__field textarea:focus{outline:2px solid var(--v-gold);outline-offset:1px;border-color:var(--v-gold)}
.sfh-lead__error{margin:0 0 10px!important;padding:8px 10px;border-radius:8px;background:#fbe9e6;color:#8a1f12;font-size:13.5px;font-weight:600}
.sfh-lead__error[hidden],.sfh-lead__done[hidden],.sfh-lead[hidden]{display:none}
.sfh-viewer .sfh-lead__send{width:100%;min-height:50px;font-size:16px}
.sfh-viewer .sfh-lead__send:disabled{opacity:.6;cursor:progress}
.sfh-lead__legal{margin-top:10px!important;font-size:12.5px;line-height:1.45;color:var(--v-muted)}
.sfh-lead__legal a{color:var(--v-forest)}
.sfh-lead__done p{font-size:15px;margin-bottom:16px!important}
.sfh-viewer .sfh__button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 22px;border:1.5px solid var(--v-forest);border-radius:999px;background:transparent;color:var(--v-forest);font-size:15px;font-weight:700;line-height:1;text-decoration:none;cursor:pointer;white-space:nowrap}
.sfh-viewer .sfh__button--primary{background:linear-gradient(180deg,#e2c477,#c39a45);border-color:#b38b3c;color:#14211a}
.sfh-viewer .sfh__button--seller{background:var(--v-forest);border-color:var(--v-forest);color:#fbf6ea}
.sfh-viewer a:focus-visible,.sfh-viewer button:focus-visible{outline:3px solid #8a6516;outline-offset:2px}
.sfh-viewer .sfh-viewer__jump{display:none}
@media (max-width:860px){
  .sfh-viewer .sfh-viewer__jump{display:flex;position:sticky;bottom:12px;z-index:2;width:100%;min-height:50px;margin-top:18px;box-shadow:0 8px 22px rgba(20,33,26,.28)}
  .sfh-viewer{width:100vw;max-height:100dvh;height:100dvh;border-radius:0;border-left:0;border-right:0}
  .sfh-viewer__inner{grid-template-columns:1fr}
  .sfh-viewer__main{padding:60px 16px 18px}
  .sfh-viewer__photo{height:min(42vh,300px)}
  .sfh-viewer__side{padding:20px 16px 28px;border-left:0;border-top:1px solid var(--v-rule);border-radius:0}
  .sfh-viewer .sfh-viewer__close{position:fixed;top:10px;right:10px}
  .sfh-viewer__actions .sfh__button{flex:1 1 150px}
}
@media (prefers-reduced-motion:reduce){.sfh-viewer *{transition:none!important}}
