/* ==========================================================================
   Products Page — premium layout matching About / site system
   Fonts: Playfair Display + Inter
   Colors: primary #0b0c0c, secondary #775928, gold #B08D57, surface #f9f9f9
   ========================================================================== */

.site-main--products {
  --hp-gutter: 24px;
  --hp-section-y: clamp(3rem, 6vw, 5rem);
  --hp-container-x: 5%;
  --hp-max: 1440px;
  --hp-radius: 12px;
  --hp-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08), 0 4px 10px -5px rgba(0, 0, 0, 0.04);
  --hp-shadow-hover: 0 20px 40px -12px rgba(0, 0, 0, 0.14);

  overflow-x: hidden;
  padding-top: 0 !important;
  background: var(--color-surface);
  font-family: var(--font-body);
  color: var(--color-on-surface);
}

.site-main--products ::selection {
  background-color: var(--color-secondary-fixed);
  color: var(--color-on-secondary-fixed);
}

.site-main--products .hp-container {
  width: 100%;
  max-width: var(--hp-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--hp-container-x);
  padding-right: var(--hp-container-x);
  box-sizing: border-box;
}

/* ── Shared type ── */
.pp-section {
  padding-top: var(--hp-section-y);
  padding-bottom: var(--hp-section-y);
  background: var(--color-surface);
}

.pp-section--soft {
  background: var(--color-surface-container-low);
}

.pp-label {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin: 0 0 12px;
}

.pp-title {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary);
  margin: 0;
}

.pp-section-head {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.pp-section-head__line {
  width: 48px;
  height: 2px;
  background: var(--color-accent-gold, #b08d57);
  margin: 20px auto 0;
}

.pp-empty {
  text-align: center;
  color: var(--color-on-surface-variant);
  margin: 0;
}

/* ══════════════════════════════════════
   HERO — matches About page treatment
   ══════════════════════════════════════ */
.pp-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(480px, 62vh, 720px);
  padding: 140px 0 72px;
  overflow: hidden;
}

.pp-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.02);
}

.pp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 12, 12, 0.35) 0%,
    rgba(11, 12, 12, 0.45) 40%,
    rgba(11, 12, 12, 0.78) 100%
  );
  z-index: 1;
}

.pp-hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.pp-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.pp-hero__eyebrow-line {
  width: 48px;
  height: 1px;
  background: var(--color-accent-gold, #b08d57);
  flex-shrink: 0;
}

.pp-hero__eyebrow-text {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-gold, #b08d57);
}

.pp-hero__title {
  font-family: var(--font-headline);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 20px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.pp-hero__desc {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 560px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

/* ══════════════════════════════════════
   CATEGORY CARDS
   ══════════════════════════════════════ */
.pp-categories__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.5vw, 28px);
}

@media (min-width: 768px) {
  .pp-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pp-stone-card {
  position: relative;
  display: block;
  height: min(480px, 68vh);
  min-height: 380px;
  overflow: hidden;
  border-radius: var(--hp-radius);
  border: 1px solid rgba(196, 199, 199, 0.35);
  box-shadow: var(--hp-shadow);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.pp-stone-card:hover {
  box-shadow: var(--hp-shadow-hover);
  transform: translateY(-4px);
}

.pp-stone-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.pp-stone-card__image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.33, 1, 0.68, 1);
}

.pp-stone-card:hover .pp-stone-card__image {
  transform: scale(1.06);
}

.pp-stone-card__gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(11, 12, 12, 0.92) 0%,
    rgba(11, 12, 12, 0.45) 42%,
    rgba(11, 12, 12, 0.12) 100%
  );
}

.pp-stone-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 3vw, 36px);
  transition: transform 0.45s ease;
}

.pp-stone-card:hover .pp-stone-card__body {
  transform: translateY(-8px);
}

.pp-stone-card__tagline {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-gold, #b08d57);
  margin: 0 0 10px;
}

.pp-stone-card__title {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 12px;
}

.pp-stone-card__desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 20px;
  max-width: 28rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pp-stone-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  background: #fff;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease;
}

.pp-stone-card__btn .material-symbols-outlined {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.pp-stone-card:hover .pp-stone-card__btn {
  background: var(--color-secondary-fixed, #ffdeae);
}

.pp-stone-card:hover .pp-stone-card__btn .material-symbols-outlined {
  transform: translateX(4px);
}

@media (max-width: 767px) {
  .pp-stone-card {
    min-height: 360px;
  }

  .pp-stone-card:hover {
    transform: none;
  }

  .pp-stone-card:hover .pp-stone-card__body {
    transform: none;
  }
}

/* ══════════════════════════════════════
   FEATURES
   ══════════════════════════════════════ */
.pp-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

@media (min-width: 768px) {
  .pp-features__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pp-feature {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  padding: clamp(24px, 3vw, 32px);
  background: #fff;
  border: 1px solid rgba(232, 222, 211, 0.9);
  border-radius: var(--hp-radius);
  box-shadow: var(--hp-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pp-feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--hp-shadow-hover);
}

.pp-feature__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--color-primary);
  color: #fff;
}

.pp-feature__icon .material-symbols-outlined {
  font-size: 24px;
}

.pp-feature__title {
  font-family: var(--font-headline);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-primary);
  margin: 0;
}

.pp-feature__desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-on-surface-variant);
  margin: 0;
}
