/* ════════════════════════════════════════
   LÍNEA VERDE VIVEROS — Main Stylesheet
   ════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Bootstrap Overrides / Base Colors */
  --bs-primary: #245229;
  --bs-primary-rgb: 36, 82, 41;
  --bs-secondary: #303030;

  /* Colores de enlace */
  --bs-link-color: #2e6935;
  --bs-link-hover-color: #000;
  --bs-link-color-rgb: 46, 105, 53;
  --bs-link-hover-color-rgb: 0, 0, 0;

  /* Paleta Específica */
  --green-900: #0d2614;
  --green-800: #1a3d1f;
  --green-700: #245229;
  --green-600: #2e6935;
  --green-500: #3a8042; /* Primary en Gutenberg */
  --green-400: #52a85a;
  --green-300: #7dc484;
  --green-200: #b3ddb8;
  --green-100: #e8f5ea;
  --green-50:  #f4faf5;
  
  --gold:      #c9a84c;
  --gold-light:#e8c97a;
  --cream:     #faf8f2;
  --dark:      #0f1c10;
  --text-main: #1c2e1e;
  --text-muted:#5a7060;
  --white:     #ffffff;

  /* Tipografías y Otros */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 8px 30px rgba(0,0,0,.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.18);
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
  --woocommerce-primary: var(--green-400); 
}

/* ── WordPress Editor Color Palette ── */

/* Clases Primary y Secondary (mapeadas a tus variables) */
.has-primary-color { color: var(--green-500); }
.has-primary-background-color { background-color: var(--green-500); }

.has-secondary-color { color: var(--bs-secondary); }
.has-secondary-background-color { background-color: var(--bs-secondary); }

/* Estados (Bootstrap defaults) */
.has-success-color { color: #198754; }
.has-success-background-color { background-color: #198754; }
.has-danger-color { color: #dc3545; }
.has-danger-background-color { background-color: #dc3545; }
.has-warning-color { color: #ffc107; }
.has-warning-background-color { background-color: #ffc107; }

/* Gama de Verdes (usando variables) */
.has-green-900-color { color: var(--green-900); }
.has-green-900-background-color { background-color: var(--green-900); }

.has-green-800-color { color: var(--green-800); }
.has-green-800-background-color { background-color: var(--green-800); }

.has-green-700-color { color: var(--green-700); }
.has-green-700-background-color { background-color: var(--green-700); }

.has-green-600-color { color: var(--green-600); }
.has-green-600-background-color { background-color: var(--green-600); }

.has-green-500-color { color: var(--green-500); }
.has-green-500-background-color { background-color: var(--green-500); }

.has-green-400-color { color: var(--green-400); }
.has-green-400-background-color { background-color: var(--green-400); }

.has-green-300-color { color: var(--green-300); }
.has-green-300-background-color { background-color: var(--green-300); }

.has-green-200-color { color: var(--green-200); }
.has-green-200-background-color { background-color: var(--green-200); }

.has-green-100-color { color: var(--green-100); }
.has-green-100-background-color { background-color: var(--green-100); }

.has-green-50-color { color: var(--green-50); }
.has-green-50-background-color { background-color: var(--green-50); }

/* Especial Cream */
.has-cream-color { color: var(--cream); }
.has-cream-background-color { background-color: var(--cream); }


html { scroll-behavior: smooth; }

.container-fluid {
  padding-left: 0;
  padding-right: 0;
}

@media only screen and (min-width: 576px) and (max-width: 1199px) {
  .container {
    max-width: 100%;
  }
} /* end media*/
@media only screen and (min-width: 576px) and (max-width: 1199px) {
  .container-xl,
  .header-pages {
    max-width: 100%;
  }
} /* end media*/

@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }
} /* end media*/


body {
  font-family: var(--font-sans);
  font-size:clamp(0.7rem, 1vw + 1rem, 1rem);
  line-height: clamp(120%, 2vw + 100%, 130%);
  font-weight: 400;
  color: var(--text-main);
  background: var(--white);
  overflow-x: hidden; 
}

img {
  max-width: 100%;
  height: auto;
}

.text-decoration-none a {
  text-decoration: none;
}
.fw-bolder {
  font-weight: 800;
}
/* line-height solo titulares */
:is(h1, h2, h3, h4, h5, h6, [class^="display-"]) {
  line-height: 120%;
  font-weight: 300;
}

/* Selecciona cualquier strong dentro de encabezados o clases de display */
:is(h1, h2, h3, h4, h5, h6, [class^="display-"]) strong,
p strong {
  font-weight: 700;
}

/* Titulares y Clases de Titular */
h1,
.h1 {
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
}
h2,
.h2 {
  font-size: clamp(1.8rem, 2.5vw + 1rem, 2.5rem);
}

h3,
.h3 {
  font-size: clamp(1.5rem, 2.2vw + 1rem, 2.2rem);
}

h4,
.h4 {
  font-size: clamp(1.2rem, 1vw + 1.2rem, 1.2rem);
}

/* Displays (Titulares gigantes de Bootstrap) */
.display-1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw + 1rem, 5rem);
}

.display-2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw + 1rem, 4rem);
}

