/*
  Zoop chrome styles. Only what theme.json cannot express: the byline card layout,
  breadcrumbs, the consent banner, the language switcher, and form layout. All colors
  reference the theme.json preset custom properties (--wp--preset--color--*), so a
  brand reskin flows through here too.
*/

/* ---- Breadcrumbs ---- */
.zoop-breadcrumbs ol {
  list-style: none;
  margin: 0 0 var(--wp--preset--spacing--40);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--30);
  font-size: var(--wp--preset--font-size--body);
  color: var(--wp--preset--color--ink-muted);
}
.zoop-breadcrumbs li + li::before { content: "/"; margin-right: var(--wp--preset--spacing--30); color: var(--wp--preset--color--hairline); }
.zoop-breadcrumbs a { color: var(--wp--preset--color--ink-muted); text-decoration: none; }
.zoop-breadcrumbs a:hover { color: var(--wp--preset--color--accent); }

/* ---- Author byline ---- */
.zoop-byline { display: flex; gap: var(--wp--preset--spacing--50); align-items: flex-start; }
.zoop-author-avatar { border-radius: var(--wp--custom--radius--pill); width: 64px; height: 64px; }
.zoop-byline-name { font-weight: 600; margin: 0; }
.zoop-byline-name a { text-decoration: none; }
.zoop-byline-bio { margin: var(--wp--preset--spacing--30) 0 0; max-width: 60ch; }
.zoop-eyebrow { margin: 0 0 var(--wp--preset--spacing--20); }
.zoop-edition-note { margin: var(--wp--preset--spacing--40) 0 0; }

/* ---- Language switcher ---- */
.zoop-langswitcher { display: flex; gap: var(--wp--preset--spacing--40); flex-wrap: wrap; font-size: var(--wp--preset--font-size--body); }
.zoop-langswitcher a { color: var(--wp--preset--color--ink-muted); text-decoration: none; }
.zoop-langswitcher a:hover { color: var(--wp--preset--color--accent); }
.zoop-langswitcher a[aria-current="true"] { color: var(--wp--preset--color--ink); font-weight: 600; }

/* ---- Forms ---- */
.zoop-form { display: flex; gap: var(--wp--preset--spacing--40); flex-wrap: wrap; margin-top: var(--wp--preset--spacing--50); }
.zoop-form input[type="email"],
.zoop-form input[type="text"]:not(.zoop-hp),
.zoop-form textarea {
  background: var(--wp--preset--color--canvas);
  color: var(--wp--preset--color--ink);
  border: 1px solid var(--wp--preset--color--hairline);
  border-radius: var(--wp--custom--radius--md);
  padding: 12px 16px;
  font-size: var(--wp--preset--font-size--body);
  min-height: 44px;
  flex: 1 1 240px;
}
.zoop-form input:focus-visible,
.zoop-form textarea:focus-visible {
  outline: none;
  border-color: var(--wp--preset--color--accent-deep);
  box-shadow: 0 0 0 3px var(--wp--preset--color--accent-glow);
}
.zoop-form button {
  background: var(--wp--preset--color--accent-fill);
  color: var(--wp--preset--color--ink);
  border: 0;
  border-radius: var(--wp--custom--radius--md);
  padding: 12px 24px;
  min-height: 44px;
  font-weight: 600;
  cursor: pointer;
}
.zoop-form button:hover { background: var(--wp--preset--color--accent-deep); }
.zoop-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.zoop-form-msg { width: 100%; margin-top: var(--wp--preset--spacing--40); font-size: var(--wp--preset--font-size--body); }
.zoop-form-msg.is-error { color: var(--wp--preset--color--secondary); }

