/* product-section.css */

/* Variables (inherited from main.css) */
:root {
  --gutter: 2rem;
  --spacer: 1rem;
  --font-heading: "futura-pt", sans-serif;
  --nav-dark: #003B5C;
  --accent: #99d6ea;
}

/* Container styling */
.product-section {
  background: #fff;
  padding-top: 0;
}

/* Headline section */
.custom-featured .headline-section {
  text-align: center;
  margin-bottom: calc(var(--gutter) * 2);
  padding-top: 20px;
}
.custom-featured .headline-section .product-hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--nav-dark);
  letter-spacing: 2px;
  margin: 0;
}
.custom-featured .headline-section .product-hero-title-two {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--nav-dark);
  letter-spacing: 2px;
  margin-top: 0.5rem;
}

/* Grid layout for products */
.product-section .inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gutter);
  max-width: 1200px;
  margin: 0 auto 2rem;
  justify-items: center;
}

/* Individual cards */
.inner-item {
  background: #fff;
  border-radius: 8px;
  padding: calc(var(--spacer) * 1.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  width: 100%;
  max-width: 300px;
}
.inner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Image styling */
.inner-item .img-wrap img,
img.drop-shadow-img {
  width: 150px;
  height: auto;
  object-fit: contain;
  transition: transform 0.2s ease-in-out;
}
.inner-item .img-wrap img:hover,
img.drop-shadow-img:hover {
  transform: scale(1.1);
}

/* Button labels */
p.btn.btn-small,
.btn-small {
  display: inline-block;
  margin-top: var(--spacer);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--nav-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

a:hover {
  text-decoration: underline;
  color: var(--nav-dark);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .inner {
    grid-template-columns: 1fr;
  }
  .custom-featured .headline-section .product-hero-title {
    font-size: 2.25rem;
  }
  .custom-featured .headline-section .product-hero-title-two {
    font-size: 1.5rem;
  }
  .inner-item .img-wrap img {
    width: 120px;
  }
}
