body {
  font-family: Inter, sans-serif;  
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 1.5rem;
  color: #333;
}

/* ==== ENLACES ==== */
.footer-container a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: bold;
}

.footer-container a:hover {
  font-weight: bolder;
}

body a {
  color: #025a14;
  text-decoration: underline;
  font-weight: bold;
}

body a {
  font-weight: bolder;
}

@media (max-width: 768px) {
  body {
    font-size: 1.2em; /* ajusta este valor según sea necesario */
  }
  h1, h2, h3 {
    font-size: 1.25em; /* ajusta este valor según sea necesario */
  }
}

footer {
  margin-top: auto;
}

main{
  font-family: Inter, sans-serif;
  margin: 0;
  padding: 1% 5%;
  max-width: 100%;
  color: #333;
  background-color: #fff;
  background-image: url('https://cdn.shopify.com/s/files/1/0868/8982/4572/files/background_180_compostable.svg?v=1752179581');
  background-size: cover; /* ajusta el tamaño de la imagen */
  background-position: center; /* centra la imagen */
  background-repeat: no-repeat; /* evita que se repita la imagen */
}

h1, h2, h3 {
  color: #025a14;
}

.h2-header {
  font-size: 1em;
  font-weight: normal;
  color: #333;
}

a {
  color: #025a14;
  text-decoration: underline;
  font-weight: bold;
}
a:hover {
  text-decoration: underline;
  font-weight: bolder;
}
header {
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid #ccc;
}
header img {
  max-width: 200px;
  height: auto;
  width: 100%;
}
nav a {
  margin: 0 1rem;
  text-decoration: none;
  color: #025a14;
  font-weight: bold;
  text-transform: uppercase;
}
nav a:hover {
  text-decoration: none;
  font-weight: bolder;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .footer-container {
    font-size: 1em;
    align-items: center;
    flex-direction: column;
 }
  .footer-logo, .footer-links {
     margin-bottom: 1em;
     align-items: center !important;
     display: flex !important;
     flex-direction: column;
     font-size: 0.7em !important;
     max-width: 250px !important;
     width: fit-content !important;
  }
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    border-top: 1px solid #ccc;
    margin-top: 4rem;
    background-color: #025a14;
    color: #ffffff;
    /* width: 100%; */
    /* width: 100% !important; */
}

.footer-logo {
    display: flex;
    max-width: 20%;
    width: 20%;
    align-items: center;
    flex-direction: column;
}

.footer-logo img {
    max-width: 300px !important;
    width: 100%;
}

.social-icons {
  margin-top: 10px;
}

.social-icons a {
  color: #ffffff;
  transition: opacity 0.2s ease-in-out;
  margin: 0 0.5rem;
  font-size: 1.2rem;
}

.social-icons a:hover {
  opacity: 0.9;
}

.footer-copyright {
    text-align: center;
    flex-grow: 1;
  	background:#4d3e34;
  	padding:1%;
  	color: #ffffff;
  	font-size: 0.8em;
}

.footer-copyright a {
  color: #ffffff;
  transition: opacity 0.2s ease-in-out;
  font-weight: bold;
}

.footer-copyright a:hover {
  opacity: 0.9;
  font-weight: bolder;
}

@media (max-width: 768px) {
	.footer-copyright {
        /* margin-bottom: 1em; */
        align-items: center !important;
        display: flex !important;
        flex-direction: column;
        font-size: 0.9em !important;
        line-height: 2em;
    }
}

.footer-links {
  text-align: right;
  font-weight: bold;
}

.footer-links a {
  color: #ffffff;
  font-weight: bold;  
  transition: opacity 0.2s ease-in-out;
}

.footer-links a:hover {
  color: #ffffff;
  font-weight: bold;  
  opacity: 0.9;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #f2f2f2;
  border: 1px solid #025a14;
  padding: 1rem;
  z-index: 1000;
  max-width: 90%;
  display: none;
  box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}
.cookie-banner.visible {
  display: block;
}
.cookie-buttons button {
  margin-right: 0.5rem;
  padding: 0.5rem 1rem;
  border: none;
  background-color: #025a14;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
}
.cookie-buttons button:hover {
  opacity: 0.9;
  background-color: #025a14;
}

button, .btn {
  margin-right: 0.5rem;
  padding: 0.5rem 1rem;
  border: none;
  background-color: #025a14;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
}
button:hover, .btn:hover {
  opacity: 0.9;
  background-color: #025a14;
}

.imagen {
    /* max-width: 100%; */
    width: 100%;
    height: auto;
    /* border-radius: 10px; */
    display: block;
    margin: 0 auto;
}
#configuracion-cookies {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #ccc;
  padding: 1rem;
  z-index: 1001;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  display: none;
}

