/* Pitti Palace colours over the shared attraction layout.
   Only colour values change; sizes, spacing and structure stay exactly as on the Majorelle page.
   The tokens are set again on .theme-attraction because the shared token sheet declares them there too. */
body.apocv-place-pittipalace,
body.apocv-place-pittipalace .theme-attraction {
  --ivory: #faf6ef; --white: #fefcf8; --tint: #f1e9dc; --paper: #f5ecdd; --cream: #fff8ea;
  --line: #e2d6c3; --line-2: #e0d3be;
  --navy: #1f2419; --navy-2: #2a3122; --teal: #2f2a1c;
  --cobalt-a: #4f6b3a; --cobalt-b: #3f562e; --cobalt: #4f6b3a;
  --gold: #a8742e; --gold-deep: #8a5a1f; --sun: #f2b544; --sand: #e6c88f; --pale-yellow: #f3dca6; --dot-green: #7c8a3a;
  --forest: #3c4a2c; --forest-deep: #2e3a22;
  --muted: #6a5d52; --muted-green: #5a5238;
  --header-bg: var(--navy); --header-blue: var(--navy);
  --button-bg: linear-gradient(115deg, var(--cobalt-a), var(--cobalt-b));
  --focus: 2px solid #4f6b3a;
  --shadow-button: 0 8px 20px rgba(63, 86, 46, 0.2);
}
body.apocv-place-pittipalace #mobile-menu.ac-mj-drawer { --sun: #f2b544; --sand: #e6c88f; --mmuted: #c9cbbd; --drawer: #1f2419; }
/* The phone menu: dark earth in place of Majorelle navy, terracotta in place of cobalt. */
html body.apocv-place-pittipalace #mobile-menu.ac-mj-drawer,
html body.apocv-place-pittipalace #mobile-menu.ac-mj-drawer .top { background: #1f2419; }
html body.apocv-place-pittipalace #mobile-menu.ac-mj-drawer .d-buy { background: #2b3223; }
html body.apocv-place-pittipalace #mobile-menu.ac-mj-drawer .d-opt.on { background: #353e2b; }
html body.apocv-place-pittipalace #mobile-menu.ac-mj-drawer .d-cta { background: linear-gradient(115deg, #4f6b3a, #3f562e); border-color: #a9c193; }
html body.apocv-place-pittipalace #mobile-menu.ac-mj-drawer .top .cnt { background: #3b4430; }
html body.apocv-place-pittipalace #mobile-menu.ac-mj-drawer .search { background: #2b3223; }

/* Ticket step: one experience fills the switch; the link colour follows the attraction accent. */
html body.apocv-place-pittipalace #main.apocv-booking .ticket-card .apocv-experience-switch:has(> a:only-child) { grid-template-columns: 1fr; }
html body.apocv-place-pittipalace .ticket-card-heading a { color: var(--cobalt); }

/* Plan your visit: the selected visitor-guide tab. */
html body.apocv-place-pittipalace .ep-visitor-tabs a[aria-selected="true"] { color: var(--cobalt); border-bottom-color: var(--cobalt); }

/* The header and its ticket button have the Majorelle colours written in, not taken from the tokens. */
html body.apocv-place-pittipalace header.site-header.vm-attraction-header { background: var(--navy); }
html body.apocv-place-pittipalace header.vm-attraction-header :is(.desktop-nav, .hdr-acts) > .button,
html body.apocv-place-pittipalace :is(main, header) .button:not(.outline-button) { background: linear-gradient(115deg, var(--cobalt-a), var(--cobalt-b)); }
/* "Your visit. Clearly arranged." has its own navy gradient; here it takes the attraction's dark tone. */
body.apocv-place-pittipalace #main #apollonaut-visit-arranged { background: linear-gradient(120deg, #333c29, #1f2419 62%, #2d3424); }
body.apocv-place-pittipalace #main #apollonaut-visit-arranged .visit-arranged__tabs button:not([aria-selected="true"]),
body.apocv-place-pittipalace #majorelle-guide .apo-guide__tabs button:not([aria-selected="true"]) { border-color: #949883; }
body.apocv-place-pittipalace #main.ac-mj .btn-primary:hover,
body.apocv-place-pittipalace #sbar.sbar .btn-primary:hover { background: linear-gradient(115deg, #66854f, var(--cobalt-b)); }

/* Several experiences: the ticket-step switch wraps in rows of two. */
html body.apocv-place-pittipalace #main.apocv-booking .ticket-card .apocv-experience-switch a:nth-child(n+3) { border-top: 1px solid var(--line-2, #ded8c9); }
html body.apocv-place-pittipalace #main.apocv-booking .ticket-card .apocv-experience-switch a:nth-child(odd) { border-inline-start: 0; }