/* ---- Consent banner ---- */
.zoop-consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
  background: var(--wp--preset--color--surface);
  border-top: 1px solid var(--wp--preset--color--hairline);
  box-shadow: 0 -6px 24px rgba(30, 24, 10, 0.12);
}
.zoop-consent[hidden] { display: none; }
.zoop-consent-inner {
  max-width: 1200px; margin: 0 auto; padding: var(--wp--preset--spacing--50);
  display: flex; gap: var(--wp--preset--spacing--50); align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.zoop-consent-text { margin: 0; color: var(--wp--preset--color--ink-muted); font-size: var(--wp--preset--font-size--body); max-width: 70ch; }
.zoop-consent-actions { display: flex; gap: var(--wp--preset--spacing--40); }
.zoop-consent button { min-height: 44px; padding: 10px 20px; border-radius: var(--wp--custom--radius--md); cursor: pointer; font-weight: 600; }
.zoop-consent-deny { background: transparent; border: 1px solid var(--wp--preset--color--hairline); color: var(--wp--preset--color--ink); }
.zoop-consent-allow { background: var(--wp--preset--color--accent-fill); border: 0; color: var(--wp--preset--color--ink); }

/* ============================================================
   Category bento navigator (pattern: zoop/category-bento, D36)
   Each cell shares the cream background so the Ivory Studio
   still-life dissolves into the grid; label in the clean top,
   NO scrim. Travel = 2x2 anchor. All colour via theme tokens.
   ============================================================ */
.zoop-bento-head { margin-bottom: var(--wp--preset--spacing--60); gap: var(--wp--preset--spacing--50); }
.zoop-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(168px, 14.5vw, 212px);
  gap: clamp(0.7rem, 1.1vw, 1rem);
  grid-template-areas:
    "travel travel tech   food"
    "travel travel health home"
    "cars   parent money  cta";
}
.zoop-bcell {
  position: relative;
  display: block;
  border-radius: var(--wp--custom--radius--lg);
  overflow: hidden;
  background: var(--wp--preset--color--canvas-elev);
  box-shadow: var(--wp--custom--elevation--raised);
  color: var(--wp--preset--color--ink);
  text-decoration: none;
  transition: transform .3s var(--wp--custom--easing--pop), box-shadow .3s;
}
.zoop-bcell:hover { transform: translateY(-4px); box-shadow: var(--wp--custom--elevation--float); }
.zoop-bcell:focus-visible { outline: 3px solid var(--wp--preset--color--accent); outline-offset: 2px; }
.zoop-bcell__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; object-position: center 94%;
  transition: transform .5s var(--wp--custom--easing--rise);
}
.zoop-bcell:hover .zoop-bcell__img { transform: scale(1.04); }
.zoop-b-travel .zoop-bcell__img { object-fit: cover; object-position: center 62%; }
.zoop-bcell__lab { position: absolute; top: 0; left: 0; right: 0; z-index: 2; padding: 1rem 1.1rem; }
.zoop-bcell__title {
  display: block;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 600; font-size: 1.2rem; line-height: 1.05; letter-spacing: -0.01em;
  color: var(--wp--preset--color--ink);
}
.zoop-b-travel .zoop-bcell__title { font-size: clamp(1.5rem, 2.4vw, 1.95rem); }
.zoop-bcell__desc {
  display: block; margin-top: 0.18rem;
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.78rem; font-weight: 600;
  color: var(--wp--preset--color--ink-muted);
}
.zoop-bcell__chev {
  position: absolute; bottom: 0.8rem; right: 0.8rem;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--wp--preset--color--surface);
  display: grid; place-items: center;
  color: var(--wp--preset--color--ink);
  transition: background .25s, transform .25s;
}
.zoop-bcell:hover .zoop-bcell__chev { background: var(--wp--preset--color--accent-fill); transform: translate(2px, -2px); }
.zoop-bcell__chev svg { width: 16px; height: 16px; }
.zoop-b-travel { grid-area: travel; } .zoop-b-tech { grid-area: tech; } .zoop-b-food { grid-area: food; }
.zoop-b-health { grid-area: health; } .zoop-b-home { grid-area: home; } .zoop-b-cars { grid-area: cars; }
.zoop-b-parent { grid-area: parent; } .zoop-b-money { grid-area: money; }
.zoop-b-cta {
  grid-area: cta;
  background: var(--wp--preset--color--accent-fill);
  display: grid; place-items: center; text-align: center; padding: 1.2rem;
}
.zoop-b-cta .zoop-bcell__cta-title {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 600; font-size: 1.12rem; line-height: 1.15;
  color: var(--wp--preset--color--ink);
}
.zoop-b-cta .zoop-bcell__cta-sub {
  display: inline-flex; align-items: center; gap: 0.35rem;
  margin-top: 0.5rem; font-size: 0.82rem; font-weight: 600;
  color: var(--wp--preset--color--ink);
}
.zoop-b-cta .zoop-bcell__cta-sub svg { width: 15px; height: 15px; }
.zoop-b-cta .zoop-bcell__chev { position: static; background: transparent; width: auto; height: auto; }
@media (max-width: 900px) {
  .zoop-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(160px, 38vw, 200px); grid-template-areas: none; }
  .zoop-bcell { grid-area: auto !important; }
}
@media (prefers-reduced-motion: reduce) {
  .zoop-bcell, .zoop-bcell__img, .zoop-bcell__chev { transition: none; }
  .zoop-bcell:hover { transform: none; }
  .zoop-bcell:hover .zoop-bcell__img { transform: none; }
}