.display-3 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw + 1rem, 3.5rem);
}

.display-4 {
  font-size: clamp(1.3rem, 2.2vw + 1rem, 3.2rem);
}

.display-5 {
  font-size: clamp(1.2rem, 2vw + 1rem, 2.5rem);
}

.display-6 {
  font-size: clamp(1rem, 2vw + 1rem, 2rem);
}


/* ── Typography helpers ── */
.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: .75rem;
}
.section-label.center { display: block; text-align: center; }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.18;
  color: var(--green-900);
  margin-bottom: 1.2rem;
}
.section-title.center { text-align: center; }
.section-title em { color: var(--green-500); font-style: italic; }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
  line-height: 1.7;
}

#wrapper-navbar {
  min-height: 150px;
  background: rgba(13,38,20,1);
}
.site-main{
  padding-top: 30px;
}
.page-template-homepage .site-main{
  padding-top: 0px!important;
}

@media (min-width: 768px) {
  /* barra fija solo ordenador */
  #wrapper-navbar {
    position: fixed;
    min-height: 140px;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  }
  #wrapper-navbar.scrolled {
    background: rgba(13,38,20,.8);
    backdrop-filter: blur(12px);
    padding: .7rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,.3);
  }
  .page-template-homepage #wrapper-navbar {
    background: transparent;
  }
  .page-template-homepage #wrapper-navbar.scrolled {
    background: rgba(13,38,20,.8);
  }

  .site-main{
    padding-top: 230px;
  }
  
  .bg-100 .wp-block-cover,
  .bg-100 .wp-block-cover-image {
    min-height: 100%;
  }
} /* end media*/



/* Estilo global para todos los botones de bloques de WordPress */
.wp-block-button__link, .wc-block-components-button__text {
  background-color: var(--green-600) !important;
  color: #ffffff !important;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 0;
  transition: background-color 0.2s ease-in-out;
  font-size: 1.1rem;
  line-height: 120%;
}

.wp-block-button__link:hover, .wc-block-components-button__text:hover {
  background-color:  var(--green-900) !important;
  color: #ffffff !important;
  text-decoration: none;
}

.is-style-outline .wp-block-button__link {
  background-color: #fff !important;
  color: #000 !important;
  border: 1px solid #000;
}
.is-style-outline .wp-block-button__link:hover {
  background-color: #000 !important;
  color: #fff !important;
}

@media (min-width: 768px) {
  .wp-block-button__link {
    font-size: 1.4rem;
  }
} /* end media*/

.custom-logo {
  width: clamp(100px, 20vw + 50px, 150px);
  height: auto; /* Mantener proporción */
}
.custom-logo-footer {
  width: clamp(200px, 16vw + 50px, 220px);
  height: auto; /* Mantener proporción */
}

.site-footer {
  background: var(--dark);
  padding: 3rem 0 2rem;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  line-height: 1.2;
}

.site-footer a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: none;
}

.redes-footer svg {
  height: clamp(2rem, 5vw + 1rem, 5rem);
  width: clamp(2rem, 5vw + 1rem, 5rem); 
  margin: 5px;
}
.redes-footer svg:hover {
  fill:#b99584
}

.widget ul {
  padding-left: 0;
}
.widget li {
  list-style: none;
  padding: 5px;
  margin: 0;
}

