/*
 Theme Name: GeneratePress Child
 Template: generatepress
 Version: 1.1.0
*/

.product-template-default #page {
  min-height: auto !important;
}
.product-template-default .product div.summary {
  margin-bottom: 0px !important;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  margin: 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 12px;
  letter-spacing: 0.08em;
  font-weight: 600;
}

p {
  margin: 0 0 16px;
}

.section-tag {
  display: inline-block;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--color-forest);
  margin-bottom: 8px;
}
.woocommerce .woocommerce-breadcrumb {
  display: none;
}

.section-heading {
  text-align: center;
  margin-bottom: 20px;
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.section-heading p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--color-text-muted);
}

h1:not(#hero h1) {
  width: 100%;
  text-align: center;
  color: var(--base-2);
  font-family: var(--gp-font--lateef);
  line-height: auto;
  text-align: center;
  margin: 0px;
  padding: 0px;
  text-transform: uppercase;
  font-size: clamp(30px, 4vw, 64px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-forest);
  padding-top: var(--site-padding-fixed);
  margin-bottom: 28px;
}
h1:not(#hero h1)::after {
  /* in variables */
}
/* main-menu */

.logo-top {
  max-width: 439px;
}
.logo-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-mobile img {
  height: 50px !important;
}
@media (max-width: 768px) {
  .gb-element-6e12a426 figure {
    max-width: 300px;
    height: 70px;
  }
  .gb-element-6e12a426 img {
    width: auto !important;
  }
}

#main-menu ul {
  gap: 40px;
}
#main-menu .wp-block-navigation-item {
  font-weight: bold;
  text-transform: uppercase;
  font-weight: bold;
}
header a {
  color: var(--color-forest-light) !important;
}

header a:hover {
  color: white !important;
}
.checkout-login-prompt {
  margin-bottom: 24px;
  font-size: 14px;
}
.dot {
  margin-left: 0px !important;
}

.checkout-login-prompt a {
  color: var(--color-forest-dark);
  font-weight: 600;
  text-decoration: underline;
}
/* menu footer */
.footer {
  position: relative;
  font-size: 22px;
  @media (max-width: 640px) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}
.site-footer a {
  color: var(--color-forest-light) !important;
}
.site-footer a:hover,
.site-footer a:focus,
.site-footer a:active {
  color: white !important;
  position: relative;
}

.logo-icon img {
  max-height: auto !important;
  width: auto !important;
  margin: auto;
}
/* dog */

.dog-container .dog-img img {
  max-height: 220px !important;
  position: relative;
  width: 100% !important;
  height: auto !important;
  object-fit: contain;
}

/* Mobile */
@media (max-width: 1024px) {
  .dog-container .dog-img img {
    max-height: 125px !important;
  }
}

@media (max-width: 1024px) {
  .dog-container .dog-img {
    height: 125px !important;
    bottom: 0px;
    bottom: 70px;
    position: relative;
  }
}
@media (max-width: 830px) {
  .dog-container .dog-img {
    height: 125px !important;
    bottom: 0px;
    bottom: 0px;
    position: relative;
  }
}

.dog-container img {
  height: 100%;
  width: 100%;
}
.wp-block-navigation ul .LinkedIn {
  position: absolute;
  right: 0px;
}
@media (max-width: 1080px) {
  .cl-pdf-modal__dialog {
    width: 40% !important;
  }
}
@media (max-width: 1000px) {
  .wp-block-navigation ul .LinkedIn {
    position: relative;
    right: initial;
  }
}
@media (max-width: 900px) {
  .cl-pdf-modal__dialog {
    width: 50% !important;
  }
}
@media (max-width: 830px) {
  .site-footer .gb-element-2918f7ac {
    height: auto;
  }
  .site-footer .footer {
    gap: initial;
    display: flex;
    flex-direction: column;
  }

  .site-footer .LinkedIn {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .cl-pdf-modal__dialog {
    width: 70% !important;
  }
}
@media (max-width: 500px) {
  .cl-pdf-modal__dialog {
    width: 80% !important;
    max-height: 500px;
  }
}
@media (max-width: 445px) {
  .cl-pdf-modal__dialog {
    width: 90% !important;
  }
}

@media (max-width: 350px) {
  .cl-pdf-modal__dialog {
    width: 95% !important;
  }
}
#featured {
  margin: 0px auto;
  background: linear-gradient(90deg, #d1d8ca 0%, #f3f7e9 100%);
  border-radius: 5.8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03);
}

/* =========================================================
   1.2  navs interns
   ========================================================= */
/* Contenedor del nav */
.entry-content nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0;
  justify-content: center;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  margin: 25px 0;
}

/* Estilos de los enlaces */
.entry-content nav a {
  text-decoration: none;
  padding: 10px 16px;
  background: var(--color-forest-dark) !important;
  border-radius: 0px !important;
  color: #ffffff !important;
  font-weight: 500;
  transition: all 0.25s ease;
}

