/* AfterAllys v2.9.0 — quiet layer. Loads last; calms type, colour, spacing and removes clutter. */
:root { --aa-ink: #0b0b10; --aa-paper: #f7f6f3; --aa-tile: #efece6; --aa-line: #e2ded6; --aa-muted: #77736b; --aa-cobalt: #3b5bff; }
body.festival-theme { background: var(--aa-paper); color: var(--aa-ink); font: 400 15px/1.6 "Inter", system-ui, -apple-system, sans-serif; letter-spacing: 0; -webkit-font-smoothing: antialiased; }
body.festival-theme a { color: inherit; }
body.festival-theme .visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.festival-theme .skip-link { position: absolute; left: -9999px; }
body.festival-theme .skip-link:focus { left: 16px; top: 16px; z-index: 99; background: #fff; padding: 8px 12px; }

/* Clutter removed */
body.festival-theme .ticker, body.festival-theme .cat-strip, body.festival-theme .dest-scroller,
body.festival-theme .product-card__badges, body.festival-theme .badge, body.festival-theme .bundle-banner,
body.festival-theme .shop-glow__wash, body.festival-theme .hero__still, body.festival-theme .hero__shade,
body.festival-theme .order-bump-stack:empty, body.festival-theme .card-quick { display: none !important; }

/* Announcement */
body.festival-theme .topbar { background: var(--aa-ink); color: rgba(247, 246, 243, 0.72); border-bottom: 1px solid rgba(247, 246, 243, 0.08); }
body.festival-theme .topbar p { margin: 0; padding: 9px 16px; text-align: center; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }

/* Header */
body.festival-theme .site-header { position: sticky; top: 0; z-index: 30; background: var(--aa-ink); color: var(--aa-paper); border: 0; box-shadow: none; backdrop-filter: none; }
body.festival-theme .site-header__inner { max-width: 1320px; margin: 0 auto; padding: 20px 40px 8px; display: flex; align-items: center; justify-content: center; position: relative; }
body.festival-theme .aa-logo__img { height: 46px; width: auto; display: block; filter: none; }
body.festival-theme .bag-button { position: absolute; right: 40px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: inherit; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; padding: 8px 0; box-shadow: none; }
body.festival-theme .site-nav { background: none; border: 0; padding: 0 0 18px; }
body.festival-theme .site-nav__list { list-style: none; display: flex; justify-content: center; gap: 44px; margin: 0; padding: 0; flex-wrap: wrap; }
body.festival-theme .site-nav__list a { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; opacity: 0.82; padding: 6px 0; border: 0; background: none; border-radius: 0; }
body.festival-theme .site-nav__list a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }

/* Hero */
body.festival-theme .hero, body.festival-theme .hero--quiet { position: relative; min-height: min(72vh, 680px); display: grid; place-items: center; text-align: center; background: var(--aa-ink); color: var(--aa-paper); padding: 96px 24px 120px; overflow: hidden; }
body.festival-theme .hero__content { max-width: 720px; position: relative; z-index: 1; }
body.festival-theme .hero__eyebrow { margin: 0 0 28px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(247, 246, 243, 0.55); }
body.festival-theme .hero__title { margin: 0 0 40px; font-family: "Inter", system-ui, sans-serif; font-weight: 300; font-size: clamp(40px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -0.02em; text-transform: none; text-shadow: none; background: none; -webkit-text-fill-color: currentColor; }
body.festival-theme .hero__cta, body.festival-theme .hero__lede { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 8px; color: inherit; background: none; border: 0; padding: 0; box-shadow: none; }
body.festival-theme .hero canvas { opacity: 0.18; }

/* Sections + grid */
body.festival-theme .shop-sections, body.festival-theme .shop-glow, body.festival-theme .pdp-wrap { max-width: 1320px; margin: 0 auto; padding: 112px 40px 40px; background: none; }
body.festival-theme .cat-section { margin: 0 0 128px; padding: 0; background: none; border: 0; }
body.festival-theme .cat-section__head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 32px; padding: 0; border: 0; }
body.festival-theme .cat-section__head h2 { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
body.festival-theme .cat-section__head p { display: none; }
body.festival-theme .cat-section__more { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 5px; color: var(--aa-muted); background: none; border: 0; padding: 0; }
body.festival-theme .product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 24px; list-style: none; margin: 0; padding: 0; }
body.festival-theme .product-card { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
body.festival-theme .product-card:hover { transform: none; box-shadow: none; }
body.festival-theme .product-card__media, body.festival-theme .product-card__art { display: block; aspect-ratio: 4 / 5; background: var(--aa-tile); border-radius: 0; overflow: hidden; }
body.festival-theme .product-card__photo { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
body.festival-theme .product-card__body { padding: 16px 0 0; text-align: left; }
body.festival-theme .product-card__title { margin: 0 0 4px; font-size: 13px; font-weight: 400; letter-spacing: 0.01em; text-transform: none; line-height: 1.4; }
body.festival-theme .product-card__title a { text-decoration: none; }
body.festival-theme .product-card__meta { margin: 0 0 2px; font-size: 12px; color: var(--aa-muted); }
body.festival-theme .product-card__price { margin: 0; font-size: 13px; color: var(--aa-ink); font-weight: 400; }
body.festival-theme .product-card__foot { display: flex; justify-content: flex-start; gap: 12px; margin-top: 10px; }
body.festival-theme .btn--add, body.festival-theme .product-card__confirm { background: none !important; color: var(--aa-ink) !important; border: 0 !important; border-bottom: 1px solid currentColor !important; border-radius: 0 !important; padding: 2px 0 !important; font-size: 11px !important; letter-spacing: 0.16em; text-transform: uppercase; box-shadow: none !important; min-height: 0; }

/* Perks */
body.festival-theme .perks { background: none; border-top: 1px solid var(--aa-line); max-width: 1320px; margin: 0 auto; padding: 44px 40px 64px; }
body.festival-theme .perks__list { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 56px; margin: 0; padding: 0; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--aa-muted); }

/* Shop page */
body.festival-theme .shop-hero { padding: 0 0 40px; text-align: left; background: none; }
body.festival-theme .shop-hero h1 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); font-weight: 300; letter-spacing: -0.01em; text-transform: none; }
body.festival-theme .shop-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin: 0 0 48px; padding: 0 0 16px; border-bottom: 1px solid var(--aa-line); background: none; }
body.festival-theme .shop-tools__row { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
body.festival-theme .filter-pill { background: none !important; border: 0 !important; border-radius: 0 !important; padding: 4px 0 !important; font-size: 11px !important; letter-spacing: 0.14em; text-transform: uppercase; color: var(--aa-muted) !important; box-shadow: none !important; }
body.festival-theme .filter-pill.is-active, body.festival-theme .filter-pill[aria-pressed="true"] { color: var(--aa-ink) !important; text-decoration: underline; text-underline-offset: 6px; }
body.festival-theme .shop-sort, body.festival-theme .shop-sort select { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; background: none; border: 0; color: var(--aa-ink); }

/* Footer */
body.festival-theme .site-footer { background: var(--aa-ink); color: rgba(247, 246, 243, 0.72); padding: 72px 40px 120px; margin-top: 0; border: 0; }
body.festival-theme .site-footer__inner { max-width: 1320px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
body.festival-theme .brand--footer .aa-logo__img { height: 34px; opacity: 0.9; }
body.festival-theme .site-footer__links { display: flex; gap: 36px; flex-wrap: wrap; justify-content: center; }
body.festival-theme .site-footer__links a, body.festival-theme .site-footer__links button { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
body.festival-theme .site-footer__legal { margin: 0; font-size: 11px; color: rgba(247, 246, 243, 0.4); letter-spacing: 0.08em; }

@media (max-width: 900px) {
  body.festival-theme .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 12px; }
  body.festival-theme .site-header__inner { padding: 16px 20px 6px; }
  body.festival-theme .aa-logo__img { height: 36px; }
  body.festival-theme .bag-button { right: 20px; }
  body.festival-theme .site-nav__list { gap: 24px; }
  body.festival-theme .shop-sections, body.festival-theme .shop-glow { padding: 72px 20px 24px; }
  body.festival-theme .cat-section { margin-bottom: 88px; }
}

/* v2.9.2 — Quiet + glow: restrained cobalt halo on logo, headline, buttons and tiles. */
body.festival-theme .aa-logo__img { filter: drop-shadow(0 0 8px rgba(59, 91, 255, 0.45)) drop-shadow(0 0 18px rgba(59, 91, 255, 0.18)); }
body.festival-theme .hero__title { text-shadow: 0 0 28px rgba(59, 91, 255, 0.38), 0 0 64px rgba(59, 91, 255, 0.16); }
body.festival-theme .hero--quiet { background: radial-gradient(48% 42% at 50% 56%, rgba(59, 91, 255, 0.13), rgba(11, 11, 16, 0) 72%), var(--aa-ink); }
body.festival-theme .hero__cta { display: inline-block; text-decoration: none; padding: 14px 30px; border: 1px solid rgba(59, 91, 255, 0.7); border-radius: 999px; box-shadow: 0 0 14px rgba(59, 91, 255, 0.28); transition: box-shadow 0.3s ease, background-color 0.3s ease; }
body.festival-theme .hero__cta:hover, body.festival-theme .hero__cta:focus-visible { background: rgba(59, 91, 255, 0.14); box-shadow: 0 0 26px rgba(59, 91, 255, 0.5); outline: none; }
body.festival-theme .btn--add, body.festival-theme .product-card__confirm, body.festival-theme .cat-section__more { transition: text-shadow 0.3s ease, color 0.3s ease; }
body.festival-theme .btn--add:hover, body.festival-theme .btn--add:focus-visible, body.festival-theme .cat-section__more:hover, body.festival-theme .cat-section__more:focus-visible { color: var(--aa-cobalt) !important; text-shadow: 0 0 10px rgba(59, 91, 255, 0.45); }
body.festival-theme .product-card__media { transition: transform 0.35s ease, box-shadow 0.35s ease; }
body.festival-theme .product-card:hover .product-card__media, body.festival-theme .product-card:focus-within .product-card__media { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(59, 91, 255, 0.22), 0 10px 28px rgba(59, 91, 255, 0.16); }
.aa-player { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 18px rgba(59, 91, 255, 0.22) !important; }
.aa-player__play { box-shadow: 0 0 12px rgba(59, 91, 255, 0.45); transition: box-shadow 0.3s ease; }
.aa-player__play:hover, .aa-player__play:focus-visible { box-shadow: 0 0 22px rgba(59, 91, 255, 0.7); }
@media (prefers-reduced-motion: reduce) {
  body.festival-theme .product-card__media, body.festival-theme .hero__cta, .aa-player__play { transition: none; }
  body.festival-theme .product-card:hover .product-card__media, body.festival-theme .product-card:focus-within .product-card__media { transform: none; }
}

/* v2.9.5: keep the hero headline on one line */
body.festival-theme .hero__content { max-width: 920px; }
body.festival-theme .hero__title { white-space: nowrap; font-size: clamp(24px, 5.2vw, 64px); text-transform: lowercase; }

/* v2.9.7: live WordPress hero = preview hero (main.css flex/padding and legacy hero layers neutralised). */
body.festival-theme .hero--quiet { grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: center; }
body.festival-theme .hero--quiet .hero__title { max-width: none; width: auto; }
body.festival-theme .hero--quiet .hero__content { width: 100%; max-width: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 0; }
body.festival-theme .hero--quiet::before, body.festival-theme .hero--quiet::after,
body.festival-theme .hero--quiet canvas, body.festival-theme .hero--quiet .hero__still, body.festival-theme .hero--quiet .hero__shade { display: none !important; }