.legales h2 {
  font-size: 22px;
  margin: 25px 0;
}
.legales h3 {
  font-size: 18px;
}
.legales p,
.legales li,
.legales {
  font-size: 16px;
  line-height: 120%;
}
:lang(es) .only-en,
:lang(en) .only-es {
  display: none;
}
/* boton nav-bar menu movil */
.navbar-toggler-icon {
  background-image: url('data:image/svg+xml,<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 50 50" style="enable-background:new 0 0 50 50;" xml:space="preserve"><g><rect x="2.2" y="9.6" style="fill:%23fff;" width="45.7" height="6.4"/><rect x="2.2" y="21.8" style="fill:%23fff;" width="45.7" height="6.4"/><rect x="2.2" y="34" style="fill:%23fff;" width="45.7" height="6.4"/></g></svg>');
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler-icon:focus,
.btn-close:focus {
  outline: none !important;
  border: none !important;
  border-width: 0;
  box-shadow: none !important;
  border: none;
}

/* main menu */
.navbar-nav li {
  text-align: left;
  line-height: 1.2;
}

.navbar-nav li a.nav-link {
  font-size: clamp(1rem, 1vw + 1rem, 0.85rem);
  line-height: 1.2;
  font-weight: 400;
  color: #fff;
  text-wrap: nowrap;
}

 .dropdown-menu {
  border: none;
  padding-left: 1.5rem;
  
}

.navbar-nav .dropdown-menu {
  padding-left: 0;
}
.navbar-nav .dropdown-menu li a.nav-link {
  font-size: 1rem;
}

.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:hover {
  background-color: #fff;
} 

@media only screen and (min-width: 990px) {
  
  .navbar-nav .dropdown-menu li {
    padding: 5px !important;
  }
  .navbar-nav .dropdown-menu li a.nav-link, .navbar-nav .dropdown-menu li.link-boton a.nav-link {
    font-size: 1.2vw;
    text-align: left;
    background-color: transparent;
    color:#000;
    border-radius: 0;
  }
  .navbar-nav .dropdown-menu li a.nav-link:hover, .navbar-nav .dropdown-menu li.link-boton a.nav-link:hover {
    font-weight: 800;
    background-color: transparent;
    color:#000;
  }
 
  .dropdown-menu[data-bs-popper] {
    margin-top: 0;
  }
  .dropdown-menu {
    background-color: #ddd;
    padding: 10px 15px;
    
  } 
} /* end media */

/* bloques gutemberg */
@media (min-width: 1200px) {
  .wp-block-cover,
  .wp-block-cover-image {
    min-height: 600px;
  }
} /* end media*/

/* contact form  */

.wpcf7 {
  max-width: 100% !important;
}
.wpcf7-spinner {
  display: block;
}
.wpcf7-form
  :is(input[type="text"], input[type="tel"], input[type="email"], textarea) {
  padding: .8rem 1rem;
  border: 1.5px solid #dde7df;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--text-main);
  background: var(--green-50);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.wpcf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  background: var(--green-600);
  color: var(--white);
  border-color: var(--green-600);

}
.wpcf7 input[type="submit"]:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46,105,53,.35);
}

.wpcf7 input[type="submit"]:disabled {
  background: #999;
  color: #000;
}
.wpcf7-acceptance .wpcf7-list-item {
  margin: 0 !important;
}
.wpcf7 form .wpcf7-response-output {
  margin: 0 !important;
  padding: 20px !important;
  background-color: #fff;
  font-size: 15px;
}
.wpcf7 form.sent .wpcf7-response-output {
  background-color: #ddd;
}

.wpcf7-form ::placeholder {
  color: #5a7060 !important;
  font-weight: normal;
  font-size: 16px;
}
.wpcf7-not-valid-tip {
  color: red !important;
  font-weight: normal;
  font-size: 15px;
  padding: 10px;
}
.wpcf7-form textarea {
  height: 240px;
}

/* Evita el foco azul feo de los navegadores */
.wpcf7-form *:focus {
  outline: none !important;
  box-shadow: none !important;
}

.wpcf7-acceptance {
  font-size: 14px;
  line-height: 1;
}
.form-privacidad {
  font-size: 13px;
  line-height: 1.2;
}