/* Hover */
.entry-content nav a:hover {
  background: var(--color-forest-light) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

/* Responsive móvil */
@media (max-width: 600px) {
  .entry-content nav {
    flex-direction: column;
    align-items: stretch;
  }

  .entry-content nav a {
    text-align: center;
    width: 100%;
  }
}
/* .back-top {
  margin-top: 10rem;
} */
p.order-again {
  display: none;
}
.page-id-1119 h2 {
  padding-top: 4rem !important;
}
.line {
  margin-bottom: 2.5rem;
  margin-top: 2.5rem;
}
/* =========================================================
   2. MASTHEAD (CUSTOM HEADER BAR)
   ========================================================= */
.masthead {
  background: #0b1b0f;
  color: #fff;
  position: relative;
  z-index: 10;
  box-shadow: 0 18px 25px rgba(6, 10, 7, 0.55);
  min-height: 203px;
}

.masthead::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 40%);
  pointer-events: none;
}

.masthead__primary {
  background: var(--color-forest);
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.masthead__primary-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-height: 110px;
}
#main-menu li {
  color: #7e9d7b;
  position: relative;
}
#main-menu .current-menu-item {
  color: white;
}
#main-menu .current-menu-item::after {
  content: '';
  color: white !important;
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  background-color: #d9b248;
  border-radius: 50%;
}
.menutop > a {
  position: relative;
}
.menutop > a:hover {
  color: white;
}
.gb-element-90f34b77 {
  min-height: 70px !important;
}
/* DOT FOR ALL */
.menutop > a:hover::after,
#main-menu li > a:hover::after,
.site-footer a:hover::after {
  content: '';
  color: white !important;
  position: absolute;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  background-color: #d9b248;
  border-radius: 50%;
}
.d-none {
  display: none !important;
}
#main-menu:not(:has(.current-menu-item)) li:first-child {
  color: white !important;
}

.masthead__brand {
  display: flex;
  align-items: center;
  height: 100%;
  max-height: 61px;
}

.sm-visible {
  @media (min-width: 640px) {
    display: none !important;
  }
}

.masthead__brand .custom-logo {
  width: 100%;
  height: auto;
}

.masthead__brand-text {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 12px;
}

.masthead__brand-title {
  display: block;
  font-size: clamp(18px, 2vw, 20px);
  letter-spacing: 0.45em;
  margin-bottom: 4px;
}

.masthead__brand-tagline {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.4em;
  font-size: 11px;
}

.masthead__account {
  right: 0px;
  position: absolute;
}
.masthead__account a {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 11px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  transition: background 0.3s, color 0.3s;
}

.masthead__account a:hover,
.masthead__account a:focus {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.masthead__nav-bar {
  background-color: var(--color-forest);
  display: flex;
  position: relative;
  height: 93px;
  justify-content: center;
  align-items: center;
}

.masthead__nav-inner {
  padding: 14px 0 8px;
  display: flex;
  justify-content: center;
}

.masthead__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 12px;
}

.masthead__nav-list li {
  margin: 0;
}

.masthead__nav-list a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
}

.masthead__nav-list a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 24px;
  height: 2px;
  background: transparent;
  transform: translateX(-50%);
  transition: background 0.3s;
}

.masthead__nav-list .current-menu-item a,
.masthead__nav-list a:hover,
.masthead__nav-list a:focus {
  color: #fff;
}

.masthead__nav-list .current-menu-item a::after,
.masthead__nav-list a:hover::after,
.masthead__nav-list a:focus::after {
  background: var(--color-gold);
}

.masthead__nav-indicator {
  display: flex;
  justify-content: center;
  padding-bottom: 16px;
}

.masthead__nav-indicator span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 15px rgba(201, 169, 107, 0.65);
}

@media (max-width: 600px) {
  .gb-element-90f34b77 {
    min-height: 60px !important;
  }
  .masthead__primary-inner {
    flex-direction: column;
    text-align: center;
  }

  .masthead__brand {
    flex-direction: column;
  }

  .masthead__account a {
    letter-spacing: 0.3em;
  }

  .masthead__nav-list {
    justify-content: center;
    gap: 20px;
  }
}
/* form */

/* Reusable input style */
form input {
  font-weight: 600;
  border: 0 !important;
  padding: 0;
  padding-left: 10px;
  height: 40px;
  letter-spacing: 0.1em;
  background-color: white !important;
  color: #bab89d !important;
  background-color: white !important;
  border: 1px solid var(--color-forest-dark) !important;
}

/* Placeholder general */
form input::placeholder {
  color: #bab89d !important;
  font-size: 18px !important;
  font-weight: 600;
  letter-spacing: 5%;
  padding-left: 10px;
}
textarea {
  font-weight: 600;
  border: 0 !important;
  padding: 10px;
  letter-spacing: 0.1em;
  background-color: white;
  color: #bab89d !important;
  border: 1px solid var(--color-forest-dark) !important;
}
textarea::placeholder {
  color: #bab89d !important;
  font-size: 18px !important;
  font-weight: 600;
}

.form-submit {
  background-color: transparent !important;
  color: white !important;
  padding-left: 0px !important;
  font-size: 20px !important;
  position: relative;
  text-transform: uppercase;
}
/* .wp-block-woocommerce-single-product.woocommerce {
  padding: var(--site-padding-general) !important;
} */