/* ============================================================
   Guide render modules (D41 T4 build-contract) — verdict,
   decision router, comparison table, honesty, picks. All
   colour via theme tokens; drop into post-content via inserter.
   ============================================================ */

/* Verdict box */
.zoop-microlabel { margin: 0 0 0.25rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.zoop-verdict-split { gap: var(--wp--preset--spacing--50); }
.zoop-verdict-cell { flex: 1 1 220px; }

/* Decision router */
.zoop-router-grid { gap: var(--wp--preset--spacing--50); align-items: stretch; }
.zoop-router-card { flex: 1 1 240px; }

/* Comparison table — the citation asset */
.zoop-compare-table { overflow-x: auto; margin: 0; }
.zoop-compare-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--wp--preset--font-size--body); }
.zoop-compare-table thead th {
  text-align: left; vertical-align: bottom;
  font-family: var(--wp--preset--font-family--display); font-weight: 600;
  background: var(--wp--preset--color--canvas-elev); color: var(--wp--preset--color--ink);
  padding: 0.75rem 0.9rem; border-bottom: 2px solid var(--wp--preset--color--hairline);
}
.zoop-compare-table tbody td {
  padding: 0.7rem 0.9rem; vertical-align: top;
  color: var(--wp--preset--color--ink);
  border-bottom: 1px solid var(--wp--preset--color--hairline);
}
.zoop-compare-table tbody td:first-child { font-weight: 600; }
.zoop-compare-table tbody td:last-child { color: var(--wp--preset--color--ink-muted); }
.zoop-compare-table figcaption { margin-top: 0.6rem; font-size: 0.8rem; color: var(--wp--preset--color--ink-muted); }

/* Honesty / avoid-if */
.zoop-honesty-list { margin: 0; padding-left: 1.15rem; }
.zoop-honesty-list li { margin-block: 0.45rem; color: var(--wp--preset--color--ink); }
.zoop-honesty-list li::marker { color: var(--wp--preset--color--secondary-deep); }

/* Picks (swappable → Web's Choice embed, D40) */
.zoop-picks-grid { gap: var(--wp--preset--spacing--50); align-items: stretch; }
.zoop-pick-card { flex: 1 1 260px; }
.zoop-picks-note { max-width: 60ch; }

/* ============================================================
   Micro-interactions (D36: motion lives in hover/drift/scroll).
   theme.json can only swap colours on :hover, so the lift +
   transition + focus ring live here. Reduced-motion safe.
   ============================================================ */
.wp-block-button__link {
  transition: transform .14s var(--wp--custom--easing--pop), box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: var(--wp--custom--elevation--float); }
.wp-block-button__link:active { transform: translateY(0); box-shadow: var(--wp--custom--elevation--raised); }
.wp-block-button__link:focus-visible { outline: 3px solid var(--wp--preset--color--accent); outline-offset: 2px; }
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--ink), var(--wp--custom--elevation--raised);
}
/* Outline arrow/chevron nudge for any inline link with the eyebrow-style "more" affordance */
.zoop-router-card, .zoop-pick-card {
  transition: transform .2s var(--wp--custom--easing--pop), box-shadow .2s ease;
}
.zoop-router-card:hover, .zoop-pick-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--wp--custom--elevation--float);
}
@media (prefers-reduced-motion: reduce) {
  .wp-block-button__link, .zoop-router-card, .zoop-pick-card { transition: none; }
  .wp-block-button__link:hover, .zoop-router-card:hover, .zoop-pick-card:hover { transform: none; }
}

