/* Top hero / intro */
.products-hero {
  background-color: var(--color-surface-muted);
  border-bottom: 1px solid var(--color-border-subtle);
}

.products-hero-heading {
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: var(--color-heading);
  margin-bottom: 0.75rem;
}

.products-hero-text {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 40rem;
  margin: 0 auto;
}

/* ------- CARD GRID ------- */

.products-grid-section .product-card {
  background-color: var(--color-surface);
  border-radius: 1rem;
  border: 1px solid var(--color-border-subtle);
  overflow: hidden; /* prevent image overflow */
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  height: 100%;
  box-sizing: border-box;
}

.products-grid-section .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

/* Fixed-height image area */
.products-grid-section .product-card-image-wrapper {
  width: 100%;        
  height: 220px;           /* fixed height for all product images */
  overflow: hidden;
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.products-grid-section .product-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* crops smartly */
  display: block;
}


/* Card content */
.products-grid-section .product-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
}

.products-grid-section .product-card-title {
  color: var(--color-heading);
}

.products-grid-section .product-card-text {
  color: var(--color-text-body);
  font-size: 0.95rem;
}

.products-grid-section .product-card .btn-brand {
  padding: 0.65rem 1.25rem;   /* reduce height */
  font-size: 0.95rem;         /* refined size */
}

.product-card-details-hint {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.product-card-details-hint .bi {
  transition: transform 0.15s ease;
}

.product-card{
  cursor: pointer;
}

/* When card is hovered, make it clear it's clickable */
.product-card:hover .product-card-details-hint {
  color: var(--color-brand-primary);
}

.product-card:hover .product-card-details-hint .bi {
  transform: translateX(2px);
}

.product-card:hover .product-card-title {
  text-decoration: underline;
}


.products-grid-section .product-card .btn-outline-dark {
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
  /* border-radius: 999px;       match pill shape */
}

.btn-outline-dark:hover,.btn-outline-dark:focus {
  /* background-color: #FFFFFF; */
  color: var(--color-brand-primary);
  /* transform: translateY(-2px); */
}


/* FAQ styles */

.faq-heading {
  color: var(--color-heading);
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 600;
}

.faq-subtext {
  color: var(--color-text-muted);
  max-width: 42rem;
  margin: 0 auto 1rem;
}

.accordion-item {
  border: 1px solid var(--color-border-subtle);
  border-radius: 0.75rem;
  /* offset: -2px  ; */
  /* overflow: hidden;   */
  margin-bottom: 1rem;
}

.accordion-button {
  background-color: var(--color-surface);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-heading);
}

.accordion-button:not(.collapsed) {
  background-color: var(--color-surface-muted);
  color: var(--color-heading);
  box-shadow: none;
}

/* .accordion-button:focus {
  box-shadow: none;
} */

.accordion-body {
  background: var(--color-surface);
  color: var(--color-text-body);
}
   

/* Optional: also slightly change background on focus */
.accordion-button:focus-visible {
  background-color: #f3f7ea; /* soft green-tinted background */
  
}