/* research */
.page-template-research-page {
  background-color: #fcfaed;
}

.featured-card,
.research-card {
  font-size: 28px;
  letter-spacing: 0.1em;
  color: var(--color-forest-dark);
  border-radius: 0px !important;
  background-color: transparent !important;
  min-width: 400px;
  max-height: 400px;
  text-decoration: none;
}
.featured-card:hover,
.research-card:hover {
  max-height: auto;
}
/* Hover */
.research-card:hover {
  background-color: #f1f1e6 !important;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  padding: 40px var(--site-padding-fixed);
}

.research-card {
  border-radius: 6px;
  padding: 0 0 20px;
  transition: all 0.25s ease;
  cursor: pointer;
  max-width: 420px;
}
.separate-containers .site-main {
  margin: 0px !important;
}
.separate-containers .inside-article {
  padding: 0px !important;
}

/* Image box */
.research-img {
  background: #fff;
  padding: 20px 20px;
  height: 286px;
  width: 380px;
  position: relative;
  overflow: hidden;
}

.research-img img {
  width: auto;
  margin: 0 auto;
  height: 100%;
  display: block;
}
.btn-container {
  bottom: 0px;
  display: flex;
  height: 2px;
  max-width: 170px;
  margin: auto;
}
/* Button */
.btn-discover {
  font-size: var(--font-size);
  align-items: center;
  background-color: var(--base-2);
  bottom: 20px;
  color: #ffffff;
  display: inline-flex;
  position: relative;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  width: 150px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
}
.btn-discover:hover {
  color: white;
  background-color: #1d6b3b;
}
/* Text underneath */
.research-content {
  padding: 10px 0px;
  line-height: 5px;
}

.research-content h3,
.research-date {
  color: var(--base-2);
  font-size: 28px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 0px !important;
}
.research-img .btn-container {
  display: flex;
  width: 100%;
  height: 10px;
  max-width: 155px;
}
.img-container {
  height: 175px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: inherit;
}

.gb-element-d9991c16 {
  min-width: auto;
  gap: 15px;
  margin-right: 15px;
}

@media (max-width: 640px) {
  .research-card {
    max-width: 100vw !important;
    min-width: initial !important;
  }
  .research-img {
    width: 100%;
  }
  .gb-element-d9991c16 {
    min-width: auto !important;
    gap: 15px;
    margin-right: 15px;
  }
}

/* =========================================================
  Pages
   ========================================================= */

.page-id-10:not(.logged-in) .woocommerce-message {
  display: none;
}
.page-id-1119 {
  background-color: var(--color-cream) !important;
}

.page-id-1719 .grid-container {
  max-width: 100%;
}
.postid-942 .woocommerce-error {
  display: none !important;
}
/* =========================================================
  my-account/login
   ========================================================= */
.page-id-10:not(.logged-in) .woocommerce form.login {
  margin-top: 0em !important;
}
.page-id-10:not(.logged-in) .entry-content > .woocommerce {
  margin-top: 0em !important;
  gap: 28px !important;
  max-width: 450px !important;
}
.page-id-10:not(.logged-in) .entry-content {
  margin-top: 0em !important;
}
.page-id-10:not(.logged-in) .entry-content h2 {
  margin-bottom: 0em !important;
}
.page-id-10:not(.logged-in) .woocommerce form.login {
  margin: auto !important;
  min-width: 100%;
}
.page-id-10:not(.logged-in) .entry-content > .woocommerce {
  margin: auto !important;
}
@media (max-width: 640px) {
  .page-id-10:not(.logged-in) .entry-content > .woocommerce {
    gap: 0px !important;
    margin: 0px;
    padding: 0px;
  }
  .page-id-10:not(.logged-in) .woocommerce form.login {
    min-width: 100%;
  }
}

/* =========================================================
  DOG
   ========================================================= */

/* 640px */
@media (max-width: 640px) {
  .page-id-98 .dog-img {
    left: -60px;
  }
}
/* support */
.page-id-859 .dog-img img {
  content: url('/wp-content/uploads/2025/11/dog4.png');
}

/* Product */
.postid-942 .dog-img img {
  content: url('/wp-content/uploads/2025/11/dog3.png');
}

/* research */
.page-template-research-page .dog-img img {
  content: url('/wp-content/uploads/2025/11/dog2.png');
}
@media (max-width: 830px) {
  .page-template-research-page .gb-element-eee38c0a {
    bottom: 0px;
    position: absolute;
  }
  .dog-visible {
    width: 100px;
  }
  .postid-942 .dog-visible,
  .page-id-10 .dog-visible,
  .page-id-1119 .dog-visible,
  .page-id-945 .dog-visible,
  .page-id-859 .dog-visible {
    bottom: 110px;
  }
  .page-id-8 .dog-visible,
  .page-id-10 .dog-visible,
  .page-id-1022 .dog-visible {
    left: 5px !important;
  }
  .page-id-945 .dog-visible,
  .page-id-1119 .dog-visible,
  .page-id-859 .dog-visible {
    left: -0px !important;
  }
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block h2.wp-block-heading:nth-of-type(2) {
  display: none !important;
}
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .is-style-dots {
  display: none !important;
}
.woocommerce-cart ul.wc-block-grid__products {
  margin: auto !important;
  width: 100%;
  text-align: center;
  justify-content: center;
}

.wp-block-button.wc-block-grid__product-add-to-cart a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px !important;
  border-radius: 999px;
  border: none;
  background: var(--color-forest-dark) !important;
  color: white !important;
  text-transform: uppercase;
  letter-spacing: var(--font-title-spacing);
  text-decoration: none;
  font-size: var(--font-size) !important;
  font-family: var(--font-family) !important;
  border-radius: 0px !important;
}
.woocommerce-cart .wc-block-grid__product-title {
  text-transform: uppercase;
  font-size: var(--font-size);
  color: var(--color-forest-dark) !important;
}

