/* Ziptrak SG phase 2: the NEW blocks AU's theme doesn't have (Chia's critique, 22 Nov 2026).
   Every rule here is a block Romi builds new; each section using one is tagged "NEW BLOCK NEEDED".
   Colours are the theme's own: navy #1f2a44, amber #ffb448, sand #f7f4f1, line #dfdad0, grey #969696. */
:root {
  --zt-navy: #1f2a44;
  --zt-amber: #ffb448;
  --zt-sand: #f7f4f1;
  --zt-line: #dfdad0;
  --zt-grey: #6b6b6b;      /* 5.3:1 on white, for small text (the theme's #969696 is 2.9:1) */
  --zt-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --zt-paper: oklch(0.993 0.004 85); /* warm near white for our new controls; 15:1 on navy */
}

/* ---------- 0. No dot before the small labels ----------
   AU's theme puts a 12px amber dot (#FFB448) before every h5 (style.css, h5:not(.no-dot):before).
   It is AU's motif; sg.ziptrak.com has never used it, and Chia found it odd (22 Nov). Off for SG.
   Romi: one rule in the SG child theme, or the no-dot class on each h5. */
body.page-template-template-default-ziptrak h5::before,
body.page-template-template-default-ziptrak .h5::before { content: none !important; display: none !important; }