.wpcf7-acceptance a:hover,
.form-privacidad a:hover {
  text-decoration: underline;
}
.wpcf7-acceptance a:hover,
.form-privacidad a:hover,
.form-newsletter .aceptance,
.form-newsletter .form-privacidad,
.wpcf7-acceptance a,
.form-privacidad a {
  color: #000;
}

@media only screen and (min-width: 1024px) {
  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form input[type="email"],
  .wpcf7-form textarea {
    font-size: 26px;
  }
  .wpcf7-form ::placeholder {
    font-size: 18px;
  }
} /*  end css */

.text-white a {
  color: #fff;
}
.text-white a:hover {
  text-decoration: underline;
  color: #fff;
}

/* HOME bloque incio fotos */
.wp-block-cover,
.wp-block-cover-image {
  padding: 0 !important;
}

.understrap-read-more-link {
  background-color: none;
  border-radius: 30px;
  color: #000;
  text-decoration: none;
  border: 2px solid #000;
  padding: 15px 25px;
  font-size: 20px;
  min-width: 100px;
  display: inline-block;
  text-align: center;
}
.understrap-read-more-link:hover {
  background-color: #000;
  color: #fff;
}

@media only screen and (min-width: 768px) {
  .understrap-read-more-link {
    font-size: 29px;
    border-radius: 40px;
    min-width: 150px;
  }
} /* end css */
@media only screen and (min-width: 1200px) {
  .understrap-read-more-link {
    font-size: 36px;
    border-radius: 50px;
  }
} /* end css */

/* ========================================================================== */
/* PAGINATION STYLES - .nav-links */
/* ========================================================================== */
.navigation {
  padding: 1rem 0.5rem;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 40px 0;
}

.nav-links a,
.nav-links span {
  display: inline-block;
  padding: 10px 16px;
  background-color: #fff;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid #000;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

.nav-links .page-numbers.current,
.nav-links span.page-numbers.current {
  background-color: #000;
  color: #fff;
  border-color: #000;
  cursor: default;
}

@media (min-width: 768px) {
  .nav-links a,
  .nav-links span {
    padding: 6px 20px;
    font-size: 1.1rem;
  }
} /* end media */

/* ========================================================================== */
/* PAGINATION ARROWS - Previous/Next */
/* ========================================================================== */

/* Ocultar el texto y mostrar flechas */
.nav-links a.prev,
.nav-links a.next {
  font-size: 0;
  width: 50px;
  height: 50px;
  padding: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Flecha izquierda (Previous) */
.nav-links a.prev::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M12 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H11.5a.5.5 0 0 1 .5.5z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Flecha derecha (Next) */
.nav-links a.next::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M4 8a.5.5 0 0 0 .5.5h7.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L12.293 7.5H4.5A.5.5 0 0 0 4 8z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}


.cky-btn-revisit-wrapper {
  background-color: #000 !important;
}
.cky-btn-customize, .cky-btn-reject, .cky-btn-accept, .cky-btn-preferences {
  border-color:#000!important;
  color:#000!important;
  background-color: #fff!important;;
}


/* ═══════════════════════
   HERO - cabecera inicio
═══════════════════════ */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 10s ease-out;
}
.hero:hover .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,25,12,.88) 0%,
    rgba(10,25,12,.65) 50%,
    rgba(10,25,12,.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.hero-eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green-300);
  margin-bottom: 1rem;
  opacity: 1;
  animation: fadeUp .8s .2s ease forwards;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
  opacity: 1;
  animation: fadeUp .8s .4s ease forwards;
}
.hero-title em { color: var(--green-300); font-style: italic; }

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,.8);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  opacity: 1;
  animation: fadeUp .8s .6s ease forwards;
}
.hero-subtitle strong { color: var(--green-300); }

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 1;
  animation: fadeUp .8s .8s ease forwards;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.5);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: fadeIn 1s 1.5s ease forwards;
  opacity: 1;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollPulse 2s infinite;
}


/* ── Buttons ── */
.hero .btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.hero .btn-primary {
  background: var(--green-600);
  color: var(--white);
  border-color: var(--green-600);
}
.hero .btn-primary:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46,105,53,.35);
}

.hero .btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.hero .btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .hero{
    min-height: 100vh;
  }
  .hero-content {
    padding-top: 3rem;
    padding-bottom: 2rem;
  }
} /* end media*/
@media (min-width: 1200px) {
  .hero{
    min-height: 100vh;
  }
  .hero-content {
    padding-top: 6rem;
    padding-bottom: 2rem;
  }
} /* end media*/