/* ============================================================
   Author modules (D42) — end-of-article bio links + byline
   hover card. Person schema emitted server-side. Tokenized.
   ============================================================ */
.zoop-byline-links { display: flex; flex-wrap: wrap; gap: var(--wp--preset--spacing--50); margin: var(--wp--preset--spacing--40) 0 0; }
.zoop-byline-link { font-size: 0.85rem; font-weight: 600; color: var(--wp--preset--color--accent); text-decoration: none; }
.zoop-byline-link:hover { text-decoration: underline; }

/* Byline hover card */
.zoop-bylinehover { position: relative; display: inline-block; }
.zoop-bylinehover-trigger { font-weight: 600; color: var(--wp--preset--color--ink-muted); text-decoration: none; }
.zoop-bylinehover-name { color: var(--wp--preset--color--accent); }
.zoop-bylinehover-trigger:hover .zoop-bylinehover-name,
.zoop-bylinehover-trigger:focus-visible .zoop-bylinehover-name { text-decoration: underline; }
.zoop-bylinehover-card {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 40;
  width: 320px; max-width: 86vw;
  display: flex; flex-direction: column; gap: 0.55rem;
  padding: 1rem;
  background: var(--wp--preset--color--surface);
  border: 1px solid var(--wp--preset--color--hairline);
  border-radius: var(--wp--custom--radius--md);
  box-shadow: var(--wp--custom--elevation--float);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .18s ease, transform .18s var(--wp--custom--easing--rise), visibility .18s;
}
.zoop-bylinehover:hover .zoop-bylinehover-card,
.zoop-bylinehover:focus-within .zoop-bylinehover-card { opacity: 1; visibility: visible; transform: translateY(0); }
.zoop-bylinehover-head { display: flex; align-items: center; gap: 0.65rem; }
.zoop-bylinehover-avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.zoop-bylinehover-cardname { font-weight: 700; color: var(--wp--preset--color--ink); text-decoration: none; }
.zoop-bylinehover-bio { font-size: 0.85rem; line-height: 1.5; color: var(--wp--preset--color--ink-muted); }
.zoop-bylinehover-links { display: flex; flex-wrap: wrap; gap: 0.9rem; font-size: 0.8rem; font-weight: 600; }
.zoop-bylinehover-links a { color: var(--wp--preset--color--accent); text-decoration: none; }
.zoop-bylinehover-links a:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) {
  .zoop-bylinehover-card { transition: opacity .18s ease, visibility .18s; transform: none; }
  .zoop-bylinehover:hover .zoop-bylinehover-card,
  .zoop-bylinehover:focus-within .zoop-bylinehover-card { transform: none; }
}

/* ============================================================
   Framed author photo (D42): rounded-square (bento radius
   family) + white frame + soft shadow + periwinkle accent
   badge overlapping the corner. Tokenized.
   ============================================================ */
.zoop-photo-frame {
  position: relative; display: inline-block; flex: none;
  padding: 6px;
  background: var(--wp--preset--color--surface);
  border-radius: var(--wp--custom--radius--md);
  box-shadow: var(--wp--custom--elevation--raised);
}
.zoop-photo-img {
  display: block; width: 92px; height: 92px;
  object-fit: cover;
  border-radius: var(--wp--custom--radius--sm);
}
.zoop-photo-badge {
  position: absolute; top: -12px; right: -12px;
  width: 34px; height: 34px;
  filter: drop-shadow(0 2px 3px rgba(30, 24, 10, 0.28));
}
.zoop-photo-badge svg { display: block; width: 100%; height: 100%; }
.zoop-photo-badge .zoop-sparkle {
  fill: var(--wp--preset--color--accent-fill);
  stroke: var(--wp--preset--color--surface);
  stroke-width: 1.6;
  paint-order: stroke;
  stroke-linejoin: round;
}
/* hover card uses a smaller frame + badge */
.zoop-bylinehover-head .zoop-photo-img { width: 60px; height: 60px; }
.zoop-bylinehover-head .zoop-photo-badge { width: 26px; height: 26px; top: -10px; right: -10px; }