/* ---------- 1. Header: follows the page, a solid bar with a shadow once you scroll ---------- */
#masthead, #navbar-desktop { transition: box-shadow 200ms ease; }
#navbar-desktop.is-scrolled { box-shadow: 0 6px 18px rgba(14, 15, 15, 0.10); }
@media (max-width: 991px) { #masthead.is-scrolled { box-shadow: 0 4px 14px rgba(14, 15, 15, 0.18); } }

/* ---------- 2. Range tabs (one page per range: Manual, Motorised, Fabrics, Frames) ---------- */
.zt-range { width: 100%; max-width: 1280px; margin: 0 auto; position: relative; }
.zt-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
.zt-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 28px;
}
.zt-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-height: 112px;
  padding: 18px 20px;
  border: 1px solid var(--zt-line);
  border-radius: 10px;
  background: #fff;
  color: var(--zt-navy);
  font: inherit;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 160ms ease, border-color 160ms ease, transform 140ms var(--zt-ease);
}
.zt-tab:active { transform: scale(0.98); }
.zt-tab:focus-visible { outline: 2px solid var(--zt-navy); outline-offset: 3px; }
.zt-tab__no { font-size: 13px; letter-spacing: 0.08em; color: var(--zt-grey); font-variant-numeric: tabular-nums; }
.zt-tab__name { font-size: 20px; line-height: 1.2; font-weight: 700; }
.zt-tab__line { font-size: 14px; line-height: 1.4; color: var(--zt-grey); }
.zt-tab[aria-selected="true"] { background: var(--zt-navy); border-color: var(--zt-navy); color: #fff; }
.zt-tab[aria-selected="true"] .zt-tab__no { color: var(--zt-amber); }
.zt-tab[aria-selected="true"] .zt-tab__line { color: #e6e9f0; }
@media (hover: hover) and (pointer: fine) {
  .zt-tab[aria-selected="false"]:hover { border-color: var(--zt-navy); background: var(--zt-sand); }
}
.zt-panel { outline: none; }
.zt-panel__intro { max-width: 760px; margin: 0 0 24px; font-size: 18px; line-height: 1.55; color: #0e0f0f; }
.zt-panel__intro strong { color: var(--zt-navy); }

/* ---------- 3. Part list and the showcase panel (the quest log) ----------
   ONE STANDARD for every tab on Outdoor and Interior, Interior's rooms and Why Ziptrak (Chia, 23 Nov 2026,
   from the Interior > Fabrics card he liked): a bordered card, a 16:9 picture box on the left, the copy on the
   right. The picture box is 546 × 307 at 1920 wide everywhere, with or without the part list beside it.
   Romi: NEW BLOCK NEEDED "showcase panel" = core/group (bordered) holding the media box and the copy;
   the part list is the same block's tab buttons. */
.zt-quest {
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.zt-quest__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.zt-part {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--zt-navy);
  font: inherit;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 150ms ease, border-color 150ms ease;
}
.zt-part__name { font-size: 17px; line-height: 1.3; }
/* No chevron on the chosen part (Chia, 23 Nov round 3): the highlighted row says it alone. */
.zt-part[aria-selected="true"] { background: #fff; border-color: var(--zt-line); font-weight: 700; }
.zt-part:focus-visible { outline: 2px solid var(--zt-navy); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .zt-part[aria-selected="false"]:hover { background: rgba(255, 255, 255, 0.6); }
}
.section-group:not(.gray) .zt-part[aria-selected="true"] { background: var(--zt-sand); }

/* The panel. The picture column is fixed at the 546px Chia measured, so the box is the same in every tab. */
.zt-detail {
  display: grid;
  grid-template-columns: minmax(0, 546px) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--zt-line);
  border-radius: 12px;
  background: #fff;
}
.zt-detail[hidden] { display: none; }
.zt-detail--lead { margin-bottom: 16px; align-items: center; }

/* The 16:9 picture box: one picture, or a photo then our drawing behind a small switcher. */
.zt-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: var(--zt-sand);
}
.zt-media__slide { position: absolute; inset: 0; margin: 0; }
.zt-media__slide[hidden] { display: none; }
.zt-media__slide > img, .zt-media__slide > video,
.zt-media__slide iframe { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; }
.zt-media__slide--contain { background: #fff; } /* design-lint-allow pure-black-white the product shots are cut out on pure white, so the box must match */
.zt-media__slide--contain > img { object-fit: contain; }
/* Our drawings are drawn on paper #F8F2EF; the box takes the same colour so a 3:2 drawing sits seamless in 16:9. */
.zt-media__slide--drawing { background: #f8f2ef; }
.zt-media__slide--drawing > img { object-fit: contain; }
/* Two to four product shots side by side (remotes, motors, bridges) */
.zt-media__group { display: grid; gap: 2px; background: var(--zt-line); }
.zt-media__group--2 { grid-template-columns: 1fr 1fr; }
.zt-media__group--3 { grid-template-columns: repeat(3, 1fr); }
.zt-media__group--4 { grid-template-columns: repeat(4, 1fr); }
.zt-media__group > img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; background: #fff; } /* design-lint-allow pure-black-white the product shots are cut out on pure white, so the box must match */
.zt-media--cover .zt-media__group > img { object-fit: cover; }
/* A picture still to come: sized like the real one, with a label that says what goes here. */
.zt-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 32px;
  border: 2px dashed #b9b2a5;
  border-radius: 8px;
  background: var(--zt-sand);
  text-align: center;
}
.zt-ph__label { margin: 0; max-width: 40ch; font-size: 15px; line-height: 1.45; font-weight: 700; color: var(--zt-navy); }
.zt-ph__file { margin: 0; font-size: 13px; line-height: 1.4; color: var(--zt-grey); font-variant-numeric: tabular-nums; }
/* The switcher: labelled buttons on the picture, bottom left. Arrow keys move between them; nothing autoplays. */
.zt-media__nav {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--zt-line);
  border-radius: 999px;
  background: var(--zt-paper);
}
.zt-media__btn {
  min-height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--zt-navy);
  font: inherit;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  transition: background-color 150ms ease, color 150ms ease, transform 120ms var(--zt-ease);
}
.zt-media__btn:active { transform: scale(0.96); }
.zt-media__btn[aria-selected="true"] { background: var(--zt-navy); color: var(--zt-paper); }
.zt-media__btn:focus-visible { outline: 2px solid var(--zt-navy); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .zt-media__btn[aria-selected="false"]:hover { background: var(--zt-sand); }
}
@media (pointer: coarse) { .zt-media__btn { min-height: 44px; padding: 0 16px; } }

/* Why Ziptrak, part by part: the same panel, with the specifications under the picture and the copy.
   The list numbers match the callouts on the exploded drawing (Fig. 1). The section fits one 1920 × 1080
   screen under the header (Chia, 23 Nov 2026), so its padding is tighter than the theme's 80px. */
.zt-fit.section-group { padding-top: 40px !important; padding-bottom: 40px !important; }
.zt-fit .section-header { margin-bottom: 28px; }
.zt-fit .section-header > .section-title { max-width: 1100px; text-wrap: balance; }
.zt-quest--spec .zt-part { justify-content: flex-start; }
.zt-quest--spec .zt-part__name { flex: 1; }
.zt-part__no {
  flex: none;
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 6px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.zt-part[aria-selected="true"] .zt-part__no { background: var(--zt-navy); border-color: var(--zt-navy); color: var(--zt-paper); }
.zt-detail--spec { row-gap: 14px; padding: 18px 24px; }
.zt-detail__specs { grid-column: 1 / -1; min-width: 0; }
.zt-detail__specs > .zt-small { margin: 0 0 8px; font-size: 13px; line-height: 1.45; color: var(--zt-grey); }
.zt-spec-table { margin: 0; }
.zt-spec-table table { width: 100%; border-collapse: collapse; }
.zt-spec-table th, .zt-spec-table td { padding: 6px 12px 6px 0; border: 0; border-top: 1px solid var(--zt-line); font-size: 15px; line-height: 1.4; text-align: left; vertical-align: top; color: #0e0f0f; }
.zt-spec-cols { display: grid !important; grid-template-columns: 1fr 1fr; gap: 0 28px !important; margin: 0 !important; }
.zt-spec-cols > .wp-block-column { min-width: 0; margin: 0 !important; }
.zt-spec-table th { width: 130px; font-weight: 700; color: var(--zt-navy); }
.zt-spec-table tr:last-child th, .zt-spec-table tr:last-child td { border-bottom: 1px solid var(--zt-line); }
.zt-spec-table th, .zt-spec-table td { font-size: 14px; }
.zt-spec-table a, .zt-legend a { color: var(--zt-navy); text-decoration: underline; text-underline-offset: 2px; }
.zt-why { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: #0e0f0f; }
.zt-why strong { color: var(--zt-navy); }
.zt-detail__specs .zt-legend { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 22px; margin: 0; padding: 0; }
.zt-detail__specs .zt-legend li { margin: 0 !important; padding: 0 0 0 30px !important; min-height: 0; font-size: 13px; line-height: 1.4 !important; }
.zt-detail__specs .zt-legend li::before { width: 22px; height: 22px; font-size: 12px; line-height: 20px; top: 0; }
.zt-quest--spec .zt-detail__body h3 { font-size: 22px; }
.zt-quest--spec .zt-detail__body p { font-size: 15px; line-height: 1.55; }
@media (max-width: 991px) {
  .zt-detail__specs .zt-legend { grid-template-columns: 1fr; }
  .zt-spec-table th { width: 38%; }
  .zt-spec-cols { grid-template-columns: 1fr; }
  .zt-spec-cols > .wp-block-column + .wp-block-column .zt-spec-table tr:first-child > * { border-top: 0; }
}

.zt-detail__body h3 { margin: 0 0 10px; font-size: 24px; line-height: 1.25; color: var(--zt-navy); }
.zt-detail__body p { margin: 0 0 12px; font-size: 16px; line-height: 1.6; color: #0e0f0f; }
.zt-detail__body p:last-child { margin-bottom: 0; }
.zt-detail__body .zt-small { font-size: 14px; color: var(--zt-grey); }
.zt-detail__body ul { margin: 0 0 12px; padding-left: 20px; }
.zt-detail__body li { margin: 0 0 6px; font-size: 16px; line-height: 1.5; }
.zt-detail__body a:not(.wp-block-button__link) { color: var(--zt-navy); text-decoration: underline; text-underline-offset: 2px; }

/* Frame colours: small swatches, no pop-ups, no slider (Chia, 22 Nov) */
.zt-swatches { display: flex; flex-wrap: wrap; gap: 14px 18px; margin: 4px 0 14px; padding: 0; list-style: none; }
.zt-swatches li { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 76px; margin: 0; font-size: 13px; line-height: 1.3; text-align: center; color: #0e0f0f; }
.zt-swatch { display: block; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(14, 15, 15, 0.18); background-size: cover; }


/* Benefit cards with a small picture (manual benefits, Built for Singapore) */
.zt-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; width: 100%; max-width: 1280px; margin: 0 auto; }
.zt-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 12px; background: #fff; border: 1px solid var(--zt-line); }
.zt-card__icon { width: 100%; height: 132px; object-fit: contain; margin-bottom: 6px; }
.zt-card__kicker { margin: 0; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--zt-grey); }
.zt-card h3 { margin: 0; font-size: 20px; line-height: 1.3; color: var(--zt-navy); }
.zt-card p { margin: 0; font-size: 16px; line-height: 1.55; color: #0e0f0f; }
.zt-card .zt-small { font-size: 13px; color: var(--zt-grey); margin-top: auto; padding-top: 6px; }

/* Benefit facts on navy (home): benefit first, the spec as small print */
.zt-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; width: 100%; margin: 8px 0 0; }
.zt-fact h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.25; color: #fff; }
.zt-fact p { margin: 0 0 10px; font-size: 16px; line-height: 1.55; color: #e6e9f0; }
.zt-fact .zt-fact__spec { margin: 0; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.22); font-size: 13px; line-height: 1.45; color: #b9c0cf; }
.zt-fact .zt-fact__spec strong { color: var(--zt-amber); font-weight: 700; }

/* ---------- 4. Support and news ---------- */
.zt-faq-note { margin: 0 0 18px; padding: 12px 16px; border-radius: 8px; background: var(--zt-sand); font-size: 16px; }
.zt-faq-note a { color: var(--zt-navy); text-decoration: underline; }
.zt-faq-group { margin: 0 0 32px; }
.zt-faq-group > h3 { margin: 0 0 12px; font-size: 20px; color: var(--zt-navy); }
.zt-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.zt-guide { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--zt-line); border-radius: 10px; background: #fff; }
.zt-guide h3 { margin: 0; font-size: 18px; line-height: 1.3; color: var(--zt-navy); }
.zt-guide p { margin: 0; font-size: 15px; line-height: 1.5; }
.zt-guide a { color: var(--zt-navy); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.zt-prose { max-width: 820px; }
.zt-prose h3 { margin: 28px 0 10px; font-size: 20px; color: var(--zt-navy); }
.zt-prose p, .zt-prose li { font-size: 16px; line-height: 1.65; }
.zt-prose ul, .zt-prose ol { padding-left: 22px; }
.zt-help { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 8px; }
.zt-help > div { padding: 22px; border-radius: 12px; background: #fff; border: 1px solid var(--zt-line); }
.zt-help h3 { margin: 0 0 8px; font-size: 18px; color: var(--zt-navy); }
.zt-help p { margin: 0 0 6px; font-size: 16px; line-height: 1.55; }
.zt-help a { color: var(--zt-navy); text-decoration: underline; text-underline-offset: 2px; }
.zt-newsposts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.zt-newspost { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--zt-line); border-radius: 10px; background: #fff; }
.zt-newspost img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--zt-sand); }
.zt-newspost__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.zt-newspost__meta { margin: 0; font-size: 13px; color: var(--zt-grey); }
.zt-newspost h3 { margin: 0; font-size: 18px; line-height: 1.35; color: var(--zt-navy); }
.zt-newspost p { margin: 0; font-size: 15px; line-height: 1.5; }

/* ---------- 5. Projects (our October design: named projects, one grid, a filter) ---------- */
.zt-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.zt-filter button {
  min-height: 44px; padding: 0 18px; border: 1px solid var(--zt-navy); border-radius: 999px;
  background: #fff; color: var(--zt-navy); font: inherit; font-size: 15px; cursor: pointer; touch-action: manipulation;
  transition: background-color 150ms ease, color 150ms ease;
}
.zt-filter button[aria-pressed="true"] { background: var(--zt-navy); color: #fff; }
.zt-filter button:focus-visible { outline: 2px solid var(--zt-navy); outline-offset: 3px; }
.zt-projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; width: 100%; max-width: 1280px; margin: 0 auto; padding: 0; list-style: none; }
.zt-project { margin: 0; }
.zt-project[hidden] { display: none; }
.zt-project img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--zt-sand); }
.zt-project__type { margin: 12px 0 4px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--zt-grey); }
.zt-project h3 { margin: 0 0 6px; font-size: 19px; line-height: 1.3; color: var(--zt-navy); }
.zt-project p { margin: 0; font-size: 15px; line-height: 1.5; color: #0e0f0f; }

/* ---------- Phone and tablet ---------- */
/* At 1440 and up the picture is 546px. Down to 1200 it narrows (still 16:9) so the copy keeps 320px. Between
   tablet and 1200 the part list leaves too little room: the picture goes on top of the copy. */
@media (min-width: 992px) and (max-width: 1199px) {
  .zt-quest .zt-detail { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 991px) {
  .zt-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .zt-tab { min-height: 92px; padding: 14px 16px; }
  .zt-tab__name { font-size: 18px; }
  .zt-quest { grid-template-columns: 1fr; gap: 14px; }
  /* The part list becomes one row of chips you swipe; the detail sits under it. */
  .zt-quest__list {
    flex-direction: row;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 20px;
    margin: 0 -20px;
    padding: 2px 20px 6px;
    scrollbar-width: none;
  }
  .zt-quest__list::-webkit-scrollbar { display: none; }
  .zt-part { flex: none; width: auto; min-height: 44px; padding: 10px 16px; border: 1px solid var(--zt-line); border-radius: 999px; background: #fff; scroll-snap-align: start; }
  .zt-part__name { font-size: 15px; white-space: nowrap; }
  .zt-part[aria-selected="true"], .section-group:not(.gray) .zt-part[aria-selected="true"] { background: var(--zt-navy); border-color: var(--zt-navy); color: #fff; }
  .zt-detail { grid-template-columns: 1fr; gap: 16px; padding: 16px; }
  .zt-facts { grid-template-columns: 1fr; gap: 22px; }
  .zt-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 599px) {
  .zt-tab__line { display: none; }
  .zt-tab { min-height: 72px; }
  .zt-projects { grid-template-columns: 1fr; }
  .zt-panel__intro { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .zt-tab, .zt-part, .zt-media__btn, #masthead, #navbar-desktop { transition: none; }
  .zt-tab:active, .zt-media__btn:active { transform: none; }
}

/* Benefit points inside a detail pane: a 2 × 2 grid, headline then line */
.zt-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 22px; margin: 0 0 12px; padding: 0 !important; list-style: none; }
.zt-benefits li { margin: 0; font-size: 15px; line-height: 1.5; color: #0e0f0f; }
.zt-benefits li::before { content: none !important; }
.zt-benefits strong { display: block; margin-bottom: 2px; font-size: 16px; color: var(--zt-navy); }

/* Jumps to a section (#singapore, #contact, #featured) land below the fixed header and menu bar */
main section[id], main .zt-anchor { scroll-margin-top: 160px; }
@media (max-width: 991px) { main section[id], main .zt-anchor { scroll-margin-top: 72px; } }

/* Home, Built for Singapore: three picture cards, problem first */
.zt-cards--sg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.zt-card__photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; margin-bottom: 6px; background: var(--zt-sand); }
@media (max-width: 991px) { .zt-cards--sg { grid-template-columns: 1fr; } .zt-card__photo { aspect-ratio: 16 / 10; } }

/* Three-tab rows (Support, News); paragraphs in long text (warranty, privacy) */
.zt-tabs--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.zt-prose p { margin: 0 0 14px; }
.zt-prose li { margin: 0 0 8px; }

/* AU's five closing steps scroll sideways and cut the fifth card off on a 1440px screen: on wide
   screens all five share the row. Phones keep AU's swipe. */
@media (min-width: 1200px) {
  .steps-block { overflow-x: visible !important; }
  .steps-block > .steps-item { flex: 1 1 0 !important; min-width: 0 !important; width: auto !important; }
}

/* Page headings set in a section header (Projects, Support, News, About, Privacy, Trade Hub): AU's theme gives
   h1.section-title a 1.5 line-height and an 800px measure, so "Ziptrak® blinds in homes and businesses." ran to
   three widely spaced lines at 1920 (Chia, 23 Nov). Same size as the banner heroes (84px), the banner's tight
   line-height, and room for two lines. Romi: a style on the heading block. */
.section-header > h1.section-title { max-width: 1100px; line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
@media (max-width: 991px) { .section-header > h1.section-title { line-height: 1.12; } }

/* Support: Brochures and App guides. Every description is three lines at 1920 and every card in a row is the
   same height, with its download or film at the bottom (Chia, 23 Nov). Romi: core/group cards in a core/columns
   row, the paragraph with a three-line minimum height. */
.zt-guides--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.zt-guides--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.zt-guide .zt-guide__desc { min-height: calc(3 * 1.5em); }
.zt-guide > :last-child { margin-top: auto; }
.zt-guide .wp-block-embed { margin: 4px 0 0; }
@media (max-width: 991px) { .zt-guides--3, .zt-guides--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .zt-guides--3, .zt-guides--4 { grid-template-columns: 1fr; } .zt-guide .zt-guide__desc { min-height: 0; } }

/* ---------- Home, round 2 (Chia, 23 Nov) ---------- */
/* Section labels, every SG page (home first, site-wide 23 Nov): AU's 14px grey capitals (#969696, 2.9:1) read like a tag. One readable label instead: the body
   size, semibold, navy, sentence case. Romi: Typography settings on each label's core/heading (18px, 600, no case
   change, navy); on the navy band, amber. No new block. */
.section-label.zt-eyebrow { font-size: 16px; line-height: 1.4; font-weight: 600; letter-spacing: 0.01em; text-transform: none; color: var(--zt-navy); }
.section-label.zt-eyebrow--on-navy { color: var(--zt-amber); }
@media (min-width: 600px) { .section-label.zt-eyebrow { font-size: 18px; } }

/* Weather answers: six line icons in AU's tile icon slot (48 / 52 / 58px from AU's CSS) */
.information-grid-item .zt-icon { margin: 0 auto; color: var(--zt-navy); }
.information-grid-item .zt-icon svg { display: block; width: 100%; height: 100%; }

/* Benefit facts on navy: each a card, equal height, stat at the foot. Not clickable: no pointer, hover only on
   devices that hover. */
.zt-fact {
  display: flex; flex-direction: column; padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 12px; background: rgba(255, 255, 255, 0.04);
  transition: border-color 140ms ease-out, transform 140ms var(--zt-ease);
}
.zt-fact h3 { white-space: nowrap; }
.zt-fact .zt-fact__spec { margin-top: auto; padding-top: 16px; }
.zt-fact .zt-fact__spec strong { display: block; margin-bottom: 4px; font-size: 28px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.zt-fact .zt-fact__spec span { display: block; font-size: 14px; }
@media (min-width: 1440px) { .zt-fact .zt-fact__spec span { white-space: nowrap; } }
@media (max-width: 1199px) { .zt-fact h3 { white-space: normal; } }
@media (hover: hover) and (pointer: fine) {
  .zt-fact:hover { border-color: rgba(255, 180, 72, 0.55); transform: translateY(-2px); }
}

/* The warranty stat is a link to Support: underlined label, amber on hover and focus */
.zt-fact .zt-fact__spec a.zt-fact__link { display: block; color: #b9c0cf !important; text-decoration: none; border-radius: 6px; } /* !important: the theme repaints links navy */
.zt-fact__link strong { color: var(--zt-amber) !important; }
.zt-fact__link span { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(185, 192, 207, 0.6); }
.zt-fact .zt-fact__spec .zt-fact__link span span { display: inline; text-decoration: none; }
.zt-fact__link:focus-visible { outline: 2px solid var(--zt-amber); outline-offset: 4px; }
.zt-fact__link:active span { color: var(--zt-amber) !important; }
@media (hover: hover) and (pointer: fine) { .zt-fact__link:hover span { color: var(--zt-amber) !important; text-decoration-color: currentColor; } }

/* Projects: all six at once, 3 by 2 (was AU's slider). Romi: core/group with Grid layout, 3 columns. */
.zt-proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; width: 100%; }
.zt-proj-grid > .steps-card-item { max-width: none; height: auto; }
.zt-proj-grid > .steps-card-item figure { position: relative; height: auto; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.zt-proj-grid > .steps-card-item figure img { position: absolute; inset: 0; aspect-ratio: auto; }
.home-page-section .section-title { text-wrap: balance; }
@media (max-width: 991px) { .zt-proj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Phones: a swipe row (AU's own phone pattern), the next card peeking, so six cards don't add 2,000px of scroll */
@media (max-width: 599px) {
  body .zt-proj-grid { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding-bottom: 8px; }
  .zt-proj-grid > .steps-card-item { flex: 0 0 84%; scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) { .zt-fact { transition: border-color 140ms ease-out; } }
@media (prefers-reduced-motion: reduce) and (hover: hover) and (pointer: fine) { .zt-fact:hover { transform: none; } }

/* ---------- Why Ziptrak, round 2 (Chia, 23 Nov) ---------- */
/* Part by part: every panel is the same height, so switching parts never jumps. The panel stretches to the
   list's height (13 entries), and every panel's content is fitted under it; spare room falls below the copy.
   Romi: a fixed min-height on the showcase panel block at desktop. */
@media (min-width: 1200px) {
  .zt-quest--spec { align-items: stretch; }
  .zt-quest--spec .zt-detail { grid-template-rows: auto 1fr; align-content: start; }
  .zt-quest--spec .zt-part { min-height: 48px; padding-block: 8px; }
  .zt-quest--spec .zt-part__name { font-size: 16px; }
}

/* Origin: the film smaller on the left, the story on the right */
.zt-origin { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px !important; align-items: center; max-width: 1280px; margin: 0 auto; }
.zt-origin > .wp-block-column { margin: 0 !important; min-width: 0; }
.zt-origin .wp-block-embed { margin: 0; }
.zt-origin .wp-block-embed iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }
.zt-origin__copy .section-title { margin: 8px 0 16px; }
.zt-origin__copy .section-text { max-width: 56ch; margin: 0; }
@media (max-width: 991px) { .zt-origin { grid-template-columns: 1fr; gap: 28px !important; } }

/* The wind test: a wind line icon above the label */
.zt-wind { width: 56px; height: 56px; margin: 0 0 12px; color: var(--zt-amber); }
.zt-wind__svg { display: block; width: 100%; height: 100%; }
#tested .section-header { align-items: center; text-align: center; }
/* Links in text on the navy bands: the theme repaints them navy (invisible), which also left "fully." looking
   orphaned on the wind band. Paper white, underlined. */
.section-group[style*="#1f2a44"] .section-text a { color: var(--zt-paper) !important; text-decoration: underline; text-underline-offset: 3px; }

/* In the press: a navy band, the quote large, the source in amber */
.zt-press__quote { max-width: 1000px; margin: 0 auto !important; padding: 0 !important; border: 0 !important; text-align: left; }
.zt-press__quote blockquote { margin: 0; padding: 0; border: 0; }
.zt-press__quote p { margin: 12px 0 20px; font-family: var(--wp--preset--font-family--parabolica); font-size: clamp(28px, 3.2vw, 48px); line-height: 1.2; letter-spacing: -0.01em; color: var(--zt-paper); text-wrap: balance; }
.zt-press__quote cite { font-style: normal; font-size: 16px; font-weight: 600; color: var(--zt-amber); }

/* Research: heading and intro left, the five steps as a list with icons right */
.zt-research { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px !important; align-items: start; max-width: 1280px; margin: 0 auto; }
.zt-research > * { margin: 0 !important; min-width: 0; }
.zt-research__head { align-items: flex-start !important; text-align: left !important; }
.zt-research__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--zt-line); }
.zt-research__item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--zt-line); }
.zt-research__icon { display: block; width: 40px; height: 40px; color: var(--zt-navy); }
.zt-research__item h3 { margin: 0 0 4px; font-size: 20px; line-height: 1.3; color: var(--zt-navy); }
.zt-research__item p { margin: 0; font-size: 16px; line-height: 1.55; color: #0e0f0f; }
@media (max-width: 991px) { .zt-research { grid-template-columns: 1fr; gap: 28px !important; } }

/* ---------- Closing CTA, one shared block on every page with a Find a Retailer closing (23 Nov) ---------- */
.zt-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: stretch; width: 100%; max-width: 1280px; margin: 0 auto; }
.zt-cta__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; text-align: left; }
.zt-cta__copy .section-title, .zt-cta__copy .section-text { margin: 0; text-align: left; }
.zt-cta__copy .section-text { max-width: 52ch; }
.zt-cta__copy .buttons-group { margin: 8px 0 0; justify-content: flex-start; }
.zt-cta__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; width: 100%; margin: 24px 0 0; padding: 24px 0 0; border-top: 1px solid var(--zt-line); list-style: none; }
.zt-cta__step { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.4; color: var(--zt-navy); }
.zt-cta__icon { display: block; width: 40px; height: 40px; object-fit: contain; color: var(--zt-navy); }
svg.zt-cta__icon { color: var(--zt-amber); } /* matches AU's amber line icons */
.zt-cta__step a { color: var(--zt-navy); text-decoration: underline; text-underline-offset: 3px; }
.zt-cta__step a:active { color: var(--zt-amber); }
.zt-cta__photo { margin: 0; min-height: 420px; border-radius: 20px; overflow: hidden; background: var(--zt-sand); }
.zt-cta__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 991px) {
  .zt-cta { grid-template-columns: 1fr; gap: 28px; }
  .zt-cta__photo { order: -1; min-height: 0; aspect-ratio: 3 / 2; }
  .zt-cta__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- No orphan words, every page (Chia, 23 Nov: "fully" alone on a line) ---------- */
main p, main summary, main td, main figcaption { text-wrap: pretty; }
/* Short copy in cards, panels and lists: pretty leaves some single words in narrow columns; balance (up to six
   lines) evens them out. Long body copy keeps pretty. */
main li, .zt-detail p, .zt-card p, .info-card p, .zt-fact p, .information-grid-item p, .steps-card-item p, .zt-cta p, .zt-research__item p { text-wrap: balance; }
main h1, main h2, main h3, main h4, main h5 { text-wrap: balance; }

/* ---------- Find a Retailer: the picker (23 Nov). NEW BLOCK NEEDED "retailer picker" ---------- */
.zt-far-pick { margin: 0 10px 24px; padding: 24px; border: 1px solid var(--zt-line); border-radius: 12px; background: var(--zt-sand); }
.zt-far-pick[hidden] { display: none; }
.zt-far-pick__title { margin: 0 0 16px; font-size: 22px; line-height: 1.3; color: var(--zt-navy); }
.zt-far-pick__group { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.zt-far-pick__group legend { width: auto; margin: 0 0 8px; padding: 0; border: 0; font-size: 16px; font-weight: 600; color: var(--zt-navy); }
.zt-far-pick__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.zt-far-pick__chips label { position: relative; margin: 0; cursor: pointer; }
.zt-far-pick__chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.zt-far-pick__chips span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--zt-navy); border-radius: 999px;
  background: var(--zt-paper); color: var(--zt-navy); font-size: 16px; line-height: 1;
  transition: background-color 150ms ease-out, color 150ms ease-out, transform 120ms var(--zt-ease);
}
.zt-far-pick__chips input:checked + span { background: var(--zt-navy); color: var(--zt-paper); }
.zt-far-pick__chips input:focus-visible + span { outline: 2px solid var(--zt-navy); outline-offset: 3px; }
.zt-far-pick__chips input:active + span { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .zt-far-pick__chips input:not(:checked):hover + span { background: var(--zt-line); } }
.zt-far-pick__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.zt-far-pick__status { margin: 0; font-size: 15px; line-height: 1.45; color: #0e0f0f; }
.zt-far-pick__reset { min-height: 44px; padding: 0 16px; border: 0; background: none; color: var(--zt-navy); font: inherit; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; touch-action: manipulation; }
.zt-far-pick__reset:active { color: var(--zt-grey); }
.zt-far-pick__reset:focus-visible { outline: 2px solid var(--zt-navy); outline-offset: 2px; }
/* group headings inside the plugin's 3-column grid */
.sg-far-directory__grid > .zt-far-group { grid-column: 1 / -1; margin: 24px 0 12px; font-size: 20px; line-height: 1.3; color: var(--zt-navy); }
.sg-far-directory__grid > .zt-far-group:first-child { margin-top: 0; }
.sg-far-directory__grid > .zt-far-group[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .zt-far-pick__chips span { transition: none; } .zt-far-pick__chips input:active + span { transform: none; } }

/* ---------- Round 3 (Chia, 23 Nov) ---------- */
/* Why Ziptrak, Built for Singapore: six concerns, each with its answer. Rows with a rule above, not boxed cards.
   Romi: core/columns 3 × 2 of core/group (icon, heading, two paragraphs). */
.zt-concerns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 !important; list-style: none; }
.zt-concern { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; margin: 0 !important; padding: 24px 0 28px !important; border-top: 1px solid var(--zt-line); }
.zt-concern::before { content: none !important; }
.zt-concern__icon { display: block; width: 40px; height: 40px; color: var(--zt-navy); }
.zt-concern h3 { margin: 0 0 6px; font-size: 20px; line-height: 1.3; color: var(--zt-navy); }
.zt-concern .zt-concern__q { margin: 0 0 8px; font-size: 16px; line-height: 1.45; font-weight: 600; color: #0e0f0f; }
.zt-concern .zt-concern__a { margin: 0; font-size: 15px; line-height: 1.6; color: #0e0f0f; text-wrap: pretty; }
.zt-concerns__close { width: 100%; max-width: 1280px; margin: 8px auto 0; padding: 28px 32px; border-radius: 12px; background: #fff; border: 1px solid var(--zt-line); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 16px 40px; align-items: center; }
.zt-concerns__close p { margin: 0; font-size: 16px; line-height: 1.6; color: #0e0f0f; }
.zt-concerns__close .buttons-group { margin: 0; }
.zt-concerns__sub { width: 100%; max-width: 1280px; margin: 64px auto 24px; }
.zt-concerns__subtitle { margin: 0 0 10px; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.2; color: var(--zt-navy); }
.zt-concerns__sub .zt-concerns__subtext { max-width: 760px; margin: 0; }
@media (max-width: 1199px) { .zt-concerns { grid-template-columns: repeat(2, minmax(0, 1fr)); } .zt-concerns__close { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  .zt-concerns { grid-template-columns: 1fr; }
  .zt-concern { padding: 20px 0 22px !important; }
  .zt-concerns__close { padding: 22px 20px; }
  .zt-concerns__sub { margin-top: 48px; }
}
.zt-detail__specs .zt-why + .zt-small { margin: 8px 0 0; }

/* Home, "What your Ziptrak blind gives you" (round 3): richer cards. A photo bleeds to the card's top edge, then
   the title, the line, the extra line, a 2-item list with small amber ticks, and the stat at the foot. Navy stays
   the field, the photos and white text the middle tone, amber only on the stats and ticks. The heading and the
   intro share one row on wide screens so the band has no empty right half. Romi: core/image at the top of each
   card group, and a core/list with a tick style. */
@media (min-width: 1200px) {
  section[aria-label="What you get"] .section-header { display: grid !important; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 64px; align-items: end; width: 100%; }
  section[aria-label="What you get"] .section-header > .section-label { grid-column: 1; }
  section[aria-label="What you get"] .section-header > .section-title { grid-column: 1; margin-bottom: 0; }
  section[aria-label="What you get"] .section-header > .section-text { grid-column: 2; grid-row: 2; margin: 0 0 10px; max-width: 46ch; }
}
.zt-fact { overflow: hidden; }
.zt-fact__photo { display: block; width: calc(100% + 56px); max-width: none; height: auto; aspect-ratio: 2 / 1; margin: -28px -28px 22px; object-fit: cover; background: rgba(255, 255, 255, 0.06); }
.zt-fact p + p { margin-top: -2px; }
.zt-fact__list { margin: 4px 0 6px !important; padding: 0 !important; list-style: none; }
.zt-fact__list li { position: relative; margin: 0 0 6px !important; padding: 0 0 0 24px !important; font-size: 15px; line-height: 1.45; color: #e6e9f0; }
.zt-fact__list li::before { content: "" !important; position: absolute; left: 2px; top: 5px; width: 10px; height: 6px; border-left: 2px solid var(--zt-amber); border-bottom: 2px solid var(--zt-amber); transform: rotate(-45deg); background: none !important; border-radius: 0 !important; } /* design-lint-allow side-stripe two borders rotated 45 degrees draw a small tick, not a stripe */
/* Interior, Rooms it suits (round 3): ten rooms. A tighter list, and the panel stretches to the list's height so
   the card and the list end together; the picture keeps its 546px box. */
@media (min-width: 1200px) {
  .zt-quest--rooms { align-items: stretch; }
  .zt-quest--rooms .zt-part { min-height: 44px; padding-block: 6px; }
  .zt-quest--rooms .zt-part__name { font-size: 16px; }
}
/* At 1440 and up the rooms are picture-led: a larger picture fills the card to the list's height. */
@media (min-width: 1440px) {
  .zt-quest--rooms .zt-detail { grid-template-columns: minmax(0, 660px) minmax(260px, 1fr); }
}
/* Outdoor > Motorised, remotes and bridges (round 3 check): the shots filled only a band across the middle of the
   picture box, with the divider lines running past them. Each cell now fills the box, on the shots' own grey. */
.zt-media__group { grid-template-rows: minmax(0, 1fr); }
.zt-media__group--grey { background: #fff; } /* design-lint-allow pure-black-white thin white dividers between grey product shots */
.zt-media__group--grey > img { background: #eaeaea; }

/* =====================================================================
   ROUND 4 (24 Nov 2026), from Durablinds' team comments.
   ===================================================================== */

/* USP card icons: AU's info-card media slot (38 x 38 above the badge), our line icons in navy. */
.info-card .zt-card-icon { color: var(--zt-navy); }
.info-card .zt-card-icon svg { display: block; width: 100%; height: 100%; }
/* the wind card's footnote (Durablinds' own test line) */
.info-card__note { margin: 10px 0 0; font-size: 13px; line-height: 1.45; color: var(--zt-grey); }

/* ---------- Book my blinds pop-up and the project lightbox: shared dialog ----------
   Native <dialog> in the top layer. Enter: 200ms fade and 8px rise, ease-out; no exit motion (it closes at once). */
html.zt-dialog-open { overflow: hidden; }
.zt-dialog { padding: 0; border: 0; color: var(--zt-navy); background: transparent; max-width: none; max-height: none; overflow: visible; }
.zt-dialog::backdrop { background: rgba(14, 15, 15, 0.55); }
.zt-dialog[open] { animation: zt-dialog-in 200ms var(--zt-ease); }
@keyframes zt-dialog-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.zt-dialog__close {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; padding: 0; border: 1px solid var(--zt-line); border-radius: 50%;
  background: var(--zt-sand); color: var(--zt-navy); cursor: pointer; touch-action: manipulation;
  transition: background-color 150ms ease, transform 140ms var(--zt-ease);
}
.zt-dialog__close:active { transform: scale(0.95); }
.zt-dialog__close:focus-visible, .zt-book__back:focus-visible, .zt-book__all:focus-visible, .zt-lb__nav:focus-visible,
.zt-dialog .wp-element-button:focus-visible, .zt-concierge:focus-visible, .zt-project__open:focus-visible { outline: 2px solid var(--zt-navy); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .zt-dialog__close:hover { background: var(--zt-line); } }

/* Book my blinds */
.zt-book { width: min(640px, calc(100vw - 32px)); margin: auto; }
.zt-dialog__panel { max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; padding: 24px 32px 32px; border-radius: 20px; background: var(--zt-paper); box-shadow: 0 24px 60px rgba(14, 15, 15, 0.22); }
.zt-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 8px; }
.zt-dialog__eyebrow { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--zt-grey); }
.zt-dialog__title { margin: 0 0 8px; font-size: 28px; line-height: 1.2; font-weight: 500; color: var(--zt-navy); }
.zt-dialog__title:focus { outline: none; }
.zt-dialog__lede { margin: 0 0 20px; font-size: 16px; line-height: 1.5; color: #3d3d3d; max-width: 52ch; }
.zt-book__q { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.zt-book__legend { margin: 0 0 10px; padding: 0; border: 0; font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--zt-navy); }
.zt-book__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.zt-book__opt { position: relative; margin: 0; font-weight: 400; cursor: pointer; }
.zt-book__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.zt-book__opt span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1px solid var(--zt-line); border-radius: 999px;
  background: var(--zt-sand); font-size: 16px; line-height: 1.3; color: var(--zt-navy); user-select: none;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 140ms var(--zt-ease);
}
.zt-book__opt:active span { transform: scale(0.97); }
.zt-book__opt input:checked + span { background: var(--zt-navy); border-color: var(--zt-navy); color: var(--zt-paper); }
.zt-book__opt input:focus-visible + span { outline: 2px solid var(--zt-navy); outline-offset: 3px; }
.zt-book__q.is-invalid .zt-book__opt span { border-color: #b3261e; }
.zt-book__err { margin: 8px 0 0; font-size: 14px; color: #b3261e; } /* 6.3:1 on the panel */
@media (hover: hover) and (pointer: fine) {
  .zt-book__opt:hover input:not(:checked) + span { border-color: var(--zt-navy); }
  .zt-book__back:hover, .zt-book__all:hover { text-decoration-thickness: 2px; }
}
.zt-dialog .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; }
.zt-dialog button.wp-block-button__link { border: 0; cursor: pointer; font: inherit; }
.zt-dialog .wp-element-button:active { transform: scale(0.97); }
.zt-book__list { display: grid; gap: 12px; margin: 0 0 16px; padding: 0; list-style: none; }
.zt-book__card { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name btn" "badge btn" "meta btn"; align-items: center; column-gap: 16px; padding: 16px 18px; border: 1px solid var(--zt-line); border-radius: 14px; background: var(--zt-sand); }
.zt-book__name { grid-area: name; margin: 0; font-size: 18px; line-height: 1.3; font-weight: 600; color: var(--zt-navy); }
.zt-book__badge { grid-area: badge; margin: 2px 0 0; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--zt-grey); }
.zt-book__meta { grid-area: meta; margin: 4px 0 0; font-size: 15px; color: #3d3d3d; }
.zt-book__card .wp-block-button { grid-area: btn; }
.zt-book__card { min-width: 0; }
.zt-book__card .wp-element-button { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; max-width: 100%; box-sizing: border-box; }
html body .zt-dialog .wp-element-button { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { html body .zt-dialog .wp-element-button:hover { text-decoration: none; } }
.zt-book__note { margin: 0 0 16px; font-size: 14px; line-height: 1.5; color: var(--zt-grey); }
.zt-book__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.zt-book__back, .zt-book__all { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-size: 16px; color: var(--zt-navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 599px) {
  .zt-book { width: 100vw; max-width: 100vw; margin: auto 0 0; }
  .zt-dialog__panel { max-height: calc(100dvh - 24px); padding: 16px 20px 24px; border-radius: 20px 20px 0 0; }
  .zt-dialog__title { font-size: 24px; }
  .zt-book__card { grid-template-columns: 1fr; grid-template-areas: "name" "badge" "meta" "btn"; }
  .zt-book__card .wp-block-button { margin-top: 12px; width: 100%; }
  .zt-book__card .wp-element-button { width: 100%; justify-content: center; white-space: normal; }
}

/* ---------- ZT Concierge: floating WhatsApp button, bottom right ----------
   Clear of AU's side tab (right edge, about 490px up) and the preview's build-map button (bottom left). */
.zt-concierge {
  position: fixed; right: 16px; bottom: 16px; z-index: 9998;
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px 0 16px;
  border-radius: 999px; background: var(--zt-navy); color: var(--zt-paper);
  font-size: 16px; font-weight: 500; line-height: 1; text-decoration: none;
  box-shadow: 0 8px 24px rgba(14, 15, 15, 0.25); touch-action: manipulation;
  transition: background-color 150ms ease, transform 140ms var(--zt-ease);
}
.zt-concierge svg { flex: none; color: var(--zt-amber); }
html body a.zt-concierge, html body a.zt-concierge:visited, html body a.zt-concierge:focus { color: var(--zt-paper); text-decoration: none; }
.zt-concierge:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { html body a.zt-concierge:hover { background: #2b3a5e; color: var(--zt-paper); text-decoration: none; } }
html.zt-dialog-open .zt-concierge { visibility: hidden; }

/* ---------- Projects: tidier captions, and every photo opens the lightbox ----------
   The photo is a button. The sector sits as a small chip on the photo; below it, the title and one line. */
.zt-project__open { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 10px; background: none; cursor: zoom-in; overflow: hidden; touch-action: manipulation; transition: transform 140ms var(--zt-ease); }
.zt-project__open:active { transform: scale(0.99); }
.zt-project__open img { transition: transform 300ms var(--zt-ease); }
@media (hover: hover) and (pointer: fine) { .zt-project__open:hover img { transform: scale(1.03); } }
.zt-project .zt-project__type {
  position: absolute; top: 12px; left: 12px; margin: 0; padding: 5px 10px; border-radius: 999px;
  background: rgba(247, 244, 241, 0.94); color: var(--zt-navy); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; line-height: 1.2;
}
.zt-project__count { position: absolute; right: 12px; bottom: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(14, 15, 15, 0.72); color: var(--zt-paper); font-size: 13px; line-height: 1.2; }
.zt-project h3 { margin: 16px 0 4px; font-size: 20px; line-height: 1.3; font-weight: 500; }
.zt-project h3 + p { font-size: 16px; line-height: 1.5; color: #505050; }

/* Project lightbox */
.zt-lb { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; margin: 0; }
.zt-lb::backdrop { background: rgba(14, 15, 15, 0.92); }
.zt-lb__panel { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; width: 100%; height: 100%; color: var(--zt-paper); background: rgba(14, 15, 15, 0.94); }
.zt-lb__stage { display: flex; align-items: center; justify-content: center; min-height: 0; padding: 24px 88px 0; touch-action: pan-y; }
.zt-lb__img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.zt-lb__img.is-in { animation: zt-lb-in 220ms var(--zt-ease); }
@keyframes zt-lb-in { from { opacity: 0.4; } to { opacity: 1; } }
.zt-lb__nav { position: absolute; top: calc(50% - 60px); display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 50%; background: rgba(247, 244, 241, 0.92); color: var(--zt-navy); cursor: pointer; touch-action: manipulation; transition: background-color 150ms ease, transform 140ms var(--zt-ease); }
.zt-lb__nav--prev { left: 20px; }
.zt-lb__nav--next { right: 20px; }
.zt-lb__nav:active { transform: scale(0.95); }
.zt-lb__nav[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) { .zt-lb__nav:hover { background: var(--zt-paper); } }
.zt-lb__bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 88px 20px; }
.zt-lb__title { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 500; color: var(--zt-paper); }
.zt-lb__line { margin: 2px 0 0; font-size: 16px; line-height: 1.5; color: #d9dce3; }
.zt-lb__count { margin: 6px 0 0; font-size: 14px; color: #b9bec9; }
.zt-lb__close { border-color: transparent; }
.zt-lb__nav:focus-visible, .zt-lb__close:focus-visible { outline-color: var(--zt-amber); }
@media (max-width: 767px) {
  .zt-lb__stage { padding: 64px 0 0; }
  .zt-lb__nav { top: auto; bottom: 16px; width: 48px; height: 48px; }
  .zt-lb__nav--prev { left: auto; right: 72px; }
  .zt-lb__nav--next { right: 16px; }
  .zt-lb__bar { padding: 16px 136px 20px 16px; }
  .zt-lb__close { position: absolute; top: 8px; right: 8px; }
}

/* ---------- Brochures page: AU's link-card cards with the object-fit-contain image style. AU's group puts every
   card in one row from 1200px; the six drawings wrap three to a row instead. ---------- */
.zt-downloads .link-card-item-image img { object-fit: contain; }
@media (min-width: 1200px) {
  .zt-downloads--3 { flex-wrap: wrap; }
  .zt-downloads--3 > .link-card-item { flex: 0 1 calc((100% - 40px) / 3); }
}

@media (prefers-reduced-motion: reduce) {
  .zt-dialog[open], .zt-lb__img.is-in { animation: none; }
  .zt-project__open img { transition: none; transform: none !important; }
  .zt-concierge:active, .zt-dialog__close:active, .zt-book__opt:active span, .zt-lb__nav:active, .zt-project__open:active { transform: none; }
}
