@charset "UTF-8";
/*
Theme Name:  Graficol
Template:    astra
Description: Tema hijo de Astra para Graficol — migración nativa sin Elementor
Version:     1.0.17
Text Domain: graficol
*/
/**
 * ARCHIVO PRINCIPAL DE ESTILOS (SASS)
 * Se compila a ../style.css
 */
:root {
  --grf-green: #8BC64B;
  --grf-blue: #354A93;
  --grf-blue-dark: #1E4378;
  --grf-bg-light: #E1E7F6;
  --grf-topbar-bg: #0f172a;
  --grf-radius: 8px;
  --grf-transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.graficol-home-page #content > .ast-container {
  max-width: 100% !important;
  padding: 0 !important;
  width: 100% !important;
}
.graficol-home-page .site-content {
  overflow: visible;
}

.graficol-home {
  width: 100%;
  overflow-x: hidden;
}

.grf-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ── Nosotros Page Styles ── */
.grf-nosotros-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 20px 24px;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .grf-nosotros-header {
    padding: 40px 20px 10px 20px;
  }
  .grf-nosotros-header .wp-block-columns {
    flex-direction: column-reverse !important;
    gap: 30px;
  }
}
.grf-nosotros-header h1 {
  margin-bottom: 24px;
  font-weight: 900;
  letter-spacing: -1px;
}
.grf-nosotros-header .wp-block-image img {
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease;
}
.grf-nosotros-header .wp-block-image img:hover {
  transform: scale(1.02);
}

.grf-nosotros-mision-vision {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  box-sizing: border-box;
}
.grf-nosotros-mision-vision .wp-block-column {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  border: 1px solid #f1f5f9;
}
.grf-nosotros-mision-vision .wp-block-column:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  border-color: #e2e8f0;
}
.grf-nosotros-mision-vision .wp-block-column h2 {
  margin-bottom: 15px;
  font-weight: 800;
  position: relative;
  padding-bottom: 10px;
}
.grf-nosotros-mision-vision .wp-block-column h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background-color: #8BC64B;
  border-radius: 2px;
}
@media (max-width: 768px) {
  .grf-nosotros-mision-vision {
    padding: 20px 20px;
  }
  .grf-nosotros-mision-vision .wp-block-columns {
    gap: 25px;
  }
}

.grf-nosotros-galeria {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px 24px;
  box-sizing: border-box;
}
.grf-nosotros-galeria h2 {
  font-weight: 900;
  font-size: 2.2rem;
  letter-spacing: -1px;
}
.grf-nosotros-galeria .wp-block-gallery {
  margin-top: 40px !important;
  gap: 20px !important;
}
.grf-nosotros-galeria .wp-block-gallery figure img {
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
}
.grf-nosotros-galeria .wp-block-gallery figure img:hover {
  transform: scale(1.03);
}
@media (max-width: 768px) {
  .grf-nosotros-galeria {
    padding: 20px 20px 40px 20px;
  }
  .grf-nosotros-galeria h2 {
    font-size: 1.8rem;
  }
}

.grf-nosotros-banner {
  min-height: 400px;
  background-attachment: scroll !important;
}
.grf-nosotros-banner .wp-block-cover__inner-container {
  max-width: 800px;
  z-index: 2;
  padding: 40px 20px;
  width: 100%;
  box-sizing: border-box;
}
.grf-nosotros-banner h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem) !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  margin-bottom: 15px !important;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4) !important;
  line-height: 1.2 !important;
}
.grf-nosotros-banner p {
  font-size: clamp(1rem, 2vw, 1.25rem) !important;
  color: rgba(255, 255, 255, 0.95) !important;
  margin-bottom: 25px !important;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4) !important;
  line-height: 1.5 !important;
}
.grf-nosotros-banner .wp-block-button__link {
  background-color: #ffffff !important;
  color: #1E4378 !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 14px 28px !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
  display: inline-block !important;
  text-decoration: none !important;
}
.grf-nosotros-banner .wp-block-button__link:hover {
  background-color: #8BC64B !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.25) !important;
}

/* ── Contacto Page Styles ── */
.grf-contacto-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 60px 24px;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .grf-contacto-section {
    padding: 20px 20px 40px 20px;
  }
}

.grf-contact-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  height: 100%;
  box-sizing: border-box;
  transition: all 0.3s ease;
}
.grf-contact-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
  border-color: #cbd5e1;
}
.grf-contact-box .grf-contact-icon {
  background: rgba(53, 74, 147, 0.08);
  color: #354A93;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.grf-contact-box .grf-contact-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.grf-contact-box .grf-contact-content h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1E4378;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.grf-contact-box .grf-contact-content p, .grf-contact-box .grf-contact-content a {
  font-size: 0.95rem;
  color: #475569;
  margin: 0;
  line-height: 1.6;
  text-decoration: none;
  word-break: break-all;
}
.grf-contact-box .grf-contact-content a {
  font-weight: 600;
  transition: color 0.2s ease;
}
.grf-contact-box .grf-contact-content a:hover {
  color: #8BC64B;
}

/* Formulario de Contacto Premium */
.grf-contact-form-container {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .grf-contact-form-container {
    padding: 24px;
  }
}
.grf-contact-form-container h2 {
  font-size: 1.8rem;
  font-weight: 900;
  color: #1E4378;
  margin: 0 0 30px 0;
  letter-spacing: -0.5px;
}

