/* ── Showcase section ── */
.products-showcase {
  background: #fff;
  padding: 0 0 48px;
}

.products-showcase__eyebrow {
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9d3b16;
  margin-bottom: 10px;
}

.products-showcase__title {
  text-align: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 40px;
}

.products-showcase__layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 20px;
  align-items: stretch;
}

.products-showcase__layout + .products-showcase__layout {
  margin-top: 20px;
}

.products-showcase__layout--reversed {
  grid-template-columns: 1.6fr 1fr;
}

/* Banner */
.products-banner {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 520px;
  background: #e8ecf1;
}

.products-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.products-banner:hover img {
  transform: scale(1.04);
}

.products-banner__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  background: rgba(12, 31, 63, 0.45);
  color: #fff;
}

.products-banner__tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.9;
}

.products-banner__heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 12px;
  max-width: 320px;
}

.products-banner__sub {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.9;
  max-width: 280px;
  line-height: 1.5;
}

/* ── Product grid ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.products-grid--featured {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.products-section {
  background: #fff;
  padding: 0 0 56px;
}

.products-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.products-section__head--compact {
  margin-bottom: 16px;
}

.products-section__title,
.products-section__subtitle {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 0;
}

.products-section__subtitle {
  font-size: clamp(20px, 2.5vw, 26px);
}

.products-section__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #9d3b16;
  border: 1px solid #e8c4b4;
  border-radius: 4px;
  padding: 10px 16px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.products-section__more:hover {
  background: #9d3b16;
  border-color: #9d3b16;
  color: #fff;
}

.products-section__title {
  margin-bottom: 28px;
}

.products-section__head .products-section__title {
  margin-bottom: 0;
}

/* ── Product card ── */
.product-card {
  background: #fff;
  border: 1px solid #eef1f5;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s;
}

.product-card:hover {
  box-shadow: 0 4px 20px rgba(12, 31, 63, 0.08);
}

.product-card__media {
  position: relative;
  background: #f0f2f5;
  aspect-ratio: 1;
  overflow: hidden;
}

.product-card__media > a {
  display: block;
  width: 100%;
  height: 100%;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.05);
}

/* Badges */
.product-card__badge {
  position: absolute;
  z-index: 2;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 3px;
  background: #fff;
}

.product-card__badge--deal {
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  color: #3d4a5c;
  background: #fef3c7;
}

.product-card__badge--sold {
  top: 12px;
  left: 12px;
  color: #9d3b16;
}

/* Color swatches */
.product-card__swatches {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px 0;
}

.product-card__swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--swatch);
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s;
}

.product-card__swatch.is-active {
  border-color: #3d4a5c;
  box-shadow: 0 0 0 1px #fff inset;
}

.product-card__swatch-all {
  font-size: 12px;
  color: #6b7a8d;
  margin-left: 4px;
}

/* Body */
.product-card__body {
  padding: 14px 14px 10px;
  flex: 1;
}

.product-card__price {
  font-size: 13px;
  color: #6b7a8d;
  margin-bottom: 6px;
}

.product-card__title {
  font-size: 14px;
  font-weight: 600;
  color: #1a2b4a;
  line-height: 1.4;
}

.product-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.product-card__title a:hover {
  color: #9d3b16;
}

/* Footer */
.product-card__footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px dotted #d5dbe3;
  margin-top: auto;
}

.product-card__side {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.product-card__side--icons {
  margin-left: auto;
}

.product-card__cart,
.product-card__soldout {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #1a2b4a;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  white-space: nowrap;
  transition: color 0.2s;
}

.product-card__cart svg,
.product-card__soldout svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.product-card__cart:hover {
  color: #9d3b16;
}

.product-card__soldout {
  cursor: default;
  color: #6b7a8d;
}

.product-card__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-top: 0;
}

.product-card__actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: none;
  background: none;
  color: #9aa5b4;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.product-card__actions button svg {
  width: 16px;
  height: 16px;
}

.product-card__actions button:hover {
  color: #1a2b4a;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .products-showcase__layout {
    grid-template-columns: 1fr;
  }

  .products-showcase__layout:not(.products-showcase__layout--reversed) .products-showcase__products {
    order: 1;
  }

  .products-showcase__layout:not(.products-showcase__layout--reversed) .products-banner {
    order: 2;
  }

  .products-banner {
    min-height: 360px;
  }

  .products-grid--featured {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .products-showcase {
    padding: 0 0 32px;
  }

  .products-showcase__title {
    margin-bottom: 28px;
  }

  .products-banner {
    min-height: 280px;
  }

  .products-grid--featured,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-card__title {
    font-size: 13px;
  }

  .product-card__footer {
    flex-wrap: wrap;
    gap: 8px;
  }
}