/* ═══════════════════════
   TRUST STRIP. - linea con texto Produccion propia 100%
═══════════════════════ */
.trust-strip {
  background: var(--green-900);
  padding: 1.5rem 0;
}
.trust-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
}
.trust-item strong { color: var(--green-300); }
.trust-icon { font-size: 1.4rem; }




/* ═══════════════════════
   ABOUT 
═══════════════════════ */
.about { background: var(--cream); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrap { position: relative; }

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform .6s ease;
}
.about-image:hover img { transform: scale(1.04); }

.about-badge {
  position: absolute;
  bottom: 1.5rem;
  right: -1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  box-shadow: var(--shadow-md);
  font-size: .85rem;
  color: var(--text-muted);
}
.about-badge span { font-size: 2rem; }
.about-badge strong { color: var(--green-700); display: block; }

.about-body {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}
.about-body em { color: var(--green-600); font-style: italic; }
.about-body strong { color: var(--green-800); }

.about-values {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.value-chip {
  background: var(--green-100);
  color: var(--green-700);
  border: 1px solid var(--green-200);
  padding: .4rem 1rem;
  border-radius: var(--radius-xl);
  font-size: .82rem;
  font-weight: 600;
}



/* ═══════════════════════
   PROCESS
═══════════════════════ */
.process { background: var(--white); }

.process-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin: 0 auto;
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
  position: relative;
  padding-bottom: 0;
}

.process-step:not(:last-child) .step-icon-wrap::after {
  content: '';
  position: absolute;
  left: 40px;
  top: 72px;
  width: 2px;
  height: calc(100% - 24px);
  background: linear-gradient(to bottom, var(--green-300), var(--green-100));
}

.step-icon-wrap {
  display: flex;
  justify-content: center;
  position: relative;
  padding: 1.5rem 0 2rem;
}

.step-icon {
  width: 56px;
  height: 56px;
  background: var(--green-100);
  border: 2px solid var(--green-300);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}
.process-step:hover .step-icon {
  background: var(--green-600);
  border-color: var(--green-600);
  transform: scale(1.1);
  box-shadow: 0 0 0 8px rgba(58,128,66,.15);
}

.step-content {
  padding: 1.5rem 0 2rem;
}
.step-content h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--green-900);
  margin-bottom: .5rem;
}
.step-content p {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.7;
}
.step-content p em { color: var(--green-600); }


/*  css extra apara animaciones */

/* Estado inicial */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Estado cuando el JS detecta el scroll */
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}


.home-productos .attachment-woocommerce_thumbnail {
  border-radius: 24px;
}
.home-productos h2 a {
  border-radius: 24px;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--green-900);
}
/* ═══════════════════════
   VALUE PROP
═══════════════════════ */
.value-prop {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 100%);
}
.value-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.value-text .section-label { color: var(--green-300); }
.value-text .section-title { color: var(--white); }
.value-text p {
  color: rgba(255,255,255,.75);
  margin-bottom: 1.5rem;
}
.value-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.value-list li {
  color: rgba(255,255,255,.85);
  font-size: .95rem;
}

.value-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.stat-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--green-300);
  font-weight: 700;
  line-height: 1;
}
.stat-unit { font-size: 1.5rem; color: var(--green-300); }
.stat-card p {
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  margin-top: .5rem;
}

/* ═══════════════════════
   CONTACT
═══════════════════════ */
.contact { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-text .section-title { margin-bottom: 1rem; }
.contact-text > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .95rem;
  color: var(--text-muted);
}
.contact-item span { font-size: 1.2rem; flex-shrink: 0; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  /* display: flex;
  flex-direction: column;
  gap: 1.2rem; */
}

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-main);
  padding-bottom: 5px;
}


/* ═══════════════════════
   FOOTER
═══════════════════════ */
.footer {
  background: var(--dark);
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: var(--white);
}
.footer-brand p {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}
.footer-brand p em { color: var(--green-400); }
.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--green-300); }

.footer-copy {
  font-size: .78rem;
  color: rgba(255,255,255,.3)!important;
}




