/* ---------- Page hero (shared shape across inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--grad-hero); padding: 56px var(--gutter) 90px; }
.page-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; max-width: var(--container); margin: 0 auto; }
.page-hero__title { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.03; }
.page-hero__lede { margin: 20px 0 0; max-width: 460px; font-size: 17.5px; line-height: 1.65; color: var(--ink-soft); }
.page-hero__tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.page-hero__tags span { padding: 10px 18px; border-radius: var(--r-pill); background: rgba(255,255,255,.8); font-size: 14.5px; font-weight: 800; color: var(--ink); }
/* align-items: flex-start (not the flex default of `stretch`) matters here —
   <picture> isn't a replaced element, so a stretched flex item has no
   intrinsic ratio to preserve and simply distorts to fill the row height. */
.page-hero__media { display: flex; justify-content: center; align-items: flex-start; position: relative; z-index: 2; }
.page-hero__media picture { display: block; width: 100%; max-width: 480px; aspect-ratio: 4/5; border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 24px 54px rgba(110,60,180,.22); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) {
  .page-hero { padding: 40px var(--gutter) 60px; }
  .page-hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .page-hero__media picture { max-width: 360px; margin: 0 auto; }
}

/* ---------- Story split ---------- */
.story-grid { display: grid; grid-template-columns: .85fr 1.15fr .75fr; gap: 30px; align-items: center; }
.story-grid__img { display: block; width: 100%; aspect-ratio: 4/5; border-radius: var(--r-lg); overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-md); }
.story-grid__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-grid__text h2 { font-size: clamp(26px, 3vw, 36px); color: var(--purple); }
.story-grid__text p { margin-top: 14px; font-size: 16.5px; line-height: 1.7; color: var(--ink-soft); }
.story-grid__text p.emphasis { font-weight: 800; color: var(--pink); }
.info-card { padding: 28px; border-radius: var(--r-lg); background: linear-gradient(180deg,var(--surface-pink),var(--surface)); border: 2px solid var(--line-pink); }
.info-card__title { font-family: var(--font-display); font-size: 17px; font-weight: 800; color: var(--pink); }
.info-card__row { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 15px; color: var(--ink); font-weight: 700; }
.info-card hr { border: none; border-top: 1px dashed var(--line-pink); margin: 16px 0; }
@media (max-width: 980px) { .story-grid { grid-template-columns: 1fr; } .story-grid__img { max-width: 420px; margin: 0 auto; aspect-ratio: 16/10; } }