.grf-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.grf-contact-form .grf-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.grf-contact-form .grf-form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.grf-contact-form .grf-form-group input, .grf-contact-form .grf-form-group textarea {
  width: 100% !important;
  padding: 12px 16px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  font-family: inherit !important;
  font-size: 0.95rem !important;
  color: #1e293b !important;
  outline: none !important;
  box-sizing: border-box !important;
  background-color: #f8fafc !important;
  transition: all 0.25s ease !important;
}
.grf-contact-form .grf-form-group input:focus, .grf-contact-form .grf-form-group textarea:focus {
  border-color: #354A93 !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(53, 74, 147, 0.1) !important;
}
.grf-contact-form .grf-form-group textarea {
  resize: vertical;
}
.grf-contact-form .grf-form-submit {
  background-color: #1E4378 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 16px 32px !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 5px 15px rgba(30, 67, 120, 0.15) !important;
  width: 100% !important;
}
.grf-contact-form .grf-form-submit:hover {
  background-color: #8BC64B !important;
  box-shadow: 0 8px 20px rgba(139, 198, 75, 0.25) !important;
  transform: translateY(-2px);
}
.grf-contact-form .grf-form-response {
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 8px;
  display: none;
}
.grf-contact-form .grf-form-response.info {
  display: block;
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}
.grf-contact-form .grf-form-response.success {
  display: block;
  background-color: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.grf-contact-form .grf-form-response.error {
  display: block;
  background-color: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

.grf-contact-facebook-container {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  height: 100%;
}
@media (max-width: 768px) {
  .grf-contact-facebook-container {
    padding: 24px;
  }
}
.grf-contact-facebook-container h2 {
  font-size: 1.8rem;
  font-weight: 900;
  color: #1E4378;
  margin: 0 0 30px 0;
  letter-spacing: -0.5px;
}
.grf-contact-facebook-container .grf-facebook-iframe-wrapper {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.grf-contacto-map-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 60px 24px;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .grf-contacto-map-section {
    padding: 10px 20px 40px 20px;
  }
}
.grf-contacto-map-section h2 {
  font-size: 1.8rem;
  font-weight: 900;
  color: #1E4378;
  margin: 0 0 25px 0;
  letter-spacing: -0.5px;
}
.grf-contacto-map-section .grf-map-iframe-wrapper {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  height: 450px;
}
.grf-contacto-map-section .grf-map-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =========================================================
   SECCIONES HOME (1-8)
   ========================================================= */
/* SECCIÓN 1: SLIDER */
.home-slider {
  width: 100%;
}

.grf-glide {
  position: relative;
}
.grf-glide .glide__track,
.grf-glide .glide__slides,
.grf-glide .glide__slide {
  height: 70vh;
}
@media (max-width: 768px) {
  .grf-glide .glide__track,
  .grf-glide .glide__slides,
  .grf-glide .glide__slide {
    height: 50vh;
  }
}

.grf-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.grf-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.17);
  z-index: 2;
}
.grf-slide .grf-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 1;
}
.grf-slide .grf-slide-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 60px;
}
@media (max-width: 768px) {
  .grf-slide .grf-slide-content {
    padding: 16px 24px;
  }
}
.grf-slide .grf-slide-title {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  margin: 0 0 12px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}
.grf-slide .grf-slide-subtitle {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin: 0 0 28px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.grf-slide .grf-slide-btn {
  display: inline-block;
  background: #8BC64B;
  color: #fff;
  padding: 14px 36px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}
.grf-slide .grf-slide-btn:hover {
  background: #354A93;
  transform: translateY(-2px);
  color: #fff;
}

/* Flechas y Puntos Glide */
.grf-glide .glide__arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 10;
  pointer-events: none;
}
.grf-glide .glide__arrow {
  pointer-events: all;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.grf-glide .glide__arrow:hover {
  background: rgba(255, 255, 255, 0.35);
}
.grf-glide .glide__bullets {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 10;
}
.grf-glide .glide__bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.grf-glide .glide__bullet--active, .grf-glide .glide__bullet:hover {
  background: #8BC64B;
  border-color: #8BC64B;
}

/* SECCION 2: CATEGORIAS */
.home-categories {
  padding: 20px 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.category-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 500px;
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  padding: 40px 20px;
}
.category-box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  transition: opacity 0.4s ease;
  opacity: 0.85;
}
.category-box.bg-green::before {
  background: linear-gradient(to bottom, rgba(139, 198, 75, 0.5) 0%, rgba(14, 28, 48, 0.9) 100%);
}
.category-box.bg-blue::before {
  background: linear-gradient(to bottom, rgba(53, 74, 147, 0.5) 0%, rgba(14, 28, 48, 0.9) 100%);
}
.category-box {
  /* Línea decorativa inferior */
}
.category-box::after {
  content: "";
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #8BC64B;
  z-index: 4;
  transition: width 0.4s ease;
}
.category-box:hover {
  transform: scale(1.02);
}
.category-box:hover::before {
  opacity: 0.95;
}
.category-box:hover::after {
  width: 100px;
}
.category-box:hover img {
  transform: scale(1.1);
}
.category-box:hover em {
  color: #fff;
}
.category-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.category-box span {
  position: relative;
  z-index: 3;
  color: #fff;
  font-weight: 700;
  font-size: 2.4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.category-box span em {
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 10px;
  margin-bottom: 25px;
  font-style: normal;
  color: #8BC64B;
  transition: color 0.3s ease;
  text-transform: none;
  letter-spacing: 0;
}

/* SECCION 3: BANNER */
.home-banner {
  background-color: #E1E7F6;
  padding: 2rem;
  display: flex;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}
.home-banner img {
  flex: 1;
  width: 50%;
  height: auto;
  object-fit: cover;
}

/* SECCION 4: TITULO */
.home-heading {
  text-align: center;
  padding: 20px;
}
.home-heading h2 {
  font-size: 2em;
  margin: 0;
  font-weight: 700;
}

/* SECCION 6: UBÍCANOS */
.home-ubicanos {
  position: relative;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
}
.home-ubicanos::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 28, 48, 0.4);
  z-index: 1;
}
.home-ubicanos .grf-container {
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .home-ubicanos {
    padding: 60px 0;
  }
}

.ubicanos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 768px) {
  .ubicanos-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

.ubicanos-info .info-header {
  margin-bottom: 40px;
}
.ubicanos-info .info-header .icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 10px;
}
.ubicanos-info .info-header h2 {
  font-size: 4rem;
  font-weight: 700;
  margin: 0;
  color: white;
  text-transform: capitalize;
  border-bottom: 3px solid #fff;
  display: inline-block;
  padding-bottom: 5px;
  line-height: 1.1;
}
@media (max-width: 768px) {
  .ubicanos-info .info-header h2 {
    font-size: 2.5rem;
  }
}
.ubicanos-info .info-content p {
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 0;
  opacity: 0.95;
  font-weight: 400;
  letter-spacing: 0.3px;
}
@media (max-width: 768px) {
  .ubicanos-info {
    text-align: center;
  }
  .ubicanos-info .info-header h2 {
    display: block;
    border-bottom: 0;
  }
  .ubicanos-info .info-header h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #fff;
    margin: 15px auto 0;
  }
}

.ubicanos-map {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.ubicanos-map .map-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
}
.ubicanos-map .map-label .icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.ubicanos-map .map-label h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  color: white;
  text-transform: capitalize;
  letter-spacing: 1px;
}
.ubicanos-map .map-circle-wrapper {
  width: 380px;
  height: 380px;
  background: #fff;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .ubicanos-map .map-circle-wrapper {
    width: 280px;
    height: 280px;
  }
}
.ubicanos-map .map-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%);
  mask-image: radial-gradient(circle, white 100%, black 100%);
}
.ubicanos-map .map-circle iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* SECCION 7: CONTACTO */
.home-contact {
  background-color: #fff;
  padding: 80px 0;
}
@media (max-width: 768px) {
  .home-contact {
    padding: 40px 10px;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: #fff;
  border-radius: 20px;
  padding: 45px 30px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
  border-bottom: 5px solid #8BC64B;
  text-align: center;
  margin: 20px;
  transition: box-shadow 0.3s;
}
.contact-card:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
}
.contact-card .card-icon {
  margin-bottom: 10px;
  line-height: 1;
}
.contact-card .card-icon svg {
  width: 30px;
  height: 30px;
  fill: #354A93;
}
.contact-card h3 {
  color: #1E4378;
  font-size: 1em;
  font-weight: 700;
  margin: 0 0 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.contact-card a {
  text-decoration: none;
  display: block;
}
.contact-card h4 {
  color: #1E4378;
  font-size: 1em;
  line-height: 1.4;
  margin: 4px 0;
  font-weight: normal;
}
.contact-card a h4:hover {
  color: #8BC64B;
}

/* SECCION 8: MAPA */
.home-recuerda {
  background-color: #fcfcfc;
  padding: 100px 20px;
  text-align: center;
}
.home-recuerda .recuerda-content {
  max-width: 900px;
  margin: 0 auto;
}
.home-recuerda .recuerda-icon {
  margin-bottom: 30px;
}
.home-recuerda .recuerda-icon img {
  width: 70px;
  height: auto;
  margin: 0 auto;
  display: block;
}
.home-recuerda .recuerda-title {
  color: #8BC64B;
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0 0 10px;
  text-transform: uppercase;
  line-height: 1.1;
}
@media (max-width: 768px) {
  .home-recuerda .recuerda-title {
    font-size: 2.2rem;
  }
}
.home-recuerda .recuerda-text {
  color: #8BC64B;
  font-size: 3.2rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .home-recuerda .recuerda-text {
    font-size: 2rem;
  }
}

/* =========================================================
   TOPBAR VERDE (encima del header)
   ========================================================= */
.grf-topbar {
  background: #8BC64B;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}
.grf-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 9px 40px;
}
@media (max-width: 992px) {
  .grf-topbar-inner {
    padding: 9px 20px;
    justify-content: center;
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .grf-topbar-inner {
    flex-direction: column;
    gap: 8px;
    padding: 8px 16px;
  }
}
.grf-topbar-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.grf-topbar-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.grf-topbar-item:hover {
  opacity: 0.82;
  color: #fff;
  text-decoration: none;
}
.grf-topbar-whatsapp svg {
  width: 17px;
  height: 17px;
}

/* =========================================================
   HEADER (Unified - Logo, Menu, Actions)
   ========================================================= */
#grf-site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #fff;
  box-shadow: none;
  transition: box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1), height 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
#grf-site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}
#grf-site-header.is-scrolled .grf-header-main-inner {
  height: 70px;
}
#grf-site-header.is-scrolled .grf-logo img {
  max-height: 55px;
}

