/*
 Theme Name: Astra Child VMA v1.9.0
 Theme URI: https://vmagricola.com
 Description: Child para VMAgricola (auth, paneles y CPT)
 Author: Facu + IA
 Template: astra
 Version: 1.9.0
*/




/* -----------------------------------------
   HERO SIMPLE CON FONDO VERDE
----------------------------------------- */
:root {
  --vm-green: #305A33;
  --vm-button: #305A33;
  --vm-button-hover: #305A33;
}

/* HERO de perfil: barra verde arriba con icono centrado */
.vm-profile-hero-wrap {
  margin: 0 calc(50% - 50vw);
  background: linear-gradient(to bottom,
      var(--vm-green) 0%,
      #04351f 100%
      /* ejemplo: tono más oscuro, cambialo a gusto */
    );
  color: #ffffff;
  padding: 48px 0 56px;
  margin-bottom: -135px;

  /* 🔧 Fix full width */
  width: 100vw;
  max-width: 100vw;
  margin-top: 85px;
}



.vm-profile-hero {

  max-width: 960px;
  height: 250PX;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* círculo del avatar */
.vm-profile-avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.vm-profile-avatar img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  background: #f5f5f5;
}

/* texto Editá el perfil */
.vm-profile-title {
  font-size: 29px;
  font-weight: 700;
  letter-spacing: .03em;
}

@media (max-width: 800px) {

  /* Estilos para <= 800px de ancho */
  .vm-profile-title {
    font-size: 19px;

  }
}


/* ESTILOS ARCHIVE MARCAS Y CATEGORIAS */

.marcas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 24px;
  align-items: center;
}

.marca-card {
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 20px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
  min-height: 120px;
}

.marca-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
  transform: translateY(-3px);
}

.marca-card img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  /* filter: grayscale(100%);*/
  transition: filter .25s ease;
}

.marca-card:hover img {
  /*filter: grayscale(0%);*/
}

.marca-nombre {
  font-weight: 600;
  color: #333;
  text-align: center;
}