/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Feb 13 2026 | 14:23:20 */
/* Variables de color de Oberá */
:root {
  --obera-green: #4a8b2c;
  --obera-dark-green: #2d5c22;
  --obera-beige: #f9f6ee;
  --obera-text: #080807;
}

#obera-mega-menu svg,
.obera-menu-trigger-wrapper svg {
  display: flex !important;
}

/* 1. Botón Hamburguesa (Estilo genérico, ajusta posición) */
.obera-hamburger {
  background: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 9999;
  background-color: transparent !important;
  padding: 0 !important;
  border: 0 !important;
}

/* 2. Contenedor Principal (Overlay) */
.obera-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background-color: var(--obera-beige);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s;
  overflow: hidden;
}

.obera-menu-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* Botón Cerrar */
.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none !important;
  border: none;
  z-index: 10001;
  color: white !important;
  display: flex;
  align-items: center;
}

@media (max-width: 767px) {
  .close-btn {
    top: 0;
    right: 0;
    padding: 10px 18px;
    color: black !important;

    & span {
      display: none;
    }
  }
}

/* Layout Grid: Izquierda (Menú) / Derecha (Imagen) */
.obera-menu-layout {
  display: grid;
  grid-template-columns: 35% 65%;
  height: 100%;
  width: 100%;
}

.custom-icon-wrapper svg {
  display: inline-flex;
}

/* --- COLUMNA IZQUIERDA --- */
.obera-nav-left {
  background-color: var(--obera-beige);
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow-y: auto;
  /* Scroll si es necesario en laptops pequeñas */
}

.main-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 55px;
}

/* 1. Estado por defecto: Todos oscuros y visibles */
.main-links .main-a {
  color: #080807;
  font-size: 24px;
  font-weight: 600;
  line-height: 125%;
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Manejo de los SVGs por defecto */
.main-links .main-a svg {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.main-links:hover .main-a {
  color: rgba(8, 8, 7, 0.4);
}

.main-links:hover .main-a svg {
  opacity: 0.4;
}

.main-links .main-a:hover {
  color: #080807;
}

.main-links .main-a:hover svg {
  opacity: 1;
}
.menu-secundary {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-top: 1px solid #90908f;
  width: fit-content;
  padding-top: 18px;
}

.menu-secundary a {
  color: var(--Neutral-neutral-10, #2d2d2c);
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  transition: color 0.3s ease;
}

.menu-secundary a:hover {
  color: var(--Brand-main, #4fa121);
  font-weight: 700;
}

@media (max-width: 767px) {
  .main-links {
    padding-top: 41px;
    gap: 6px;
  }
}

/* Flecha para submenú (Móvil) */
.submenu-toggle {
  display: none;
  /* Oculto en desktop */
}

/* --- COLUMNA DERECHA --- */
.obera-menu-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #000;
}

.obera-menu-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.6s ease,
    opacity 0.4s ease;
  opacity: 1;
}

/* Efecto de fade para cambio de imagen */
.obera-menu-image img.fade-out {
  opacity: 0.7;
  transform: scale(1.02);
}

/* --- SUBMENU GRID (Estilo Desktop: Oculto o integrado) --- */
/* En el diseño de referencia desktop, NO se ve el submenú abierto.
   Solo se ve la imagen. El submenú aparecerá SOLO en móvil o si decides 
   hacer un hover especial. Aquí lo oculto en desktop para seguir tu ref. */
.submenu-grid {
  display: none;
}

.redes-menu {
  color: var(--Brand-main, #4fa121);
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  display: flex;
  align-items: center;
  gap: 10px;

  & svg {
    display: flex;
  }
}

.titulo-sub-menu {
  color: var(--Color-Brand-colorbrand-7, #43891c);
  font-size: 16px;
  font-weight: 400;
  line-height: 187%;
  margin: 0 0 7px;
}

/* --- MÓVIL (Max-width 1024px) --- */
@media (max-width: 1024px) {
  .menu-logo-main svg {
    height: 42px;
    width: auto;
  }

  .obera-menu-layout {
    display: block;
    /* Una sola columna */
  }

  .obera-menu-image {
    display: none;
    /* Ocultar imagen en móvil */
  }

  .obera-nav-left {
    width: 100%;
    padding: 10px 18px;
    height: 100%;
    justify-content: space-between;
  }

  .submenu-toggle {
    display: block;
    font-size: 2rem;
    color: var(--obera-green);
    cursor: pointer;
  }

  /* Submenú Slide-over para móvil */
  .submenu-grid {
    top: 0;
    display: block;
    position: fixed;
    left: 0;
    width: 100%;
    background-color: var(--obera-beige);
    transform: translateX(100%);
    /* Oculto a la derecha */
    transition: transform 0.4s ease-in-out;
    z-index: 10002;
    padding: 20px;
    overflow-y: auto;
    height: 100dvh;
  }

  .submenu-grid.is-open {
    transform: translateX(0);
  }

  /* Header del submenú (Botón volver) */
  .submenu-header-mobile {
    color: white;
    padding: 0 20px;
    margin: -20px -20px 15px -20px;
    display: flex;
    align-items: center;
    gap: 20px;
    height: 64px;
    background: var(--Color-Brand-colorbrand-9, #2d5c13);
  }

  .back-btn {
    border: none;
    color: white !important;
    text-transform: uppercase;
    padding: 0 !important;
    background: transparent !important;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  /* Estilo de las tarjetas (Cards) */
  #obera-mega-menu .menu--qh {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 18px 6px;
    border-bottom: 1px solid #c1c1c1;
    text-decoration: none;
    color: var(--obera-text);
    font-size: 1.1rem;
    transition: background 0.2s;
  }

  .card-icon svg {
    fill: var(--obera-green);
    width: 24px;
    height: 24px;
  }

  #obera-mega-menu .menu--qh:active {
    background-color: rgba(0, 0, 0, 0.05);
  }

  .redes-menu {
    margin-bottom: 20px;
    margin-top: auto;
  }
}
