/* Revision Three. Warmth is in surfaces; eligible image layers use neutral brightness.
   Product, portrait, Story, Gallery and video image ancestors are never filtered. */
:root {
  --cactus-surface: #423e3a;
  --cactus-texture-surface: #4b4743;
  --catalog-gap: 24px;
}
body,
body.page,
body.search,
body.single-product,
body.privacy-policy main,
.cst-slider,
body #page section#slabs-products-filter,
body #page section#slabs-products-filter .products-grid,
body #page section.dark-texture-background .products-grid,
body #page #home-world-open,
body #page #home-we-curate {
  background-color: var(--cactus-surface) !important;
}
body #masthead::before {
  background: linear-gradient(
    0deg,
    rgba(66, 62, 58, 0) 0%,
    rgba(48, 46, 44, 0.7) 45%,
    rgba(39, 38, 36, 0.96) 100%
  );
}
body #masthead .site-search {
  background: var(--cactus-surface);
}
body #masthead .main-navigation ul li a {
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}
/* Each new layer is a sibling of text/controls, not an ancestor of any content. */
body #page .lighting-background {
  background-image: none !important;
  position: relative;
  isolation: isolate;
}
.lighting-background > .lighting-layer {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  filter: brightness(1.14);
}
body #page #home-access-the-incredible > .lighting-layer,
body #page #home-products-selection > .lighting-layer {
  filter: brightness(1.4);
}
body #page #home-access-the-incredible:after {
  filter: brightness(1.4);
}
body #page section.dark-texture-background:after {
  filter: brightness(1.35);
}
body #page .quotes-slider {
  background-color: var(--cactus-surface) !important;
}
/* Testimonial backdrop is decorative; its slide photographs are untouched. */
body #page .quotes-slider > .lighting-layer {
  filter: brightness(1.35);
}
body #page section.two-ctas:not(.video) {
  background-color: var(--cactus-texture-surface) !important;
}
body #page section.two-ctas:not(.video) > .lighting-layer {
  filter: brightness(1.4);
}
body #page section.two-ctas:not(.video) .column > .lighting-layer {
  filter: brightness(1.18);
}
body #colophon {
  background-color: #66635f;
}
/* First reduce separate dark overlays; retain all original photo files and cropping. */
[data-carousel-key="home-0"] .slider-back > img {
  filter: brightness(1.06);
}
[data-carousel-key="home-0"] .owl-stage-outer .slider-item .slider-back:after {
  opacity: 0.42 !important;
}
body #page .catalog-hero:after {
  opacity: 0.48;
}
body #page #home-gallery-grid .column:after,
body #page #home-products-selection .column:after,
body #page #products-selection .column:after {
  opacity: 0.55;
}
[data-carousel-key="home-0"] .slider-front,
body #page .catalog-hero .container,
body #page .lighting-background .column-content > h2,
body #page .lighting-background .column-content > h3,
body #page .lighting-background .column-content .content > p {
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.35);
}
/* Equal opening proportions, using the original Slabs 60vh desktop reference. */
body #page .catalog-hero {
  height: 60vh;
  min-height: 0;
}
body #page .catalog-hero .lighting-layer {
  background-position: center;
}
/* Cumulative spacing: remove the empty heading in the builder, then normalize
   filter bottom padding + grid top padding + count margins + first group margin. */
body #page #slabs-products-filter {
  padding-top: 48px;
  padding-bottom: 48px;
}
body #page .shortcode-products-filter.columns-container {
  padding-bottom: 0;
}
body #page #slabs-products-filter .products-grid {
  padding: var(--catalog-gap) 0 0;
}
body #page .accessories-catalog {
  padding: var(--catalog-gap) 0 48px;
}
body #page .accessories-catalog .products-grid {
  padding: 0;
}
body #page .catalog-status {
  padding: 0;
  margin: 0 0 20px;
  min-height: 28px;
}
body #page .catalog-status p {
  margin: 0;
  line-height: 28px;
}
body #page .reset-filters {
  padding: 0 10px;
  min-height: 28px;
}
body.page .products-grid .material-heading {
  margin: 0 0 -20px;
}
body.page .products-grid .material-heading:not([hidden]) ~ .material-heading {
  margin-top: 16px;
}
body #page .accessories-catalog .hero-description:empty {
  display: none;
}
/* Invitation: both outer visible gaps are approximately 53px (including the panel CTA offset). */
body #page #products-selection {
  padding-bottom: 0;
}
body #page #products-selection .column .content p {
  margin-bottom: 0;
}
body #page #products-selection .column .content {
  bottom: 18px;
  transform: translateX(-50%);
}
body #page .accessories-invitation {
  padding: 30px 0 42px;
}
body #page .accessories-invitation h2 {
  margin: 0 0 20px;
}
/* All filters are the same familiar single-select component. */
body #page .shortcode-products-filter .choices {
  cursor: pointer;
}
body #page .shortcode-products-filter .choices__inner {
  min-height: 54px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}