/* ---------- Value / why-us cards ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.value-card { padding: 28px 26px; border-radius: var(--r-lg); background: #fff; border: 2px solid var(--line); box-shadow: var(--shadow-sm); transition: transform var(--dur-mid) var(--ease-out), box-shadow var(--dur-mid) var(--ease-out), border-color var(--dur-mid) var(--ease-out); }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-card__icon { font-size: 26px; }
.value-card__title { margin-top: 10px; font-family: var(--font-display); font-size: 20px; font-weight: 800; }
.value-card__desc { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
@media (max-width: 900px) { .value-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .value-grid { grid-template-columns: 1fr; } }

/* ---------- Peek gallery grid ---------- */
.peek-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 26px; }
.peek-grid__tile { border-radius: var(--r-md); overflow: hidden; border: 2px solid var(--line); aspect-ratio: 1/1; }
.peek-grid__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-mid) var(--ease-out); }
.peek-grid__tile:hover img { transform: scale(1.08); }
@media (max-width: 900px) { .peek-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .peek-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Two-column info panels (How it works / FAQ) ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { padding: 30px; border-radius: var(--r-lg); background: #fff; border: 2px solid var(--line); box-shadow: var(--shadow-sm); }
.panel__title { text-align: center; font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--purple); }
.panel__steps { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.panel__step { display: flex; gap: 14px; }
.panel__step-num { flex: none; width: 34px; height: 34px; border-radius: 999px; background: var(--pink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.panel__step-title { font-size: 16px; font-weight: 800; color: var(--ink); }
.panel__step-desc { font-size: 14.5px; color: var(--ink-faint); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Station catalogue grid ---------- */
.station-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
@media (max-width: 1100px) { .station-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .station-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .station-grid { grid-template-columns: 1fr; } }

/* ---------- Bestseller / pairing cards ---------- */
.bestseller-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
.bestseller-card { border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 2px solid var(--line-pink); text-align: center; box-shadow: var(--shadow-sm); transition: transform var(--dur-mid) var(--ease-out), box-shadow var(--dur-mid) var(--ease-out); }
.bestseller-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.bestseller-card__media { aspect-ratio: 16/9; }
.bestseller-card__media img { width: 100%; height: 100%; object-fit: cover; }
.bestseller-card__body { padding: 18px; }
.bestseller-card__title { font-size: 18px; font-weight: 800; color: var(--purple-deep); }
.bestseller-card__desc { margin-top: 5px; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.bestseller-card__price { margin-top: 8px; font-size: 15px; font-weight: 800; color: var(--pink); }
@media (max-width: 860px) { .bestseller-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; } }

.pairing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 24px; }
.pairing-card { border-radius: var(--r-md); overflow: hidden; background: #fff; border: 2px solid var(--line); text-align: center; }
.pairing-card__media { aspect-ratio: 3/4; }
.pairing-card__media img { width: 100%; height: 100%; object-fit: cover; }
.pairing-card__label { padding: 14px; font-size: 14.5px; font-weight: 800; color: var(--purple-deep); }
@media (max-width: 860px) { .pairing-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Occasion cards (reuses .activity-card shape) ---------- */
.occasion-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 26px; }
@media (max-width: 900px) { .occasion-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .occasion-grid { grid-template-columns: 1fr; } }

/* ---------- Video showcase ---------- */
.video-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.video-card { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 9/16; background: #0d0616; box-shadow: var(--shadow-md); }
.video-card video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .video-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .video-row { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; } }

/* ---------- Feature breakdown rows (Ultimate Slime Party page) ---------- */
.feature-rows { max-width: 820px; margin: 34px auto 0; display: flex; flex-direction: column; gap: 4px; }
.feature-row { display: flex; align-items: center; gap: 22px; padding: 20px 6px; border-bottom: 1px solid var(--line); }
.feature-row__media { flex: none; width: 96px; height: 96px; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.feature-row__media img { width: 100%; height: 100%; object-fit: cover; }
.feature-row__media--icon { display: flex; align-items: center; justify-content: center; font-size: 38px; background: linear-gradient(135deg,#f7ecff,#ffe9f6 60%,#e8f4ff); }
.feature-row__title { font-size: 17.5px; font-weight: 800; color: var(--ink); }
.feature-row__desc { margin-top: 5px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
@media (max-width: 560px) {
  .feature-row { gap: 16px; }
  .feature-row__media { width: 72px; height: 72px; }
  .feature-row__media--icon { font-size: 28px; }
}

.callout-banner {
  max-width: 820px; margin: 26px auto 0; padding: 20px 26px; border-radius: var(--r-lg);
  background: var(--grad-cta-pink); color: #fff; text-align: center;
  font-family: var(--font-display); font-size: 17px; font-weight: 800; box-shadow: var(--shadow-pink);
}

/* ---------- Legal document (Privacy & Cookie Policy) ---------- */
.legal-doc h2 { margin-top: 34px; font-size: 22px; color: var(--purple); }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc p { margin: 12px 0 0; font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); }
.legal-doc ul { margin: 12px 0 0; padding-left: 22px; font-size: 15.5px; line-height: 1.8; color: var(--ink-soft); }
.legal-doc a { font-weight: 800; }
.legal-table-wrap { overflow-x: auto; margin-top: 14px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.legal-table th, .legal-table td { text-align: left; padding: 12px 14px; border: 1px solid var(--line); vertical-align: top; }
.legal-table th { background: var(--surface); color: var(--purple-deep); font-weight: 800; }
.legal-table td { color: var(--ink-soft); }

/* ---------- Activity detail page ---------- */
.detail-hero { background: var(--grad-hero); padding: 40px var(--gutter) 56px; }
.detail-hero__crumb { font-size: 14px; font-weight: 700; color: var(--ink-faint); }
.detail-hero__crumb a { color: var(--purple); }
.detail-hero__title { margin-top: 10px; font-size: clamp(32px, 4vw, 48px); color: var(--ink); }
.detail-hero__desc { margin-top: 12px; max-width: 640px; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.detail-hero__meta { display: flex; align-items: center; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.detail-hero__price { font-size: 15px; font-weight: 800; color: var(--pink); }

.detail-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 30px; }
.detail-gallery__tile { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1/1; border: 2px solid var(--line); box-shadow: var(--shadow-sm); }
.detail-gallery__tile img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform var(--dur-mid) var(--ease-out); }
.detail-gallery__tile:hover img { transform: scale(1.06); }
.detail-gallery--empty {
  margin-top: 30px; padding: 48px; border-radius: var(--r-lg); text-align: center;
  background: linear-gradient(135deg,#f7ecff,#ffe9f6 60%,#e8f4ff); border: 2px dashed var(--line);
  font-family: var(--font-display); font-weight: 800; color: #b79ce0;
}

.detail-body { max-width: 720px; margin: 34px auto 0; font-size: 17px; line-height: 1.75; color: var(--ink-soft); text-align: center; }

/* ---------- Steps ---------- */
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.step-card { display: flex; align-items: center; gap: 16px; padding: 24px; border-radius: var(--r-lg); background: #fff; border: 2px solid var(--line); }
.step-card__num { flex: none; width: 46px; height: 46px; border-radius: 999px; color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 22px; font-weight: 800; }
.step-card__title { font-size: 17px; font-weight: 800; }
.step-card__desc { margin-top: 3px; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }
@media (max-width: 860px) { .steps-row { grid-template-columns: 1fr; } }
