/* RELM Bespoke shop styles (shop.html + homepage "Shop our products").
   Built so the same cards can later take a price and an "Add to basket" button. */

.shop-hero {
  padding: 140px 0 40px;
}
.shop-hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 16px;
}
.shop-hero p {
  max-width: 640px;
  color: #4a4a4a;
  font-size: 1.05rem;
  line-height: 1.7;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.product-grid--compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(28, 28, 28, 0.06);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(28, 28, 28, 0.1);
}
.product-card__media {
  display: block;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  padding: 18px;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 4px 24px 24px;
}
.product-card__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #66715f;
  font-weight: 700;
  margin-bottom: 8px;
}
.product-card__title {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 500;
  margin-bottom: 10px;
}
.product-card__summary {
  color: #4a4a4a;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 14px;
}
.product-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.product-card__features li {
  font-size: 0.78rem;
  background: #f1f1ea;
  color: #3d4639;
  border-radius: 999px;
  padding: 5px 10px;
}
/* Reserved for the future shop: price line and basket button */
.product-card__price {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.product-card__actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.product-card__actions .button-primary {
  width: 100%;
  text-align: center;
  white-space: nowrap;
}

.product-grid--compact .product-card__body {
  padding: 2px 18px 18px;
}
.product-grid--compact .product-card__title {
  font-size: 1.05rem;
}

.home-shop .section-intro {
  margin-bottom: 36px;
}
.home-shop__more {
  text-align: center;
  margin-top: 36px;
}

.shop-note {
  margin-top: 48px;
  text-align: center;
  color: #4a4a4a;
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .shop-hero {
    padding: 110px 0 24px;
  }
  .product-grid,
  .product-grid--compact {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .product-card__body {
    padding: 2px 14px 16px;
  }
  .product-card__summary,
  .product-card__features {
    display: none;
  }
  .product-card__title {
    font-size: 1rem;
  }
  .product-card__actions .button-primary {
    font-size: 0.85rem;
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Product detail pages (made-to-measure-shelves.html etc.) */
.product-page {
  padding: 120px 0 0;
}
.breadcrumbs {
  font-size: 0.85rem;
  color: #6a6a6a;
  margin-bottom: 24px;
}
.breadcrumbs a {
  color: #66715f;
}
.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.product-hero__media {
  background: #ffffff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(28, 28, 28, 0.06);
}
.product-hero__media img {
  width: 100%;
  height: auto;
  display: block;
}
.product-hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 4.5vw, 3.3rem);
  line-height: 1.1;
  margin-bottom: 18px;
}
.product-hero__lead {
  color: #4a4a4a;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 22px;
}
.product-hero .product-card__features {
  margin-bottom: 26px;
}
.product-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.product-hero__note {
  font-size: 0.88rem;
  color: #6a6a6a;
}
.product-section {
  padding: 72px 0;
}
.product-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 20px;
}
.product-section p,
.product-section li {
  color: #3f3f3f;
  line-height: 1.7;
}
.product-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.product-steps li {
  background: #ffffff;
  border-radius: 18px;
  padding: 22px;
  position: relative;
}
.product-steps li::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #66715f;
  color: #ffffff;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 12px;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid #ecebe4;
  vertical-align: top;
}
.spec-table th {
  width: 34%;
  font-weight: 600;
  color: #1c1c1c;
}
.product-faq details {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 12px;
}
.product-faq summary {
  cursor: pointer;
  font-weight: 600;
}
.product-faq details p {
  margin: 12px 0 0;
}
.product-card__title a {
  color: inherit;
  text-decoration: none;
}
@media (max-width: 860px) {
  .product-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .product-page {
    padding-top: 100px;
  }
  .product-section {
    padding: 48px 0;
  }
}
.product-card__more {
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  color: #66715f;
  text-decoration: underline;
  text-underline-offset: 3px;
}