/* ============================================================
   Home identity beats (v5): hero lemon mark, brand-mark dot,
   honest trust band, guide-card category badge. Tokenized.
   ============================================================ */
/* Hero lemon mark (spark = hero marker only, D36) */
.zoop-mark {
  background-image: linear-gradient(transparent 62%, var(--wp--preset--color--spark) 62%);
  padding: 0 0.04em;
}
/* Brand wordmark periwinkle dot. line-height:1 so the WP heading (site-title is an <h_>)
   doesn't inflate the box — keeps the wordmark on the masthead centerline + the pill height tight. */
.wp-block-site-title { display: inline-flex; align-items: baseline; line-height: 1; }
.wp-block-site-title a { text-decoration: none; }
.wp-block-site-title a::after {
  content: ""; display: inline-block;
  width: 0.32em; height: 0.32em; margin-left: 0.08em;
  border-radius: 50%;
  background: var(--wp--preset--color--accent-fill);
  box-shadow: 0 0 0 3px var(--wp--preset--color--accent-glow);
}
/* Honest trust band */
.zoop-honest-mark { color: var(--wp--preset--color--secondary); }
.zoop-honest-p { max-width: 58ch; }
/* Guide-card category badge */
.zoop-card-cat { margin-bottom: var(--wp--preset--spacing--30); }
.zoop-card-cat a {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--wp--preset--color--accent);
  text-decoration: none;
}
.zoop-card-cat a:hover { text-decoration: underline; }

/* ============================================================
   Primary nav (navigator, D46): frosted pill that intensifies
   on scroll; Guides mega-menu (featured cards + icon list);
   the ask field as centerpiece; India control; mobile burger.
   All colour via theme tokens. Reduced-motion safe.
   ============================================================ */