.page-id-1022 .gb-element-dfac17d5 img {
  margin: auto;
}
/* =========================================================
   2.1. MOBILE NAVIGATION (BLOCK MENU)
   Ensure the hamburger and close buttons stay visible on light backgrounds.
   ========================================================= */
@media (max-width: 600px) {
  .faq_title {
    text-align: left !important;
    line-height: 20px;
  }
  .has-modal-open .wp-block-navigation {
    height: 100vh;
  }

  .wp-block-navigation__responsive-container-open,
  .wp-block-navigation__responsive-container-close {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--color-forest, #1d6b3b);
    background: #fff;
    color: var(--color-forest, #1d6b3b);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 12px;
    font-weight: 600;
  }

  .wp-block-navigation__responsive-container-open svg,
  .wp-block-navigation__responsive-container-close svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
  }

  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-content {
    background: #fff;
    box-shadow: var(--shadow-soft, 0 15px 35px rgba(30, 38, 32, 0.12));
    border-radius: 12px;
  }

  .page-id-1119 h2,
  .post-859 h3 {
    font-size: 32px !important;
  }
}

/* =========================================================
   FORM
   ========================================================= */

.input-text,
select {
  font-family: inherit;
  font-weight: 400;
  letter-spacing: normal;
  padding: 0.5em;
  display: block;
  background-color: var(--wc-form-color-background, #fff);
  border: var(--wc-form-border-width) solid var(--wc-form-border-color);
  border-radius: var(--wc-form-border-radius);
  color: var(--wc-form-color-text, #000);
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  line-height: normal;
  height: auto;
}
.button,
.form-submit input {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px !important;
  border-radius: 999px;
  border: none;
  background: var(--color-forest-dark) !important;
  color: white !important;
  text-transform: uppercase;
  letter-spacing: var(--font-title-spacing);
  text-decoration: none;
  font-size: var(--font-size) !important;
  font-family: var(--font-family) !important;
  border-radius: 0px !important;
}

.page-title {
  margin: auto;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-align: center;
  margin-top: 70px;
  margin-bottom: 10px;
  color: var(--color-forest-dark);
}
.page-title:after {
  content: '';
  display: block;
  width: 200px;
  height: 1px;
  background-color: #7e9e7b;
  margin-top: 10px;
  margin: auto;
}
main.site-main {
  width: 100%;
}

/* tabs */

/* Tabs main wrapper */
.research-tabs {
  background: #e7e1cf;
  padding: 40px 0 60px;
}

.research-tabs-inner {
  max-width: 1100px;
  margin: 0 auto;
  background: #f5f1e0;
  padding: 30px 30px 40px;
}

/* Tab navigation */
.research-tabs-nav {
  display: flex;
  border-bottom: 1px solid #d6cfbd;
  margin-bottom: 25px;
}

.research-tab-btn {
  background: transparent;
  border: 1px solid #d6cfbd;
  border-bottom: none;
  padding: 10px 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  cursor: pointer;
}

.research-tab-btn + .research-tab-btn {
  border-left: none;
}

.research-tab-btn.is-active {
  background: #f5f1e0;
  border-bottom: 1px solid #f5f1e0;
}

/* Panels */
.research-tabs-panels {
  margin-top: 10px;
}

.research-tab-panel {
  display: none;
}

.research-tab-panel.is-active {
  display: block;
}

/* Two-column layout inside the main panel */
.research-panel-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.research-panel-main {
  font-size: 15px;
  line-height: 1.8;
}

.research-panel-side {
  font-size: 14px;
}

.research-includes-title {
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}
.site-content {
  display: initial;
}
.site-content .content-area {
  margin: auto;
}
@media (max-width: 1300px) {
  .page-id-8 .content-area,
  .page-id-9 .content-area {
    width: 80% !important;
    margin: auto;
  }
}
/* Responsive */
@media (max-width: 900px) {
  .research-panel-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   3. HERO SECTION
   ========================================================= */
.hero-banner {
  padding: 90px 0 90px;
  background: var(--color-cream);
  position: relative;
}

.hero-banner__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
  position: relative;
}

.hero-banner__eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--color-text-muted);
}

.hero-banner__title {
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1.1;
  margin: 16px 0;
}

