/* ===== MERCH HERO — 1440×420, text centered, crop bottom to keep bags visible ===== */

/* You can fine‑tune the vertical focus using this variable (negative pulls image up) */
:root { --hero-y: 6%; }  /* try -6% or -10% if you want a bit more crop at the bottom */

.merch-hero-imgmode {
  position: relative;
  width: 100%;
  min-height: 420px;              /* Figma height */
  background-color: #7f7f7f;      /* fill behind image edges */
  overflow: hidden;
}

/* Fill the hero, crop edges, keep focus toward the top so bags are fully visible */
.merch-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;               /* fill + crop (instead of contain) */
  object-position: center var(--hero-y);  /* focus higher area; e.g., -8% shows more handles */
  z-index: 0;
}

.merch-hero__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.50);     /* 50% black overlay */
  z-index: 1;
}

/* Text container stays centered above overlay */
.merch-hero__inner {
  position: relative; z-index: 2;
  min-height: 525px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 24px;
  padding: 112px 64px;             /* T/B 112, L/R 64 from Figma */
  text-align: center;
  margin: 0 auto; max-width: 1440px;
}

/* Typography per Figma */
.merch-hero__title   {
  margin: 0; color: #fff;
  font: 700 48px/120% "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}
.merch-hero__subtitle{
  margin: 0; color: #fff;
  font: 700 18px/150% "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  max-width: 1312px;               /* matches your Figma text frame width */
}

/* Responsive */
@media (max-width:1024px){
  .merch-hero__inner { padding-left:40px; padding-right:40px; }
}
@media (max-width:767px){
  .merch-hero__inner { padding-top:72px; padding-bottom:72px; gap:16px; }
  .merch-hero__title { font-size:34px; }
  .merch-hero__subtitle { font-size:16px; }
}

/* ========= BONFIRE BLOCK (matches Figma) ========= */
.merch-bonfire {
  padding-top: 112px;
  padding-bottom: 130px;
  background: #F7F6F2; /* light off‑white seen in your comp; change if your page bg differs */
}

.merch-bonfire .container {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 64px;
  padding-right: 64px;
}

/* Stack children with the 80px section gap */
.merch-bonfire__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px; /* section gap per Figma */
}

/* Title — Roboto 48/700, 120%, centered */
.bonfire__title {
  margin: 0;
  text-align: center;
  color: #000;
  font-family: "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 120%;
}

/* Collage card — 1030 x 467 with 20px radius */
.bonfire__mock {
  margin: 0;
  width: 1030px;
  max-width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02); /* subtle; remove if you want pure flat */
}
.bonfire__mock img {
  display: block;
  width: 100%;
  height: auto; /* final image height ~467px at full width */
}

/* Note — Roboto 20/400, 140%, centered, width 1030px */
.bonfire__note {
  margin: 0;
  text-align: center;
  width: 1030px;
  max-width: 100%;
  color: #000;
  font-family: "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 140%;
}

/* Button — 12/24 padding, radius 10, Roboto 16/400, primary #146782 */
.bonfire__btn {
  text-align: center;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 600;
  background: #146782;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;

}
.bonfire__btn:hover { 
background: #0f4d5a;
transform: translateY(-2px);
}
.bonfire__btn:active { transform: translateY(0); filter: brightness(0.97); }

/* ------- Responsive ------- */
@media (max-width: 1024px) {
  .merch-bonfire .container { padding-left: 40px; padding-right: 40px; }
}
@media (max-width: 767px) {
  .merch-bonfire .container { padding-left: 20px; padding-right: 20px; }
  .merch-bonfire__inner { gap: 48px; }
  .bonfire__title { font-size: 34px; line-height: 120%; }
  .bonfire__note { font-size: 18px; }
  .bonfire__btn { min-height: 28px; padding: 10px 20px 10px 20px; font-size: 15px; }
}

/* ========= HOW IT WORKS (matches Figma) ========= */
.merch-hiw {
  background: #F7F6F2;            /* same background as previous section */
  padding-top: 112px;
  padding-bottom: 112px;
}

.merch-hiw .container {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 64px;
  padding-right: 64px;
}

/* Stack with section gap ~80px below the title */
.merch-hiw__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

/* Title — Roboto 48/700, color #146782, centered */
.hiw__title {
  margin: 0;
  text-align: center;
  color: #146782;
  font-family: "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 120%;
}

/* Row of 4 with 48px gap */
.hiw__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;                      /* Figma horizontal gap */
  width: 100%;
  max-width: 1312px;              /* matches your blue frame width */
  margin: 0 auto;
}

/* Each item — vertical stack, 24px gap; center everything */
.hiw__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;                      /* Figma vertical gap */
  text-align: center;
}

/* Icon size — exported PNG/SVG sized to ~60–72px looks right; keep flexible */
.hiw__icon {
  width: 72px;                    /* tweak to your actual export size */
  height: auto;
  display: block;
}

/* Text — Roboto 24/700, 140%, centered, max width ~292px */
.hiw__text {
  margin: 0;
  color: #000;
  font-family: "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 140%;
  max-width: 292px;               /* Figma shows ~291.67px */
}

/* ------- Responsive ------- */
@media (max-width: 1024px) {
  .merch-hiw .container { padding-left: 40px; padding-right: 40px; }
  .hiw__row { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 36px; }
}
@media (max-width: 767px) {
  .merch-hiw .container { padding-left: 20px; padding-right: 20px; }
  .hiw__title { font-size: 34px; }
  .hiw__row { grid-template-columns: 1fr; gap: 28px; max-width: 560px; }
  .hiw__icon { width: 64px; }
  .hiw__text { font-size: 20px; }
}

@media (max-width: 767px) {
  .merch-hero__overlay {
    background: rgba(0, 0, 0, 0.35); /* was 0.50 */
  }
}

@media (max-width: 767px) {
  .merch-hero-imgmode,
  .merch-hero__inner {
    min-height: 220px; 
  }
}

@media (max-width: 767px) {
  .merch-bonfire {
    padding-top: 72px;
    padding-bottom: 96px;
  }
}