/* woo commerce  -------------------------
------------------------------------------
------------------------------------------*/
.woocommerce-page .site-main {
  padding-bottom: 50px;
} 
/* Forzar imágenes de catálogo a ser cuadradas y llenar el espacio */
.woocommerce ul.products li.product a img,
.wc-block-product-template li.product a img
 {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important; /* Crea el marco cuadrado perfecto */
    object-fit: cover !important;  /* Llena el cuadro cortando los bordes sobrantes */
    object-position: center;        /* Centra la imagen para no cortar lo principal */
    padding: 0 !important;          /* Elimina cualquier espacio interno */
    margin: 0 !important;           /* Elimina márgenes */
    overflow: hidden;               /* Corta cualquier desbordamiento */
    display: block;
}



/* woo botón */
.woocommerce ul.products a.add_to_cart_button,
.woocommerce #respond input#submit.alt, 
.woocommerce a.button.alt, 
.woocommerce button.button.alt, 
.woocommerce input.button.alt {
    background-color: var(--green-600) !important;
    border-radius: 0;
    padding:14px 30px;
    font-weight: 300;
    font-size: clamp(1.2rem, 1vw + 1.2rem, 1.4rem);
    opacity: 0.8;
   
}

.woocommerce ul.products a.add_to_cart_button:hover,
.woocommerce #respond input#submit.alt:hover, 
.woocommerce a.button.alt:hover, 
.woocommerce button.button.alt:hover, 
.woocommerce input.button.alt:hover {
    opacity: 1;
    background-color:  var(--green-900) !important;
   
}
.single_add_to_cart_button.disabled, .single_add_to_cart_button.disabled:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.disabled {
  background-color: #666!important;
}

.woocommerce div.product form.cart .variations select {
  border:1px solid #dcdcdc;
  padding: 10px;
}
.products li .add_to_cart_button, .products .product_type_variable {
  background-color: #52a85a;
  color:#fff;
  font-size: 16px;
}
.products li .add_to_cart_button:hover, .products .product_type_variable {
  background-color: #666;
  color:#fff;
}
.woocommerce-loop-product__title {
  color: #000;
}
ul.products > .product .price * {
  font-size: 16px;
}
ul.products > .product  {
  text-align: center;
}

.custom-select-wrapper {
    position: relative;
    display: inline-block;
    user-select: none;
    min-width: 200px;
    font-size: 16px;
    line-height: 116%;
}

.custom-select-trigger {
    background: #fff;
    border: 1px solid #dcdcdc;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 4px;

    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px top 15px;
    background-size: 10px auto;
    padding-right: 40px; 
}

/* La lista desplegable */
.custom-options {
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid #dcdcdc;
    border-top: none;
    z-index: 999;


}

.custom-options.open {
    display: block;
}