.hero-banner__subtitle {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.hero-banner__summary {
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.hero-banner__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
}

.hero-banner__meta-item {
  background: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  border: 1px solid var(--color-border);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 11px;
}

.hero-banner__meta-item strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  letter-spacing: 0;
  color: var(--color-forest);
}

.hero-banner__image {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 60px rgba(18, 69, 38, 0.25);
  position: relative;
}

.hero-banner__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.4));
  opacity: 0.25;
}

.hero-banner__note {
  text-align: center;
  margin-top: 60px;
  font-size: 14px;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  background: #fff;
  width: fit-content;
  padding: 14px 26px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

/* ================================
   WooCommerce Login (My Account)
   ================================ */
.woocommerce-EditAccountForm > p,
.woocommerce-EditAccountForm div > p:nth-child(1) {
  padding-left: 10px !important;
}
@media (max-width: 768px) {
  .woocommerce-EditAccountForm > p,
  .woocommerce-EditAccountForm div > p {
    padding-left: 10px !important;
  }
}

.woocommerce-account .edit-account-names {
  min-width: 100%;
  text-transform: uppercase;
}
.woocommerce-account #account_first_name,
label[for='account_email'] {
  text-transform: capitalize;
  min-width: 50%;
}
.woocommerce-account #account_last_name,
label[for='account_email'] {
  text-transform: capitalize;
}
/* Hide sidebar on the login view as well */
.woocommerce-account #right-sidebar {
  display: none;
}

/* General container when the user is NOT logged in */
.woocommerce-account .entry-content > .woocommerce {
  max-width: 480px;
  margin: 110px auto 140px;
  flex-wrap: wrap;
}

/* Heading "My account" */
.woocommerce-account .entry-title {
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-align: center;
  margin-top: 70px;
  margin-bottom: 10px;
}

/* Subheading "Login" */
.woocommerce-account .woocommerce h2 {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: var(--font-title-spacing);
  margin-bottom: 24px;
  color: var(--color-text);
  width: 100%;
}
.related.products {
  clear: both;
  display: none;
}

/* FEATURED PRODUCTS */
.wp-block-woocommerce-single-product.woocommerce {
  /* max-height: 400px; */
  height: fit-content;
}

.gb-element-ee59ae4b:hover {
  max-height: fit-content;
  height: fit-content;
  transition: all 0.5s ease-in-out;
}
#featured {
  max-height: fit-content;
  height: fit-content;
  transition: all 0.5s ease-in-out;
}

.expand .expandable {
  max-height: 480px;
  height: fit-content;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
  margin-bottom: 30px;
  position: relative;
}
.expand .expandable::after {
  content: '▼';
  font-size: 12px;
  color: var(--color-forest-dark);
  position: absolute;
  top: 400px;
  left: 50%;
  transform: translateX(-50%) translatey(50px);
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.expand .expandable:hover {
  max-height: 1000px;
  height: fit-content;
  transition: all 0.5s ease-in-out;
}
.expand .expandable:hover::after {
  opacity: 0;
  transform: translatey(20%);
}
.expand #featured::after {
  content: '▼';
  top: 400px;
  transform: translateX(-50%) translatey(0px);
  width: 100%;
  text-align: right;
  padding-right: 20px;
}

.page-id-1022 .gb-element-dfac17d5 img {
  width: 90% !important;
}
.wp-block-woocommerce-single-product .wc-block-components-product-summary {
  color: var(--color-forest-dark);
}
.wp-block-woocommerce-single-product .wc-block-components-product-image {
  max-height: 300px;
  margin: 20px;
}
.wp-block-woocommerce-single-product h3.wp-block-post-title {
  font-size: 40px;
  text-transform: uppercase;
}
.wp-block-woocommerce-single-product h3.wp-block-post-title a {
  font-size: 40px !important;
  font-weight: 400;
  text-transform: uppercase;
}
.wp-block-woocommerce-single-product .wp-block-column:nth-child(1) {
  max-width: 360px;
  overflow: hidden;
}
.wc-block-components-product-image a:after {
  content: 'discover';
  color: white;
  align-items: center;
  background-color: var(--base-2);
  bottom: 10px;
  color: #ffffff;
  display: inline-flex;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0px;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  margin: auto;
  bottom: 0px;
  left: 0px;
}
@media (max-width: 640px) {
  .wc-block-components-product-image a:after {
    position: absolute;
    bottom: -20px;
  }
}
.wp-block-woocommerce-product-summary {
  margin-right: 30px;
}
.wp-block-woocommerce-single-product .wp-block-columns {
  margin-bottom: 0px !important;
}

@media (max-width: 1020px) {
  .wp-block-woocommerce-single-product > div {
    flex-direction: column;
  }
  .wp-block-woocommerce-single-product .wp-block-column:nth-child(1) {
    max-width: 100%;
    background-color: white;
  }
  .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
    flex-basis: 100% !important;
  }
}