.grf-header-main {
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}
.grf-header-main-inner {
  display: grid;
  grid-template-columns: 350px 1fr auto;
  gap: 20px;
  align-items: center;
  height: 100px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  transition: height 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  align-content: center;
}
@media (max-width: 992px) {
  .grf-header-main-inner {
    grid-template-columns: 1fr auto;
    height: 70px;
    padding: 0 20px;
  }
}

/* A. Logo */
.grf-logo {
  display: flex;
  align-items: center;
}
.grf-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  line-height: 1;
  height: 100%;
}
.grf-logo img {
  width: auto;
  height: auto;
  max-height: 85px;
  object-fit: contain;
  transition: max-height 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 992px) {
  .grf-logo img {
    max-height: 48px;
  }
}

/* B. Menú (Desktop) */
.grf-desktop-nav {
  display: flex;
  justify-content: center;
}
@media (max-width: 992px) {
  .grf-desktop-nav {
    display: none;
  }
}

/* C. Acciones (Buscar, Carrito, Hamburger) */
.grf-header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.grf-header-actions .grf-search-trigger {
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: #1E4378;
  transition: color 0.22s cubic-bezier(0.4, 0, 0.2, 1), transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.grf-header-actions .grf-search-trigger svg {
  width: 22px;
  height: 22px;
}
.grf-header-actions .grf-search-trigger:hover {
  color: #8BC64B;
  transform: scale(1.1);
}
.grf-header-actions .grf-header-badge img {
  max-height: 100px;
  width: auto;
}
@media (max-width: 992px) {
  .grf-header-actions .grf-header-badge.desktop-only {
    display: none;
  }
}

/* Hamburger unificado */
.grf-hamburger span {
  background: #1E4378;
}
@media (min-width: 993px) {
  .grf-hamburger {
    display: none !important;
  }
}

/* =========================================================
   NAV BAR (Minimalist Version - Row-integrated)
   ========================================================= */
.grf-nav {
  position: relative;
  z-index: 200;
}
.grf-nav .grf-nav-inner {
  display: flex;
  align-items: stretch;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}
@media (max-width: 992px) {
  .grf-nav .grf-nav-inner {
    flex-wrap: wrap;
    padding: 0 16px;
  }
}
.grf-nav {
  /* Menú principal (Centrado) */
}
.grf-nav .grf-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  gap: 15px;
}
@media (max-width: 992px) {
  .grf-nav .grf-menu {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    background: #8BC64B;
    padding: 20px;
    border-radius: 0 0 15px 15px;
  }
}
.grf-nav .grf-menu > li {
  position: relative;
  display: flex;
  align-items: stretch;
}
@media (max-width: 992px) {
  .grf-nav .grf-menu > li {
    display: block;
  }
}
.grf-nav .grf-menu > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #1E4378;
  text-decoration: none;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  transition: color 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 992px) {
  .grf-nav .grf-menu > li > a {
    color: #fff;
    padding: 11px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    text-transform: none;
    font-size: 16px;
  }
  .grf-nav .grf-menu > li > a::after {
    display: none !important;
  }
}
.grf-nav .grf-menu > li > a {
  /* Underline animado (Elegante) */
}
.grf-nav .grf-menu > li > a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #8BC64B;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.grf-nav .grf-menu > li:hover > a, .grf-nav .grf-menu > li.current-menu-item > a, .grf-nav .grf-menu > li.current-menu-ancestor > a {
  color: #8BC64B;
}
.grf-nav .grf-menu > li:hover > a::after, .grf-nav .grf-menu > li.current-menu-item > a::after, .grf-nav .grf-menu > li.current-menu-ancestor > a::after {
  transform: scaleX(1);
}
.grf-nav .grf-menu {
  /* Dropdown minimal */
}
.grf-nav .grf-menu .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  min-width: 230px;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  animation: grfDropdownFade 0.25s ease-out;
  /* Puente para evitar que se cierre al pasar el mouse por el espacio de 5px */
}
.grf-nav .grf-menu .sub-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 15px;
  background: transparent;
}
@media (max-width: 992px) {
  .grf-nav .grf-menu .sub-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.08);
    padding: 5px 0;
    display: none;
  }
  .grf-nav .grf-menu .sub-menu.grf-submenu-open {
    display: block;
  }
}
@keyframes grfDropdownFade {
  from {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
.grf-nav .grf-menu .sub-menu li a {
  padding: 10px 20px;
  color: #555;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  display: block;
  transition: all 0.2s;
}
.grf-nav .grf-menu .sub-menu li a:hover {
  background: #f8f9fa;
  color: #8BC64B;
  padding-left: 25px;
}
@media (max-width: 992px) {
  .grf-nav .grf-menu .sub-menu li a {
    color: #fff;
  }
  .grf-nav .grf-menu .sub-menu li a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 30px;
  }
}
.grf-nav .grf-menu > li:hover > .sub-menu {
  display: block;
}

/* =========================================================
   Alineación a la izquierda para el menú lateral (móvil y sidebar)
   ========================================================= */
.ast-mobile-popup-drawer,
.ast-mobile-popup-inner,
.ast-mobile-popup-content,
.ast-mobile-popup-nav,
.ast-mobile-popup-menu,
.ast-header-break-point .main-header-bar-navigation {
  text-align: left !important;
}
.ast-mobile-popup-drawer .menu-item,
.ast-mobile-popup-drawer .menu-item a,
.ast-mobile-popup-drawer .ast-sub-menu-toggle,
.ast-mobile-popup-inner .menu-item,
.ast-mobile-popup-inner .menu-item a,
.ast-mobile-popup-inner .ast-sub-menu-toggle,
.ast-mobile-popup-content .menu-item,
.ast-mobile-popup-content .menu-item a,
.ast-mobile-popup-content .ast-sub-menu-toggle,
.ast-mobile-popup-nav .menu-item,
.ast-mobile-popup-nav .menu-item a,
.ast-mobile-popup-nav .ast-sub-menu-toggle,
.ast-mobile-popup-menu .menu-item,
.ast-mobile-popup-menu .menu-item a,
.ast-mobile-popup-menu .ast-sub-menu-toggle,
.ast-header-break-point .main-header-bar-navigation .menu-item,
.ast-header-break-point .main-header-bar-navigation .menu-item a,
.ast-header-break-point .main-header-bar-navigation .ast-sub-menu-toggle {
  text-align: left !important;
  justify-content: flex-start !important;
  align-items: center !important;
}
.ast-mobile-popup-drawer ul, .ast-mobile-popup-drawer li, .ast-mobile-popup-drawer a,
.ast-mobile-popup-inner ul,
.ast-mobile-popup-inner li,
.ast-mobile-popup-inner a,
.ast-mobile-popup-content ul,
.ast-mobile-popup-content li,
.ast-mobile-popup-content a,
.ast-mobile-popup-nav ul,
.ast-mobile-popup-nav li,
.ast-mobile-popup-nav a,
.ast-mobile-popup-menu ul,
.ast-mobile-popup-menu li,
.ast-mobile-popup-menu a,
.ast-header-break-point .main-header-bar-navigation ul,
.ast-header-break-point .main-header-bar-navigation li,
.ast-header-break-point .main-header-bar-navigation a {
  text-align: left !important;
  justify-content: flex-start !important;
}

#secondary,
.sidebar,
.widget,
.widget_nav_menu,
.widget_product_categories,
.widget_pages,
.widget_categories,
.widget_archive {
  text-align: left !important;
}
#secondary .widget-title,
#secondary ul,
#secondary li,
#secondary a,
#secondary span,
.sidebar .widget-title,
.sidebar ul,
.sidebar li,
.sidebar a,
.sidebar span,
.widget .widget-title,
.widget ul,
.widget li,
.widget a,
.widget span,
.widget_nav_menu .widget-title,
.widget_nav_menu ul,
.widget_nav_menu li,
.widget_nav_menu a,
.widget_nav_menu span,
.widget_product_categories .widget-title,
.widget_product_categories ul,
.widget_product_categories li,
.widget_product_categories a,
.widget_product_categories span,
.widget_pages .widget-title,
.widget_pages ul,
.widget_pages li,
.widget_pages a,
.widget_pages span,
.widget_categories .widget-title,
.widget_categories ul,
.widget_categories li,
.widget_categories a,
.widget_categories span,
.widget_archive .widget-title,
.widget_archive ul,
.widget_archive li,
.widget_archive a,
.widget_archive span {
  text-align: left !important;
  justify-content: flex-start !important;
}

/* =========================================================
   SEARCH OVERLAY (Slide from top)
   ========================================================= */
.grf-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 350px;
  background: #fff;
  z-index: 10000;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-110%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}
