/* =========================================================
   UI - VALL ICON
========================================================= */

.ui-vall-icon {
  display: block;
  width: 7%;
  height: auto;
  margin: 0 auto;
  fill: #edbf3c;
}

/* TABLET */
@media (min-width: 768px) and (max-width: 978px) {
  .ui-vall-icon {
    width: 12%;
    margin-bottom: 1.5rem;
  }
}

/* MOVIL */
@media (max-width: 767.98px) {
  .ui-vall-icon {
    width: 20%;
    margin-bottom: 2rem;
  }
}

/* =========================================================
   UI - BTN VALL
========================================================= */

.ui-btn-vall {
  display: inline-block;
  line-height: 0;
}

.ui-btn-vall__svg {
  display: block;
  width: 60px;
  height: auto;
  overflow: visible;
}

.ui-btn-vall__shape {
  fill: #edbf3c;
  stroke: none;
  stroke-miterlimit: 10;
}

.ui-btn-vall__hover {
  cursor: pointer;
}

.ui-btn-vall__text {
  transform: translate(35%, 62%);
  fill: #000;
  font-size: 2.5rem;
  font-weight: 700;
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
}

.ui-btn-vall__circle {
  transform: translate(50%, 50%);
  fill: #edbf3c;
  opacity: 1;
  transition: all 0.2s ease-in-out;
}

.ui-btn-vall__hover:hover .ui-btn-vall__text {
  transform: translate(35%, 62%);
  fill: #000;
  opacity: 0;
  font-size: 2.5rem;
  font-weight: 700;
}

.ui-btn-vall__hover:hover .ui-btn-vall__circle {
  opacity: 0;
  fill: #4c5358;
}

@media (min-width: 768px) and (max-width: 978px) {
  .ui-btn-vall__svg {
    width: 50px;
  }

  .ui-btn-vall__text {
    transform: translate(37%, 62%);
    font-size: 2.5rem;
  }

  .ui-btn-vall__hover:hover .ui-btn-vall__text {
    transform: translate(37%, 62%);
    font-size: 2.1rem;
  }
}

@media (max-width: 767.98px) {
  .ui-btn-vall__svg {
    width: 50px;
  }

  .ui-btn-vall__text {
    transform: translate(39%, 62%);
    font-size: 3rem;
    opacity: 1;
  }

  .ui-btn-vall__hover:hover .ui-btn-vall__circle {
    opacity: 1;
    fill: #edbf3c;
  }

  .ui-btn-vall__hover:hover .ui-btn-vall__text {
    transform: translate(39%, 62%);
    fill: #000;
    opacity: 1;
    font-size: 3rem;
    font-weight: 700;
  }
}

/* =========================================================
   UI - CATALOG BANNER
========================================================= */

