/* =========================================================
   GENTOX PRODUCTS PAGE
========================================================= */

/* =========================================================
   HERO
========================================================= */

.gentox-products-hero {
  position: relative;
  overflow: hidden;
}

.gentox-products-hero::after {
  content: "";
  position: absolute;

  width: 480px;
  height: 480px;

  right: -200px;
  top: -250px;

  border-radius: 50%;

  background: rgba(123, 203, 53, 0.12);

  pointer-events: none;
}

.gentox-products-hero h1 {
  position: relative;
  z-index: 2;

  max-width: 800px;
}

.gentox-products-hero h1 span {
  color: var(--gentox-lime);
}

.gentox-products-hero p {
  position: relative;
  z-index: 2;

  max-width: 700px;
}

/* =========================================================
   SECTION
========================================================= */

.gentox-products-section {
  background: var(--gentox-bg);
}

/* =========================================================
   SECTION HEADING
========================================================= */

.gentox-products-heading {
  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  gap: 50px;

  margin-bottom: 40px;
}

.gentox-products-heading > div {
  max-width: 650px;
}

.gentox-products-heading h2 {
  margin: 0;

  color: var(--gentox-text);

  font-size: clamp(30px, 4vw, 44px);

  line-height: 1.2;
}

.gentox-products-heading h2 span {
  color: var(--gentox-primary);
}

.gentox-products-heading > p {
  max-width: 430px;

  margin: 0;

  color: var(--gentox-text-light);

  font-size: 15px;

  line-height: 1.8;
}

/* =========================================================
   CATEGORY FILTER
========================================================= */

.gentox-product-filters {
  display: flex;

  flex-wrap: wrap;

  gap: 10px;

  margin-bottom: 45px;

  padding: 8px;

  background: var(--gentox-white);

  border: 1px solid var(--gentox-border);

  border-radius: 12px;
}

