/* Real images retain their intrinsic proportions. Equal slots within each group. */
html body .satin-button{box-sizing:border-box;width:var(--satin-width,260px)!important;max-width:100%!important;height:auto!important;min-height:44px;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;text-shadow:none!important;flex:0 0 auto!important;line-height:0;overflow:visible}
html body .satin-button::before,html body .satin-button::after{display:none!important}
html body .satin-button>img.satin-art{display:block;width:100%!important;height:auto!important;max-width:100%!important;max-height:none!important;margin:0!important;object-fit:contain;aspect-ratio:3/1;opacity:1;transform:none}
html body .satin-button:focus-visible{outline:3px solid #7feaf4;outline-offset:0}
html body .satin-button:disabled{opacity:.45}
html body .actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:8px}
html body .header-action.satin-button{--satin-width:170px;min-height:0;flex:0 0 170px}
html body .contact-strip{gap:12px;min-height:40px}
@media(min-width:1101px){html body .contact-strip{justify-content:flex-start;padding-inline:calc(2.5vw + 20px)}html body .contact-strip>.header-email+.header-action{margin-left:auto}}
html body .site-quote{display:none!important}
html body .site-menu-toggle.satin-button{--satin-width:110px;min-height:44px}
html body .motion-control.satin-button,html body .story-prev.satin-button,html body .story-next.satin-button,html body .previous-media.satin-button,html body .next-media.satin-button,html body #photo-prev.satin-button,html body #photo-next.satin-button{--satin-width:150px}
@media(max-width:1100px){html body .contact-strip>a:not(.header-action){display:none}html body .contact-strip{justify-content:center}}
@media (max-width: 599px), (max-width: 767px) and (orientation: landscape){
 html body .contact-strip{display:flex!important;justify-content:center;gap:8px;padding:0 8px;height:55px}
 html body .header-action.satin-button{--satin-width:160px;flex-basis:160px}
 html body .actions{justify-content:center;gap:0}
 html body .actions>.satin-button{width:260px}
 html.mobile-sections{--mobile-top:calc(113px + env(safe-area-inset-top,0px))}
 html body.sota-home .homepage-navigation{align-items:flex-start}
 html body.sota-home .site-masthead .site-header{height:58px}
}
@media(max-width:350px){html body .header-action.satin-button{--satin-width:142px;flex-basis:142px}}

html body.sota-home .site-masthead .site-header .site-quote{display:none!important}
@media (max-width: 599px), (max-width: 767px) and (orientation: landscape){html body .site-masthead .site-header{gap:12px;justify-content:space-between}html body .site-masthead .site-brand{width:150px;flex:0 0 150px}html body .site-masthead .site-brand img{width:100%;height:auto}}

/* Newly converted text links need an image-sized inline box, not an inline text line. */
html body a.satin-price-list { display:inline-block;vertical-align:middle;text-decoration:none; }

/* Phones: the closing "How to start" buttons on interior pages were tiny (Nov 20). */
@media (max-width: 599px){
 html body .interior-cta .actions{flex-direction:column;align-items:center;gap:0}
 html body .interior-cta .actions>.satin-button{--satin-width:min(340px,100%);width:min(340px,100%)!important;margin-block:-22px}
}

/* Phones: photo viewer counter stays on one line, buttons shrink so all three fit (Nov 20). */
.media-count{white-space:nowrap;flex:0 0 auto}
@media (max-width: 599px){
 html body .media-controls{gap:8px}
 html body .media-controls .satin-button{--satin-width:min(140px,38vw);flex:1 1 0;min-width:0}
}

/* Desktop/tablet: the phone-only header CTA pair (Quote / Patient Form) and the hero
   Get Quote button stay phone-only. Phones re-enable them via mobile-review/home-phone. */
@media (min-width: 600px) and (min-height: 480px) {
  html body .site-ctas { display: none !important; }
  html body .actions .quote-action { display: none !important; }
}

/* No flash of the old plain buttons: buttons that the script will turn into satin art stay invisible (space reserved)
   until it has run (html.satin-ready). Failsafe: they show anyway after 2.5s if the script never finishes. */
html:not(.satin-ready) :is(.satin-price-list,.glow,.header-action,.site-menu-toggle,.motion-control,.story-prev,.story-next,.review-expand,.more-reviews,.previous-media,.next-media,#photo-prev,#photo-next,[data-gallery-prev],[data-gallery-next],.film-sound):not(.satin-button,[data-native-button],[data-live-label],[data-video],[data-image],[data-story-id],.mobile-dock *){visibility:hidden;animation:satinFailsafe 0s 2.5s forwards}
@keyframes satinFailsafe{to{visibility:visible}}

/* ===== ONE STANDARD BUTTON SIZE (owner order Nov 21): every satin button site-wide is 260px wide.
   Id-level specificity + !important so no per-page rule can resize a button again.
   Exempt: the menu, the header/phone header actions + hamburger, the phone dock, and the small
   in-row controls (photo/story/gallery prev-next, motion + sound controls). ===== */
html body:not(#_):not(#__) .satin-button:not(.header-action,.site-menu-toggle,.motion-control,.story-prev,.story-next,.review-step,.previous-media,.next-media,.film-sound,[data-gallery-prev],[data-gallery-next],#photo-prev,#photo-next,.mm *,.site-header *,.contact-strip *,.mobile-dock *,.media-controls *){
  --satin-width:260px!important;width:260px!important;min-width:0!important;max-width:100%!important;flex:0 0 auto!important;zoom:1!important;transform:none!important;scale:none!important;
}

/* Desktop top bar (owner order Nov 21): solid black and short. Buttons shrink so the bar is ~44px tall (was ~70px). */
@media (min-width:1101px){
 html body:not(#_) .site-masthead .contact-strip{background:#000!important;background-image:none!important;min-height:0!important;height:auto!important;padding-block:0!important;border-bottom:1px solid #8fe6ec33}
 html body:not(#_) .site-masthead .contact-strip>a{line-height:1}
 html body:not(#_) .site-masthead .contact-strip>.header-action.satin-button{--satin-width:168px!important;width:168px!important;flex:0 0 168px!important;min-height:0!important;margin-block:0!important}
}

/* Desktop homepage hero: the three standard-size (260px) buttons always sit in ONE row, never wrap.
   The row may extend past the text column; it still ends before the proof card. */
@media(min-width:1150px){
  html body .hero .hero-content .actions{flex-wrap:nowrap!important;width:max-content!important;max-width:none!important;gap:10px!important}
}

/* Reserve the header buttons' final size before the art swaps in, so the top bar never grows and pushes the menu down
   a moment after the page paints (owner report Nov 24 2026). Same widths as the satin rules above, art is 3:1. */
html:not(.satin-ready) body .header-action:not(.satin-button){box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:170px;height:56px;min-height:0;flex:0 0 170px;padding:0;overflow:hidden}
@media (max-width: 599px), (max-width: 767px) and (orientation: landscape){html:not(.satin-ready) body .header-action:not(.satin-button){width:160px;height:54px;flex-basis:160px}}
@media(max-width:350px){html:not(.satin-ready) body .header-action:not(.satin-button){width:142px;height:48px;flex-basis:142px}}
