/* ============================================================================
   Fashion Week Landing Page (DEVS-6317) — /fashion-week/
   Ported from the SAMPLE 030 mockup, scoped under #content .vibe-fw-page,
   tokenized onto the Vibe design tokens (vbstyles.css :root).
   Product grid styling comes from shared-products.css — only layout overrides
   live here. Native mobile viewport (DEVS-6201): mobile values are 1:1.
   ============================================================================ */

#content .vibe-fw-page {
  /* page-local palette (mockup fidelity); fonts reuse global Vibe tokens */
  --fw-black: var(--vibe-black, #111);
  --fw-gray: var(--vibe-text-muted, #555);
  --fw-border: var(--vibe-border, #ddd);
  --fw-red: var(--vibe-red, #cc0000);
  --fw-faq-bg: #faf7f2;
  --fw-faq-card-border: #e8e2d9;
  --fw-faq-icon: #c9a96e;
  --fw-max-w: 1440px;
  --fw-pad-x: 40px;

  min-width: 0 !important;
  font-family: var(--vibe-ff-book, var(--vibe-ff));
  color: var(--fw-black);
  background: var(--vibe-white, #fff);
}

#content .vibe-fw-page,
#content .vibe-fw-page *,
#content .vibe-fw-page *::before,
#content .vibe-fw-page *::after {
  box-sizing: border-box !important;
}

/* NB: no blanket `img` rule here — it would override the shared product card's
   `.product` image + `.brand-logo` centring (WM2026 deliberately has none).
   Each section below sets its own img sizing. */

/* ---- Shell overrides (scoped to fashion-week via :has) ----
   Prevent an ancestor's non-visible overflow from clipping the desktop
   994px breakout — same fix as WM2026. ---- */
body:has(.vibe-fw-page) #basecontainer,
body:has(.vibe-fw-page) #content,
body:has(.vibe-fw-page) .ui-container,
body:has(.vibe-fw-page) .rubrik-container { overflow-y: visible !important; }

/* Desktop: break every top-level section + hero out to 994px (escape the
   ~950px shell container) so the hero video matches the WM2026 hero width
   and all sections align underneath it. */
@media (min-width: 1025px) {
  #content .vibe-fw-page .vibe-fw-section,
  #content .vibe-fw-page .vibe-fw-partner-strip {
    width: 994px;
    max-width: 994px;
    margin-left: -22px;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
  #content .vibe-fw-page .vibe-fw-hero {
    width: 994px;
    margin-left: -22px;
    max-width: none;
  }
}

/* ── Shared section frame ── */
#content .vibe-fw-section {
  max-width: calc(var(--fw-max-w) + (var(--fw-pad-x) * 2));
  margin: 0 auto;
  padding: 56px var(--fw-pad-x);
}
#content .vibe-fw-section__title {
  font-family: var(--vibe-ff-demi);
  font-size: var(--vibe-fs-40, 40px);
  line-height: 1.25;
  font-weight: 600;
  color: var(--fw-black);
  margin: 0 0 20px;
}
#content .vibe-fw-page h3 {
  font-family: var(--vibe-ff-demi);
  font-size: var(--vibe-fs-20, 20px);
  line-height: 1.4;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fw-black);
  margin: 0 0 10px;
}
/* !important so it beats the shell's `#content p` rule (which forces 16px) —
   same approach as WM2026. Keeps every body paragraph at the 18px copy size. */
#content .vibe-fw-page p {
  font-family: var(--vibe-ff-book, var(--vibe-ff));
  font-size: var(--vibe-fs-18, 18px) !important;
  line-height: 1.4 !important;
  color: var(--fw-black);
}

