/* WordPress Core
-------------------------------------------------------------- */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float:right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%; /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

@layer base {
  html {
    scroll-behavior: smooth;
  }

  html,
  body {
    margin: 0;
    padding: 0;
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
  }

  button,
  input,
  optgroup,
  select,
  textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
  }

  img,
  svg,
  video,
  canvas,
  audio,
  iframe,
  embed,
  object {
    display: block;
    vertical-align: middle;
  }

  body {
    overscroll-behavior: none;
  }

  main > :first-child {
    margin-top: 0 !important;
  }

  main > :last-child {
    margin-bottom: 0 !important;
  }
}
a {
  text-decoration: none;
}
.redes a {
  color: #fff;
}
footer ul {
  padding: 0;
  margin: 0;
}
footer li {
  list-style: none;
}
footer a {
  color: rgb(90 80 71 / var(--tw-text-opacity, 1));
}
/* Ocultar barra de scroll manteniendo la funcionalidad */
::-webkit-scrollbar {
  display: none;
}

* {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.admin-bar header.fixed.top-0.w-full,
.admin-bar .cuerpo {
    margin-top: 32px;
}
/* WooCommerce: Estilos de visualización de precios y ofertas */
.woocommerce-Price-amount {
  font-weight: 700;
}
del {
  font-size: 0.82em;
  color: #9ca3af;
  text-decoration: line-through;
  font-weight: normal;
  margin-right: 0.35rem;
}
del .woocommerce-Price-amount {
  color: #9ca3af;
  font-weight: normal;
}
ins {
  text-decoration: none;
  color: inherit;
}
.logo,
.custom-logo-link {
  display: flex !important;
  align-items: center !important;
  max-width: 260px !important;
}

.logo img,
.custom-logo,
.custom-logo-link img {
  height: 90px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain !important;
  display: block !important;
  flex-shrink: 0 !important;
}

.woocommerce ul.products::before {
  display: none;
}

/* ==========================================================================
   Menú de Navegación Nativo WordPress (Eliminación de viñetas y 2 niveles)
   ========================================================================== */
.header-nav ul,
.header-nav ol,
.mobile-nav ul,
.mobile-nav ol {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.header-nav li,
.mobile-nav li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.header-nav a,
.mobile-nav a {
  text-decoration: none !important;
}

/* Estilos de refuerzo para Submenú Nivel 2 en Desktop */
.header-nav .menu-item-has-children {
  position: relative !important;
}

.header-nav .sub-menu {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  min-width: 220px !important;
  background-color: #ffffff !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.18), 0 4px 10px -2px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(124, 179, 66, 0.25) !important;
  padding: 0.5rem !important;
  z-index: 9999 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.25rem !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(4px) !important;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s !important;
  pointer-events: none !important;
  list-style: none !important;
}

/* Puente invisible para que el cursor no pierda el hover entre el enlace principal y el submenú */
.header-nav .sub-menu::before {
  content: '' !important;
  position: absolute !important;
  top: -10px !important;
  left: 0 !important;
  right: 0 !important;
  height: 10px !important;
  display: block !important;
}

.header-nav .menu-item-has-children:hover > .sub-menu,
.header-nav .menu-item-has-children:focus-within > .sub-menu,
.header-nav .menu-item-has-children.is-active > .sub-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

.header-nav .sub-menu .menu-item a {
  display: block !important;
  width: 100% !important;
  padding: 0.6rem 0.875rem !important;
  border-radius: 0.5rem !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  background-color: transparent !important;
  box-shadow: none !important;
  transition: all 0.15s ease-in-out !important;
  white-space: nowrap !important;
}

.header-nav .sub-menu .menu-item a:hover {
  color: #7CB342 !important;
  background-color: rgba(124, 179, 66, 0.1) !important;
}

.header-nav .sub-menu .current-menu-item a {
  color: #7CB342 !important;
  background-color: rgba(124, 179, 66, 0.12) !important;
  font-weight: 700 !important;
}

/* ==========================================================================
   Menú Móvil Drawer (Prioridad Máxima sobre Banners y Cabecera)
   ========================================================================== */
#mobile-menu-drawer {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 99999 !important;
}

#mobile-menu-panel {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  height: 100vh !important;
  background-color: #ffffff !important;
  z-index: 100000 !important;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25) !important;
}
.btn-whatsapp {
  bottom: 14%;
  right: 20px;
  opacity: 1;
  visibility: visible;
  display: block;
  position: fixed;
  z-index: 1005;
  cursor: pointer;
  background-color: transparent;
  border-width: 0px;
  border-style: none;
  border-color: currentcolor;
  border-image: none;
  outline: none !important;
}
.btn-whatsapp .box-ico {
    height: 90px;
    width: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 0px;
    left: 50%;
    transform: translate(-50%, 0px);
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.3) 1px 1px 5px 0px;
    border-radius: 50%;
    background: rgb(61, 193, 79);
}
@media (max-width: 1600px) {
    .btn-whatsapp .box-ico {
        height: 82px;
        width: 82px;
    }
}