/* =========================================
   IN HER WORLD — LIFESTYLE GALLERY — .fe-product-lifestyle
   ========================================= */

/* Section — full bleed, no horizontal padding on the grid */
.fe-product-lifestyle {
  padding-top: var(--fe-section-py);
  padding-bottom: var(--fe-section-py);
}

/* Header — centred, contained */
.fe-product-lifestyle__header-wrap {
  max-width: var(--fe-container-max);
  margin: 0 auto var(--fe-space-8);
  padding: 0 var(--fe-container-px);
  text-align: center;
}

.fe-product-lifestyle__label {
  display: block;
  font-family: var(--fe-font-body);
  font-size: 0.65rem;
  font-weight: var(--fe-weight-medium);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fe-gold-dark);
  margin-bottom: var(--fe-space-3);
}

.fe-product-lifestyle__tagline {
  font-family: var(--fe-font-display);
  font-size: var(--fe-size-lg);
  font-weight: var(--fe-weight-light);
  font-style: italic;
  color: var(--fe-charcoal);
  margin: 0;
  line-height: 1.2;
}

/* Grid — tight 8px editorial gap, full bleed */
.fe-product-lifestyle__grid {
  display: block; /* default: 1 image */
  max-width: var(--fe-container-max);
  margin: 0 auto;
  padding: 0 var(--fe-container-px);
}

/* 2-image layout */
.fe-product-lifestyle__grid[data-count="2"] {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 8px;
}

/* 3-image layout — big image left spanning full height, two images stacked
   right.  No aspect-ratio constraints on cells — the grid rows size to
   content so every image fills its cell edge-to-edge with object-fit:cover
   and minimal cropping.  The 2fr/1fr split means the right images are half
   the width → they naturally stack to roughly match the hero height. */
.fe-product-lifestyle__grid[data-count="3"] {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  column-gap: 8px;
  row-gap: 8px;
}

/* Hero spans both rows so it fills the full height of the grid */
.fe-product-lifestyle__grid[data-count="3"] .fe-product-lifestyle__image--hero {
  grid-row: 1 / 3;
}

/* Image cells — overflow:hidden clips any object-fit:cover overflow */
.fe-product-lifestyle__image {
  overflow: hidden;
  min-height: 0;
}

/* Right-column images: 1:1 aspect-ratio drives the grid row heights.
   The hero spans both rows so its height = 2 × (right-image height) + gap. */
.fe-product-lifestyle__grid[data-count="3"] .fe-product-lifestyle__image:not(.fe-product-lifestyle__image--hero) {
  aspect-ratio: 1 / 1;
}

/* 2-image layout uses individual min-height */
.fe-product-lifestyle__grid[data-count="2"] .fe-product-lifestyle__image {
  min-height: 420px;
}

/* Images fill their cells edge-to-edge — object-fit:cover ensures no
   empty space, with minimal cropping since the grid proportions are
   designed to roughly match the image aspect ratios. */
.fe-product-lifestyle__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.fe-product-lifestyle__image:hover img {
  transform: scale(1.03);
}

