/* Rossini v2.5.0: final overrides, loaded last after all older design layers. */

/* A genuine native technical-sheet toggle is presented at the same baseline,
   height, and visual weight as Return to collections. Its content and event
   handlers are untouched; no overlay button is placed over the accordion. */
body.rplg-model.rplg-active .rplg-model-actions.rplg-native-actions{
  display:flex!important;flex-flow:row wrap!important;
  align-items:flex-start!important;align-content:flex-start!important;
  width:min(1350px,calc(100% - 44px))!important;
  gap:12px!important;margin:16px auto 22px!important;padding:0!important;
  max-width:100%!important;min-height:52px!important;
}
body.rplg-model.rplg-active .rplg-model-actions.rplg-native-actions>.rplg-back-row{
  flex:0 0 auto!important;margin:0!important;padding:0!important;border:0!important;
  align-self:flex-start!important;min-height:52px!important;
}
body.rplg-model.rplg-active .rplg-model-actions.rplg-native-actions>.rplg-native-tech-toggle{
  flex:0 1 auto!important;align-self:flex-start!important;
  display:block!important;width:max-content!important;min-width:0!important;
  max-width:100%!important;margin:0!important;padding:0!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
  overflow:visible!important;float:none!important;
}
body.rplg-model.rplg-active .rplg-model-actions.rplg-native-actions .rplg-native-tech-trigger,
body.rplg-model.rplg-active .rplg-model-actions.rplg-native-actions .rplg-back-row a,
body.rplg-model.rplg-active .rplg-model-actions.rplg-native-actions a.rplg-action-download{
  display:inline-flex!important;flex-flow:row nowrap!important;align-items:center!important;
  justify-content:center!important;gap:12px!important;
  box-sizing:border-box!important;width:max-content!important;min-width:0!important;
  max-width:100%!important;min-height:52px!important;height:52px!important;
  margin:0!important;padding:13px 20px!important;
  background:#fff!important;color:#342f2a!important;
  border:1px solid rgba(54,47,42,.17)!important;border-radius:16px!important;
  box-shadow:0 5px 22px rgba(54,47,42,.045)!important;
  font:600 14px/1.2 -apple-system,BlinkMacSystemFont,'Helvetica Neue',Arial,sans-serif!important;
  letter-spacing:0!important;text-decoration:none!important;text-transform:none!important;
  white-space:nowrap!important;cursor:pointer!important;
}
body.rplg-model.rplg-active .rplg-model-actions.rplg-native-actions .rplg-native-tech-trigger:hover,
body.rplg-model.rplg-active .rplg-model-actions.rplg-native-actions .rplg-back-row a:hover{
  background:#faf6f0!important;box-shadow:0 12px 28px rgba(54,47,42,.09)!important;
}
body.rplg-model.rplg-active .rplg-model-actions.rplg-native-actions .rplg-native-tech-trigger :is(a,span,h2,h3,h4,h5,button){
  display:inline!important;float:none!important;width:auto!important;height:auto!important;
  margin:0!important;padding:0!important;background:transparent!important;border:0!important;
  font:inherit!important;letter-spacing:inherit!important;color:inherit!important;text-transform:inherit!important;
  box-shadow:none!important;
}
body.rplg-model.rplg-active .rplg-native-tech-trigger::before{
  content:'+'!important;display:inline-block!important;
  order:-2;font:500 19px/1 Arial,sans-serif!important;
}
body.rplg-model.rplg-active .rplg-native-tech-toggle:is(.vc_toggle_active,.active,.is-open,[open]) .rplg-native-tech-trigger::before{content:'−'!important}
body.rplg-model.rplg-active .rplg-native-tech-trigger :is(.vc_toggle_icon,i,.toggle_icon,.icon-plus,.icon-minus){display:none!important}
/* The original expandable panel spans below both actions, not between them. */
body.rplg-model.rplg-active .rplg-model-actions.rplg-native-actions>.rplg-native-tech-toggle:is(.vc_toggle_active,.active,.is-open,[open]),
body.rplg-model.rplg-active .rplg-model-actions.rplg-native-actions>.rplg-native-tech-toggle:has([aria-expanded="true"]){
  flex-basis:100%!important;width:100%!important;max-width:100%!important;
  order:3;
}
body.rplg-model.rplg-active .rplg-native-tech-toggle :is(.vc_toggle_content,.vc_tta-panel-body,.wpb_accordion_content,.toggle-content,.toggle_content,.accordion-content,.accordion_content,.panel-collapse){
  box-sizing:border-box!important;max-width:min(860px,calc(100vw - 48px))!important;
}
@media(max-width:650px){
  body.rplg-model.rplg-active .rplg-model-actions.rplg-native-actions{width:calc(100% - 28px)!important;gap:10px!important}
  body.rplg-model.rplg-active .rplg-model-actions.rplg-native-actions :is(.rplg-native-tech-trigger,.rplg-back-row a){white-space:normal!important}
}