.grf-search-overlay.is-open {
  transform: translateY(0);
}
.grf-search-overlay .grf-search-inner {
  width: 100%;
  max-width: 800px;
  padding: 0 24px;
  text-align: center;
}
.grf-search-overlay .grf-search-field {
  width: 100%;
  border: none;
  border-bottom: 3px solid var(--grf-blue);
  background: transparent;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--grf-blue-dark);
  padding: 20px 0;
  text-align: center;
  outline: none;
}
.grf-search-overlay .grf-search-field::placeholder {
  color: rgba(0, 0, 0, 0.1);
}
.grf-search-overlay .grf-search-hint {
  margin-top: 20px;
  font-size: 14px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}
.grf-search-overlay .grf-search-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  font-size: 50px;
  line-height: 1;
  cursor: pointer;
  color: #ddd;
  transition: color 0.3s, transform 0.3s;
}
.grf-search-overlay .grf-search-close:hover {
  color: var(--grf-blue);
  transform: rotate(90deg);
}

body.search-open {
  overflow: hidden;
}

/* =========================================================
   CONTACT OVERLAY (Modern Glassmorphism UI)
   ========================================================= */
.grf-contact-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 75%;
  background: linear-gradient(135deg, rgba(53, 74, 147, 0.98) 0%, rgba(30, 67, 120, 0.99) 100%);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transform: translateY(-110%);
  transition: transform 0.65s cubic-bezier(0.19, 1, 0.22, 1);
}
.grf-contact-overlay.is-open {
  transform: translateY(0);
}
.grf-contact-overlay.is-open .grf-contact-col {
  opacity: 1;
  transform: translateY(0);
}
.grf-contact-overlay .grf-contact-inner {
  width: 100%;
  max-width: 1400px;
  position: relative;
}
.grf-contact-overlay .grf-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 992px) {
  .grf-contact-overlay .grf-contact-grid {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .grf-contact-overlay .grf-contact-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}
.grf-contact-overlay .grf-contact-col {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 60px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}
.grf-contact-overlay .grf-contact-col:nth-child(1) {
  transition-delay: 0.1s;
}
.grf-contact-overlay .grf-contact-col:nth-child(2) {
  transition-delay: 0.2s;
}
.grf-contact-overlay .grf-contact-col:nth-child(3) {
  transition-delay: 0.3s;
}
.grf-contact-overlay .grf-contact-col:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(139, 198, 75, 0.4);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.grf-contact-overlay .grf-contact-col:hover .grf-contact-icon {
  transform: scale(1.15) rotate(5deg);
  background: #8BC64B;
  color: #fff;
}
.grf-contact-overlay .grf-contact-col .grf-contact-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  color: #8BC64B;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.grf-contact-overlay .grf-contact-col .grf-contact-icon svg {
  width: 36px;
  height: 36px;
}
.grf-contact-overlay .grf-contact-col h3 {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 800;
}
.grf-contact-overlay .grf-contact-col p,
.grf-contact-overlay .grf-contact-col a {
  font-size: 1.6rem;
  color: #fff;
  line-height: 1.3;
  margin: 5px 0;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s;
}
@media (max-width: 992px) {
  .grf-contact-overlay .grf-contact-col p,
  .grf-contact-overlay .grf-contact-col a {
    font-size: 1.3rem;
  }
}
.grf-contact-overlay .grf-contact-col a:hover {
  color: #8BC64B;
}
.grf-contact-overlay .grf-contact-col .grf-email {
  font-size: 1rem;
  margin-top: 20px;
  font-weight: 500;
  opacity: 0.6;
  text-transform: lowercase;
}
.grf-contact-overlay .grf-contact-col .grf-email:hover {
  opacity: 1;
}
.grf-contact-overlay .grf-contact-col p {
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.8;
  line-height: 1.6;
}
.grf-contact-overlay .grf-contact-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 101;
}
.grf-contact-overlay .grf-contact-close:hover {
  background: #8BC64B;
  border-color: #8BC64B;
  transform: rotate(90deg);
}
@media (max-width: 768px) {
  .grf-contact-overlay .grf-contact-close {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

body.overlay-open {
  overflow: hidden;
}

.grf-machine-landing, .grf-machines-archive, .grf-brand-archive {
  font-family: "Inter", "Roboto", sans-serif;
  color: #333;
  background-color: #f8fafc;
}
.grf-machine-landing .container, .grf-machines-archive .container, .grf-brand-archive .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ──────────────────────────────────────────────────────
   1. HERO SECTION (BANNER DE IMPACTO)
   ────────────────────────────────────────────────────── */
.grf-machine-hero {
  position: relative;
  min-height: 700px;
  padding: 100px 0;
  display: flex;
  align-items: center;
  background: #f8fafc;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  color: #1e293b;
}
.grf-machine-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(241, 245, 249, 0.7) 100%);
  z-index: 1;
}
.grf-machine-hero .grf-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://www.transparenttextures.com/patterns/carbon-fibre.png");
  opacity: 0.05;
  z-index: 0;
}
.grf-machine-hero .grf-hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 992px) {
  .grf-machine-hero .grf-hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
  }
}

.grf-hero-content .grf-hero-brand-tag {
  display: inline-block;
  background: #1E4378;
  color: #fff;
  padding: 6px 18px;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 4px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(30, 67, 120, 0.2);
}
.grf-hero-content .grf-hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: -2px;
  color: #1E4378;
  text-shadow: none;
}
.grf-hero-content .grf-hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: #8BC64B;
}
.grf-hero-content .grf-hero-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 40px;
  max-width: 500px;
}
@media (max-width: 992px) {
  .grf-hero-content .grf-hero-description {
    margin-left: auto;
    margin-right: auto;
  }
}
.grf-hero-content .grf-hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}
@media (max-width: 992px) {
  .grf-hero-content .grf-hero-actions {
    justify-content: center;
    flex-direction: column;
  }
}
.grf-hero-content .grf-btn-primary {
  background: #1E4378;
  color: #fff;
  padding: 18px 40px;
  font-weight: 900;
  font-size: 16px;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px rgba(30, 67, 120, 0.3);
}
.grf-hero-content .grf-btn-primary:hover {
  background: #8BC64B;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(139, 198, 75, 0.4);
}
.grf-hero-content .grf-hero-price {
  font-size: 15px;
  color: #64748b;
  font-weight: 600;
}
.grf-hero-content .grf-hero-price strong {
  font-size: 26px;
  color: #1E4378;
  margin-left: 8px;
}

