/* Product page specific styles – copied from home.css to match index exactly */

/* Badge Styles */
.section-badge {
  display: inline-block;
  background: radial-gradient(88% 75% at 50% 50%,
      #3A4091 37.445453265765764%,
      #6469C0 83.41427364864865%);
  border-radius: 64px;
  box-shadow: rgba(58, 64, 145, 0.01) 0px 0.421531px 1.26459px -0.416667px,
    rgba(58, 64, 145, 0.01) 0px 1.60197px 4.80592px -0.833333px,
    rgba(58, 64, 145, 0.03) 0px 7px 21px -1.25px;
  opacity: 1;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
  text-align: center;
  line-height: 1;
}

@media (max-width: 768px) {
  .section-badge {
    font-size: 0.7rem !important;
    padding: 0.4rem 0.8rem !important;
    margin-bottom: 0.75rem !important;
  }
}

/* Section Styles */
.section {
  padding: 2rem 0 5rem 0;
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg,
      rgba(58, 64, 145, 0.01) 0%,
      transparent 20%,
      transparent 80%,
      rgba(58, 64, 145, 0.01) 100%);
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .section {
    padding: 2rem 0 !important;
  }

  .section-header {
    margin-bottom: 3rem !important;
  }

  .section-title {
    font-size: 1.8rem !important;
  }
}

.section-title {
  font-size: 2.2rem;
  /* 35.2px */
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(135deg,
      var(--foreground) 0%,
      var(--wood-primary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

.section-title .highlight {
  background: linear-gradient(135deg,
      var(--wood-primary) 0%,
      var(--wood-secondary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
  text-align: center;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .section-description {
    font-size: 1rem !important;
    max-width: 90% !important;
  }
}

/* Products showcase (3 items like reference) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-showcase-item {
  position: relative;
  background-color: #FFFFFF;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border: 1px solid #e1e4eb;
  border-radius: 24px;
  padding: 1.5rem 1.5rem 2rem;
  box-shadow: 0 0 0 6px #fff, 0 22px 30px #8c96a91a, 0 7px 6px #8c96a91f;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.product-showcase-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 6px #fff, 0 32px 40px #8c96a91a, 0 12px 16px #8c96a91f;
  text-decoration: none;
  color: inherit;
}

.product-showcase-item:hover .product-visual {
  transform: scale(1.02);
}

.product-showcase-item::before {
  content: "";
  position: absolute;
  inset: 0;
  display: none;
  z-index: 0;
  pointer-events: none;
}

.product-title {
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 600;
  text-align: center;
  color: rgba(58, 64, 145, 0.9);
  margin: auto 0 0 0;
  position: relative;
  z-index: 2;
  text-transform: capitalize;
}

.product-visual {
  display: block;
  width: 100%;
  height: clamp(280px, 35vw, 380px);
  border-radius: 16px;
  object-fit: contain;
  object-position: center;
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
  transition: transform 0.4s ease;
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .product-showcase-item {
    padding: 1.5rem 1.25rem 2rem !important;
    border-radius: 20px !important;
  }

  .product-title {
    font-size: 1.4rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 480px) {
  .products-grid {
    gap: 1rem !important;
  }

  .product-showcase-item {
    padding: 1.25rem 1rem 1.5rem !important;
    border-radius: 16px !important;
  }

  .product-title {
    font-size: 1.125rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0 !important;
  }
}