.zoop-site-header{position:sticky;top:0;z-index:50;padding:14px clamp(1rem,4vw,2rem)}
.zoop-masthead{
  position:relative;max-width:1140px;margin:0 auto;display:flex;align-items:center;gap:1rem;
  padding:.5rem .6rem .5rem 1.25rem;border-radius:var(--wp--custom--radius--pill);
  background:color-mix(in srgb, var(--wp--preset--color--canvas) 66%, transparent);
  -webkit-backdrop-filter:blur(12px) saturate(1.3);backdrop-filter:blur(12px) saturate(1.3);
  border:1px solid color-mix(in srgb, var(--wp--preset--color--hairline) 60%, transparent);
  box-shadow:0 1px 0 rgba(255,255,255,.4) inset, var(--wp--custom--elevation--raised);
  transition:background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.zoop-site-header.is-stuck .zoop-masthead{
  background:color-mix(in srgb, var(--wp--preset--color--canvas) 92%, transparent);
  border-color:var(--wp--preset--color--hairline);
  box-shadow:0 1px 0 rgba(255,255,255,.5) inset, var(--wp--custom--elevation--float);
}
/* The masthead is a flex row, but its group is layout:default (flow), so WP injects
   margin-block-start (the global block-gap) onto every child after the first — which
   shoves nav + search 8px below the centerline and inflates the pill. Zero the block
   margins on flex children (keep their inline margin-left for spacing/auto). */
.zoop-masthead > *{margin-block:0}
.zoop-masthead .wp-block-site-title{flex:none;margin:0 .35rem 0 .15rem}

.zoop-nav{display:flex;align-items:center;gap:.35rem;margin-left:.4rem}
.zoop-nav-link,.zoop-nav-trigger{font:inherit;font-weight:600;font-size:.95rem;color:var(--wp--preset--color--ink-muted);
  background:transparent;border:0;cursor:pointer;display:inline-flex;align-items:center;gap:.3rem;
  padding:.5rem .7rem;border-radius:var(--wp--custom--radius--pill);text-decoration:none;transition:color .2s, background .2s}
.zoop-nav-link:hover,.zoop-nav-trigger:hover{color:var(--wp--preset--color--ink);background:color-mix(in srgb,var(--wp--preset--color--canvas-elev) 70%, transparent)}
.zoop-nav-chev{width:15px;height:15px;transition:transform .25s var(--wp--custom--easing--rise)}
.zoop-nav-item.is-open .zoop-nav-trigger{color:var(--wp--preset--color--ink);background:var(--wp--preset--color--surface);box-shadow:var(--wp--custom--elevation--raised)}
.zoop-nav-item.is-open .zoop-nav-trigger .zoop-nav-chev{transform:rotate(180deg)}

.zoop-nav-ask{margin-left:auto;display:flex;align-items:center;gap:.5rem;flex:0 1 320px;
  background:var(--wp--preset--color--surface);border:1px solid var(--wp--preset--color--hairline);
  border-radius:var(--wp--custom--radius--pill);padding:.5rem .9rem;transition:box-shadow .2s, border-color .2s}
.zoop-nav-ask:focus-within{border-color:var(--wp--preset--color--accent-deep);box-shadow:0 0 0 4px var(--wp--preset--color--accent-glow)}
.zoop-nav-ask svg{width:17px;height:17px;color:var(--wp--preset--color--ink-muted);flex:none}
.zoop-nav-ask input{border:0;outline:0;background:transparent;font:inherit;font-size:.95rem;color:var(--wp--preset--color--ink);width:100%}
.zoop-nav-ask input::placeholder{color:var(--wp--preset--color--ink-faint)}

.zoop-country{display:inline-flex;align-items:center;gap:.4rem;font:inherit;font-weight:600;font-size:.9rem;color:var(--wp--preset--color--ink);
  background:transparent;border:0;cursor:pointer;padding:.5rem .7rem;border-radius:var(--wp--custom--radius--pill);transition:background .2s}
.zoop-country:hover{background:color-mix(in srgb,var(--wp--preset--color--canvas-elev) 70%, transparent)}
.zoop-country svg{width:16px;height:16px;color:var(--wp--preset--color--ink-muted)}

/* Guides mega-menu */
.zoop-nav-item{position:static}
.zoop-mega{position:absolute;left:0;right:0;top:calc(100% + 12px);z-index:40;width:auto;
  display:grid;grid-template-columns:1fr 280px;gap:1.1rem;padding:1.1rem;
  background:color-mix(in srgb,var(--wp--preset--color--canvas) 92%, transparent);
  -webkit-backdrop-filter:blur(16px) saturate(1.3);backdrop-filter:blur(16px) saturate(1.3);
  border:1px solid var(--wp--preset--color--hairline);border-radius:var(--wp--custom--radius--lg);
  box-shadow:var(--wp--custom--elevation--float);
  opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .2s ease, transform .22s var(--wp--custom--easing--rise), visibility .2s}
.zoop-nav-item.is-open .zoop-mega{opacity:1;visibility:visible;transform:translateY(0)}
.zoop-mega-feature{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem}
.zoop-mega-card{position:relative;border-radius:var(--wp--custom--radius--md);overflow:hidden;background:var(--wp--preset--color--canvas-elev);
  box-shadow:var(--wp--custom--elevation--raised);min-height:200px;display:flex;flex-direction:column;justify-content:flex-start;
  padding:1rem 1.1rem;text-decoration:none;color:var(--wp--preset--color--ink);transition:transform .25s var(--wp--custom--easing--pop), box-shadow .25s}
.zoop-mega-card:hover{transform:translateY(-3px);box-shadow:var(--wp--custom--elevation--float)}
.zoop-mega-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center 100%}
.zoop-mega-card.is-cover img{object-fit:cover;object-position:center 72%}
.zoop-mega-card::before{content:"";position:absolute;left:0;right:0;top:0;height:54%;z-index:1;pointer-events:none;
  background:linear-gradient(to bottom, var(--wp--preset--color--canvas-elev) 34%, color-mix(in srgb,var(--wp--preset--color--canvas-elev) 40%, transparent) 70%, transparent)}