/* ── Button ── */
#content .vibe-fw-btn {
  display: inline-block;
  font-family: var(--vibe-ff-demi);
  font-size: var(--vibe-fs-14, 14px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 28px;
  border: 1.5px solid var(--fw-black);
  background: var(--fw-black);
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
#content .vibe-fw-btn:hover { background: #fff; color: var(--fw-black); }
#content .vibe-fw-btn--white { background: #fff; border-color: #fff; color: var(--fw-black); }
#content .vibe-fw-btn--white:hover { background: transparent; color: #fff; }

/* ── HERO ── */
#content .vibe-fw-hero {
  position: relative;
  width: calc(100% - (var(--fw-pad-x) * 2));
  max-width: var(--fw-max-w);
  margin: 0 auto;
  overflow: hidden;
  background: #111;
  max-height: 580px;
}
#content .vibe-fw-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 3000 / 1468;
}
#content .vibe-fw-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to right,
    rgba(0,0,0,.72) 0%, rgba(0,0,0,.42) 40%, rgba(0,0,0,.10) 68%, rgba(0,0,0,.02) 100%);
}
#content .vibe-fw-hero__logos {
  position: absolute; top: 28px; right: var(--fw-pad-x);
  display: flex; align-items: center; gap: 16px;
}
/* PNG ships on a black matte; screen-blend knocks the black out on the dark
   hero so the logo reads as transparent (mockup behaviour). */
#content .vibe-fw-hero__logo-ec { height: 48px; width: auto; mix-blend-mode: screen; }
#content .vibe-fw-hero__divider {
  width: 1.5px; height: 56px; background: rgba(255,255,255,.45); flex-shrink: 0;
}
#content .vibe-fw-hero__logo-sample { height: 52px; width: auto; }
#content .vibe-fw-hero__content {
  position: absolute; bottom: 32px; left: var(--fw-pad-x); max-width: 620px;
}
/* Keep the sample030 brand lowercase inside any uppercased element (hero H1,
   intro link, …). */
#content .vibe-fw-brand { text-transform: none !important; }
/* Keep "easycosmetic" lowercase inside the uppercased hero H1. */
#content .vibe-fw-lower { text-transform: none !important; }
#content .vibe-fw-hero__h1 {
  font-family: var(--vibe-ff-demi);
  font-size: var(--vibe-fs-48, 48px);
  line-height: 1.15;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,.45);
  margin: 0 0 10px;
}
/* Matches the WM2026 hero subline exactly (ff-book / fs-20 / 28px / 400).
   `.vibe-fw-page` + !important so it beats the generic `…page p` rule and the
   shell. */
#content .vibe-fw-page .vibe-fw-hero__sub {
  font-family: var(--vibe-ff-book) !important;
  font-size: var(--vibe-fs-20) !important;
  line-height: 28px !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,.92) !important;
  margin: 0 0 24px !important;
}

/* ── SAMPLE INTRO ── */
#content .vibe-fw-intro__inner {
  display: flex; align-items: center; gap: 24px;
}
#content .vibe-fw-intro__logo { flex-shrink: 0; width: 340px; order: 2; }
#content .vibe-fw-intro__logo img { width: 100%; height: auto; }
#content .vibe-fw-intro__text { flex: 1; order: 1; }
#content .vibe-fw-intro__text p { color: #444; }
#content .vibe-fw-intro__text p + p { margin-top: 16px; }
#content .vibe-fw-intro__link {
  display: inline-block; margin-top: 20px;
  font-family: var(--vibe-ff-demi);
  font-size: var(--vibe-fs-14, 14px);
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fw-black);
  border-bottom: 1.5px solid var(--fw-black);
  padding-bottom: 2px; text-decoration: none;
}
#content .vibe-fw-intro__link:hover { opacity: .6; }

/* ── INTERVIEW VIDEO ── */
#content .vibe-fw-interview__player {
  width: 100%; max-width: 1000px; margin: 0 auto; display: block;
  border-radius: 8px; aspect-ratio: 16 / 9; background: #000;
}

/* ── BEAUTY PICKS (grid from shared-products.css; 5 cols on desktop) ── */
@media (min-width: 769px) {
  #content .vibe-fw-page .vibe-products ul.products {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ── PARTNER STRIP ── */
#content .vibe-fw-partner-strip {
  max-width: calc(var(--fw-max-w) + (var(--fw-pad-x) * 2));
  margin: 0 auto;
  padding: 0 var(--fw-pad-x);
}
#content .vibe-fw-partner-strip__inner {
  display: flex; align-items: center; gap: 40px;
  min-height: 88px; flex-wrap: wrap;
  border-top: 1px solid var(--fw-border);
  border-bottom: 1px solid var(--fw-border);
}
#content .vibe-fw-partner-strip__text {
  font-family: var(--vibe-ff-demi);
  font-size: var(--vibe-fs-18, 17px);
  font-weight: 600; color: var(--fw-black);
  white-space: nowrap; flex-shrink: 0;
}
#content .vibe-fw-partner-strip__logos {
  display: flex; align-items: center; gap: 36px; flex-wrap: wrap;
}
#content .vibe-fw-partner-logo { display: flex; align-items: center; transition: opacity .2s; }
#content .vibe-fw-partner-logo:hover { opacity: .75; }
/* Wordmarks render a touch smaller; the Australian Gold emblem (--lg) keeps
   its larger size. */
