body{
    overflow-x: hidden;
}

main {
    max-width: 1600px;
    margin: auto;
}

:root {
  --verde-insitucional: #2FAD39;
  --verde-oscuro: #031F06;
  --grey-textos: #141321;
}

/* GENERADORES */

.generadores-titulo {
  width: 100%;
  margin-bottom: 12px;
    font-size: 26px;
    color: var(--grey-textos);
    position: relative;
  padding-bottom: 12px;
}

.generadores-titulo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 64px;
  height: 3px;
  background-color: var(--verde-insitucional);
  border-radius: 2px;
}

.generadores-titulo span{
  color: var(--verde-insitucional);
}

.generadores-secc {
  padding: 40px 16px;
  margin-top: 120px;
}

.generadores-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.generadores-contenido {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

/* SIDEBAR */

.filtros-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.filtros-titulo {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted); /* ajustá a tu variable */
  padding-bottom: 16px;
}

/* BREADCRUMB */


.breadcrumb{
    margin-bottom: 34px;
}

.breadcrumb ol{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.breadcrumb ol li:first-of-type a{
    font-size: 16px;
    color: var(--grey-textos);
    font-weight: 400;
    text-decoration: underline;
}

.breadcrumb ol li i{
    color: var(--grey-textos);
    font-size: 14px;
}

.breadcrumb ol li:first-of-type a:hover{
    text-decoration: underline 2px;
}

.breadcrumb ol li p{
    font-size: 16px;
    letter-spacing: 2px;
    color: var(--verde-insitucional);
    font-variant: small-caps;
    font-weight: 700;
}

/* FILTRO INDIVIDUAL */

.filtro-group {
  display: flex;
  flex-direction: column;
}

.filtro-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid #e0e0e0; /* ajustá a tu variable */
  border-radius: 8px;
  font-size: 14px;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.15s;
  text-align: left;
}

.filtro-btn:hover {
  border-color: #aaa;
}

.filtro-btn.abierto {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.filtro-chevron {
  font-size: 12px;
  transition: transform 0.2s;
  flex-shrink: 0;
  color: var(--verde-insitucional);
}

.filtro-btn.abierto .filtro-chevron {
  transform: rotate(180deg);
}

/* DROPDOWN */

.filtro-dropdown {
  display: none;
  flex-direction: column;
  gap: 2px;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 6px 8px 8px;
}

.filtro-dropdown.abierto {
  display: flex;
}

.filtro-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 6px;
  font-size: 14px;
  color: inherit;
  text-decoration: none;
  transition: background 0.12s;
}

.filtro-link:hover {
  background: rgba(0, 0, 0, 0.04);
}

.filtro-link i {
  font-size: 13px;
  flex-shrink: 0;
  color: var(--verde-insitucional);
  padding: 16px;
  border-radius: 8px;
  background-color: #0eab0154;
}

.filtro-link-activo{
  color: var(--verde-insitucional) !important;
  font-weight: bold;
}

/* OTROS PRODUCTOS */

.filtros-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  color: inherit;
  cursor: pointer;
  width: 100%;
  justify-content: space-between;
}

.filtros-toggle-chevron {
  font-size: 12px;
  transition: transform 0.2s;
}

.filtros-toggle.abierto .filtros-toggle-chevron {
  transform: rotate(180deg);
}

/* En mobile el sidebar arranca oculto */
.filtros-sidebar {
  display: none;
}

.filtros-sidebar.visible {
  display: flex;
}

.filtros-otros {
  margin-top: 44px;
  padding-top: 16px;
  border-top: 1px solid #e0e0e0;
}

.filtros-otros-titulo {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  margin-bottom: 16px;
}

.filtros-otros-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s;
}

.filtros-otros-link:hover {
  border-color: #aaa;
}

.filtros-otros-link i:last-child {
  margin-left: auto;
  font-size: 13px;
  opacity: 0.4;
}

/* ÁREA DE PRODUCTOS */

.productos-grid {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-content: flex-start;
  justify-content: center;
}

/* ---------- CARD ---------- */

.car-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  overflow: hidden;
  position: relative;
  max-width: 340px;
}

.car-tag {
  position: absolute;
  top: 16px;
  left: 0;
  background-color: var(--verde-oscuro);
  color: #ffffff;
  font-size: 14px;
    font-variant: small-caps;
  padding: 8px 16px;
  border-radius: 0 999px 999px 0;
  z-index: 2;
  max-width: 80%;
}

.car-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.car-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px 24px 0 24px;
}

.car-img-placeholder {
  font-size: 2rem;
  color: #c9c9c9;
}

.car-body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.car-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.car-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.car-link {
  width: 32px;
  height: 32px;
  border: 1px solid #22a559;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2fad39ed;
  font-size: 0.9rem;
  transform: rotate(45deg);
  transition: background-color 0.2s ease, color 0.2s ease;
  transition: transform 0.2s ease;
}

.car-card:hover {
    transform: translateY(-2px);
}

.car-card:hover .car-link {
  background-color: #22a559;
  color: #ffffff;
}

.car-divider {
  width: 100%;
  height: 2px;
  background-color: #22a559;
  margin: 4px 0 16px;
}

.car-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 16px;
}

.car-spec {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #4a4a4a;
  flex: 0 0 calc((100% - 24px) / 2);
}

.car-spec i {
  color: #22a559;
  font-size: 0.75rem;
}

.car-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: #22a559;
  margin-bottom: 2px;
  text-align: center;
}

.car-cuotas {
  font-size: 0.8rem;
  font-style: italic;
  font-weight: 500;
  color: #8a8a8a;
  text-align: center;
}

