/* ============================================================
   Gumma / Productos
   ============================================================ */

.gm-products-page {
  background: #fff;
  color: #121212;
}

.gm-products-hero {
  padding: 92px 0 72px;
}

.gm-products-hero__eyebrow {
  margin: 0 0 22px;
  font-family: "Sora", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 19.2px;
  letter-spacing: 2.4px;
}

.gm-products-hero__title {
  max-width: 760px;
  margin: 0;
  font-family: "Avenir Next", Avenir, Arial, sans-serif;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.04;
}

.gm-catalog {
  padding: 0 0 110px;
}

.gm-catalog__layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.gm-product-filters {
  position: sticky;
  top: 110px;
}

.gm-filter {
  margin: 0 0 5px;
  overflow: hidden;
  border-radius: 9px;
  background: #f5f5f5;
}

.gm-filter__toggle {
  display: flex;
  width: 100%;
  min-height: 52px;
  padding: 0 22px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.gm-filter__title {
  font-family: "Sora", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 2.4px;
  color: #173e82;
}

.gm-filter__toggle-icon {
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #57585a;
}

.gm-filter__body {
  padding: 10px 22px 20px;
}

.gm-filter__body[hidden] {
  display: none;
}

.gm-filter__subtitle {
  margin: 18px 0 10px;
  font-family: "Sora", Arial, sans-serif;
  font-size: 10px;
  line-height: 16px;
  color: #57585a;
}

.gm-filter-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 12px;
  cursor: pointer;
  font-family: "Sora", Arial, sans-serif;
  font-size: 11px;
  line-height: 16px;
}

.gm-filter-option input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #121212;
}

.gm-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 12px;
}

.gm-product-card {
  min-width: 0;
  color: #121212;
  text-decoration: none;
}

.gm-product-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1.06 / 1;
  overflow: hidden;
  border-radius: 9px;
  background: #f1f1f1;
}

.gm-product-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gm-product-card__category {
  position: absolute;
  top: 28px;
  left: 20px;
  z-index: 2;
  display: inline-flex;
  min-height: 36px;
  padding: 0 17px;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  background: #fff;
  font-family: "Sora", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 14px;
}

.gm-product-card__category::before {
  width: 7px;
  height: 7px;
  background: #e9cf49;
  content: "";
}

.gm-product-card__overlay {
  position: absolute;
  right: 18px;
  bottom: 24px;
  left: 18px;
  z-index: 2;
  padding: 22px 24px;
  border-radius: 10px;
  background: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.gm-product-card:hover .gm-product-card__overlay,
.gm-product-card:focus-visible .gm-product-card__overlay {
  opacity: 1;
  transform: translateY(0);
}

.gm-product-card:hover .gm-product-card__img {
  transform: scale(1.02);
}

.gm-product-card__description {
  margin: 0 0 18px;
  font-family: "Sora", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 17px;
  color: #57585a;
}

.gm-product-card__segment {
  display: inline-flex;
  padding: 5px 10px;
  align-items: center;
  border: 1px solid #87929a;
  border-radius: 6px;
  font-family: "Sora", Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  line-height: 13px;
}

.gm-product-card__name {
  margin: 10px 14px 0;
  font-family: "Avenir Next", Avenir, Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 23px;
}

.gm-product-empty {
  padding: 50px 0;
  font-family: "Sora", Arial, sans-serif;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .gm-catalog__layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 30px;
  }

  .gm-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .gm-products-hero {
    padding: 44px 0 38px;
  }

  .gm-products-hero__eyebrow {
    display: none;
  }

  .gm-products-hero__title {
    max-width: 340px;
    font-size: 32px;
    line-height: 35px;
  }

  .gm-catalog {
    padding-bottom: 70px;
  }

  .gm-catalog__layout {
    display: block;
  }

  .gm-product-filters {
    position: static;
    margin-bottom: 42px;
  }

  .gm-filter {
    margin-bottom: 5px;
  }

  .gm-filter__body {
    padding-right: 18px;
    padding-left: 18px;
  }

  .gm-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 14px;
  }

  .gm-product-card__media {
    border-radius: 0;
  }

  .gm-product-card__category {
    top: 10px;
    left: 8px;
    min-height: 27px;
    padding: 0 9px;
    font-size: 8px;
  }

  .gm-product-card__category::before {
    width: 6px;
    height: 6px;
  }

  .gm-product-card__overlay {
    display: none;
  }

  .gm-product-card__name {
    margin: 8px 0 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
  }
}