#content .vibe-fw-partner-logo img { height: 36px; width: auto; }
#content .vibe-fw-partner-logo--lg img { height: 48px; }

/* ── KACHELN (3 tiles) ── */
#content .vibe-fw-kacheln__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 32px;
}
#content .vibe-fw-kachel__img { aspect-ratio: 4 / 3; overflow: hidden; background: #eee; }
#content .vibe-fw-kachel__img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform .45s ease;
}
#content .vibe-fw-kachel:hover .vibe-fw-kachel__img img { transform: scale(1.04); }
#content .vibe-fw-kachel__body { padding: 16px 0 0; }
#content .vibe-fw-kachel__body p { color: #444; }

/* ── INSTAGRAM ── */
#content .vibe-fw-instagram__head { margin-bottom: 20px; }
#content .vibe-fw-instagram__head p { color: #444; max-width: 680px; }
/* elf.site only sends a Ready handshake (no size messages), so this initial
   height is effectively the rendered height — same as WM2026 / FC Zürich.
   Without it the iframe collapses and the widget isn't visible. */
#content .vibe-fw-instagram iframe[id^="vibe-fw-instagram__iframe"] {
  min-height: 400px;
  display: block;
  width: 100%;
  border: 0;
}

/* ── COOP INTRO ("Gemeinsam …") ──
   `.vibe-fw-page` prefix so these <p> rules outrank the generic `…page p`. */
#content .vibe-fw-page .vibe-fw-coop__lead {
  max-width: 900px;
  font-size: var(--vibe-fs-18, 18px);
  line-height: 1.4;
  color: var(--fw-black);
}
#content .vibe-fw-page .vibe-fw-coop__copy {
  max-width: 900px;
  font-size: var(--vibe-fs-18, 18px);
  line-height: 1.4;
  color: var(--fw-black);
  margin-top: 16px;
}
#content .vibe-fw-coop__link {
  display: inline-block; margin-top: 16px;
  font-family: var(--vibe-ff-demi);
  font-size: var(--vibe-fs-14, 14px);
  font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--fw-black);
  border-bottom: 1.5px solid var(--fw-black);
  padding-bottom: 2px; text-decoration: none;
}
#content .vibe-fw-coop__link:hover { opacity: .6; }

/* ── LOOKS / BLOG ── */
#content .vibe-fw-page .vibe-fw-looks__intro { color: #444; max-width: 640px; }
#content .vibe-fw-blog__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 32px;
}
#content .vibe-fw-blog-card { overflow: hidden; }
#content .vibe-fw-blog-card__img-link { display: block; overflow: hidden; }
#content .vibe-fw-blog-card__img { aspect-ratio: 16 / 9; background: #f0f0f0; overflow: hidden; }
#content .vibe-fw-blog-card__img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform .45s ease;
}
#content .vibe-fw-blog-card:hover .vibe-fw-blog-card__img img { transform: scale(1.04); }
#content .vibe-fw-blog-card__body { padding: 20px 0 24px; }
#content .vibe-fw-blog-card__body p {
  color: #444; font-size: var(--vibe-fs-16, 16px); line-height: 1.4; margin-bottom: 16px;
}
#content .vibe-fw-blog-card__link {
  font-family: var(--vibe-ff-demi);
  font-size: var(--vibe-fs-14, 13px);
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fw-black); text-decoration: none;
  border-bottom: 1.5px solid var(--fw-black); padding-bottom: 1px;
  display: inline-block; transition: opacity .2s;
}
#content .vibe-fw-blog-card__link:hover { opacity: .5; }