.car-iva {
  font-size: 0.8rem;
  font-style: italic;
  color: #8a8a8a;
  text-align: center;
  margin-bottom: 16px;
}

.car-nota {
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.5;
  color: #6b6b6b;
  margin-top: auto;
}

/* ---------- BADGES ---------- */

.protegido-badges {
  list-style: none;
  margin: 34px 0 64px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.protegido-badges li {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #2c3e4a; /* azul grisáceo oscuro */
  border-radius: 999px;
  padding: 8px 16px;
  width: fit-content;
  max-width: 220px;
  justify-content: center;
}

.protegido-badges li img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.protegido-badges li p {
  font-size: 14px;
  font-variant: small-caps;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
}

/* PASOS PARA COMPRAR */

.comprar-pasos-secc {
  background-color: #1B1D1F;
  padding: 48px 20px;
  margin: 164px 0;
}

.comprar-pasos-div {
  max-width: 1200px;
  margin: 0 auto;
}

.comprar-pasos-div h2 {
  font-size: 36px;
  line-height: 1.3;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
  max-width: 480px;
  margin: 0 auto 48px;
}

.comprar-pasos-div h2 span {
  color: var(--verde-insitucional);
}

/* ---------- LISTA DE PASOS ---------- */

.compra-lista {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.compra-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ---------- IMAGEN + NÚMERO ---------- */

.compra-img {
  position: relative;
  width: 84px;
  height: 84px;
  flex-shrink: 0;
}

.compra-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.compra-img > div {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 28px;
  background-color: #22a559;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compra-img > div p {
  font-size: 0.9rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

/* ---------- CONTENIDO ---------- */

.comprar-lista-div{
  max-width: 980px;
  margin: auto;
}

.compra-content > p:first-of-type {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px;
}

.compra-content > p:last-of-type {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 20px;
  max-width: 340px;
  min-height: 120px;
}

.compra-content a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #22a559;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.compra-content a:hover {
  gap: 12px;
}

.compra-content a .icon-arrow {
  display: inline-flex;
  align-items: center;
}

.compra-content a .icon-arrow svg {
  display: block;
  width: 18px;
  height: 7px;
}

/* PREGUNTAS FRECUENTES */

.faqs-sec{
  margin: 0 20px 120px 20px;
}


.titulo-faqs {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  width: 100%;
  margin-bottom: 84px;
  justify-content: center;
}

.titulo-faqs h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--grey-textos);
  line-height: 1.15;
  max-width: 700px;
}

.titulo-faqs h2 span {
  color: var(--verde-insitucional);
}

.titulo-faqs::after {
  content: "";
  display: block;
  height: 1px;
  background-color: var(--verde-insitucional);
  opacity: 0.8;
  flex: 1;
  max-width: 420px;
}

.faqs-content{
    max-width: 780px;
    margin: auto;
}

.faqs-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-item {
  border-top: 1px solid #dedede;
}

.faq-item:last-child {
  border-bottom: 1px solid #dedede;
}

.faq-question {
  width: 100%;
  padding: 24px 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  text-align: left;
}

.faq-question h3 {
  margin: 0;
  color: #141321;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
}

.faq-arrow {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-right: 2px solid #39424e;
  border-bottom: 2px solid #39424e;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  margin-right: 4px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 44px 24px 0;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 1px;
}

.faq-answer a{
  color: var(--verde-insitucional);
  font-weight: bold;
}

/* Estado abierto */
.faq-item.is-open .faq-arrow {
  transform: rotate(-135deg);
}

.faq-item.is-open .faq-question h3 {
  color: #000;
}


@media (min-width: 768px) {

.generadores-contenido {
    flex-direction: row;
    align-items: flex-start;
  }

  .generadores-wrap {
    align-items: flex-start;
  }

   .filtros-toggle {
    display: none;
  }

  .filtros-sidebar {
    display: flex;
  }

  .filtros-sidebar {
    width: 220px;
    flex-shrink: 0;
    position: sticky;
    top: 100px; /* ajustá según la altura de tu nav */
  }

    /* ---------- CARD ---------- */

.car-card {
  flex: 0 0 46%;
}

.car-img{
      aspect-ratio: 16 / 9;
  }
/* ---------- BADGES ---------- */
   .protegido-badges {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .protegido-badges li {
    flex: 1 1 auto;
  }

  /* PASOS PARA COMPRAR */

.comprar-pasos-secc {
    padding: 84px 40px;
  }

  .comprar-pasos-div h2 {
    font-size: 2.2rem;
    max-width: 640px;
    margin-bottom: 64px;
  }

  .compra-lista {
    flex-direction: row;
  }

  .compra-item {
    flex: 1;
  }

  .compra-content > p:last-of-type {
    max-width: none;
  }

  /* PREGUNTAS FRECUENTES */

    .faqs-sec {
    margin: 144px 80px;
}

 .faq-question {
    padding: 28px 48px;
  }

  .faq-answer p {
    padding: 0 96px 28px 48px;
  }
}


@media (min-width: 1024px) {

    /* PASOS PARA COMPRAR */

  .comprar-pasos-div h2 {
    font-size: 2.4rem;
  }

  /* PREGUNTAS FRECUENTES */

     .titulo-faqs h2 {
        font-size: 36px;
  flex-shrink: 0;
}


  .faq-question {
    padding: 30px 96px;
  }

  .faq-question h3 {
    font-size: 16px;
  }

  .faq-answer p {
    padding: 0 160px 32px 96px;
    max-width: 900px;
  }

}