/* ── Tablet ── */
@media (max-width: 1024px) {
  .fe-product-lifestyle__grid[data-count="2"] .fe-product-lifestyle__image {
    min-height: 340px;
  }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .fe-product-lifestyle {
    padding-top: var(--fe-space-16);
    padding-bottom: var(--fe-space-16);
  }

  /* Stack all layouts to single column on mobile */
  .fe-product-lifestyle__grid[data-count="2"],
  .fe-product-lifestyle__grid[data-count="3"] {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .fe-product-lifestyle__grid[data-count="3"] .fe-product-lifestyle__image--hero {
    grid-row: auto;
  }

  /* On mobile, let images use natural height */
  .fe-product-lifestyle__image img {
    height: auto;
  }

  .fe-product-lifestyle__image:hover img {
    transform: none;
  }
}


/* ─────────────────────────────────────────────────────────────────────────────
   THE DETAILS — Craftsmanship Close-Ups
   ───────────────────────────────────────────────────────────────────────────── */

.fe-product-details {
  background: var(--fe-white);
  padding-top: var(--fe-space-20);
  padding-bottom: var(--fe-space-20);
  border-bottom: 1px solid var(--fe-border);
}

.fe-product-details__inner {
  max-width: var(--fe-max-width);
  margin: 0 auto;
  padding: 0 var(--fe-space-8);
}

/* Header */
.fe-product-details__header {
  text-align: center;
  margin-bottom: var(--fe-space-12);
}

.fe-product-details__label {
  display: block;
  font-family: var(--fe-font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fe-text-muted);
  margin-bottom: var(--fe-space-2);
}

.fe-product-details__heading {
  font-family: var(--fe-font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 400;
  color: var(--fe-text-dark);
  margin: 0;
  letter-spacing: 0.01em;
}

/* Grid — equal columns, max 4 items */
.fe-product-details__grid {
  display: grid;
  gap: var(--fe-space-6);
}

.fe-product-details__grid[data-count="1"] { grid-template-columns: repeat(1, 1fr); max-width: 420px; margin: 0 auto; }
.fe-product-details__grid[data-count="2"] { grid-template-columns: repeat(2, 1fr); }
.fe-product-details__grid[data-count="3"] { grid-template-columns: repeat(3, 1fr); }
.fe-product-details__grid[data-count="4"] { grid-template-columns: repeat(4, 1fr); }

/* Item */
.fe-product-details__item {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* Image container — 4:5 portrait */
.fe-product-details__image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--fe-cream);
}

.fe-product-details__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.fe-product-details__item:hover .fe-product-details__img {
  transform: scale(1.05);
}

/* Caption */
.fe-product-details__caption {
  padding-top: var(--fe-space-4);
  display: flex;
  flex-direction: column;
  gap: var(--fe-space-1);
}

.fe-product-details__caption-title {
  font-family: var(--fe-font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fe-text-dark);
  font-weight: 500;
}

.fe-product-details__caption-sub {
  font-family: var(--fe-font-sans);
  font-size: 0.74rem;
  color: var(--fe-text-muted);
  letter-spacing: 0.02em;
}

/* ── Tablet ── */
@media (max-width: 1024px) {
  .fe-product-details__grid[data-count="4"] {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .fe-product-details {
    padding-top: var(--fe-space-16);
    padding-bottom: var(--fe-space-16);
  }

  .fe-product-details__grid[data-count="2"],
  .fe-product-details__grid[data-count="3"],
  .fe-product-details__grid[data-count="4"] {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--fe-space-4);
  }

  .fe-product-details__grid[data-count="1"] {
    max-width: 100%;
  }

  /* Disable hover zoom on touch */
  .fe-product-details__item:hover .fe-product-details__img {
    transform: none;
  }
}

@media (max-width: 480px) {
  .fe-product-details__grid[data-count="3"],
  .fe-product-details__grid[data-count="4"] {
    grid-template-columns: 1fr;
  }
}


/* ─────────────────────────────────────────────────────────────────────────────
   BRAND INTRODUCTION STRIP — Editorial pause between Promise and FAQ
   ───────────────────────────────────────────────────────────────────────────── */

.fe-brand-strip {
  border-top: 0.5px solid var(--fe-border);
  border-bottom: 0.5px solid var(--fe-border);
  padding-top: var(--fe-space-12);
  padding-bottom: var(--fe-space-12);
  text-align: center;
}

.fe-brand-strip__inner {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 var(--fe-space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Brand name — small eyebrow treatment */
.fe-brand-strip__brand {
  font-family: var(--fe-font-body);
  font-size: 0.875rem;
  font-weight: var(--fe-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--fe-black);
  margin: 0 0 var(--fe-space-4);
}

/* Manifesto — the main editorial line */
.fe-brand-strip__manifesto {
  font-family: var(--fe-font-display);
  font-style: italic;
  font-size: 1rem;
  font-weight: var(--fe-weight-light);
  color: var(--fe-charcoal);
  line-height: var(--fe-leading-normal);
  max-width: 480px;
  margin: 0 0 var(--fe-space-6);
}

/* Link — understated, no aggressive underline */
.fe-brand-strip__link {
  font-family: var(--fe-font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fe-black);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 0.5px solid var(--fe-black);
  transition: opacity 0.2s ease;
}

.fe-brand-strip__link:hover {
  opacity: 0.55;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .fe-brand-strip {
    padding-top: var(--fe-space-8);
    padding-bottom: var(--fe-space-8);
  }

  .fe-brand-strip__manifesto {
    font-size: 0.9375rem;
  }
}

/* ─────────────────────────────────────────────────────────────
   Locked Benefit — Cercle-gated component
   Shown in the gifting tab for non-Cercle users
   ───────────────────────────────────────────────────────────── */

.stacciolla-locked-benefit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1.5rem;
  border: 1px solid var(--fe-gold);
  background: var(--fe-cream);
  opacity: 0.72;
}

.stacciolla-locked-benefit__label {
  font-family: var(--fe-font-body), sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fe-gold-dark);
  margin: 0;
}

.stacciolla-locked-benefit__name {
  font-family: var(--fe-font-display), serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--fe-black);
  margin: 0;
}

.stacciolla-locked-benefit__cta {
  font-family: var(--fe-font-body), sans-serif;
  font-size: 0.8rem;
  color: var(--fe-black);
  text-decoration: underline;
  text-underline-offset: 3px;
}