/* ── FAQ ── */
#content .vibe-fw-faq__inner {
  background: var(--fw-faq-bg);
  border-radius: 12px;
  padding: 36px 40px;
  display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start;
}
#content .vibe-fw-faq__left { position: static; }
#content .vibe-fw-faq__avatar { width: 100%; aspect-ratio: 3 / 4; background: #e8e5e0; overflow: hidden; border-radius: 8px; }
#content .vibe-fw-faq__avatar img { width: 100%; height: 100%; object-fit: cover; }
#content .vibe-fw-page .vibe-fw-faq__highlight {
  font-family: var(--vibe-ff-book, var(--vibe-ff));
  font-size: var(--vibe-fs-16, 15px); line-height: 1.45;
  color: var(--fw-gray); font-style: italic; margin: 6px 0 28px;
}
#content .vibe-fw-faq-item {
  background: #fff; border-radius: 10px; border: 1px solid var(--fw-faq-card-border);
  margin-bottom: 10px; overflow: hidden;
}
#content .vibe-fw-faq-item__header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px 8px;
}
#content .vibe-fw-faq-icon {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--fw-faq-icon);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--vibe-ff-demi); font-size: var(--vibe-fs-14, 13px); font-weight: 700; color: #fff;
}
#content .vibe-fw-faq-q {
  flex: 1;
  font-family: var(--vibe-ff-demi);
  font-size: var(--vibe-fs-16, 16px); line-height: 1.4; font-weight: 600; color: var(--fw-black);
}
/* The answer is a <div>, so the generic `p` rule doesn't reach it — set 18px
   explicitly + !important to match the other body copy. */
#content .vibe-fw-page .vibe-fw-faq-answer {
  padding: 0 20px 18px 58px;
  font-size: var(--vibe-fs-18, 18px) !important; line-height: 1.5; color: #555;
}

/* ============================================================================
   MOBILE (native viewport) — values 1:1 from the mockup's mobile @media.
   ============================================================================ */
@media (max-width: 768px) {
  #content .vibe-fw-page { --fw-pad-x: 16px; }

  #content .vibe-fw-section { padding: 40px var(--fw-pad-x); }
  #content .vibe-fw-section__title { font-size: var(--vibe-fs-24, 24px); }

  #content .vibe-fw-hero {
    width: 100%; margin: 0; max-height: none;
  }
  #content .vibe-fw-hero__video { aspect-ratio: 3 / 4; min-height: 420px; }
  #content .vibe-fw-hero__logos { top: 14px; gap: 10px; }
  #content .vibe-fw-hero__logo-ec { height: 40px; }
  #content .vibe-fw-hero__divider { height: 48px; }
  #content .vibe-fw-hero__logo-sample { height: 42px; }
  #content .vibe-fw-hero__content { bottom: 28px; max-width: calc(100% - (var(--fw-pad-x) * 2)); }
  #content .vibe-fw-hero__h1 { font-size: var(--vibe-fs-32, 30px); }
  #content .vibe-fw-page .vibe-fw-hero__sub {
    font-size: var(--vibe-fs-18) !important;
    line-height: 27px !important;
  }

  #content .vibe-fw-intro__inner { flex-direction: column; gap: 32px; }
  #content .vibe-fw-intro__logo { width: 140px; order: 1; }
  #content .vibe-fw-intro__text { order: 2; }

  #content .vibe-fw-partner-strip__inner { gap: 12px 20px; padding: 14px 0; flex-wrap: wrap; }
  #content .vibe-fw-partner-strip__text { font-size: var(--vibe-fs-14, 14px); white-space: normal; }
  #content .vibe-fw-partner-strip__logos { gap: 20px; }
  #content .vibe-fw-partner-logo img { height: 36px; }

  #content .vibe-fw-kacheln__grid { grid-template-columns: 1fr; gap: 32px; }
  #content .vibe-fw-blog__grid { grid-template-columns: 1fr; }

  #content .vibe-fw-faq__inner { grid-template-columns: 1fr; padding: 24px 16px; gap: 0; }
  #content .vibe-fw-faq__left { display: none; }
  #content .vibe-fw-faq-answer { padding-left: 20px; }

  /* Mobile keeps the taller initial Instagram height. */
  #content .vibe-fw-instagram iframe[id^="vibe-fw-instagram__iframe"] { min-height: 560px; }
}