/* Exact 23.5 px/sec: JS measures one repeat set's rendered width and supplies
   its fractional-duration custom property, not a guessed total cycle time. */
body.rplg-model.rplg-active .rplg-related:not(.rplg-related-single) .rplg-related-track{
  animation-duration:var(--rplg-related-duration,160s)!important;
  animation-timing-function:linear!important;
}
@media(max-width:700px){
  body.rplg-model.rplg-active .rplg-related:not(.rplg-related-single) .rplg-related-viewport{overflow:hidden!important;touch-action:pan-y}
  body.rplg-model.rplg-active .rplg-related:not(.rplg-related-single) .rplg-related-track{
    animation:rplg-related-loop var(--rplg-related-duration,160s) linear infinite!important;
  }
  body.rplg-model.rplg-active .rplg-related:not(.rplg-related-single) .rplg-related-set[aria-hidden="true"]{display:flex!important}
}
@media(prefers-reduced-motion:reduce){
  body.rplg-model.rplg-active .rplg-related-track{animation:none!important}
}

/* All Coverings subsections, not just the main Coverings landing page. */
body.rplg-active .rplg-page-shell-coverings .rplg-coverings-hero h2{
  font-size:clamp(30px,3.2vw,54px)!important;line-height:1.08!important;
  letter-spacing:-.045em!important;max-width:100%!important;
}
body.rplg-active .rplg-page-shell-coverings .rplg-coverings-content :is(h1,h2){
  font-size:clamp(28px,2.7vw,43px)!important;line-height:1.16!important;
  letter-spacing:-.04em!important;max-width:26ch!important;
}
body.rplg-active .rplg-page-shell-coverings .rplg-coverings-content h3{
  font-size:clamp(21px,2.1vw,31px)!important;line-height:1.2!important;
}
@media(max-width:650px){
  body.rplg-active .rplg-page-shell-coverings .rplg-coverings-hero h2{font-size:clamp(29px,8vw,38px)!important}
  body.rplg-active .rplg-page-shell-coverings .rplg-coverings-content :is(h1,h2){font-size:clamp(25px,6vw,34px)!important;max-width:100%!important}
}

/* Remove ALL gradient overlays on the image behind the model name. */
body.rplg-home.rplg-active .rplg-hero .rplg-hero-slide::after,
body.rplg-home.rplg-active .rplg-hero .rplg-hero-slide::before{
  content:none!important;display:none!important;opacity:0!important;background:none!important;
}
body.rplg-home.rplg-active .rplg-hero .rplg-hero-model{
  background:none!important;background-image:none!important;box-shadow:none!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  text-shadow:0 1px 5px rgba(0,0,0,.24)!important;
}

/* From the bottom of related-carousel section to the start of the custom footer:
   exactly 22 CSS pixels on product pages, overriding earlier 80-150px margins. */
body.rplg-active.rplg-model .rplg-related{
  margin-bottom:0!important;padding-bottom:0!important;
}
body.rplg-active.rplg-model #rplg-footer{
  margin-top:22px!important;
}