.gentox-product-filter {
  border: 0;

  padding: 11px 18px;

  border-radius: 8px;

  background: transparent;

  color: var(--gentox-text-light);

  font-family: inherit;

  font-size: 13px;
  font-weight: 600;

  cursor: pointer;

  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.gentox-product-filter:hover {
  color: var(--gentox-primary);

  background: var(--gentox-light-green);
}

.gentox-product-filter.active {
  color: var(--gentox-white);

  background: var(--gentox-primary);

  box-shadow: 0 7px 18px rgba(23, 107, 58, 0.18);
}

/* =========================================================
   PRODUCT GRID
========================================================= */

.gentox-products-grid {
  position: relative;
}

/* =========================================================
   PRODUCT CARD
========================================================= */

.gentox-product-card {
  height: 100%;

  overflow: hidden;

  background: var(--gentox-white);

  border: 1px solid var(--gentox-border);

  border-radius: 16px;

  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.045);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.gentox-product-card:hover {
  transform: translateY(-7px);

  border-color: rgba(23, 107, 58, 0.22);

  box-shadow: 0 22px 45px rgba(16, 24, 40, 0.1);
}

/* =========================================================
   PRODUCT IMAGE
========================================================= */

.gentox-product-image {
  position: relative;

  height: 310px;

  overflow: hidden;

  background: linear-gradient(145deg, #f4f9f1, #edf5e9);
}

.gentox-product-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: contain;

  padding: 25px;

  transition: transform 0.5s ease;
}

.gentox-product-card:hover .gentox-product-image img {
  transform: scale(1.06);
}

/* =========================================================
   BADGE
========================================================= */

.gentox-product-badge {
  position: absolute;

  top: 16px;
  left: 16px;

  z-index: 3;

  padding: 7px 11px;

  color: var(--gentox-primary);

  background: rgba(255, 255, 255, 0.94);

  border: 1px solid rgba(23, 107, 58, 0.1);

  border-radius: 7px;

  font-size: 10px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.04em;
}

/* =========================================================
   IMAGE OVERLAY
========================================================= */

.gentox-product-image-overlay {
  position: absolute;

  inset: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  background: rgba(23, 107, 58, 0.52);

  opacity: 0;

  transition: opacity 0.3s ease;
}

.gentox-product-card:hover .gentox-product-image-overlay {
  opacity: 1;
}

.gentox-product-image-overlay a {
  width: 50px;
  height: 50px;

  display: flex;

  align-items: center;
  justify-content: center;

  color: var(--gentox-primary);

  background: var(--gentox-white);

  border-radius: 50%;

  text-decoration: none;

  transform: translateY(12px);

  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

.gentox-product-card:hover .gentox-product-image-overlay a {
  transform: translateY(0);
}

.gentox-product-image-overlay a:hover {
  color: var(--gentox-white);

  background: var(--gentox-primary);
}

/* =========================================================
   PRODUCT CONTENT
========================================================= */

.gentox-product-content {
  padding: 25px;
}

.gentox-product-category {
  display: block;

  margin-bottom: 8px;

  color: var(--gentox-primary);

  font-size: 11px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.07em;
}

.gentox-product-content h3 {
  min-height: 52px;

  margin: 0 0 12px;

  color: var(--gentox-text);

  font-size: 19px;

  line-height: 1.4;

  font-weight: 700;
}

.gentox-product-content p {
  min-height: 50px;

  margin: 0 0 20px;

  color: var(--gentox-text-light);

  font-size: 13.5px;

  line-height: 1.7;
}

/* =========================================================
   PRODUCT LINK
========================================================= */

.gentox-product-link {
  display: inline-flex;

  align-items: center;

  gap: 9px;

  color: var(--gentox-primary);

  font-size: 13px;

  font-weight: 700;

  text-decoration: none;

  transition:
    gap 0.25s ease,
    color 0.25s ease;
}

.gentox-product-link:hover {
  color: var(--gentox-primary);

  gap: 14px;
}

.gentox-product-link i {
  font-size: 11px;
}

/* =========================================================
   HIDDEN PRODUCT
========================================================= */

.gentox-product-item {
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.gentox-product-item.gentox-product-hidden {
  display: none;
}

/* =========================================================
   EMPTY MESSAGE
========================================================= */

.gentox-products-empty {
  display: none;

  padding: 60px 20px;

  text-align: center;

  background: var(--gentox-white);

  border: 1px solid var(--gentox-border);

  border-radius: 15px;
}

.gentox-products-empty.show {
  display: block;
}

.gentox-products-empty i {
  margin-bottom: 15px;

  color: var(--gentox-primary);

  font-size: 35px;
}

.gentox-products-empty h3 {
  margin-bottom: 8px;

  color: var(--gentox-text);

  font-size: 20px;
}

.gentox-products-empty p {
  margin: 0;

  color: var(--gentox-text-light);

  font-size: 14px;
}

/* =========================================================
   CTA
========================================================= */

.gentox-products-cta {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 40px;

  margin-top: 75px;

  padding: 45px 50px;

  background: linear-gradient(120deg, var(--gentox-primary), #0f552e);

  border-radius: 18px;

  overflow: hidden;

  position: relative;
}

.gentox-products-cta::after {
  content: "";

  position: absolute;

  width: 300px;
  height: 300px;

  right: -120px;
  top: -150px;

  border-radius: 50%;

  background: rgba(123, 203, 53, 0.13);

  pointer-events: none;
}

.gentox-products-cta-content {
  position: relative;

  z-index: 2;
}

.gentox-products-cta .gentox-section-kicker {
  color: var(--gentox-lime);
}

.gentox-products-cta h2 {
  max-width: 650px;

  margin: 0 0 10px;

  color: var(--gentox-white);

  font-size: clamp(25px, 3vw, 36px);

  line-height: 1.25;
}

.gentox-products-cta p {
  max-width: 600px;

  margin: 0;

  color: rgba(255, 255, 255, 0.75);

  font-size: 14px;

  line-height: 1.7;
}

.gentox-products-cta-actions {
  position: relative;

  z-index: 2;

  display: flex;

  align-items: center;

  gap: 12px;

  flex-shrink: 0;
}

/* =========================================================
   CTA BUTTON OVERRIDES
========================================================= */

.gentox-products-cta .gentox-btn-outline {
  color: var(--gentox-white);

  border-color: rgba(255, 255, 255, 0.35);
}

.gentox-products-cta .gentox-btn-outline:hover {
  color: var(--gentox-primary);

  background: var(--gentox-white);

  border-color: var(--gentox-white);
}

/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1199.98px) {
  .gentox-product-image {
    height: 280px;
  }

  .gentox-product-content {
    padding: 22px;
  }

  .gentox-products-cta {
    padding: 40px;
  }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {
  .gentox-products-heading {
    align-items: flex-start;

    flex-direction: column;

    gap: 18px;
  }

  .gentox-products-heading > p {
    max-width: 650px;
  }

  .gentox-product-filters {
    overflow-x: auto;

    flex-wrap: nowrap;

    scrollbar-width: thin;
  }

  .gentox-product-filter {
    flex-shrink: 0;
  }

  .gentox-product-image {
    height: 300px;
  }

  .gentox-products-cta {
    flex-direction: column;

    align-items: flex-start;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {
  .gentox-products-section {
    padding-top: 55px;
    padding-bottom: 55px;
  }

  .gentox-products-heading {
    margin-bottom: 30px;
  }

  .gentox-products-heading h2 {
    font-size: 29px;
  }

  .gentox-product-filters {
    margin-bottom: 30px;
  }

  .gentox-product-image {
    height: 280px;
  }

  .gentox-product-content h3 {
    min-height: auto;
  }

  .gentox-product-content p {
    min-height: auto;
  }

  .gentox-products-cta {
    margin-top: 50px;

    padding: 30px 25px;
  }

  .gentox-products-cta-actions {
    width: 100%;

    flex-direction: column;

    align-items: stretch;
  }

  .gentox-products-cta-actions .gentox-btn {
    justify-content: center;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575.98px) {
  .gentox-products-heading h2 {
    font-size: 26px;
  }

  .gentox-product-image {
    height: 260px;
  }

  .gentox-product-content {
    padding: 20px;
  }

  .gentox-product-content h3 {
    font-size: 18px;
  }

  .gentox-products-cta {
    padding: 27px 20px;
  }
}