.grf-hero-visual .grf-hero-machine-img {
  position: relative;
  animation: float 6s ease-in-out infinite;
}
.grf-hero-visual .grf-hero-machine-img img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}
.grf-hero-visual .grf-hero-machine-img.placeholder img {
  opacity: 0.5;
  border: 2px dashed rgba(255, 255, 255, 0.2);
}

@keyframes float {
  0% {
    transform: translatey(0px);
  }
  50% {
    transform: translatey(-20px);
  }
  100% {
    transform: translatey(0px);
  }
}
/* ──────────────────────────────────────────────────────
   2. CONTENT SECTIONS & GRID
   ────────────────────────────────────────────────────── */
.grf-machine-nav-bar {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}
.grf-machine-nav-bar .grf-anchor-links {
  display: flex;
  gap: 30px;
  padding: 15px 0;
}
.grf-machine-nav-bar .grf-anchor-links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  color: #1E4378;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.grf-machine-nav-bar .grf-anchor-links a:hover {
  color: #8BC64B;
}

.grf-section-padding {
  padding: 80px 0;
}

.grf-section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1E4378;
  margin-bottom: 40px;
}
.grf-section-title.center {
  text-align: center;
}

.grf-content-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
}
@media (max-width: 992px) {
  .grf-content-grid {
    grid-template-columns: 1fr;
  }
}

.grf-specs-aside .grf-specs-card {
  background: #f8fafc;
  padding: 40px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.grf-specs-aside .grf-specs-card .grf-specs-title {
  margin-top: 0;
  margin-bottom: 30px;
  font-weight: 800;
  color: #354A93;
}

.grf-specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.grf-specs-list li {
  padding: 12px 0;
  border-bottom: 1px dotted #cbd5e1;
  font-weight: 500;
  font-size: 15px;
}
.grf-specs-list li::before {
  content: "→";
  color: #8BC64B;
  margin-right: 10px;
  font-weight: 900;
}

/* ──────────────────────────────────────────────────────
   3. BRAND SELECTOR & ARCHIVES
   ────────────────────────────────────────────────────── */
.grf-archive-hero {
  background: #f8fafc;
  color: #1E4378;
  padding: 25px 0 15px 0;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 25px;
}
.grf-archive-hero .grf-archive-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #1E4378;
  margin-bottom: 5px;
}
.grf-archive-hero .grf-archive-lead {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

.grf-brand-selector-section {
  padding: 20px 0 40px 0;
  margin-top: 0;
  position: relative;
  z-index: 5;
}

.grf-brand-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .grf-brand-selector-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .grf-brand-selector-grid {
    grid-template-columns: 1fr;
  }
}

.grf-brand-selector-item .grf-brand-box {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.grf-brand-selector-item .grf-brand-box img {
  max-width: 100%;
  max-height: 70px;
  filter: grayscale(1);
  transition: filter 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.grf-brand-selector-item .grf-brand-box:hover {
  transform: translateY(-5px);
}
.grf-brand-selector-item .grf-brand-box:hover img {
  filter: grayscale(0);
}

.grf-brand-archive .grf-brand-hero {
  position: relative;
  background: #f8fafc;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0px 0 0px !important;
  color: #1E4378;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid #e2e8f0;
}
.grf-brand-archive .grf-brand-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.95) 100%);
  z-index: 1;
}
.grf-brand-archive .grf-brand-hero .container {
  position: relative;
  z-index: 2;
}
.grf-brand-archive .grf-brand-hero .grf-hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}
.grf-brand-archive .grf-brand-hero .grf-hero-logo img {
  max-height: 65px;
  width: auto;
  margin: 10px 0 !important;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.05));
}
.grf-brand-archive .grf-brand-hero .grf-brand-description {
  display: none !important;
}

.grf-machines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 35px;
  padding: 0px 0 0px 0 !important;
}

.grf-machine-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.grf-machine-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  border-color: #cbd5e1;
}
.grf-machine-card:hover .grf-card-image img {
  transform: scale(1.04);
}
.grf-machine-card:hover .grf-card-overlay {
  opacity: 1;
}
.grf-machine-card:hover .grf-card-title {
  color: #354A93 !important;
}
.grf-machine-card .grf-card-link {
  text-decoration: none !important;
  color: inherit !important;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.grf-machine-card .grf-card-image {
  position: relative;
  height: 260px;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f1f5f9;
}
.grf-machine-card .grf-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.4s ease;
}
.grf-machine-card .grf-card-image .grf-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #94a3b8;
  font-weight: 600;
}
.grf-machine-card .grf-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}
.grf-machine-card .grf-btn-view {
  background: #ffffff;
  color: #0f172a;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(8px);
  transition: all 0.3s ease;
}
.grf-machine-card:hover .grf-machine-card .grf-btn-view {
  transform: translateY(0);
}
.grf-machine-card .grf-btn-view:hover {
  background: #8BC64B;
  color: #ffffff;
}
.grf-machine-card .grf-card-body {
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
  justify-content: center;
}
.grf-machine-card .grf-card-body .grf-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.4;
  transition: color 0.2s ease;
}
.grf-machine-card .grf-card-body .grf-card-price {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 600;
  margin: 0;
}

.grf-landing-footer-modern {
  padding: 100px 0;
}
.grf-landing-footer-modern .grf-footer-card {
  background: #fff;
  border-radius: 30px;
  padding: 60px;
  display: flex;
  align-items: center;
  gap: 50px;
  box-shadow: 0 30px 60px rgba(30, 67, 120, 0.08);
  border: 1px solid #f1f5f9;
  position: relative;
  overflow: hidden;
}
.grf-landing-footer-modern .grf-footer-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139, 198, 75, 0.05) 0%, transparent 70%);
  z-index: 0;
}
@media (max-width: 992px) {
  .grf-landing-footer-modern .grf-footer-card {
    flex-direction: column;
    text-align: center;
    padding: 50px 30px;
    gap: 30px;
  }
}
.grf-landing-footer-modern .grf-footer-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(53, 74, 147, 0.1) 0%, rgba(30, 67, 120, 0.05) 100%);
  color: #1E4378;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.grf-landing-footer-modern .grf-footer-icon svg {
  width: 45px;
  height: 45px;
}
.grf-landing-footer-modern .grf-footer-content {
  flex-grow: 1;
  position: relative;
  z-index: 1;
}
.grf-landing-footer-modern .grf-footer-content .grf-footer-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  color: #1E4378;
  margin-bottom: 15px;
  line-height: 1.1;
  letter-spacing: -1px;
}
.grf-landing-footer-modern .grf-footer-content .grf-footer-description {
  font-size: 1.15rem;
  color: #64748b;
  margin: 0;
  max-width: 550px;
  line-height: 1.6;
}
@media (max-width: 992px) {
  .grf-landing-footer-modern .grf-footer-content .grf-footer-description {
    margin: 0 auto;
  }
}
.grf-landing-footer-modern .grf-footer-action {
  position: relative;
  z-index: 1;
}
.grf-landing-footer-modern .grf-btn-cta-modern {
  background: #1E4378;
  color: #fff;
  padding: 22px 45px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 900;
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 15px 30px rgba(30, 67, 120, 0.2);
  white-space: nowrap;
}
.grf-landing-footer-modern .grf-btn-cta-modern svg {
  transition: transform 0.3s ease;
}
.grf-landing-footer-modern .grf-btn-cta-modern:hover {
  background: #8BC64B;
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(139, 198, 75, 0.3);
}
.grf-landing-footer-modern .grf-btn-cta-modern:hover svg {
  transform: translateX(5px);
}
@media (max-width: 480px) {
  .grf-landing-footer-modern .grf-btn-cta-modern {
    padding: 18px 30px;
    font-size: 15px;
  }
}