@media (max-width: 780px) {
  .wp-block-woocommerce-single-product .wp-block-column:nth-child(1) {
    height: 245px !important;
  }
  .wp-block-woocommerce-single-product .gb-element-dfac17d5 {
    min-height: 245px !important;
    padding: 30px;
  }
  .wp-block-woocommerce-single-product .wc-block-components-product-image {
    display: flex;
  }
  /* .wp-block-woocommerce-product-summary {
    margin-right: 20px;
  } */
  .wp-block-woocommerce-single-product h3.wp-block-post-title {
    font-size: 20px;
  }
  .wp-block-woocommerce-single-product .wc-block-components-product-summary {
    font-size: 16px;
  }
  .wp-block-woocommerce-single-product .gbp-section__headline {
    margin: 0px !important;
  }
  .wc-block-components-product-image a {
    margin: auto;
    position: relative;
  }
  .wp-block-woocommerce-single-product.woocommerce {
    max-height: initial;
    padding: 10px !important;
  }
}

/* Form card */
.woocommerce-account .woocommerce-form-login {
  background-color: var(--light-yellow) !important;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 32px 34px 30px;
  border: 1px solid var(--color-border);
  margin: 2em auto !important;
}
.wc-block-components-product-image a {
  max-width: 360px;
  max-height: 360px;
  padding: 20px;
}
/* Form rows */
.woocommerce-account .woocommerce-form-login .form-row {
  margin-bottom: 20px;
}

/* Labels */
.woocommerce-account .woocommerce-form-login label {
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--color-text-muted);
}

/* Inputs */
.woocommerce-account .woocommerce-form-login .input-text,
.woocommerce-account .woocommerce-form-login input[type='text'],
.woocommerce-account .woocommerce-form-login input[type='password'] {
  width: 100%;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  padding: 12px 16px;
  font-size: var(--font-size);
  font-family: var(--font-family);
  color: var(--color-text);
  background-color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Woo password wrapper */
.woocommerce-account .woocommerce-form-login .password-input {
  width: 100%;
}

/* Input focus */
.woocommerce-account .woocommerce-form-login .input-text:focus,
.woocommerce-account .woocommerce-form-login input[type='text']:focus,
.woocommerce-account .woocommerce-form-login input[type='password']:focus {
  outline: none;
  border-color: var(--color-forest);
  box-shadow: 0 0 0 1px rgba(29, 107, 59, 0.25);
}

/* Row with checkbox + button */
.woocommerce-account .woocommerce-form-login .form-row:last-of-type {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}

/* Checkbox "Remember me" */
.woocommerce-account .woocommerce-form-login__rememberme {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text-muted);
  text-transform: none;
  letter-spacing: 0;
}

.woocommerce-account .woocommerce-form-login__rememberme input[type='checkbox'] {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  border: 1px solid var(--color-border);
}

/* Link "Lost your password?" */
.woocommerce-account .woocommerce-LostPassword {
  margin-top: 18px;
  text-align: center;
}

.woocommerce-account .woocommerce-LostPassword a {
  color: var(--color-forest);
  text-decoration: underline;
  font-size: 13px;
}

/* Notices (errors, etc.) */
.woocommerce-account .woocommerce-error,
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info {
  border-radius: 12px;
  border-top-width: 3px;
  padding: 12px 16px;
  font-size: 13px;
}
.woocommerce-Tabs-panel p {
  margin-bottom: 36px !important;
}
/* ================================
   Login responsive
   ================================ */
