:root {
  --primary-color: #56bb6c;
  --dark-green: #023317;
  --accent-color: #1b4d04;
  --white: #ffffff;
}

body {
  font-family: 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  background-color: var(--dark-green);
  color: #333;
}

/* NAVBAR NUEVA */
.navbar {
  background: #000;
  padding: 15px 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--primary-color);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 900;
  cursor: pointer;
  letter-spacing: -2px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
}
.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}
.nav-links a:hover {
  color: var(--primary-color);
}

.header {
  background: #111;
  color: var(--primary-color);
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--primary-color);
}

.contenedor-principal {
  max-width: 1000px;
  margin: 20px auto;
  background: #f4f4f4;
  padding: 30px;
  border-radius: 15px;
  min-height: 80vh;
}

/* DISEÑO LOGO M&M */
.brand-logo {
  width: 160px;
  height: 160px;
  background: #111;
  border: 5px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(86, 187, 108, 0.4);
}
.m-left, .m-right { font-size: 3.5rem; font-weight: 900; color: white; }
.ampersand { font-size: 1.8rem; color: var(--primary-color); margin: 0 5px; }

.nosotros-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding: 20px;
  align-items: center;
}
.objetivos {
  background: #e8f5e9;
  padding: 20px;
  border-radius: 10px;
  border-left: 6px solid var(--primary-color);
  margin-top: 20px;
}

/* FILTROS Y CARDS */
.filtros {
  margin-bottom: 30px;
  padding: 10px;
  background: #eee;
  border-radius: 8px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: var(--white);
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.card:hover { transform: translateY(-5px); }

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 10px;
}

.selector-talla {
    width: 100%;
    padding: 8px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
}

button {
  background: var(--dark-green);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
}

button:hover {
  background: var(--primary-color);
  color: white;
}

#cart-items li {
  background: white;
  margin-bottom: 8px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  border-radius: 5px;
}

.btn-eliminar { width: auto; background: #ff4444; color: white; border: none; }

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0; top: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}
.modal-contenido {
  margin: auto; display: block; max-width: 80%; margin-top: 5%;
  border: 4px solid var(--primary-color); border-radius: 10px;
}
.cerrar { position: absolute; top: 20px; right: 40px; color: white; font-size: 50px; cursor: pointer; }

@media (max-width: 768px) {
  .nosotros-layout { grid-template-columns: 1fr; text-align: center; }
}