.zoop-mega-ct{position:relative;z-index:2;font-family:var(--wp--preset--font-family--display);font-weight:600;font-size:1.1rem;line-height:1.1}
.zoop-mega-cd{position:relative;z-index:2;font-size:.78rem;font-weight:600;color:var(--wp--preset--color--ink-muted);margin-top:.15rem}
.zoop-mega-list{display:flex;flex-direction:column;gap:.1rem;border-left:1px solid var(--wp--preset--color--hairline);padding-left:1.1rem}
.zoop-mega-list a{display:flex;align-items:center;gap:.6rem;font-weight:600;font-size:.95rem;color:var(--wp--preset--color--ink);
  padding:.55rem .6rem;border-radius:var(--wp--custom--radius--sm);text-decoration:none;transition:background .15s}
.zoop-mega-list a:hover{background:var(--wp--preset--color--surface)}
.zoop-mega-list a svg{width:17px;height:17px;color:var(--wp--preset--color--accent-deep)}
.zoop-mega-all{margin-top:.3rem;color:var(--wp--preset--color--accent)}
.zoop-mega-all svg{color:var(--wp--preset--color--accent) !important}

/* Mobile nav */
.zoop-burger{display:none;background:transparent;border:0;cursor:pointer;padding:.45rem;border-radius:var(--wp--custom--radius--pill);
  color:var(--wp--preset--color--ink);margin-left:auto}
.zoop-burger:hover{background:color-mix(in srgb,var(--wp--preset--color--canvas-elev) 70%, transparent)}
.zoop-burger svg{width:24px;height:24px;display:block}
.zoop-mobile{position:absolute;left:0;right:0;top:calc(100% + 12px);z-index:45;display:none;flex-direction:column;gap:.5rem;padding:1rem;
  background:var(--wp--preset--color--canvas);
  -webkit-backdrop-filter:blur(16px) saturate(1.3);backdrop-filter:blur(16px) saturate(1.3);
  border:1px solid var(--wp--preset--color--hairline);border-radius:var(--wp--custom--radius--lg);box-shadow:var(--wp--custom--elevation--float)}
.zoop-site-header.is-menu-open .zoop-mobile{display:flex}
.zoop-nav-ask-m{flex:1 1 auto;margin:0}
.zoop-m-label{font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--wp--preset--color--ink-muted);margin:.4rem 0 0}
.zoop-m-cats{display:grid;grid-template-columns:1fr 1fr;gap:.1rem}
.zoop-m-cats a{padding:.6rem .55rem;border-radius:var(--wp--custom--radius--sm);font-weight:600;color:var(--wp--preset--color--ink);text-decoration:none}
.zoop-m-cats a:hover{background:var(--wp--preset--color--surface)}
.zoop-m-cats a.zoop-m-all{color:var(--wp--preset--color--accent)}
.zoop-m-row{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-top:.3rem;
  border-top:1px solid var(--wp--preset--color--hairline);padding-top:.7rem}
.zoop-m-row a{font-weight:600;padding:.5rem .6rem;border-radius:var(--wp--custom--radius--sm);text-decoration:none;color:var(--wp--preset--color--ink)}
.zoop-country-m{border:1px solid var(--wp--preset--color--hairline);padding:.5rem .8rem}
@media (max-width:980px){ .zoop-mega-feature{grid-template-columns:1fr 1fr} }
@media (max-width:860px){
  .zoop-masthead nav.zoop-nav,
  .zoop-masthead > .zoop-nav-ask,
  .zoop-masthead > .zoop-country{display:none}
  .zoop-burger{display:inline-flex}
}
@media (prefers-reduced-motion: reduce){
  .zoop-masthead,.zoop-nav-chev,.zoop-mega,.zoop-mega-card,.zoop-nav-link,.zoop-nav-trigger{transition:none}
  .zoop-mega{transform:none}
  .zoop-mega-card:hover{transform:none}
}

