/*
 *  SHOP PAGE CSS — shop-page.css
 *  Additive only — extends brand.css / single-page.css without redefining
 *  any of their classes.
 *  Include on shop.html alongside brand.css + single-page.css.
 *
 *  TABLE OF CONTENTS
 *  1. Narrow container utility
 *  2. Disclosure section spacing
 *  3. Product cards
 */

/* ─── 1. NARROW CONTAINER ───────────────────────────────────────────── */
.container--narrow {
  max-width: 780px;
}

/* ─── 2. DISCLOSURE SECTION ─────────────────────────────────────────── */
.shop-disclosure-section {
  padding-top: var(--sp-md);
  padding-bottom: var(--sp-md);
}

/* ─── 3. PRODUCT CARDS ──────────────────────────────────────────────── */
.shop-product {
  background: var(--warm-cream);
  border-top: var(--border-terra);
  border-radius: 4px;
  overflow: hidden;
}

.shop-product__photo-placeholder {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--soft-ivory);
  color: var(--sage);
  font-family: var(--mont);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: center;
  padding: var(--sp-sm);
}

.shop-product__placeholder-icon {
  width: 34px;
  height: 34px;
  opacity: 0.55;
}

/* Real product photo (shop-products/*.md → images/shop/<slug>.webp) reuses
   the same aspect-ratio box as the placeholder — object-fit makes it cover
   the box regardless of the source image's actual dimensions. */
.shop-product__photo-placeholder img:not(.shop-product__placeholder-icon) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-product__body {
  padding: var(--sp-sm) var(--sp-md) var(--sp-md);
}

.shop-product__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs);
}

.shop-product--featured {
  position: relative;
  border-top: none;
  box-shadow: 0 6px 24px rgba(193, 87, 58, 0.18);
  outline: 2px solid var(--terracotta);
  outline-offset: -2px;
}

.shop-product__badge {
  background: var(--terracotta);
  color: #fff;
  font-family: var(--mont);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  padding: 6px var(--sp-xs);
}
