/**
 * WordPress bridge styles on top of Joomla Solux template.min.css
 */
:root {
  --solux-hero-min: 70vh;
}

html,
body {
  overflow-x: hidden;
}

/*
 * Range OWL nav reuses .carousel-control-* which template.min offsets by ±20px.
 * Keep overflow visible so the chevrons are not clipped. Page-level overflow-x
 * on html/body still prevents document horizontal scroll.
 */
.solux-range-owl-nav {
  overflow: visible;
}

/* Overlay nav is full-width; empty area must not swallow Technology / Study Lab clicks. */
.sticky-top.position-absolute {
  pointer-events: none;
}
.sticky-top.position-absolute a,
.sticky-top.position-absolute button,
.sticky-top.position-absolute .btn,
.sticky-top.position-absolute .navbar-brand {
  pointer-events: auto;
}

.solux-split-band,
.wp-block-solux-split-band {
  margin: 0;
}

body:not(.view-featured) .site-main {
  padding-top: 5.5rem;
}
body.view-featured .site-main,
body.solux-module-page .site-main,
body.view-projects .site-main,
body.view-project .site-main,
body.view-product .site-main,
body.view-products .site-main {
  padding-top: 0;
}

/* Technology sticky section nav */
.solux-tech-nav .nav-link {
  color: inherit;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.solux-tech-nav .nav-link:hover {
  background: var(--bs-dark, #212529);
  color: #fff;
  border-color: var(--bs-dark, #212529) !important;
}

/* Product image carousel cover area */
#product-images-carousel .carousel-item {
  background-color: #f2f2f2;
}
#product-specifications .list-group-item {
  background: transparent;
}

/* Series / interior module pages inherit Joomla section spacing from template.min.css */

/* Product-range accordion / showcase (match Joomla template.min.css) */
.owl-carousel.product-showcase .item {
  text-align: center;
}
.owl-carousel.product-showcase .shadow-effect {
  overflow: hidden;
}
.solux-range-owl-nav {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.solux-range-owl-nav .carousel-control-prev,
.solux-range-owl-nav .carousel-control-next {
  pointer-events: auto;
  width: 3rem;
}
.animate-border-bottom {
  border-bottom: 1px solid #ededed;
}
.solux-newsletter-band #mc_embed_signup {
  max-width: 100%;
}

/* Footer — match Joomla offices grid + bottom nav */
.footer .mod_solux_contacts {
  color: #fff;
}
.footer .mod_solux_contacts .card-footer {
  background: transparent;
  border: 0;
  color: #fff;
}
.footer .mod_solux_contacts a {
  color: #fff;
  text-decoration: none;
}
.footer .mod_solux_contacts a:hover {
  text-decoration: underline;
}
/* Joomla footer-bottom-right: col-md-8 + justify-content-end, ul shrinks to links */
.footer .solux-footer-links {
  width: auto;
  max-width: 100%;
}
.footer .solux-footer-links .nav-link {
  color: #fff;
  padding-left: 0;
  padding-right: 0.75rem;
}
.footer .solux-footer-links .nav-link:hover,
.footer .solux-footer-links .nav-link:focus {
  color: #fff;
  text-decoration: underline;
}

/* background strips that rely on template classes are in template.min.css */

body.page-contact .site-main,
body.page-gated-download .site-main,
body.page-privacy-policy .site-main {
  padding-top: 5.5rem;
}

.solux-nav-icon {
  width: 40px;
  height: 24px;
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.solux-nav-icon span {
  display: block;
  position: absolute;
  height: 1px;
  width: 100%;
  background: #fff;
  border-radius: 9px;
  left: 0;
  opacity: 1;
  transition: 0.25s ease-in-out;
}
.solux-nav-icon span:nth-child(1) { top: 2px; }
.solux-nav-icon span:nth-child(2),
.solux-nav-icon span:nth-child(3) { top: 11px; }
.solux-nav-icon span:nth-child(4) { top: 20px; }
.navbar-dark .solux-nav-icon span,
.solux-nav-icon.invert span {
  background: #0f0f0f;
}

.btn-close-open-desktop,
.btn-close-open-mobile {
  --bs-btn-bg: transparent;
  --bs-btn-hover-bg: transparent;
  --bs-btn-border-color: transparent;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.language-icon {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.35rem;
  background: url('../vendor/solux/images/language-icon.png') center / contain no-repeat;
}
.navbar-dark .language-icon,
body.navbar-dark .language-icon {
  background-image: url('../vendor/solux/images/language-icon-w.png');
}

.solux-offcanvas-nav .nav-link {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  padding: 0.35rem 0;
  color: inherit;
}
.offcanvas .solux-offcanvas-nav .nav-link:hover {
  opacity: 0.8;
}
#mainmenu-mobile .solux-offcanvas-nav {
  text-align: center;
}
/* Kill the stray horizontal scrollbar pill between Contact and Newsletter. */
#mainmenu-mobile.offcanvas,
#mainmenu-mobile .offcanvas-body,
#mainmenu-desktop .offcanvas-body {
  overflow-x: hidden;
}
#mainmenu-mobile .offcanvas-body > .row {
  --bs-gutter-x: 0;
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
}
.offcanvas-footer .solux-offcanvas-footer-nav .nav-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  padding: 0.2rem 0;
}
.offcanvas-footer .solux-offcanvas-footer-nav .nav-link:hover {
  color: #fff;
  opacity: 1;
}
#mainmenu-mobile .solux-offcanvas-footer-nav {
  text-align: center;
}
.offcanvas-backdrop-content {
  overflow-x: hidden;
  overflow-y: auto;
}
.offcanvas-backdrop-content .offcanvas-content-container {
  width: 100%;
}
/* Match Joomla offcanvas owl: 2-up / 4-up, margin 10, item padding 20/50 (left 0). */
.offcanvas-content-container .solux-lighting-showcase {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  column-gap: 10px;
  row-gap: 0;
}
.offcanvas-content-container .solux-lighting-showcase > .item {
  box-sizing: border-box;
  flex: 0 0 calc((100% - 10px) / 2);
  max-width: calc((100% - 10px) / 2);
  padding: 20px 20px 20px 0;
  text-align: center;
}
@media (min-width: 768px) {
  .offcanvas-content-container .solux-lighting-showcase > .item {
    padding: 50px 50px 50px 0;
  }
}
@media (min-width: 1170px) {
  .offcanvas-content-container .solux-lighting-showcase > .item {
    flex: 0 0 calc((100% - 30px) / 4);
    max-width: calc((100% - 30px) / 4);
    padding: 50px 50px 50px 0;
  }
}
.offcanvas-content-container .solux-lighting-showcase .shadow-effect img {
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}
.offcanvas-backdrop-content .solux-offcanvas-container {
  width: 100%;
}
.offcanvas-backdrop-content .offcanvas-backdrop-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  min-height: 7rem;
}
.solux-range-menu,
.solux-range-menu-children {
  list-style: none;
  margin: 0;
  padding: 0;
}
.solux-range-menu > .solux-range-group {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
}
.solux-range-menu > .solux-range-group:last-child {
  border-bottom: 0;
}
.solux-range-menu > .nav-item > .solux-range-heading {
  color: #171717;
  font-family: "AG", sans-serif;
  font-size: 1.15rem;
  padding: 0 0 1rem;
}
.solux-range-menu-children .solux-range-card {
  color: #575757;
  font-size: 0.875rem;
  padding: 0;
}
.solux-range-card-image {
  background-color: #eeeef1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 0.5rem;
  display: block;
  margin-bottom: 0.5rem;
  min-height: 5.25rem;
}
.solux-range-card-title {
  display: block;
  line-height: 1.25;
  text-align: center;
}
#mainmenu-mobile-sub-menu {
  width: 100%;
  background: #fff;
  color: #171717;
}
#mainmenu-mobile-sub-menu .solux-offcanvas-container {
  display: block;
  opacity: 1;
  visibility: visible;
}
#mainmenu-mobile-sub-menu .offcanvas-backdrop-header {
  min-height: auto;
  margin-bottom: 1.5rem;
}
#mainmenu-mobile-sub-menu .solux-range-menu {
  display: block;
}
#mainmenu-mobile-sub-menu .solux-range-menu > .nav-item {
  margin-bottom: 1.5rem;
}
#mainmenu-mobile-sub-menu .offcanvas-backdrop-header {
  display: none !important;
}
#mainmenu-mobile-sub-menu .solux-range-heading {
  color: #171717;
  font-size: 1.6rem;
  font-weight: 400 !important;
  line-height: 1.1;
}
#mainmenu-mobile-sub-menu .solux-range-menu-children {
  margin-left: 0;
  margin-right: 0;
}
#mainmenu-mobile-sub-menu .solux-range-card {
  color: #171717;
  font-size: 1rem;
}
#mainmenu-mobile-sub-menu .solux-range-card-image {
  border-radius: 1rem;
  min-height: 7rem;
}
#mainmenu-mobile-sub-menu .solux-range-card-title {
  color: #171717;
  font-size: 1rem;
  line-height: 1.3;
  margin-top: 1rem;
}
#solux-technology-menu {
  background: #aaa8b9;
  color: #fff;
}
#solux-technology-menu .nav-link {
  color: #fff;
}