.ui-catalog-banner {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.ui-catalog-banner__side {
  width: 100%;
  max-width: 100%;
  flex: 1 1 0;
}

.ui-catalog-banner__side--left {
  display: flex;
  justify-content: flex-end;
  background-color: #e9e9e9;
  height: 120.5px;
}

.ui-catalog-banner__side--right {
  display: flex;
  justify-content: flex-start;
  background-color: #e5e5e5;
  height: 120.5px;
}

.ui-catalog-banner__box {
  width: 250px;
  max-width: 100%;
  margin: auto 0;
  padding: 1.5rem;
  text-align: center;
}

.ui-catalog-banner__picture,
.ui-catalog-banner__image {
  display: block;
  max-width: 100%;
  height: 230px;
}

.ui-catalog-banner__picture {
  flex: 0 0 auto;
}

.ui-catalog-banner__image {
  object-fit: contain;
}

.ui-catalog-banner__link,
.ui-catalog-banner__trigger {
  color: rgba(0, 0, 0, 1);
  text-decoration: none;
}

.ui-catalog-banner__link:hover,
.ui-catalog-banner__trigger:hover {
  color: rgba(0, 0, 0, 0.5);
}

.ui-catalog-banner__icon {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto 1.2rem;
}

@media (min-width: 979px) {
  .ui-catalog-banner__box {
    padding: 0.6rem 1.5rem;
  }

  .ui-catalog-banner__icon {
    margin-bottom: 0.8rem;
  }
}

.ui-catalog-banner__title {
  margin: 0;
}

.form-check-label {
  font-size: 1.2rem;
}
.btn-primary {
  color: #000 !important;
  background-color: #fdc82f !important;
  border-color: #fdc82f !important;
}
.btn {
  border-radius: 0 !important;
  height: fit-content;
  padding: 6px 80px !important;
  font-size: 1.4rem !important;
  text-transform: uppercase;
}
.ui-catalog-banner__trigger {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: center;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

body.ui-catalog-modal-open .modal-backdrop {
  z-index: 10040;
}

.ui-catalog-modal {
  z-index: 10050;
}

.ui-catalog-modal .modal-dialog {
  position: relative;
  z-index: 10051;
}

.ui-catalog-modal .modal-content {
  border: 0;
  border-radius: 0;
}

.ui-catalog-modal .wpcf7-form p {
  margin: 0;
}

.ui-catalog-form__acceptance .wpcf7-list-item {
  margin: 0;
}

.ui-catalog-form__acceptance label {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 1.2rem;
  line-height: 1.4;
}

.ui-catalog-form__acceptance input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1.4rem;
  height: 1.4rem;
  margin-top: 0.2rem;
}

.ui-catalog-form__privacy-title {
  margin: 3rem 0 1rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.ui-catalog-form__privacy-text {
  margin: 0 0 0.8rem;
  font-size: 1.1rem;
  line-height: 1.45;
}

.ui-catalog-modal .wpcf7-submit {
  width: 100%;
  margin-top: 0;
}

.ui-catalog-modal .wpcf7-spinner {
  display: block;
  margin: 1rem auto 0;
}

.ui-catalog-modal .wpcf7-not-valid-tip {
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

.ui-catalog-modal .wpcf7-response-output {
  margin: 1.5rem 0 0 !important;
  padding: 1rem 1.2rem !important;
  font-size: 1.2rem;
  line-height: 1.4;
}

.ui-catalog-modal__download {
  margin: 1.5rem 0 0;
  font-size: 1.2rem;
  line-height: 1.4;
  text-align: center;
}

.ui-catalog-modal__download[hidden] {
  display: none;
}

.ui-catalog-modal__download-link {
  font-weight: 700;
}

@media (min-width: 768px) and (max-width: 978px) {
  .ui-catalog-banner {
    align-items: center;
    background-color: #e5e5e5;
  }

  .ui-catalog-banner__side--left,
  .ui-catalog-banner__side--right {
    height: auto;
    min-height: 190px;
    background-color: transparent;
  }

  .ui-catalog-banner__box {
    width: 100%;
    max-width: 220px;
    padding: 1.6rem 1.2rem;
  }

  .ui-catalog-banner__picture,
  .ui-catalog-banner__image {
    width: auto;
    height: 190px;
    margin: 0 auto;
  }

  .ui-catalog-banner__icon {
    width: 34px;
    height: 34px;
    margin-bottom: 1rem;
  }

  .ui-catalog-banner__title {
    font-size: 2rem !important;
    line-height: 1.3;
  }
}

@media (max-width: 767.98px) {
  .ui-catalog-banner {
    flex-direction: column;
    align-items: stretch;
    background-color: #e5e5e5;
  }

  .ui-catalog-banner__side--left {
    order: 1;
  }

  .ui-catalog-banner__picture,
  .ui-catalog-banner__image {
    order: 2;
    width: 100vw;
    max-width: 100vw;
    height: auto;
    margin: 0;
  }

  .ui-catalog-banner__image {
    padding: 0;
  }

  .ui-catalog-banner__side--right {
    order: 3;
  }

  .ui-catalog-banner__side--left,
  .ui-catalog-banner__side--right {
    justify-content: center;
    height: auto;
    min-height: auto;
    background-color: transparent;
  }

  .ui-catalog-banner__box {
    width: 100%;
    max-width: none;
    padding: 1.8rem 2rem;
  }
  .ui-catalog-banner__title {
    font-size: 2rem !important;
    line-height: 1.3;
  }
}

/* =========================================================
   UI - TYPOGRAPHY VALL
   Basado en la web original
========================================================= */

.ui-kicker {
  font-size: 1.4rem;
  line-height: 1.2;
}

.ui-eyebrow {
  font-size: 1.4rem;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
}

.ui-section-title {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 500;
}

.ui-section-text {
  font-size: 1.5rem;
  line-height: 3rem;
}

.ui-body-relaxed {
  font-size: 1.6rem;
  line-height: 3rem;
}

.ui-product-title {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: 5px;
}

.ui-product-title strong {
  font-weight: 700;
}

.ui-product-name {
  display: inline-block;
  color: inherit;
  font-size: inherit;
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: 5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.ui-product-name__strong {
  font-weight: 700;
}

.ui-product-name strong {
  font-weight: 700;
}

.ui-product-name__light {
  font-weight: 300;
}

.ui-product-name--inline {
  letter-spacing: 0.14em;
}

.ui-card-title {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 500;
}

.ui-card-text {
  font-size: 1.5rem;
  line-height: 1.3;
}

/* =========================================================
   UI - SEARCH FORM VALL
========================================================= */

.vall-search-panel {
  padding: 3.5rem 0;
  background-color: #ffffff;
}

.vall-search-panel--soft {
  background-color: #eceeee;
}

.vall-search-panel__inner {
  width: min(100%, 66rem);
  margin: 0 auto;
}

.vall-search-panel__summary {
  margin: 1.6rem 0 0;
  color: rgba(0, 0, 0, 0.62);
  font-size: 1.45rem;
  line-height: 2.4rem;
  text-align: center;
}

.vall-search-form {
  width: 100%;
}

.vall-search-form__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.vall-search-form__field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  border: 1px solid #000000;
  background-color: #ffffff;
}

.vall-search-form__input {
  width: 100%;
  min-height: 5.7rem;
  padding: 0 2.2rem;
  border: 0;
  background-color: transparent;
  color: #000000;
  font-size: 2rem;
  line-height: 1.2;
  outline: none;
}

.vall-search-form__input::placeholder {
  color: rgba(0, 0, 0, 0.42);
}

.vall-search-form__button {
  min-height: 5.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.8rem;
  border: 0;
  background-color: transparent;
  color: #000000;
  transition: color 0.25s ease;
}

.vall-search-form__button:hover,
.vall-search-form__button:focus-visible {
  color: var(--color-yellow, #fdc82f);
  outline: none;
}

.vall-search-form__button span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.vall-search-form__button svg {
  flex: 0 0 auto;
  fill: currentColor;
}

@media (min-width: 768px) and (max-width: 978px) {
  .ui-kicker {
    font-size: 2rem;
  }

  .ui-eyebrow {
    font-size: 2rem;
  }

  .ui-section-title {
    font-size: 3.6rem;
  }

  .ui-section-text {
    font-size: 2.1rem;
    line-height: 3.4rem;
  }

  .ui-body-relaxed {
    font-size: 2.2rem;
    line-height: 3.4rem;
  }

  .ui-product-title {
    font-size: 3.4rem;
  }

  .ui-card-title {
    font-size: 3.3rem;
  }

  .ui-card-text {
    font-size: 2rem;
    line-height: 1.5;
  }

  .vall-search-panel {
    padding: 3rem 0;
  }

  .vall-search-panel__inner {
    padding: 0 3rem;
  }

  .vall-search-form__input {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  .ui-kicker {
    font-size: 1.75rem;
  }

  .ui-eyebrow {
    font-size: 1.75rem;
  }

  .ui-section-title {
    font-size: 3rem;
  }

  .ui-section-text {
    font-size: 1.85rem;
    line-height: 3.1rem;
  }

  .ui-body-relaxed {
    font-size: 1.95rem;
    line-height: 3.1rem;
  }

  .ui-product-title {
    font-size: 3rem;
  }

  .ui-card-title {
    font-size: 2.8rem;
  }

  .ui-card-text {
    font-size: 1.75rem;
    line-height: 1.45;
  }

  .vall-search-panel {
    padding: 2.6rem 0;
  }

  .vall-search-panel__inner {
    padding: 0 1.8rem;
  }

  .vall-search-panel__summary {
    font-size: 1.55rem;
    line-height: 2.5rem;
  }

  .vall-search-form__input {
    min-height: 5.4rem;
    padding: 0 1.6rem;
    font-size: 1.8rem;
  }

  .vall-search-form__button {
    min-height: 5.4rem;
    padding: 0 1.4rem;
  }
}

/* =========================================================
   UI - HERO VALL
========================================================= */

.hero-vall {
  position: relative;
  height: 242px;
  padding-top: 96px;
  overflow: hidden;
  background-color: #d5d8da;
}

.hero-vall__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-image-position, center center);
}

.hero-vall__inner {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  width: fit-content;
  margin: 0 auto;
}

.hero-vall__content {
  width: fit-content;
  padding: 2.5rem 5rem 3.2rem;
  background-color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.hero-vall__title {
  margin: 0;
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 300;
}

.hero-vall__title strong {
  font-weight: 700;
}

.hero-vall__subtitle {
  display: block;
  margin-top: 0.6rem;
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 300;
}

/* Avoid Lighthouse CLS from Complianz sliding the fixed banner into view. */
#cmplz-cookiebanner-container .cmplz-cookiebanner {
  animation: none !important;
  bottom: 0 !important;
  transition: none !important;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-show:hover {
  transition: box-shadow 0.15s ease !important;
}

@media (max-width: 978px) {
  .hero-vall {
    min-height: 300px;
    padding-top: 96px;
  }

  .hero-vall__inner {
    max-width: calc(100% - 3rem);
  }

  .hero-vall__content {
    max-width: 100%;
    padding: 2rem 2.5rem;
  }

  .hero-vall__title,
  .hero-vall__subtitle {
    font-size: 3.4rem;
    line-height: 1.15;
  }
}

@media (max-width: 767.98px) {
  .hero-vall {
    min-height: 260px;
  }

  .hero-vall__content {
    padding: 1.8rem 2rem;
  }

  .hero-vall__title,
  .hero-vall__subtitle {
    font-size: 2.8rem;
    line-height: 1.15;
  }
}

/* =========================================================
   UI - BREADCRUMBS VALL
========================================================= */

.breadcrumbs-vall {
  padding: 2.2rem 0 1.8rem;
  background-color: #fff;
}

.breadcrumbs-vall__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs-vall__item,
.breadcrumbs-vall__separator {
  font-size: 1.3rem;
  line-height: 1.2;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.breadcrumbs-vall__separator {
  color: #fdc82f;
  font-weight: 700;
}

.breadcrumbs-vall__link {
  color: rgba(0, 0, 0, 0.48);
  text-decoration: none;
  transition: color 0.25s ease;
}

.breadcrumbs-vall__link:hover {
  color: #000;
  text-decoration: none;
}

.breadcrumbs-vall__link--current {
  color: #000;
  font-weight: 700;
  pointer-events: none;
}

@media (max-width: 767.98px) {
  .breadcrumbs-vall {
    padding: 1.8rem 0 1.4rem;
  }

  .breadcrumbs-vall__list {
    gap: 0.5rem;
    padding: 0 2rem;
  }

  .breadcrumbs-vall__item,
  .breadcrumbs-vall__separator {
    font-size: 1.45rem;
    line-height: 1.35;
  }
}

/* =========================================================
   UI SECTION INTRO
========================================================= */

.ui-section-intro {
  padding: 60px 0 40px;
  background-color: #ffffff;
  text-align: center;
}

.ui-section-intro__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ui-section-intro__title {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.ui-section-intro__subtitle {
  margin-top: 2rem;
  margin-bottom: 1.6rem;
  font-weight: 500;
}

.ui-section-intro__text {
  margin: 0 auto;
  font-size: 1.9rem;
  line-height: 3rem;
}

.ui-section-intro__text strong {
  font-weight: 700;
}

.ui-section-intro__cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ui-section-intro__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 5rem;
  margin-left: auto;
  margin-right: auto;
  text-decoration: none;
}

.ui-section-intro__cta-label {
  margin-top: 1.2rem;
  margin-bottom: 0;
  font-size: 1.6rem;
  line-height: 1.2;
  font-weight: 500;
  text-transform: uppercase;
}

/* =========================================================
   UI SECTION INTRO - RESPONSIVE TABLET
========================================================= */

@media (max-width: 978px) {
  .ui-section-intro {
    padding: 60px 0 40px;
  }

  .ui-section-intro__title {
    padding: 0 2rem;
    margin-top: 0;
  }

  .ui-section-intro__subtitle {
    padding: 0 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .ui-section-intro__text {
    padding: 0 5rem;
  }

  .ui-section-intro__cta {
    margin-top: 3rem;
  }
}

/* =========================================================
   UI SECTION INTRO - RESPONSIVE MOBILE
========================================================= */

@media (max-width: 767.98px) {
  .ui-section-intro__subtitle {
    padding: 0 2.4rem;
  }

  .ui-section-intro__text {
    padding: 0 2.4rem;
  }

  .ui-section-intro__cta-label {
    padding: 0 2rem;
  }
}

/* =========================================================
   SECTION 15 - CATALOGO
========================================================= */

.home-catalog-banner {
  margin-top: 5rem;
  overflow: hidden;
}

.home-catalog-banner .container-fluid {
  padding-left: 0 !important;
  padding-right: 0 !important;
  overflow: hidden;
}

/* Home catalogue: one continuous band behind the three visible elements. */
@media (min-width: 979px) {
  .home-catalog-banner {
    position: relative;
    overflow: visible;
  }

  .home-catalog-banner::before {
    position: absolute;
    top: 109.5px;
    right: 0;
    left: 0;
    z-index: 0;
    height: 120.5px;
    content: '';
    background-color: #e5e5e5;
  }

  .home-catalog-banner .container-fluid,
  .home-catalog-banner .ui-catalog-banner > * {
    position: relative;
    z-index: 1;
    overflow: visible;
  }

  .home-catalog-banner .ui-catalog-banner__side--left,
  .home-catalog-banner .ui-catalog-banner__side--right {
    background-color: transparent;
  }
}