/* =========================================================
   WOOCOMMERCE PREMIUM REDESIGN
   ========================================================= */
.ast-separate-container .ast-woocommerce-container {
  padding: 25px 20px !important;
}
@media (max-width: 1200px) {
  .ast-separate-container .ast-woocommerce-container {
    padding: 20px 15px !important;
  }
}
@media (max-width: 768px) {
  .ast-separate-container .ast-woocommerce-container {
    padding: 15px 10px !important;
  }
}

.woocommerce, .woocommerce-page {
  font-family: "Inter", "Roboto", sans-serif;
  background-color: #f8fafc;
  padding-top: 40px;
  padding-bottom: 80px;
}
.woocommerce .site-content, .woocommerce-page .site-content {
  max-width: 1400px !important;
  margin: 0 auto;
  padding: 0 24px !important;
  display: flex;
  gap: 40px;
}
@media (max-width: 992px) {
  .woocommerce .site-content, .woocommerce-page .site-content {
    flex-direction: column;
    gap: 30px;
    padding: 0 20px !important;
  }
}
.woocommerce #primary, .woocommerce-page #primary {
  flex: 1;
  width: 100%;
}
.woocommerce .star-rating, .woocommerce-page .star-rating {
  display: none !important;
}

/* ──────────────────────────────────────────────────────
   1. GRID DE PRODUCTOS (SHOP LOOP)
   ────────────────────────────────────────────────────── */
ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px !important;
  margin: 0 0 50px 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
ul.products::before, ul.products::after {
  display: none !important;
}
@media (max-width: 900px) {
  ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}
@media (max-width: 480px) {
  ul.products {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* ──────────────────────────────────────────────────────
   2. TARJETA DE PRODUCTO (PRODUCT CARD)
   ────────────────────────────────────────────────────── */
li.product {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  position: relative !important;
  float: none !important;
  width: auto !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}
li.product::before, li.product::after {
  display: none !important;
}
li.product:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 25px -5px rgba(30, 41, 59, 0.09), 0 10px 10px -5px rgba(30, 41, 59, 0.04) !important;
  border-color: #cbd5e1 !important;
}
li.product:hover .woocommerce-LoopProduct-link img {
  transform: scale(1.05) !important;
}
li.product:hover .woocommerce-loop-product__title {
  color: #354A93 !important;
}
li.product .woocommerce-LoopProduct-link {
  display: flex !important;
  flex-direction: column !important;
  color: inherit !important;
  text-decoration: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}
li.product .woocommerce-LoopProduct-link img {
  width: 100% !important;
  height: 240px !important;
  object-fit: cover !important;
  border-bottom: 1px solid #f1f5f9 !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: transform 0.4s ease !important;
}
@media (max-width: 480px) {
  li.product .woocommerce-LoopProduct-link img {
    height: 280px !important;
  }
}
li.product .woocommerce-loop-product__title {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 20px 20px 10px 20px !important;
  padding: 0 !important;
  line-height: 1.4 !important;
  min-height: 48px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  transition: color 0.2s ease !important;
}
li.product .ast-woo-product-category, li.product .product_cat {
  font-size: 0.75rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #64748b !important;
  margin: 0 20px 10px 20px !important;
  display: block !important;
  font-weight: 600 !important;
  line-height: 1 !important;
}
li.product .star-rating {
  display: none !important;
}
li.product .price {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #1E4378 !important;
  margin: 0 20px 20px 20px !important;
  padding: 0 !important;
  display: block !important;
  line-height: 1.2 !important;
}
li.product .price del {
  font-size: 0.95rem !important;
  color: #94a3b8 !important;
  margin-right: 8px !important;
  font-weight: 500 !important;
  display: inline-block !important;
}
li.product .price ins {
  text-decoration: none !important;
  font-weight: 800 !important;
  color: #8BC64B !important;
  background: transparent !important;
  display: inline-block !important;
}
li.product {
  /* ──────────────────────────────────────────────────────
     3. BOTÓN DE ACCIÓN ÚNICA: WHATSAPP (CTA PRINCIPAL)
     ────────────────────────────────────────────────────── */
}
li.product .button:not(#sendbtn):not(.wa-shop-button) {
  display: none !important;
}
li.product #sendbtn, li.product .wa-shop-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #25D366 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 8px !important;
  margin: 0 20px 20px 20px !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.2px !important;
  white-space: nowrap !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.15) !important;
  height: auto !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
}
li.product #sendbtn::before, li.product .wa-shop-button::before {
  content: "" !important;
  display: inline-block !important;
  width: 14px !important;
  height: 14px !important;
  margin-right: 6px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 0 1 2.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 0 0-3.48-8.413z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}
li.product #sendbtn:hover, li.product .wa-shop-button:hover {
  background-color: #128C7E !important;
  box-shadow: 0 6px 20px rgba(18, 140, 126, 0.35) !important;
  transform: translateY(-2px) !important;
  color: #ffffff !important;
}

/* ──────────────────────────────────────────────────────
   3. BARRA LATERAL DE FILTROS (SIDEBAR)
   ────────────────────────────────────────────────────── */
.ast-left-sidebar #secondary {
  width: 280px !important;
  flex-shrink: 0 !important;
  padding-right: 0 !important;
  background: transparent !important;
}
@media (max-width: 992px) {
  .ast-left-sidebar #secondary {
    width: 100% !important;
    order: 2;
  }
}
.ast-left-sidebar #secondary .widget {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 24px !important;
  margin-bottom: 25px !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02) !important;
}
.ast-left-sidebar #secondary .widget .widget-title {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #1E4378 !important;
  margin-bottom: 20px !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid #f1f5f9 !important;
  position: relative !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}
.ast-left-sidebar #secondary .widget .widget-title::after {
  content: "" !important;
  position: absolute !important;
  bottom: -2px !important;
  left: 0 !important;
  width: 45px !important;
  height: 2px !important;
  background-color: #8BC64B !important;
}
.ast-left-sidebar #secondary .widget ul {
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}
.ast-left-sidebar #secondary .widget ul li {
  padding: 10px 0 !important;
  border-bottom: 1px dotted #e2e8f0 !important;
  font-size: 0.95rem !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  align-items: center !important;
  float: none !important;
  width: 100% !important;
}
.ast-left-sidebar #secondary .widget ul li:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}
.ast-left-sidebar #secondary .widget ul li a {
  color: #475569 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: color 0.2s ease !important;
  display: inline-block !important;
}
.ast-left-sidebar #secondary .widget ul li a:hover {
  color: #8BC64B !important;
}
.ast-left-sidebar #secondary .widget ul li .count {
  background: #f1f5f9 !important;
  color: #475569 !important;
  padding: 2px 10px !important;
  border-radius: 20px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
}
.ast-left-sidebar #secondary .widget ul li ul.children, .ast-left-sidebar #secondary .widget ul li ul.sub-menu {
  flex: 0 0 100% !important;
  width: 100% !important;
  margin-top: 10px !important;
  padding-left: 15px !important;
  border-left: 2px solid #e2e8f0 !important;
  list-style: none !important;
}
.ast-left-sidebar #secondary .widget ul li ul.children li, .ast-left-sidebar #secondary .widget ul li ul.sub-menu li {
  padding: 8px 0 !important;
  border-bottom: 1px dashed #f1f5f9 !important;
}
.ast-left-sidebar #secondary .widget ul li ul.children li:last-child, .ast-left-sidebar #secondary .widget ul li ul.sub-menu li:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}
.ast-left-sidebar #secondary .widget.widget_product_search form {
  display: flex !important;
  position: relative !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  transition: border-color 0.2s !important;
}
.ast-left-sidebar #secondary .widget.widget_product_search form:focus-within {
  border-color: #354A93 !important;
}
.ast-left-sidebar #secondary .widget.widget_product_search form input[type=search] {
  width: 100% !important;
  border: none !important;
  padding: 12px 45px 12px 16px !important;
  font-size: 0.9rem !important;
  outline: none !important;
  color: #334155 !important;
}
.ast-left-sidebar #secondary .widget.widget_product_search form button[type=submit] {
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  height: 100% !important;
  width: 45px !important;
  background: transparent !important;
  border: none !important;
  color: #64748b !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0 !important;
}
.ast-left-sidebar #secondary .widget.widget_product_search form button[type=submit]::before {
  content: "\e5cf" !important;
  font-family: "Astra" !important;
  font-size: 16px !important;
}