.usos h2 {
  margin-top: 1.2em;
}

  .usos ul {
    padding: 0;
    margin: 0;
  }
  .usos li {
    margin-bottom: 1em;
    list-style-type: none;
    position: relative;
    padding-left: 1.5em;
  }
  .usos li:before {
  	content: "\1F342 "; /* 🍂 */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1em;
    color: #025a14;
  }
  .usos h3 {
    margin-bottom: 0.2em;
  }
  .usos p {
    margin-top: 0;
  }

/* ==== BASE COMÚN ==== */
[class^="ventaja"] {
  margin-bottom: 2em;
}

[class^="ventaja"] ul {
  margin: 0;
  padding-left: 0;
}

[class^="ventaja"] li {
  list-style: none;
  padding-left: 1.6em;
  position: relative;
  margin-bottom: 0.8em;
  margin-top: 0; /* sin espacio extra entre li y h3 */
  font-size: 1em;
}

[class^="ventaja"] li::before {
  content: "✅"; /* símbolo para ventaja principal */
  position: absolute;
  left: 0;
  top: 0.1em;
  font-size: 1em;
  color: #2e7d32;
  padding-left: 0px;
}

[class^="ventaja"] li > ul {
  margin: 0;
  padding: 0;
}

[class^="ventaja"] li ul li {
  list-style: none;
  padding-left: 1.6em;
  position: relative;
  margin-bottom: 0.4em;
}

[class^="ventaja"] li ul li::before {
  content: "➤"; /* flecha verde para subniveles */
  position: absolute;
  left: 0;
  top: 0.1em;
  font-size: 0.95em;
  color: #2e7d32;
}

.ventaja h2 {
  margin-bottom: 0.3em;
}

.ventaja h3 {
  margin-top: 0;
  margin-bottom: 0.3em;
}

.ventaja p {
  margin-top: 0;
}

.compostar h2 {
  margin-top: 1em;
}

.compostar ul {
  padding: 0;
  margin: 0;
}

.compostar li {
  margin-bottom: 1em;
  list-style-type: none;
  position: relative;
  padding-left: 1.5em;
}

.compostar li:before {
  content: "\267B"; /* carácter Unicode para un símbolo de reciclaje */
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1em;
  color: #025a14;
}

.compostar h3 {
  margin-bottom: 0.2em;
}

.compostar p {
  margin-top: 0;
}

.faq h2 {
  margin-top: 1em;
  text-align: center;
}

.faq ul {
  padding: 0;
  margin: 0;
}

.faq li {
  margin-bottom: 1em;
  list-style-type: none;
  position: relative;
  padding-left: 1.5em;
}

.faq li:before {
  content: "\1F343 "; /* 🍃 */
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1em;
  color: #025a14;
}

.faq h3 {
  margin-bottom: 0.2em;
}

.faq p {
  margin-top: 0;
}

.parrafos h2 {
  margin-bottom: 0.2em;
}

.parrafos p {
  margin-top: 0;
}

/* ==== MENÚ HAMBURGUESA ==== */
.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #025a14;
  z-index: 1001;
  padding-right: 0;
  margin-right: 0;
}

#mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 50%;
  font-size: 1.6rem;
  background-color: #025a14;
  color: #ffffff;
  display: none;
  flex-direction: column;
  padding: 2rem;
  z-index: 1000;
  box-shadow: -2px 0 8px rgba(0,0,0,0.3);
}

#mobile-menu.show {
  display: flex;
}

#mobile-menu a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.2rem;
  margin: 1rem 0;
}

#mobile-menu .close-btn {
  align-self: flex-end;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  nav {
    display: none;
  }
  .h2-header {
  font-size: 1em;
  font-weight: normal;
  color: #333;
}

}

/* Barra superior de redes sociales */
.top-social-bar {
  background-color: #025a14;
/*  width: 100%; */
  padding: 0.5rem 1rem;
}

.social-icons-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
}

.social-icons-header a {
  color: white;
  font-size: 1.2rem;
  transition: opacity 0.3s ease;
}

.social-icons-header a:hover {
  opacity: 0.6;
}

/* Contenedor del logo + menú */
.main-header {
  width: 100%;
  background: white;
  padding: 1rem;
  box-sizing: border-box;
}

.logo-nav-container {
    display: flex;
    align-items: center;
    /* max-width: 95% !important; */
    margin: auto;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
}

.logo img {
  max-height: 100px;
  margin-top:5px;
}

nav a {
  margin-left: 1.5rem;
  color: #025a14;
  font-weight: bold;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

.footer-logo .social-icons a {
    color: #ffffff;
    font-size: 2rem;
    /* transition: opacity 0.3s ease-in-out; */
}

.footer-logo .social-icons a:hover {
  opacity: 0.7;
  align-items: center;
}

.contenedor-categorias {
  max-width: 100%;
  margin: 40px auto;
  padding: 0 16px;
}
.titulo-categorias {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 24px;
}
.grid-categorias {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.categoria {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.categoria:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.categoria img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.categoria h3 {
  padding: 16px;
  font-size: 1.2rem;
  color: #333;
}