/* v14.7.117 - Hero Acasa: slider lent, afisaj mai inalt */
html body.sbr-home-hero-slider {
  background-color: #15110f !important;
}

body.sbr-home-hero-slider .sbr-hero-fireplace-bg,
body.sbr-home-hero-slider .sbr-hero-fireplace-slider {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  min-height: calc(112vh - 42px) !important;
  background-color: #15110f !important;
  background-image: none !important;
}

body.sbr-home-hero-slider .sbr-hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #15110f;
  pointer-events: none;
}

body.sbr-home-hero-slider .sbr-hero-bg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transform: scale(1.035);
  transition: opacity 2600ms ease-in-out, transform 11500ms ease-in-out;
  will-change: opacity, transform;
}

body.sbr-home-hero-slider .sbr-hero-bg-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Overlay pentru citirea textului + trecerea alba spre sectiunea urmatoare. */
body.sbr-home-hero-slider .sbr-hero-bg-slider::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 7, 6, 0.90) 0%, rgba(8, 7, 6, 0.74) 31%, rgba(8, 7, 6, 0.28) 58%, rgba(8, 7, 6, 0.03) 100%),
    linear-gradient(180deg, rgba(11, 9, 8, 0) 0%, rgba(11, 9, 8, 0) 72%, rgba(255, 255, 255, 0.98) 100%);
}

/* Fortare pe containerele interne: elimina fundalurile gri/negre care taiau poza pe laterale. */
body.sbr-home-hero-slider .sbr-hero-fireplace-bg > .absolute.inset-0,
body.sbr-home-hero-slider .sbr-hero-fireplace-bg .sbr-hero-old-bg-layer,
body.sbr-home-hero-slider .sbr-hero-fireplace-bg [class*="bg-"][class*="gray"],
body.sbr-home-hero-slider .sbr-hero-fireplace-bg [class*="bg-slate"],
body.sbr-home-hero-slider .sbr-hero-fireplace-bg [class*="bg-zinc"] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  background: transparent !important;
}

body.sbr-home-hero-slider .sbr-hero-fireplace-bg .sbr-hero-main-grid {
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr) !important;
}

body.sbr-home-hero-slider .sbr-hero-fireplace-bg .sbr-hero-copy {
  max-width: 680px;
}

/* Imaginea/colajul vechi din dreapta se ascunde, fiindca sliderul este fundal pe toata latimea. */
body.sbr-home-hero-slider .sbr-hero-fireplace-bg .sbr-hero-old-visual {
  display: none !important;
}

body.sbr-home-hero-slider .sbr-hero-fireplace-bg h1,
body.sbr-home-hero-slider .sbr-hero-fireplace-bg p,
body.sbr-home-hero-slider .sbr-hero-fireplace-bg span {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.66);
}

body.sbr-home-hero-slider .sbr-hero-fireplace-bg > .relative,
body.sbr-home-hero-slider .sbr-hero-fireplace-bg > .container,
body.sbr-home-hero-slider .sbr-hero-fireplace-bg > div:not(.absolute):not(.sbr-hero-bg-slider) {
  position: relative;
  z-index: 3;
}

@media (min-width: 1280px) {
  body.sbr-home-hero-slider .sbr-hero-fireplace-bg,
  body.sbr-home-hero-slider .sbr-hero-fireplace-slider {
    min-height: 1040px !important;
  }
}

@media (max-width: 1023px) {
  body.sbr-home-hero-slider .sbr-hero-bg-slide {
    background-position: 58% top;
  }
  body.sbr-home-hero-slider .sbr-hero-fireplace-bg .sbr-hero-main-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  body.sbr-home-hero-slider .sbr-hero-fireplace-bg,
  body.sbr-home-hero-slider .sbr-hero-fireplace-slider {
    min-height: calc(112vh - 54px) !important;
  }
  body.sbr-home-hero-slider .sbr-hero-bg-slide {
    background-position: 62% top;
  }
  body.sbr-home-hero-slider .sbr-hero-bg-slider::after {
    background:
      linear-gradient(180deg, rgba(8, 7, 6, 0.94) 0%, rgba(8, 7, 6, 0.84) 58%, rgba(8, 7, 6, 0.52) 100%),
      linear-gradient(180deg, rgba(11, 9, 8, 0) 0%, rgba(11, 9, 8, 0) 74%, rgba(255, 255, 255, 0.98) 100%);
  }
}


/* v14.7.117 - afisaj mai inalt pentru sliderul de fundal */
body.sbr-home-hero-slider .sbr-hero-fireplace-bg,
body.sbr-home-hero-slider .sbr-hero-fireplace-slider {
  min-height: calc(112vh - 42px) !important;
}

@media (min-width: 1280px) {
  body.sbr-home-hero-slider .sbr-hero-fireplace-bg,
  body.sbr-home-hero-slider .sbr-hero-fireplace-slider {
    min-height: 1040px !important;
  }
}

@media (min-width: 1600px) {
  body.sbr-home-hero-slider .sbr-hero-fireplace-bg,
  body.sbr-home-hero-slider .sbr-hero-fireplace-slider {
    min-height: 1080px !important;
  }
}

@media (max-width: 1023px) {
  body.sbr-home-hero-slider .sbr-hero-fireplace-bg,
  body.sbr-home-hero-slider .sbr-hero-fireplace-slider {
    min-height: 940px !important;
  }
}

@media (max-width: 640px) {
  body.sbr-home-hero-slider .sbr-hero-fireplace-bg,
  body.sbr-home-hero-slider .sbr-hero-fireplace-slider {
    min-height: 820px !important;
  }
}


/* v14.7.117 - sectiunea Serviciile noastre ramane doar pe sobarit */
.sbr-sobarit-only-services-grid > .group {
  border-color: rgba(192, 86, 33, 0.16) !important;
}
.sbr-repair-soba-card .bg-gradient-to-br.from-charcoal,
.sbr-repair-soba-card .bg-gradient-to-br[class*="from-charcoal"] {
  background-image: linear-gradient(135deg, #C05621, #f97316) !important;
}
.sbr-repair-soba-card .text-charcoal,
.sbr-repair-soba-card [class*="text-charcoal"] svg {
  color: #C05621 !important;
}
.sbr-repair-soba-card a[href="/sobe"] button,
.sbr-repair-soba-card button {
  background-image: linear-gradient(90deg, #C05621, #f97316) !important;
  color: #fff !important;
}
