/* ==========================================================================
   Product section — Browse by Product
   Prefix: productsec-
   ========================================================================== */

.productsec {
  --productsec-purple: #300080;
  --productsec-border: #e0d9f5;
  --productsec-heading: #17112c;
  --productsec-text: #555555;
  --productsec-shadow: 0 10px 30px rgba(150, 130, 230, 0.15);
  padding: 3.25rem 0 4rem;
  background: #f8f9fc;
}

.productsec-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.productsec-title {
  margin: 0 0 0.4rem;
  font-size: 32px;
  font-weight: 800;
  color: #1f1f1f;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.productsec-caption {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #6f6f6f;
}

.productsec-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.productsec-card {
  background: #fff;
  border: 1px solid var(--productsec-border);
  border-radius: 15px;
  box-shadow: var(--productsec-shadow);
  padding: 2.75rem 2.5rem 0;
  overflow: visible;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.productsec-card:hover {
  border-color: #d4c8f0;
  box-shadow: 0 14px 38px rgba(150, 130, 230, 0.2);
}

.productsec-card--observe {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.productsec-card--observe.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.productsec-card-inner {
  --bs-gutter-x: 2rem;
}

.productsec-content {
  /* width: 100%; */
  max-width: 100%;
  padding-bottom: 2.75rem;
}

.productsec-logo {
  display: block;
  width: min(100%, 235px);
  height: auto;
  margin-bottom: 1.35rem;
}

.productsec-heading {
  margin: 0 0 1rem;
  max-width: 100%;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--productsec-heading);
}

.productsec-description {
  margin: 0 0 1.5rem;
  max-width: 100%;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--productsec-text);
}

.productsec-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.62rem 1.55rem;
  border: 0;
  border-radius: 999px;
  background: var(--productsec-purple);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.productsec-btn:hover {
  color: #fff;
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(48, 0, 128, 0.28);
}

.productsec-btn:focus-visible {
  color: #fff;
  outline: 2px solid #6d4fc7;
  outline-offset: 2px;
}

.productsec-btn i {
  font-size: 1.15rem;
  line-height: 1;
  margin-top: 0.05rem;
}

.productsec-media {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 160px;
  padding-top: 0.5rem;
}

.productsec-image {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: bottom center;
  margin-bottom: 0;
  /* filter: drop-shadow(0 14px 28px rgba(28, 22, 48, 0.14)); */
  transition: transform 0.3s ease;
}

.productsec-card:hover .productsec-image {
  transform: translateY(-4px);
}

/* Responsive */
@media (max-width: 991.98px) {
  .productsec {
    padding: 2.75rem 0 3.25rem;
  }

  .productsec-card {
    padding: 2rem 1.5rem 0;
  }

  .productsec-content {
    padding-bottom: 1.5rem;
  }

  .productsec-media {
    min-height: 0;
    padding-top: 0;
  }

  .productsec-image {
    max-width: 100%;
    max-height: 180px;
    margin-inline: auto;
  }

  .productsec-heading,
  .productsec-description {
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .productsec-title {
    font-size: 26px;
  }

  .productsec-list {
    gap: 1.75rem;
  }

  .productsec-card {
    padding: 1.5rem 1.15rem 0;
    border-radius: 12px;
  }

  .productsec-logo {
    width: min(100%, 200px);
    margin-bottom: 1rem;
  }

  .productsec-heading {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
  }

  .productsec-description {
    font-size: 0.95rem;
    margin-bottom: 1.15rem;
  }

  .productsec-btn {
    font-size: 0.85rem;
    padding: 0.55rem 1.25rem;
  }

  .productsec-image {
    max-height: 150px;
  }
}