.custom-option {
    padding: 10px; /* Tu padding de 10px */
    border-bottom: 1px solid #eee; /* Borde gris entre opciones */
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.custom-option:last-child {
    border-bottom: none;
}

.custom-option:hover {
    background-color: #f5f5f5; /* Un gris muy suave al pasar el ratón */
}

.woocommerce-tabs {
  padding: 50px 0;
}

.woocommerce .related  {
  padding: 50px 0;
  display: block;
  clear: both;
  
}

@media only screen and (min-width: 768px) {

  .woocommerce-tabs {
    padding: 100px 0;
  }
  .woocommerce .related  {
    padding: 100px 0;
  }
  

} /* end media*/

.product_title {
  font-family: var(--font-serif);
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, 
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price  {
  font-size: 30px;
  color: #2e6935;
  font-weight: bold;
  margin-top: 25px;
}

.woocommerce .quantity .qty {
  padding: 5px;
}

.woocommerce-loop-product__title {
  margin-top: 30px!important;
  font-weight: 400;
}

.product_meta {
  display: none;
}



.woocommerce-MyAccount-navigation {
  background-color: var(--green-600) !important;
  margin-bottom:50px;
}
.woocommerce-MyAccount-navigation ul {
  border:2px solid var(--green-600);
  margin:0;
  padding:0;
  list-style: none;
}
.woocommerce-MyAccount-navigation ul li {
 
}
.woocommerce-MyAccount-navigation ul li a {
  color:#fff;
  text-transform: uppercase;
  text-decoration: none;
  font-size:1rem;
  line-height: 130%;
  padding: 15px 20px;
  display: block;
}
.woocommerce-MyAccount-navigation ul li a:hover {
  color:#000;
  background-color: #fff;
  
}

/* Añade el texto "Cantidad:" antes del input */
.quantity::before {
    content: "Cantidad: ";
    font-weight: 300;
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
    color: #333; /* Ajusta a tu color de marca */
    font-size: 16px;
    color: #7e7e7e;
}

/* Alineación básica para que se vea bien */
.quantity {
    display: flex;
    align-items: center;
    border: 1px solid #dcdcdc;
    padding: 9px 20px;
    
}
.woocommerce .quantity .qty {
  border:none!important;
  background: transparent!important;
}

.woocommerce-tabs .tabs {
  display: none;

}
.woocommerce-tabs .woocommerce-Tabs-panel--description h2 {
  font-size: 15px;
  color: #666;
  text-align: center;
  border-bottom:1px solid #ece8e5;
  padding-bottom: 15px;
  margin-bottom: 30px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active, .woocommerce div.product .woocommerce-tabs ul.tabs,
 .woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs::after {
  border: none!important;

}

.woocommerce-Tabs-panel--description {
  text-align: center;
}

.woocommerce-product-details__short-description {
  padding: 1.5rem 0;
}

/* Estilo moderno para el selector de orden de WooCommerce */
.woocommerce-ordering select.orderby {
  appearance: none; /* Elimina el estilo por defecto del navegador */
  -webkit-appearance: none;
  -moz-appearance: none;
  
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0px; /* Estética minimalista, sin bordes redondeados (estilo Henrik) */
  color: #333;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 12px 40px 12px 15px; /* Espacio extra a la derecha para la flecha */
  transition: all 0.3s ease;
  
  /* Imagen de una flecha personalizada (SVG) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
}

/* Efecto al pasar el ratón */
.woocommerce-ordering select.orderby:hover {
  border-color: #111; /* Se oscurece el borde */
}

/* Efecto al hacer clic (focus) */
.woocommerce-ordering select.orderby:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.05); /* Sutil sombra de profundidad */
}

/* Ajuste para el contenedor en móvil */
@media (max-width: 768px) {
  .woocommerce-ordering {
      width: 100%;
      margin-bottom: 20px;
  }
  .woocommerce-ordering select.orderby {
      width: 100%;
  }
}



.woocommerce-account h2 {
  font-size: 24px;
  line-height: 1.2;
}
.woocommerce-account p {
  font-size: 16px;
  line-height: 1.2;
}

.wc-block-cart__submit-container .wp-element-button {
  background-color:transparent!important;
}
/* .cart_totals h2, .checkout h3 {
  font-size: clamp(1.7rem, 2vw + 1rem, 2rem);
} */

#customer_details{
  padding-bottom: 2rem;
}

/* Reducir tamaño de texto en Carrito y Checkout de WooCommerce */
.woocommerce-cart body, .woocommerce-checkout body,
.woocommerce-cart .page, .woocommerce-checkout .page,
.woocommerce-cart table.shop_table, .woocommerce-checkout form.checkout {
    font-size: 1rem !important;
    line-height: 1.5 !important;
}

/* Ajustar los títulos de las secciones para que no sean gigantes */
.woocommerce-cart h2, .woocommerce-checkout h2,
.woocommerce-cart h3, .woocommerce-checkout h3 {
    font-size: 1.4rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1rem !important;
}

/* Ajustar los textos de los formularios, etiquetas y campos de entrada */
.woocommerce-checkout .form-row label,
.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    font-size: 0.95rem !important;
}

/* Hacer más compactos los desgoses de precio y envío en el carrito */
.cart-collaterals .cart_totals table th,
.cart-collaterals .cart_totals table td,
ul#shipping_method li {
    font-size: 1rem !important;
}

.woocommerce-message{
  border-top-color:var(--bs-primary);
}
.woocommerce-message::before{
  color:var(--bs-primary);
}

.woocommerce-form-login {
  max-width: 700px;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button {
  background-color: var(--green-600) !important;
  color:#fff !important;
  border-radius: 0;
  font-weight: 500;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button:hover {
  opacity: 1;
  background-color:  var(--green-900) !important;
  color:#fff !important;
}