/* ===== v5 design tokens — mapped to theme.json palette (single hex source, no new hex) ===== */
:root{
  --ivory: var(--wp--preset--color--canvas);
  --cream: var(--wp--preset--color--canvas-elev);
  --surface: var(--wp--preset--color--surface);
  --ink: var(--wp--preset--color--ink);
  --ink-muted: var(--wp--preset--color--ink-muted);
  --ink-faint: var(--wp--preset--color--ink-faint);
  --line: var(--wp--preset--color--hairline);
  --line-2: color-mix(in srgb, var(--wp--preset--color--hairline), white 35%);
  --peri: var(--wp--preset--color--accent-fill);
  --peri-deep: var(--wp--preset--color--accent-deep);
  --peri-soft: var(--wp--preset--color--accent-glow);
  --peach: var(--wp--preset--color--secondary);
  --peach-deep: var(--wp--preset--color--secondary-deep);
  --peach-soft: var(--wp--preset--color--secondary-soft);
  --lemon: var(--wp--preset--color--spark);
  --lemon-soft: var(--wp--preset--color--spark-soft);
  --display: "Fraunces", Georgia, serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --max: 1200px; --max-wide: 1360px;
  --page-x: clamp(1.15rem, 4vw, 3rem);
  --r-sm:12px; --r-md:18px; --r-lg:24px; --r-xl:32px; --r-pill:999px;
  --pop: cubic-bezier(0.34,1.56,0.64,1);
  --rise: cubic-bezier(0.22,1,0.36,1);
  --shadow: 0 1px 2px rgba(30,24,10,0.04), 0 6px 20px rgba(30,24,10,0.05);
  --shadow-lg: 0 2px 6px rgba(30,24,10,0.05), 0 18px 44px rgba(30,24,10,0.10);
  --shadow-card: 0 2px 6px rgba(30,24,10,0.06), 0 22px 50px rgba(30,24,10,0.15);
}

/* ===== Footer (v5 dark, full-width, multi-column) — site-wide ===== */
.zoop-footer{ background: var(--ink); color: var(--ivory); }
.zoop-footer .fwrap{ max-width: var(--max-wide); margin: 0 auto; padding-inline: var(--page-x); }
.zoop-footer .foot{ display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 2.5rem;
  padding-block: clamp(3rem, 5vw, 4.5rem); }
.zoop-footer .foot-brand{ font-family: var(--display); font-weight: 600; font-size: 1.55rem;
  letter-spacing: -0.02em; color: var(--ivory); display: inline-flex; align-items: center; gap: 0.1em; margin-bottom: 0.8rem; }
.zoop-footer .foot-brand .dot{ width: 0.34em; height: 0.34em; border-radius: 50%; background: var(--peri);
  display: inline-block; margin-bottom: -0.02em; }
.zoop-footer .foot-tag{ color: rgba(255,254,236,0.58); font-size: 0.95rem; max-width: 34ch; font-family: var(--body); }
.zoop-footer .foot h4{ font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,254,236,0.42); margin-bottom: 1rem; font-weight: 700; font-family: var(--body); }
.zoop-footer .foot a.fl{ display: block; color: rgba(255,254,236,0.76); font-weight: 500; padding-block: 0.3rem;
  font-size: 0.95rem; transition: color .2s; }
.zoop-footer .foot a.fl:hover{ color: var(--peri); }
.zoop-footer .foot-bottom{ border-top: 1px solid rgba(255,254,236,0.12); padding-block: 1.5rem 2.4rem;
  display: flex; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap; align-items: center;
  font-size: 0.85rem; color: rgba(255,254,236,0.42); }
.zoop-footer .foot-langs{ display: flex; gap: 1.1rem; flex-wrap: wrap; }
.zoop-footer .foot-langs a{ color: rgba(255,254,236,0.6); font-weight: 600; transition: color .2s; }
.zoop-footer .foot-langs a[aria-current="true"]{ color: var(--ivory); }
.zoop-footer .foot-langs a:hover{ color: var(--peri); }
@media (max-width: 940px){ .zoop-footer .foot{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .zoop-footer .foot{ grid-template-columns: 1fr; } }