/* Hero images follow Joomla: natural aspect, no 92vh crop (that shifted VIEW MORE). */
.carousel-container .carousel-item > img.w-100,
.carousel-container .solux-hero-img {
  width: 100%;
  height: auto;
  max-height: none;
  min-height: 0;
  object-fit: fill;
}
.solux-project-hero {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.wp-block-solux-facts-row,
.solux-facts-row {
  max-width: none;
}

#solux-specsheet-form .iti {
  width: 100%;
  display: block;
}
#specsheet-form .modal-body {
  overflow: visible;
}
.iti--container {
  z-index: 2000;
}
.solux-facts-row .container-xl {
  max-width: 1320px;
}

.large-section-border {
  border-top: 1px solid rgba(0,0,0,.08);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.col-border {
  border-right: 1px solid rgba(0,0,0,.08);
}
.col-border:last-child {
  border-right: 0;
}
.col-border h5 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
}
.col-border p {
  margin-bottom: 0;
  font-size: 0.95rem;
  opacity: 0.85;
}

.solux-range-tabs .nav-link {
  border: 1px solid rgba(0,0,0,.15);
  color: inherit;
  background: #fff;
}
.solux-range-tabs .nav-link.active {
  background: var(--bs-dark, #212529);
  border-color: var(--bs-dark, #212529);
  color: #fff;
}
.solux-range-icon { vertical-align: -2px; }
.solux-range-card h5 { font-size: 1rem; }

.bg-lime {
  background-color: #55FF7E !important;
  color: #111;
}

.solux-page-content img,
.solux-series-landing img,
.solux-homepage-body img {
  max-width: 100%;
  height: auto;
}

.solux-home-range-owl .owl-nav button {
  position: absolute;
  top: 35%;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50% !important;
  background: rgba(0,0,0,.06) !important;
}
.solux-home-range-owl .owl-nav .owl-prev { left: -8px; }
.solux-home-range-owl .owl-nav .owl-next { right: -8px; }

.object-fit-cover { object-fit: cover; }
.object-fit-contain { object-fit: contain; }

.footer .card,
.footer .card-body,
.footer .card-footer,
.footer h6,
.footer p,
.footer a {
  color: #fff;
}
.footer .card-footer {
  border: 0 !important;
  background: transparent !important;
}

.form-message.form-success { color: #0a7a3e; }
.specs-table th { font-weight: 600; width: 35%; }

/*
 * Homepage "VOIR PLUS" Pro / Performance panels.
 * Taglines must use LightEx (same as Joomla), not synthetic-bold AG.
 */
.fullwidth-50-50 .card-body {
  font-family: "AG", sans-serif;
  font-weight: 400;
}
.fullwidth-50-50 .card-body p {
  font-family: "AG", sans-serif;
  font-weight: 400;
}
.fullwidth-50-50 .card-body strong,
.fullwidth-50-50 .card-body b {
  font-family: "LightEx", "AG", sans-serif;
  font-weight: 400;
  letter-spacing: 0.01rem;
}

.solux-region-modal-list .list-group-item.active {
  background: var(--bs-primary, #0d3b66);
  border-color: var(--bs-primary, #0d3b66);
}

html { margin-top: 0 !important; }

/* solux-bg-img full-bleed dark overlay block — Joomla uses Banner_mid.png, no extra dimming */
.solux-bg-img {
  background-color: #111;
  background-size: cover;
  background-position: center;
}

body.view-product.performance .full-width-left-content {
  background-color: #55FF7E;
  color: #111;
}
body.view-products.performance .navbar.navbar-dark .logo-dark {
  display: block;
}
body.view-products.performance .navbar.navbar-dark .logo {
  display: none;
}

.solux-project-filters {
  background: #000;
}
.solux-project-filters .form-select {
  background-color: transparent;
  background-image: none;
  color: #fff;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 0;
  min-height: 2.5rem;
  padding-left: 0;
  padding-right: 1.5rem;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23fff' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
}
.solux-project-filters .form-select:focus {
  color: #fff;
  background-color: transparent;
  border-color: #fff;
  box-shadow: none;
}
.solux-project-filters .form-select option {
  background-color: #0f0f0f;
  color: #fff;
}
.solux-project-filters .form-select option:checked,
.solux-project-filters .form-select option:hover {
  background-color: #aeaaba;
  color: #fff;
}
.solux-project-filters select.form-select.solux-chosen-bound {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

body.page-technology .technology-content,
.solux-page-technology .technology-content {
  display: none;
}
body.page-technology .technology-content.show,
.solux-page-technology .technology-content.show {
  display: block;
}

.owl-carousel.product-showcase .owl-item .item:hover .shadow-effect {
  border: 1px solid var(--bs-primary, #55ff7e);
}
.owl-carousel.product-showcase .owl-item .item:hover .show-active {
  display: block;
}
.owl-carousel.product-showcase .owl-item .item:hover .hide-active {
  display: none;
}

body.view-product.performance .navbar.navbar-dark .logo-dark {
  display: block;
}
body.view-product.performance .navbar.navbar-dark .logo {
  display: none;
}
body.view-product.pro .navbar.navbar-dark .logo-dark {
  display: none;
}
body.view-product.pro .navbar.navbar-dark .logo {
  display: block;
}

/* Joomla media/mod_languages/css/template.css — loaded by the original popup template */
#language-switcher .mod-languages ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#language-switcher .mod-languages li {
  margin: 0 0.5rem;
}
#language-switcher .mod-languages ul.lang-block li {
  display: block;
  padding: 0.5rem 0;
  text-align: start;
}
#language-switcher .mod-languages a {
  color: inherit;
  padding: 0.5rem;
  text-decoration: none;
}
#language-switcher .modal-content {
  border: 0;
}

/* Hero video: match Joomla video.js fluid box (same height as 16:9 banner images).
 * Forcing 100vh left a tall white gap when the Africa slide advanced. */
.carousel-container video.solux-hero-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  min-height: 0;
  object-fit: cover;
  background: #0f0f0f;
}
.carousel-container div.video-js.solux-video-js.vjs-fluid:not(.vjs-audio-only-mode) {
  width: 100% !important;
  max-width: 100%;
  height: 0 !important;
  padding-top: 56.25%;
  display: block;
  background: #0f0f0f;
}
.carousel-container .remove-dimension.vjs-fluid:not(.vjs-audio-only-mode) {
  padding-top: 85.18518518518519% !important;
}
.carousel-container .video-js .vjs-tech {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-container .video-js .vjs-control-bar,
.carousel-container .video-js .vjs-big-play-button,
.carousel-container .video-js .vjs-loading-spinner,
.carousel-container .video-js .vjs-modal-dialog,
.carousel-container .video-js .vjs-text-track-display {
  display: none !important;
}

.solux-form .form-label,
.solux-gated-download-form .form-label,
.solux-form label.form-check-label {
  display: inline-block !important;
  white-space: normal;
  writing-mode: horizontal-tb;
  width: auto;
  max-width: 100%;
  letter-spacing: normal;
  word-break: normal;
}
.solux-projects-container {
  overflow-x: hidden;
  position: relative;
  z-index: 0;
}
.solux-projects-container .card {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 0;
}
.solux-projects-container .card-anchor {
  position: absolute;
  inset: 0;
  z-index: 3;
}
.solux-project-filters {
  position: relative;
  z-index: 20;
}
.solux-project-filters .js-stools-container-filters .chosen-container-single {
  padding-top: 15px;
  padding-bottom: 15px;
  width: 100% !important;
}
.solux-project-filters .chosen-container {
  position: relative;
  width: 100% !important;
  user-select: none;
}
.solux-project-filters .chosen-single {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  background: #0f0f0f;
  color: #fff;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #fff;
  box-shadow: none;
  padding: 0;
  height: 2rem;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 2rem;
  text-decoration: none;
}
.solux-project-filters .chosen-single:hover,
.solux-project-filters .chosen-single:focus {
  color: #fff;
}
.solux-project-filters .chosen-container-single .chosen-single div {
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
  height: 100%;
}
.solux-project-filters .chosen-container-single .chosen-single div b {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("../vendor/solux/images/more.png") !important;
  background-repeat: no-repeat !important;
  background-size: 10px !important;
  background-position: 0 10px !important;
}
.solux-project-filters .chosen-drop {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: -1px;
  z-index: 1050;
  background: #0f0f0f;
  border: 0;
  border-radius: 0;
}
.solux-project-filters .chosen-with-drop .chosen-drop {
  display: block;
}
.solux-project-filters .chosen-results {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: none;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 15px;
}
.solux-project-filters .chosen-results li {
  color: #fff;
  cursor: pointer;
  /* Match Joomla chosen.css + template.scss (10px vertical, 6px horizontal). */
  padding: 10px 6px;
  line-height: 15px;
}
.solux-project-filters .chosen-results li.highlighted,
.solux-project-filters .chosen-results li.result-selected.highlighted {
  background: #aeaaba;
  background-image: none;
}