@media (max-width: 640px) {
  .wc-block-components-product-image {
    width: 100%;
    margin: 0px !important;
    padding: 0px !important;
  }
  .gb-element-dfac17d5 {
    width: 100% !important;
  }
  .wc-block-components-product-image a {
    max-width: 85%;
    height: initial;
    padding: 0px;
    padding: 0px !important;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;
    padding-bottom: 0px !important;
  }

  .page-id-1022 .gb-element-dfac17d5 img {
    width: 130px !important;
    margin: auto;
    position: relative;
    top: -35px;
  }

  .woocommerce-account .entry-content > .woocommerce {
    margin: 60px 20px 90px;
  }

  .woocommerce-account .woocommerce-form-login {
    padding: 26px 22px 24px;
  }

  .woocommerce-account .woocommerce-form-login .form-row:last-of-type {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* video */
.hero {
  position: relative;
  overflow: hidden;
}

/* contenedor detrás */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

/* el video se comporta como background-image */
.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* la magia: igual a background-size: cover */
  object-position: center;
  filter: brightness(0.75); /* opcional */
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-video-loaded video {
  opacity: 1;
}
.hero-video-loaded {
  z-index: 0;
}

/* =========================================================
   4. FEATURED RESEARCH
   ========================================================= */
.featured-research {
  background: #fff;
  padding: 100px 0 80px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.featured-research::after {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  pointer-events: none;
  background-color: #f1f1e5;
}

.featured-research__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.featured-card,
.research-card {
  background: var(--color-cream);
  border-radius: var(--radius-card);
  padding: 20px;
}

.featured-card {
  background: var(--color-forest);
  color: #fff;
}

.featured-card__logo {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.featured-card p {
  margin-bottom: 24px;
  font-size: 14px;
}

.featured-card__cta {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
}

.research-card h3 {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}
.page-id-945 h3 {
  margin-left: 0px;
  line-height: 0.8em;
}
.research-card ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.research-card li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 18px;
}

#featured .content {
  padding: 0px 10px;
}
.lost_reset_password .form-row-first,
.lost_reset_password .woocommerce-form-row {
  width: 100% !important;
}
/* =========================================================
   5. PURPOSE SECTION
   ========================================================= */
.purpose-section {
  background: var(--color-cream-dark);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

.purpose-section > .container {
  position: relative;
  z-index: 1;
}

.purpose-section__text {
  max-width: 820px;
  margin: 0 auto 40px;
  font-size: 17px;
}

.purpose-section__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}

.purpose-stat {
  text-align: center;
  padding: 24px;
  border-radius: var(--radius-card);
  background: #fff;
  border: 1px solid var(--color-border);
}

.purpose-stat strong {
  display: block;
  font-size: 28px;
  color: var(--color-forest);
}

.purpose-stat span {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* =========================================================
   6. PILLARS
   ========================================================= */
.pillars-overview {
  padding: 90px 0;
  background: #fff;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.pillar-card {
  text-align: center;
  padding: 20px;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  background: var(--color-cream);
}

.pillar-card h3 {
  font-size: 22px;
}

.pillar-card p {
  color: var(--color-text-muted);
}

/* =========================================================
   7. TESTIMONIALS
   ========================================================= */
/* Carousel container */
.testimonial {
  overflow: hidden;
  position: relative;
}

/* Track that moves horizontally */
.testimonial .gb-looper-28edd484 {
  display: flex;
  transition: transform 0.5s ease;
}

/* Each slide takes up one third of the width (3 per view) */
.testimonial .gb-looper-28edd484 .gb-loop-item {
  flex: 0 0 calc(100% / 3 - 20px);
  box-sizing: border-box;
  padding: 40px;
}

/* Dots underneath (reuse the existing pagination div) */
.testimonial .gb-query-loop-pagination {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* Button/dot */
.testimonial .testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background-color: #d6d6c4;
  cursor: pointer;
  padding: 0;
}

/* Active dot */
.testimonial .testimonial-dot.is-active {
  background-color: #1f5a2c;
}

@media (max-width: 780px) {
  .testimonial .gb-looper-28edd484 {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    position: relative;
    margin: 0px !important;
  }

  /* Hide everything by default */
  .testimonial .gb-loop-item {
    display: none;
    box-sizing: border-box;
    padding: 20px !important;
  }

  /* When the wrapper has show-group-1, show t-group-1 */
  .testimonial.show-group-1 .t-group-1 {
    display: block;
    min-width: 100%;
  }

  /* When the wrapper has show-group-2, show t-group-2 */
  .testimonial.show-group-2 .t-group-2 {
    display: block;
    min-width: 100%;
    transform: translate(100%);
  }

  /* Optional: adjust dots on mobile */
  .testimonial .gb-query-loop-pagination {
    margin-top: 1.5rem;
  }
}

/* =========================================================
   8. CTA STRIP + FOOTER
   ========================================================= */
.cta-strip {
  background: var(--color-forest);
  color: #fff;
  padding: 36px 0;
  text-align: center;
  border-top: 4px solid var(--color-gold);
}

.cta-strip p {
  font-size: 15px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0;
}

.site-footer {
  background: var(--color-forest-dark);
  color: #fff;
  text-align: center;
  font-size: 13px;
  position: relative;
}
.site-footer p {
  color: white !important;
}

.site-footer .site-info {
  background-color: transparent !important;
}
.site-footer .logo-icon {
  padding-top: 20px;
  padding-bottom: 20px;
}
.site-footer__nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}
.spaceLine {
  background-color: rgb(211, 211, 211) !important;
  min-height: 50px !important;
}
.single-product .spaceLine {
  background-color: transparent !important;
}
.logo-icon a:hover::after {
  display: none !important;
}
.site-footer__nav a {
  color: #fff;
  text-decoration: none;
}
.footer {
  gap: 40px;
  letter-spacing: 10%;
  letter-spacing: 3px;
  @media (max-width: 640px) {
    gap: 0px;
  }
}
.LinkedIn {
  @media (max-width: 640px) {
    margin-top: 45px;
  }
}
.container.grid-container {
  background-color: var(--color-cream);
}
.footer .wp-block-navigation {
  text-transform: uppercase;
}
.footer-menu a,
.no-under a {
  text-decoration: none;
}
.is-error svg {
  display: none;
}
/* =========================================================
   8.5 Utils
   ========================================================= */
.md-center {
  @media (max-width: 640px) {
    text-align: center;
  }
}
.md-right {
  text-align: right;
}
.hide-desktop,
.sm-visible {
  @media (min-width: 640px) {
    display: none !important;
  }
}

.border-responsive:last-child {
  border-right: none;
}

/* =========================================================
   8.6 Animations
   ========================================================= */
.fade-title,
.fade-subtitle {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.hero-video-loaded .fade-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

.hero-video-loaded .fade-subtitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1s;
}
.fade-subtitle1,
.fade-subtitle2,
.fade-subtitle3 {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1s ease, transform 1s ease;
}

.hero-video-loaded .fade-subtitle1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.2s;
}

.hero-video-loaded .fade-subtitle2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.8s;
}