body #page .shortcode-products-filter .choices__list--single {
  width: 100%;
}
body
  #page
  .shortcode-products-filter
  .choices__list--single
  .choices__item--selectable {
  padding-right: 35px !important;
}
body #page .shortcode-products-filter .choices:focus-visible {
  outline: 2px solid #e1d7bf;
  outline-offset: 4px;
}
body #page .shortcode-products-filter .choices.is-open {
  z-index: 4;
}
/* Equal 44px control boxes and centered original arrow images, including focus. */
body #page [data-carousel-key="home-0"] .owl-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
body #page [data-carousel-key="home-0"] .owl-nav > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  margin: 0;
  padding: 0 !important;
  line-height: 1;
}
body #page [data-carousel-key="home-0"] .owl-nav > button img {
  display: block;
  height: 34px;
  width: auto;
}
body #page [data-carousel-key="home-0"] .hero-autoplay span {
  display: block;
  line-height: 1;
}
@media (max-width: 900px) {
  body #page .catalog-hero {
    height: auto;
    min-height: 540px;
    padding: 160px 0 65px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  body #page .catalog-hero .container {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
  }
  body #page .catalog-hero .hero-title {
    margin-bottom: 22px;
  }
  body #page .catalog-hero .hero-description {
    margin-bottom: 0;
  }
  body #page .shortcode-products-filter > .column {
    min-height: 320px;
  }
  body #page #slabs-products-filter {
    padding-top: 28px;
    padding-bottom: 32px;
  }
  body #masthead.menu-open,
  body #masthead.menu-open .navs-wrapper,
  body #masthead .main-navigation.toggled {
    background-color: var(--cactus-surface) !important;
  }
  body #page .catalog-status {
    gap: 12px;
  }
}
/* Geometry-based pause/play icons avoid font-baseline drift. Accessible labels
   remain on the button and the existing span remains hidden from assistive tech. */
body #page [data-carousel-key="home-0"] .hero-autoplay span {
  font-size: 0;
}
body
  #page
  [data-carousel-key="home-0"]
  .hero-autoplay[aria-pressed="false"]
  span {
  width: 14px;
  height: 18px;
  background: linear-gradient(
    to right,
    currentColor 0 4px,
    transparent 4px 10px,
    currentColor 10px
  );
}
body
  #page
  [data-carousel-key="home-0"]
  .hero-autoplay[aria-pressed="true"]
  span {
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid currentColor;
  margin-left: 3px;
}
/* Soft, local contrast supports white lettering over brighter marketing images. */
[data-carousel-key="home-0"] .slider-front {
  isolation: isolate;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.65);
}
[data-carousel-key="home-0"] .slider-front::before {
  content: "";
  position: absolute;
  inset: -32px -60px -28px -40px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 35% 50%,
    rgba(0, 0, 0, 0.34),
    rgba(0, 0, 0, 0.19) 60%,
    transparent 75%
  );
}
body #page [data-carousel-key="home-0"] .owl-nav {
  padding: 4px;
  background: rgba(35, 34, 32, 0.4);
  border-radius: 4px;
}
/* A dropdown must escape the neighboring image layer's stacking order. */
body #page .shortcode-products-filter {
  position: relative;
  z-index: 3;
}
body #page .shortcode-products-filter > .column:has(.choices.is-open) {
  z-index: 4;
}