/* ──────────────────────────────────────────────────────
   4. CABECERA DE CATEGORÍA Y FILTROS SUPERIORES
   ────────────────────────────────────────────────────── */
.woocommerce-products-header {
  margin-bottom: 30px !important;
}
.woocommerce-products-header .woocommerce-products-header__title {
  font-size: 2.2rem !important;
  font-weight: 900 !important;
  color: #1E4378 !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.1 !important;
}

.woocommerce-breadcrumb {
  margin-bottom: 25px !important;
  font-size: 0.85rem !important;
  color: #64748b !important;
}
.woocommerce-breadcrumb a {
  color: #354A93 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: color 0.2s !important;
}
.woocommerce-breadcrumb a:hover {
  color: #8BC64B !important;
}

.woocommerce-shop-header-wrapper,
.ast-woocommerce-container > .woocommerce-notices-wrapper + div {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 25px !important;
  background: #ffffff !important;
  padding: 15px 25px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  flex-wrap: wrap !important;
  gap: 15px !important;
  width: 100% !important;
}
.woocommerce-shop-header-wrapper .woocommerce-result-count,
.ast-woocommerce-container > .woocommerce-notices-wrapper + div .woocommerce-result-count {
  margin: 0 !important;
  font-size: 0.9rem !important;
  color: #64748b !important;
  font-weight: 600 !important;
  float: none !important;
}
.woocommerce-shop-header-wrapper .woocommerce-ordering,
.ast-woocommerce-container > .woocommerce-notices-wrapper + div .woocommerce-ordering {
  margin: 0 !important;
  float: none !important;
}
.woocommerce-shop-header-wrapper .woocommerce-ordering select,
.ast-woocommerce-container > .woocommerce-notices-wrapper + div .woocommerce-ordering select {
  padding: 8px 16px !important;
  border-radius: 6px !important;
  border: 1px solid #cbd5e1 !important;
  background-color: #ffffff !important;
  font-size: 0.9rem !important;
  color: #475569 !important;
  outline: none !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  transition: border-color 0.2s !important;
}
.woocommerce-shop-header-wrapper .woocommerce-ordering select:focus,
.ast-woocommerce-container > .woocommerce-notices-wrapper + div .woocommerce-ordering select:focus {
  border-color: #354A93 !important;
}

.single-product .site-main {
  background: #ffffff !important;
  border-radius: 12px !important;
  padding: 40px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02) !important;
  margin-top: 40px !important;
  margin-bottom: 60px !important;
}
@media (max-width: 768px) {
  .single-product .site-main {
    padding: 20px !important;
    margin-top: 20px !important;
  }
}
.single-product div.product {
  display: grid !important;
  grid-template-columns: 48% 1fr !important;
  gap: 50px !important;
  align-items: start !important;
}
@media (max-width: 768px) {
  .single-product div.product {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
}
.single-product div.product .woocommerce-tabs,
.single-product div.product .related,
.single-product div.product .upsells,
.single-product div.product .up-sells,
.single-product div.product .related.products,
.single-product div.product #reviews {
  grid-column: 1/-1 !important;
}
.single-product div.product .woocommerce-product-gallery {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.3s ease !important;
}
@media (max-width: 768px) {
  .single-product div.product .woocommerce-product-gallery {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}
.single-product div.product .woocommerce-product-gallery .flex-viewport {
  border-radius: 16px !important;
}
.single-product div.product .woocommerce-product-gallery img {
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.single-product div.product .woocommerce-product-gallery img:hover {
  transform: scale(1.03) !important;
}
.single-product div.product .entry-summary {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  display: flex !important;
  flex-direction: column !important;
}
@media (max-width: 768px) {
  .single-product div.product .entry-summary {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}
.single-product div.product .entry-summary .product_title {
  font-size: 2.4rem !important;
  font-weight: 900 !important;
  color: #1E4378 !important;
  line-height: 1.2 !important;
  margin-top: 0 !important;
  margin-bottom: 20px !important;
}
@media (max-width: 768px) {
  .single-product div.product .entry-summary .product_title {
    font-size: 1.8rem !important;
  }
}
.single-product div.product .entry-summary .price,
.single-product div.product .entry-summary .single_add_to_cart_button,
.single-product div.product .entry-summary .quantity,
.single-product div.product .entry-summary form.cart:not(#sendbtn) button:not(#sendbtn) {
  display: none !important;
}
.single-product div.product .entry-summary form.cart {
  display: block !important;
  margin: 15px 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}
.single-product div.product .entry-summary #sendbtn, .single-product div.product .entry-summary .wa-single-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #25D366 !important;
  color: #ffffff !important;
  padding: 16px 36px !important;
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  border-radius: 8px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border: none !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25) !important;
  transition: all 0.3s ease !important;
  margin: 15px 0 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  align-self: flex-start !important;
}
.single-product div.product .entry-summary #sendbtn::before, .single-product div.product .entry-summary .wa-single-button::before {
  content: "" !important;
  display: inline-block !important;
  width: 20px !important;
  height: 20px !important;
  margin-right: 10px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 0 1 2.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 0 0-3.48-8.413z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}