.hero-video-loaded .fade-subtitle3 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 2.2s;
}
.fade-subtitle1 p,
.fade-subtitle2 p,
.fade-subtitle3 p {
  margin-bottom: 0px !important;
}
.gb-element-08dee388 {
  padding-top: 0px !important;
}
.gbp-card__title {
  white-space: nowrap !important;
}
/* =========================================================
   9. RESEARCH SINGLE PRODUCT
   ========================================================= */
.research-single-page {
  background: var(--color-cream);
  padding: 80px 0 120px;
}

.research-hero {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 70px;
}

.research-title {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-forest);
  margin-bottom: 28px;
}

.research-hero-box {
  background: #eaeaea;
  border-radius: 16px;
  padding: 32px;
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 #d6d6d6;
}

.research-hero-inner {
  background: #d0d7cb;
  border-radius: 12px;
  padding: 50px 30px;
  position: relative;
}

.research-preview-img {
  background: #eef1ea;
  border-radius: 12px;
  padding: 40px 30px;
  border: 1px solid #c3c9bc;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.research-preview-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  margin-top: 14px;
  color: var(--color-text-muted);
}

.research-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  color: var(--color-text-muted);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.research-meta-sep {
  color: var(--color-forest);
}

.research-price {
  color: var(--color-forest);
  font-weight: 700;
}

.research-purchase {
  margin-top: 24px;
}

.research-purchase .single_add_to_cart_button {
  background: var(--color-forest);
  color: #fff;
  padding: 14px 34px;
  border-radius: 40px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: var(--shadow-soft);
}

.research-lower {
  background: #fff;
  padding: 0 20px;
}

.research-lower-card {
  background: var(--color-cream-dark);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}

.research-tabs__header {
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 24px;
  padding-bottom: 8px;
}

.research-tabs__nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.research-tab-button {
  background: transparent;
  border: none;
  padding: 10px 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--color-text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.research-tab-button.is-active {
  color: var(--color-forest);
  border-color: var(--color-gold);
}

.research-tabs__layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}

.research-tab-pane {
  display: none;
  color: var(--color-text);
}

.research-tab-pane.is-active {
  display: block;
}

.research-tab__body p,
.research-tab__body ul,
.research-tab__body ol {
  color: var(--color-text-muted);
}

.research-tab__body ul,
.research-tab__body ol {
  padding-left: 20px;
}

.research-includes {
  background: #f7f3eb;
  border-radius: 12px;
  padding: 22px 20px 18px;
  border: 1px solid var(--color-border);
}

.research-includes__title {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--color-forest);
  margin-bottom: 12px;
}

.research-includes__content ul {
  margin: 0;
  padding-left: 18px;
  color: var(--color-text-muted);
}

.research-includes__content li {
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .research-tabs__layout {
    grid-template-columns: 1fr;
  }

  .research-lower-card {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .research-single-page {
    padding: 60px 0 80px;
  }

  .research-hero {
    margin-bottom: 48px;
  }

  .research-tabs__nav {
    gap: 12px;
  }
}

/* =========================================================
   HERO VIDEO – FIX FINAL
   ========================================================= */

/* HERO / WRAPPER */
#hero-section.video-overlay-wrapper {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 100vh;
  max-height: 855px;
  min-height: 500px;
  overflow: hidden;
}

/* VIDEO CONTAINER */
#hero-section #video-background,
#hero-section #video-background .video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* POSTER / BACKGROUND */
#hero-section .hero-poster {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.8s ease;
}

/* IFRAME */
#hero-section iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;

  width: 100vw;
  height: 56.25vw;

  min-width: 177.77vh;
  min-height: 100vh;

  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;

  opacity: 0;
  transition: opacity 0.8s ease;
}

/* ===============================
   FADE STATES (CORRECTOS)
   =============================== */

/* Fade IN video */
#hero-section.hero-video-loaded iframe {
  opacity: 1;
}

/* Fade OUT poster */
#hero-section.hero-video-loaded .hero-poster {
  opacity: 0;
  pointer-events: none;
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 1024px) {
  .gb-element-dfac17d5 {
    height: auto !important;
  }

  #hero-section.video-overlay-wrapper {
    height: 70vh;
  }
}

@media (max-width: 768px) {
  .gb-element-dfac17d5 {
    min-height: 300px !important;
  }
  #hero-section.video-overlay-wrapper {
    height: 60vh;
    max-height: 600px;
  }
}

/* =========================================================
   10. RESPONSIVE
   ========================================================= */
@media (max-width: 640px) {
  .masthead__inner {
    text-align: center;
  }

  .masthead__contact {
    text-align: center;
  }

  .hero-banner__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================================================
   11. modal
   ========================================================= */
.wc-login-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.wc-login-modal.active {
  display: block;
}

.wc-login-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.wc-login-modal__content {
  position: relative;
  background: #fff;
  max-width: 420px;
  margin: 15vh auto;
  padding: 32px;
  z-index: 2;
}
