/* ==========================================================================
   ZP Display — site-wide components added with the final design update:
   Products mega menu, universal enquiry CTA, category product cards,
   category intro/feature additions, applications note and the "list" data sheet table.
   Values follow the approved static design (ZP Design-final).
   ========================================================================== */

/* ---------- Products mega menu (desktop) ---------- */
.zp-mega { position: static; display: flex; align-items: center; height: 100%; }
.zp-mega__trigger { display: inline-flex; align-items: center; gap: 8px; }
.zp-mega__chevron { opacity: 0.6; transition: transform 300ms ease, opacity 300ms ease; }
.zp-mega.is-open .zp-mega__chevron { transform: rotate(180deg); opacity: 1; }
.zp-mega.is-open .zp-mega__trigger { color: #F7F5F2; }
.zp-mega__panel {
  position: absolute; left: 0; right: 0; top: 100%;
  padding: 0 60px;
  background: rgba(8, 8, 10, 0.97);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
  opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none;
  transition: opacity 320ms ease, transform 420ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 320ms;
}
.zp-mega.is-open .zp-mega__panel,
.zp-mega:focus-within .zp-mega__panel {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  transition: opacity 320ms ease, transform 420ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0s;
}
.zp-mega__panel::before { content: ""; position: absolute; left: 0; top: -1px; width: 56px; height: 2px; background: var(--brand, #A72124); margin-left: 60px; }
.zp-mega__inner {
  max-width: 1320px; margin: 0 auto; padding: 44px 0 48px;
  display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) minmax(280px, 420px); gap: 0;
  min-height: 360px;
}
.zp-mega__label {
  display: block; margin-bottom: 18px;
  font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: #68635C;
}
.zp-mega__list { list-style: none; margin: 0; padding: 0; }
.zp-mega__cats { padding-right: 36px; border-right: 1px solid rgba(255, 255, 255, 0.07); }
.zp-mega__cat {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 16px; letter-spacing: -0.01em; color: #87827C;
  transition: color 300ms ease, padding-left 400ms cubic-bezier(0.16, 1, 0.3, 1);
}
.zp-mega__cat.is-active, .zp-mega__cat:hover, .zp-mega__cat:focus-visible { color: #F7F5F2; padding-left: 12px; }
.zp-mega__count { font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.16em; color: #534E47; transition: color 300ms ease; }
.zp-mega__cat.is-active .zp-mega__count { color: var(--brand-ink, #D04D50); }
.zp-mega__products { position: relative; padding: 0 40px; }
.zp-mega__group { display: none; }
.zp-mega__group.is-active { display: block; animation: zp-mega-in 420ms cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes zp-mega-in { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.zp-mega__group .zp-mega__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.zp-mega__product {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 300ms ease;
}
.zp-mega__name { font-size: 16px; letter-spacing: -0.01em; color: #D6D4D1; transition: color 300ms ease; }
.zp-mega__type { font-family: 'Geist Mono', monospace; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: #68635C; }
.zp-mega__product.is-active, .zp-mega__product:hover, .zp-mega__product:focus-visible { border-bottom-color: rgba(167, 33, 36, 0.6); }
.zp-mega__product.is-active .zp-mega__name, .zp-mega__product:hover .zp-mega__name, .zp-mega__product:focus-visible .zp-mega__name { color: #F7F5F2; }
.zp-mega__all {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 26px;
  font-family: 'Geist Mono', monospace; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: #E8E6E3;
}
.zp-mega__all svg { transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1); }
.zp-mega__all:hover svg { transform: translateX(6px); }
.zp-mega__preview { display: flex; flex-direction: column; }
.zp-mega__stage {
  position: relative; flex: 1; min-height: 240px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 2px;
  background: radial-gradient(64% 54% at 50% 40%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 72%), linear-gradient(150deg, #101013 0%, #0A0A0B 60%, #08080A 100%);
}
.zp-mega__img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; transition: opacity 260ms ease; }
.zp-mega__img.is-swapping { opacity: 0; }
.zp-mega__img[src=""] { display: none; }
.zp-mega__caption { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 16px; }
.zp-mega__cap-name { font-size: 15px; color: #F7F5F2; }
.zp-mega__cap-type { font-family: 'Geist Mono', monospace; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: #68635C; text-align: right; }
.site-header.has-mega { background: rgba(6, 6, 7, 0.97); border-bottom-color: var(--line-1); }
@media (max-width: 1199px) {
  .zp-mega__inner { grid-template-columns: minmax(200px, 240px) minmax(0, 1fr) minmax(240px, 320px); }
  .zp-mega__products { padding: 0 28px; }
  .zp-mega__group .zp-mega__list { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Products in the mobile menu ---------- */
.zp-mnav { padding: 4px 0 12px 2px; }
.zp-mnav__group { border-bottom: 1px solid var(--line-1); }
.zp-mnav li:last-child .zp-mnav__group { border-bottom: 0; }
.zp-mnav__summary { justify-content: space-between; cursor: pointer; list-style: none; }
.zp-mnav__summary::-webkit-details-marker { display: none; }
.zp-mnav__summary::after { content: "+"; font-family: 'Geist Mono', monospace; font-size: 14px; color: #68635C; }
.zp-mnav__group[open] .zp-mnav__summary { color: #F7F5F2; }
.zp-mnav__group[open] .zp-mnav__summary::after { content: "–"; color: var(--brand-ink, #D04D50); }
.zp-mnav__list { list-style: none; margin: 0; padding: 0 0 12px 14px; }
.zp-mnav__link { display: flex; align-items: center; min-height: 40px; font-size: 14px; color: #A29E98; }
.zp-mnav__link--all { font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand-ink, #D04D50); }

/* ---------- Universal enquiry CTA (quick enquiry form) ---------- */
.zp-cta {
  position: relative; padding: 130px 60px; overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.07); border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.zp-cta--wide-top { padding: 200px 60px 100px; }
.zp-cta__glow {
  position: absolute; left: 50%; top: 100%; width: 900px; height: 500px; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(50% 50%, rgba(167, 33, 36, 0.24) 0%, rgba(167, 33, 36, 0) 72%);
}
.zp-cta__inner { position: relative; max-width: 1320px; margin: 0 auto; }
.zp-cta__head { padding-bottom: 38px; }
.zp-cta__title { margin: 0; font-size: clamp(30px, 3.9vw, 58px); line-height: 1.04; letter-spacing: -0.034em; font-weight: 500; color: #F7F5F2; }
.zp-cta__text { margin: 24px 0 0; font-size: 16.5px; line-height: 1.6; color: #A29E98; font-weight: 300; }
.zp-cta__form { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; width: 100%; margin: 0; }
.zp-cta__input {
  box-sizing: border-box; flex: 1 1 180px; min-width: 0; height: 58px; padding: 0 22px;
  font-family: inherit; font-size: 16px; color: #F7F5F2;
  background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.20); border-radius: 10px; outline: none;
  transition: border-color 300ms ease, background 300ms ease;
}
.zp-cta__input--email { flex-basis: 220px; }
.zp-cta__input--phone { flex-basis: 200px; }
.zp-cta__input::placeholder { color: #87827C; opacity: 1; }
.zp-cta__input:focus { border-color: rgba(208, 77, 80, 0.7); background: rgba(255, 255, 255, 0.05); }
.zp-cta__input[aria-invalid="true"] { border-color: #D04D50; }
.zp-cta__submit {
  box-sizing: border-box; flex: 0 0 268px; height: 58px; padding: 0 30px;
  font-family: inherit; font-size: 16px; font-weight: 500; letter-spacing: 0.02em; color: #FFFFFF;
  background: #A72124; border: 1px solid #A72124; border-radius: 10px; cursor: pointer; white-space: nowrap;
  transition: background 300ms ease, border-color 300ms ease;
}
.zp-cta__submit:hover, .zp-cta__submit:focus-visible { background: var(--brand-hover, #861A1D); border-color: var(--brand-hover, #861A1D); }
.zp-cta__submit[disabled] { opacity: 0.6; cursor: progress; }
.zp-cta__status { flex: 1 1 100%; margin: 0; font-size: 14.5px; line-height: 1.6; color: #A29E98; }
.zp-cta__status.is-error { color: #E2797B; }
.zp-cta__status.is-success { color: #F7F5F2; }
.zp-cta__form .field-error { flex: 1 1 100%; margin: -8px 0 0; font-size: 12.5px; color: #E2797B; }
.zp-cta__form.is-sent > :not(.zp-cta__status):not(input[type="hidden"]):not(.hp-field) { display: none; }
@media (max-width: 991px) {
  .zp-cta, .zp-cta--wide-top { padding: 100px 40px; }
  .zp-cta__submit { flex: 1 1 100%; }
}
@media (max-width: 767px) {
  .zp-cta, .zp-cta--wide-top { padding: 80px 20px; }
  .zp-cta__input, .zp-cta__input--email, .zp-cta__input--phone { flex: 1 1 100%; }
  .zp-cta__glow { width: 600px; height: 400px; }
}

/* ---------- Category: introduction highlights, features intro, applications note ---------- */
.zp-cat-intro__text { margin: 16px 0 0; font-size: 16.5px; line-height: 1.3; color: #918C86; font-weight: 300; }
.pd-features__intro { margin: 28px 0 0; font-size: 16.5px; line-height: 1.62; color: #A29E98; font-weight: 300; }
.zp-apps__note.zp-apps__note {
  margin: 0 0 8px; max-width: none;
  font-family: 'Geist Mono', monospace; font-size: 10px; line-height: normal; letter-spacing: 0.22em; text-transform: uppercase; color: #68635C; font-weight: 400;
}

/* ---------- Category: product range cards ---------- */
.zp-range { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.zp-rcard {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(150deg, #101013 0%, #0A0A0B 58%, #08080A 100%);
  border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 2px; color: inherit;
  transition: border-color 500ms ease;
}
.zp-rcard__accent { position: absolute; left: 0; top: 0; z-index: 2; width: 56px; height: 2px; background: var(--brand, #A72124); pointer-events: none; }
.zp-rcard__media { position: relative; overflow: hidden; height: 320px; }
.zp-rcard__zoom { position: absolute; inset: 0; transition: transform 1200ms cubic-bezier(0.16, 1, 0.3, 1); }
.zp-rcard__zoom img, .zp-rcard__zoom .media { width: 100%; height: 100%; object-fit: cover; }
.zp-rcard__zoom .media--contain { object-fit: contain; }
.zp-rcard__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5, 5, 5, 0) 50%, rgba(8, 8, 10, 0.9) 100%); }
.zp-rcard__body { position: relative; padding: 32px 36px 38px; display: flex; flex-direction: column; justify-content: flex-start; flex: 1; }
.zp-rcard__num { font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.22em; color: var(--brand-ink, #D04D50); }
.zp-rcard__title { margin: 16px 0 0; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 500; color: #F7F5F2; }
.zp-rcard__type { margin-top: 12px; font-size: 17px; line-height: 1.35; letter-spacing: -0.012em; color: #D6D4D1; font-weight: 400; }
.zp-rcard__text { margin: 16px 0 0; max-width: 400px; font-size: 14.5px; line-height: 1.62; color: #A29E98; font-weight: 300; }
.zp-rcard__tags {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 22px;
  font-family: 'Geist Mono', monospace; font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: #7B766F;
}
.zp-rcard__rule { width: 1px; height: 10px; background: rgba(255, 255, 255, 0.14); }
.zp-rcard__cta { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 28px; }
.zp-rcard__label { font-family: 'Geist Mono', monospace; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: #E8E6E3; }
.zp-rcard__arrow { display: block; color: #E8E6E3; transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1); }
a.zp-rcard:hover, a.zp-rcard:focus-visible { border-color: rgba(255, 255, 255, 0.2); }
a.zp-rcard:hover .zp-rcard__zoom, a.zp-rcard:focus-visible .zp-rcard__zoom { transform: scale(1.025); }
a.zp-rcard:hover .zp-rcard__arrow, a.zp-rcard:focus-visible .zp-rcard__arrow { transform: translateX(6px); }

/* Featured (first) card: full width, image left, copy right */
.zp-rcard--featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); min-height: 520px; }
.zp-rcard--featured .zp-rcard__media { height: auto; }
.zp-rcard--featured .zp-rcard__shade { background: linear-gradient(90deg, rgba(5, 5, 5, 0) 55%, rgba(8, 8, 10, 0.85) 100%); }
.zp-rcard--featured .zp-rcard__body { padding: 56px 52px 52px 44px; justify-content: center; }
.zp-rcard--featured .zp-rcard__title { font-size: clamp(34px, 3.6vw, 50px); }
.zp-rcard--featured .zp-rcard__cta { margin-top: 38px; padding-top: 0; }

/* Featured product render (image fit "contain") on a dark stage */
.zp-rcard--product { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); align-items: stretch; min-height: 620px; }
.zp-rcard--product .zp-rcard__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(68% 56% at 46% 34%, rgba(255, 255, 255, 0.085) 0%, rgba(255, 255, 255, 0) 72%); }
.zp-rcard--product .zp-rcard__zoom { left: 0; right: 0; top: 8%; bottom: 8%; inset: 8% 0; }
.zp-rcard--product .zp-rcard__shade { top: auto; height: 34%; background: linear-gradient(180deg, rgba(5, 5, 5, 0) 0%, rgba(5, 5, 5, 0.55) 100%); }
.zp-rcard--product .zp-rcard__body { padding: 56px 52px 52px 20px; }
.zp-rcard--product .zp-rcard__title { margin-top: 18px; line-height: 1; }
.zp-rcard--product .zp-rcard__type { margin-top: 18px; font-size: 19px; letter-spacing: -0.015em; }
.zp-rcard--product .zp-rcard__text { margin-top: 22px; max-width: 380px; font-size: 15px; }

@media (max-width: 991px) {
  .zp-rcard--featured, .zp-rcard--product { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .zp-rcard--featured .zp-rcard__media { height: 380px; }
  .zp-rcard--featured .zp-rcard__shade { background: linear-gradient(180deg, rgba(5, 5, 5, 0) 50%, rgba(8, 8, 10, 0.9) 100%); }
  .zp-rcard--featured .zp-rcard__body, .zp-rcard--product .zp-rcard__body { padding: 36px 36px 40px; }
}
@media (max-width: 767px) {
  .zp-rcard__media, .zp-rcard--featured .zp-rcard__media { height: 260px; }
  .zp-rcard__body, .zp-rcard--featured .zp-rcard__body, .zp-rcard--product .zp-rcard__body { padding: 28px 24px 32px; }
}

/* ---------- Data sheet: "list" table style (final design) ----------
   Three-class selectors so these win over the older per-column-count rules in product.css. */
.pd-ds__table--list .pd-ds__scroll { padding: 0; border-top: 1px solid rgba(208, 77, 80, 0.5); }
.pd-ds__table--list .pd-ds__scroll .pd-spec { table-layout: auto; min-width: var(--pd-min, 0); font-family: var(--font-sans, inherit); font-size: var(--pd-vsize, 14px); color: #E8E6E3; }
.pd-ds__table--list .pd-spec .pd-spec__col-label,
.pd-ds__table--list .pd-spec .pd-spec__label,
.pd-ds__table--list .pd-spec .pd-spec__head-label { width: var(--pd-lw, auto); }
.pd-ds__table--list .pd-spec .pd-spec__head-label,
.pd-ds__table--list .pd-spec .pd-spec__label,
.pd-ds__table--list .pd-spec .pd-spec__group {
  padding: var(--pd-pad, 20px) 18px var(--pd-pad, 20px) 0;
  border-top: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-align: left; font-family: 'Geist Mono', monospace; font-size: 10px; line-height: normal; letter-spacing: var(--pd-ls, 0.08em);
  text-transform: uppercase; color: #918C86; font-weight: 400;
}
.pd-ds__table--list .pd-spec .pd-spec__head,
.pd-ds__table--list .pd-spec .pd-spec__value,
.pd-ds__table--list .pd-spec .pd-spec__value--all {
  padding: var(--pd-pad, 20px) var(--pd-vpx, 10px);
  border-top: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-family: inherit; font-size: var(--pd-vsize, 14px); line-height: normal; text-align: center; color: #E8E6E3; font-weight: 400; letter-spacing: 0;
}
/* Sub-labels inside a group (e.g. 65″ / 75″ / 86″) read like values. */
.pd-ds__table--list .pd-spec--grouped .pd-spec__label:not([colspan]) {
  padding: var(--pd-pad, 20px) 18px; font-family: inherit; font-size: 14px; letter-spacing: 0; text-transform: none; text-align: center; color: #E8E6E3;
}
@media (max-width: 767px) {
  .pd-ds__table--list .pd-spec .pd-spec__head-label, .pd-ds__table--list .pd-spec .pd-spec__label { padding-top: 14px; padding-bottom: 14px; }
  .pd-ds__table--list .pd-spec .pd-spec__head, .pd-ds__table--list .pd-spec .pd-spec__value { padding-top: 14px; padding-bottom: 14px; font-size: 13px; }
}