.single-product div.product .entry-summary #sendbtn:hover, .single-product div.product .entry-summary .wa-single-button:hover {
  background-color: #128C7E !important;
  box-shadow: 0 10px 25px rgba(18, 140, 126, 0.4) !important;
  transform: translateY(-2px) !important;
  color: #ffffff !important;
}
.single-product .woocommerce-tabs {
  margin-top: 50px !important;
  border-top: 1px solid #e2e8f0 !important;
  padding-top: 40px !important;
}
.single-product .woocommerce-tabs ul.tabs {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  display: flex !important;
  gap: 15px !important;
  margin-bottom: 25px !important;
}
.single-product .woocommerce-tabs ul.tabs::before, .single-product .woocommerce-tabs ul.tabs::after {
  display: none !important;
}
.single-product .woocommerce-tabs ul.tabs li {
  background: #f1f5f9 !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 12px 24px !important;
  margin: 0 !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  transition: all 0.2s ease !important;
}
.single-product .woocommerce-tabs ul.tabs li::before, .single-product .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}
.single-product .woocommerce-tabs ul.tabs li a {
  color: #475569 !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}
.single-product .woocommerce-tabs ul.tabs li:hover {
  background: #e2e8f0 !important;
}
.single-product .woocommerce-tabs ul.tabs li.active {
  background: #354A93 !important;
}
.single-product .woocommerce-tabs ul.tabs li.active a {
  color: #ffffff !important;
}
.single-product .woocommerce-tabs .woocommerce-Tabs-panel {
  padding: 10px 0 !important;
  line-height: 1.8 !important;
  color: #334155 !important;
  font-size: 1rem !important;
}
.single-product .woocommerce-tabs .woocommerce-Tabs-panel h2 {
  display: none !important;
}

.ast-shipping-text,
.wa-free-shipping {
  display: none !important;
}

/* =========================================================
   FORZAR ALINEACIÓN A LA IZQUIERDA EN CATEGORÍAS DE PRODUCTO (SIDEBAR)
   ========================================================= */
.widget_product_categories,
.woocommerce .widget_product_categories,
.woocommerce.widget_product_categories {
  text-align: left !important;
}
.widget_product_categories .widget-title,
.woocommerce .widget_product_categories .widget-title,
.woocommerce.widget_product_categories .widget-title {
  text-align: left !important;
}
.widget_product_categories ul,
.widget_product_categories ul.product-categories,
.woocommerce .widget_product_categories ul,
.woocommerce .widget_product_categories ul.product-categories,
.woocommerce.widget_product_categories ul,
.woocommerce.widget_product_categories ul.product-categories {
  text-align: left !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.widget_product_categories ul li,
.widget_product_categories ul.product-categories li,
.woocommerce .widget_product_categories ul li,
.woocommerce .widget_product_categories ul.product-categories li,
.woocommerce.widget_product_categories ul li,
.woocommerce.widget_product_categories ul.product-categories li {
  text-align: left !important;
  justify-content: flex-start !important;
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
  float: none !important;
  width: 100% !important;
}
.widget_product_categories ul li a,
.widget_product_categories ul.product-categories li a,
.woocommerce .widget_product_categories ul li a,
.woocommerce .widget_product_categories ul.product-categories li a,
.woocommerce.widget_product_categories ul li a,
.woocommerce.widget_product_categories ul.product-categories li a {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  display: inline-block !important;
  float: none !important;
}
.widget_product_categories ul li .count,
.widget_product_categories ul.product-categories li .count,
.woocommerce .widget_product_categories ul li .count,
.woocommerce .widget_product_categories ul.product-categories li .count,
.woocommerce.widget_product_categories ul li .count,
.woocommerce.widget_product_categories ul.product-categories li .count {
  margin-left: 10px !important;
}
.widget_product_categories ul li ul.children,
.widget_product_categories ul.product-categories li ul.children,
.woocommerce .widget_product_categories ul li ul.children,
.woocommerce .widget_product_categories ul.product-categories li ul.children,
.woocommerce.widget_product_categories ul li ul.children,
.woocommerce.widget_product_categories ul.product-categories li ul.children {
  text-align: left !important;
  margin-left: 0 !important;
  padding-left: 15px !important;
  border-left: 2px solid #e2e8f0 !important;
  width: 100% !important;
  flex: 0 0 100% !important;
}
.widget_product_categories ul li ul.children li,
.widget_product_categories ul.product-categories li ul.children li,
.woocommerce .widget_product_categories ul li ul.children li,
.woocommerce .widget_product_categories ul.product-categories li ul.children li,
.woocommerce.widget_product_categories ul li ul.children li,
.woocommerce.widget_product_categories ul.product-categories li ul.children li {
  text-align: left !important;
  justify-content: flex-start !important;
}
.widget_product_categories ul li ul.children li a,
.widget_product_categories ul.product-categories li ul.children li a,
.woocommerce .widget_product_categories ul li ul.children li a,
.woocommerce .widget_product_categories ul.product-categories li ul.children li a,
.woocommerce.widget_product_categories ul li ul.children li a,
.woocommerce.widget_product_categories ul.product-categories li ul.children li a {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* =========================================================
   RESPONSIVE & JS SYMBOLS
   ========================================================= */
.grf-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 4px;
  margin-left: auto;
  order: 2;
}
@media (max-width: 992px) {
  .grf-hamburger {
    display: flex;
  }
}
.grf-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.grf-hamburger.is-active span:nth-child(1), .grf-hamburger[aria-expanded=true] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.grf-hamburger.is-active span:nth-child(2), .grf-hamburger[aria-expanded=true] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.grf-hamburger.is-active span:nth-child(3), .grf-hamburger[aria-expanded=true] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   FOOTER — Moderno (Banner + 4 columnas + Bottom bar)
   ========================================================= */
.grf-site-footer {
  font-family: inherit;
}

/* ── BANNER VERDE (mensaje destacado) ── */
.grf-footer-banner {
  background: #8BC64B;
  position: relative;
  padding: 18px 20px;
  text-align: center;
}
.grf-footer-banner::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 22px solid #8BC64B;
  z-index: 2;
}
.grf-footer-banner p {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin: 0;
}

/* ── CUERPO PRINCIPAL ── */
.grf-footer-main {
  background: linear-gradient(150deg, #354A93 0%, #1E3270 100%);
  padding: 70px 0 50px;
  position: relative;
  z-index: 1;
}

.grf-footer-main-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 50px;
  align-items: start;
}
@media (max-width: 992px) {
  .grf-footer-main-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 0 24px;
  }
}
@media (max-width: 768px) {
  .grf-footer-main-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 0 20px;
  }
}

/* Encabezados de columna */
.grf-footer-heading {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin: 0 0 22px;
  padding-bottom: 14px;
  position: relative;
}
.grf-footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}
.grf-footer-heading::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: #8BC64B;
  z-index: 1;
}

/* ── COL 1: MARCA ── */
.grf-footer-brand .grf-footer-logo {
  display: block;
  margin-bottom: 14px;
}
.grf-footer-brand .grf-footer-logo img {
  max-width: 220px;
  height: auto;
  display: block;
  border-radius: 4px;
}
.grf-footer-brand .grf-footer-tagline {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 22px;
}

/* Buscador en el footer */
.grf-footer-search {
  display: flex;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: border-color 0.2s;
}
.grf-footer-search:focus-within {
  border-color: rgba(255, 255, 255, 0.4);
}
.grf-footer-search input[type=search] {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 14px;
  color: #fff;
  font-size: 13.5px;
  outline: none;
  min-width: 0;
}
.grf-footer-search input[type=search]::placeholder {
  color: rgba(255, 255, 255, 0.38);
}
.grf-footer-search button {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 0 16px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.grf-footer-search button:hover {
  background: #8BC64B;
}

/* ── COL 2: LINKS ── */
.grf-footer-nav .grf-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.grf-footer-nav .grf-footer-menu li a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s, padding-left 0.2s;
}
.grf-footer-nav .grf-footer-menu li a::before {
  content: "›";
  color: #8BC64B;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}
.grf-footer-nav .grf-footer-menu li a:hover {
  color: #fff;
  padding-left: 5px;
}

/* ── COL 3: HORARIO ── */
.grf-footer-schedule p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13.5px;
  line-height: 2;
  margin: 0 0 22px;
}

.grf-footer-social {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  transition: color 0.2s;
}
.grf-footer-social svg {
  width: 18px;
  height: 18px;
  fill: #8BC64B;
  flex-shrink: 0;
  transition: fill 0.2s;
}
.grf-footer-social:hover {
  color: #8BC64B;
}

/* ── COL 4: CONTACTO ── */
.grf-footer-contact .grf-footer-address {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13.5px;
  line-height: 1.8;
  margin: 0 0 18px;
}
.grf-footer-contact a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  display: block;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.2s, padding-left 0.2s;
}
.grf-footer-contact a:hover {
  color: #8BC64B;
  padding-left: 4px;
}
.grf-footer-contact a:last-child {
  border-bottom: none;
}

/* ── BARRA INFERIOR ── */
.grf-footer-bottom {
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 18px 0;
}

.grf-footer-bottom-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .grf-footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
    gap: 6px;
  }
}
.grf-footer-bottom-inner p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12.5px;
  margin: 0;
}

/*# sourceMappingURL=style.css.map */
