:root {
  --c-p1: #01ab9d;
  --c-p1a: #007067;
  --c-p2: #4ca89d;
  --c-n1: #faf8f5;
  --c-n2: #eae0d6;
  --c-n3: #ffffff;
  --c-n4: #10211f;
  --c-a1: #fae8bd;
  --c-muted: #4a5b58;
  --c-error: #9b1c1c;
  --c-line: rgba(16, 33, 31, 0.1);
  --shadow: 0 12px 40px rgba(16, 33, 31, 0.08);
  --shadow-sm: 0 4px 16px rgba(16, 33, 31, 0.06);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1180px;
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(1, 171, 157, 0.12), transparent 60%),
    var(--c-n1);
  color: var(--c-n4);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 3px solid var(--c-p1a);
  outline-offset: 3px;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* CakePHP debug notices render as blue links in the page. Hide them on the storefront. */
.cake-error { display: none !important; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 2000;
  background: var(--c-p1a);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-shell > main {
  flex: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 650;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  background: transparent;
  color: inherit;
}
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.btn-primary {
  background: var(--c-p1a);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 112, 103, 0.22);
}
.btn-primary:hover:not(:disabled) { background: #005a53; }

.btn-secondary {
  background: #fff;
  color: var(--c-p1a);
  border-color: rgba(0, 112, 103, 0.28);
}
.btn-secondary:hover:not(:disabled) { border-color: var(--c-p1a); background: #f3fbfa; }

.btn-ghost {
  background: transparent;
  color: var(--c-n4);
  border-color: var(--c-line);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-p1a);
  margin: 0 0 12px;
}

.display {
  font-family: var(--font-display);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--c-n4);
  margin: 0 0 16px;
}

.muted { color: var(--c-muted); }

.link-teal {
  color: var(--c-p1a);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.link-teal:hover { border-bottom-color: var(--c-p1a); }

.field { display: flex; flex-direction: column; gap: 8px; margin: 0 0 20px; }
.field label { font-weight: 650; font-size: 14px; }
.field:has([required]) > label::after {
  content: " *";
  color: var(--c-error);
  font-weight: 700;
}
.req-note {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--c-muted);
}
.req-note span { color: var(--c-error); font-weight: 700; }
.field .hint { font-size: 13px; color: var(--c-muted); font-weight: 500; }
.field-error, .error-message { color: var(--c-error); font-size: 13px; margin: 0; }

.input, .textarea, select.input, .field input, .field textarea, .field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid rgba(16, 33, 31, 0.16);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--c-n4);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input:focus, .textarea:focus, select.input:focus,
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--c-p1a);
  box-shadow: 0 0 0 4px rgba(0, 112, 103, 0.12);
}
.textarea, .field textarea { min-height: 148px; resize: vertical; }
.form-error, input.form-error, textarea.form-error {
  border-color: var(--c-error);
}

.form-status { padding: 12px 14px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 14px; }
.form-status.error, .message.error { background: #fdecea; color: var(--c-error); }
.form-status.success, .message.success { background: #e5f4f2; color: var(--c-p1a); }
.message {
  width: min(100% - 40px, var(--max));
  margin: 16px auto 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(16, 33, 31, 0.08);
  box-shadow: 0 8px 28px rgba(16, 33, 31, 0.04);
}
.site-header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  background: transparent;
}
.brand-name {
  font-weight: 780;
  letter-spacing: -0.045em;
  font-size: 18px;
  color: var(--c-n4);
  line-height: 1;
}
.brand-name span { color: var(--c-p1a); }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.nav-links a,
.nav-links button {
  position: relative;
  text-decoration: none;
  padding: 8px 12px;
  color: var(--c-muted);
  font-weight: 600;
  font-size: 14px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-links a:hover,
.nav-links button:hover { color: var(--c-n4); }
.nav-links a[aria-current="page"] { color: var(--c-p1a); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-p1a);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(16, 33, 31, 0.12);
  border-radius: 999px;
  padding: 0 12px;
  min-height: 40px;
  background: var(--c-n1);
  width: 196px;
}
.header-search svg { color: var(--c-muted); flex-shrink: 0; }
/* The magnifier submits the form, so it has to be a button — styled back down
   to look like the icon it replaced. Order keeps it to the left of the input. */
.header-search-submit {
  order: -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--c-muted);
  cursor: pointer;
  flex-shrink: 0;
}
.header-search-submit:hover { color: var(--c-p1a); }
.header-search-submit:focus-visible { outline: 2px solid var(--c-p1a); outline-offset: 2px; border-radius: 4px; }
.header-search input {
  border: 0;
  outline: 0;
  min-height: 36px;
  width: 100%;
  background: transparent;
  font-size: 14px;
}
.header-actions { display: flex; align-items: center; gap: 6px; }
.header-actions .btn { min-height: 40px; padding-inline: 14px; font-size: 14px; }
.header-quote { color: var(--c-p1a); border-color: rgba(0, 112, 103, 0.28); }
.header-split {
  width: 1px;
  height: 22px;
  margin: 0 6px;
  background: rgba(16, 33, 31, 0.12);
  flex-shrink: 0;
}
.header-account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 10px 0 6px;
  border-radius: 999px;
  background: #e7f6f4;
  color: var(--c-p1a);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  max-width: 12.5rem;
}
.header-account:hover,
.header-account-menu:hover .header-account,
.header-account-menu:focus-within .header-account { background: #d5f0ec; color: var(--c-p1a); }
.header-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--c-p1a);
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  flex: none;
}
.header-account-name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.header-account-caret { flex: none; opacity: 0.7; }
.header-account-menu {
  position: relative;
}
.header-account-drop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  min-width: 198px;
  padding: 8px;
  border: 1px solid rgba(16, 33, 31, 0.1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(16, 33, 31, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}
.header-account-drop::before {
  content: "";
  position: absolute;
  top: -12px;
  right: 12px;
  left: 12px;
  height: 12px;
}
.header-account-menu:hover .header-account-drop,
.header-account-menu:focus-within .header-account-drop,
.header-account-menu.is-open .header-account-drop {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.header-account-drop a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--c-n4);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.header-account-drop a:hover,
.header-account-drop a:focus-visible {
  background: var(--c-n1);
  color: var(--c-p1a);
}
.header-account-drop a.is-signout {
  margin-top: 4px;
  border-top: 1px solid rgba(16, 33, 31, 0.08);
  border-radius: 0 0 10px 10px;
  color: var(--c-muted);
}

.header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-n1);
  color: var(--c-n4);
  text-decoration: none;
}
.header-cart:hover { border-color: var(--c-p1a); color: var(--c-p1a); }
.header-cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--c-p1a);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 19px;
  text-align: center;
}

.nav-toggle {
  display: none;
  background: #fff;
  border: 1px solid rgba(16, 33, 31, 0.12);
  border-radius: 10px;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.site-footer {
  background: #0b1917;
  color: rgba(255, 255, 255, 0.82);
  padding: 28px 0 0;
  margin-top: auto;
  font-size: 13px;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #8ee0d6; }
.footer-main {
  display: grid;
  grid-template-columns: minmax(200px, 1.4fr) repeat(3, minmax(110px, 0.75fr)) minmax(190px, 1.1fr);
  gap: 8px 36px;
  align-items: start;
  padding-bottom: 20px;
}
.footer-brand,
.footer-main strong {
  display: flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.footer-brand {
  color: #fff;
  text-transform: none;
  letter-spacing: -0.04em;
  font-size: 16px;
  font-weight: 780;
  gap: 8px;
}
.footer-brand img { width: 24px; height: 24px; }
.footer-brand .brand-name { color: #fff; font-size: 16px; }
.footer-main ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.footer-main ul a {
  font-weight: 600;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
}
.footer-blurb {
  margin: 0 0 12px;
  max-width: 32ch;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.5;
}
.footer-quote {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--c-p1a);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.footer-quote:hover { background: #005a53; color: #fff; }
.footer-visit {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-visit address,
.footer-visit > a {
  margin: 0;
  font-style: normal;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}
.footer-visit .footer-abn {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
}
.footer-map {
  position: relative;
  overflow: hidden;
  width: min(100%, 240px);
  height: 56px;
  margin: 0 0 14px auto;
  border-radius: 10px;
  background: #102422;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-map iframe {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 160%;
  height: 280%;
  border: 0;
  transform: translate(-50%, -48%);
  pointer-events: none;
  filter: grayscale(0.45) saturate(0.7) brightness(0.82);
}
.footer-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 25, 23, 0.45) 0%, transparent 45%, rgba(11, 25, 23, 0.28) 100%);
  pointer-events: none;
}
.footer-map-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.footer-map:hover iframe { filter: grayscale(0.15) saturate(0.9) brightness(0.92); }
.footer-map-hit:focus-visible { outline: 2px solid var(--c-p1a); outline-offset: 2px; }
.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px 24px;
  flex-wrap: wrap;
  padding: 12px 0 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bar p { margin: 0; }
.footer-social { display: flex; align-items: center; gap: 8px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
}
.footer-social a:hover {
  color: #8ee0d6;
  border-color: rgba(142, 224, 214, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  position: relative;
  min-height: min(86vh, 780px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-slides, .hero-slide, .hero-scrim {
  position: absolute;
  inset: 0;
}
.hero-slide {
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero-slide.is-on { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: auto;
}
.hero-scrim {
  background: linear-gradient(
    90deg,
    rgba(250, 248, 245, 0.96) 0%,
    rgba(250, 248, 245, 0.88) 38%,
    rgba(250, 248, 245, 0.35) 68%,
    rgba(250, 248, 245, 0.08) 100%
  );
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 72px 0;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 14ch;
  margin: 0 0 18px;
  color: var(--c-n4);
}
.hero h1 em {
  font-style: italic;
  color: var(--c-p1a);
  font-weight: 520;
}
.hero-lead {
  font-size: 18px;
  max-width: 42ch;
  color: var(--c-muted);
  margin: 0 0 24px;
}

.about {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
  padding: 88px 0;
}
.about h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 0 16px;
}
.about p { margin: 0 0 16px; max-width: 48ch; color: var(--c-muted); }
.about-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.section { padding: 72px 0; }
.section h1, .page-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}
.center-title { text-align: center; }

.cta-band {
  background: var(--c-p1a);
  color: #fff;
  border-radius: 28px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin: 20px 0 72px;
}
.cta-band h2 { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); margin: 0 0 8px; color: #fff; }
.cta-band p { margin: 0; color: rgba(255,255,255,0.82); max-width: 42ch; }
.cta-band .btn-secondary { color: var(--c-p1a); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  border: 1px solid var(--c-line);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card img { width: 100%; aspect-ratio: 16/11; object-fit: cover; background: var(--c-n2); }
.product-card > div { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card h2, .product-card h3 { margin: 0; font-size: 20px; letter-spacing: -0.02em; }

.faq-search { max-width: 640px; margin: 0 auto 28px; }
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  overflow: hidden;
}
.faq-item button {
  width: 100%;
  text-align: left;
  background: #fff;
  color: var(--c-n4);
  border: 0;
  min-height: 60px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 650;
  cursor: pointer;
}
.faq-item button[aria-expanded="true"] { color: var(--c-p1a); }
.faq-item button svg { flex-shrink: 0; transition: transform 0.15s ease; }
.faq-item button[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-panel { padding: 0 18px 18px; color: var(--c-muted); }

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 31, 29, 0.5);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}
.modal-backdrop[hidden] { display: none; }

/*
 * `hidden` has to beat a class that sets `display`.
 *
 * The browser's own rule for `[hidden]` is a bare attribute selector, so any
 * class carrying an explicit `display` outranks it. `.btn { display: inline-flex }`
 * is one, which left the Build wizard's Next button on screen and clickable on
 * the last step even though the script had already set `hidden` on it. The two
 * rules above are the same problem, caught one element at a time; this catches
 * the next `element.hidden = true` that would otherwise do nothing at all.
 */
[hidden] { display: none !important; }
.modal {
  width: min(100%, 460px);
  max-height: min(90vh, 780px);
  overflow: auto;
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow);
}
/* The business's own details above the enquiry form (Site content > Business Details). */
.contact-direct {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  background: #f6faf9;
  font-size: 13px;
  line-height: 1.45;
}
.contact-direct dt {
  font-weight: 700;
  color: var(--c-n4);
}
.contact-direct dd {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  color: var(--c-muted);
}
.contact-direct a { color: inherit; font-weight: 600; }
.contact-direct a:hover { color: var(--c-p1a); }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--c-line);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
}

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step {
  background: #fff;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--c-line);
  min-height: 100%;
}
.step strong { color: var(--c-p1a); display: block; margin-bottom: 8px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.step h3 { margin: 0 0 8px; font-size: 20px; }

/* Homepage key benefits (Task 18). Same card language as .step, but led by an
   icon rather than a number: these are reasons to buy, not an ordered process. */
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.benefit-card {
  background: #fff;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--c-line);
  min-height: 100%;
}
.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: rgba(0, 112, 103, 0.1); /* --c-p1a at 10% */
  color: var(--c-p1a);
}
.benefit-card h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.3; }
.benefit-card p { margin: 0; font-size: 14px; }

/* Related products (Task 7). Sits below the description, separated by a rule so
   it reads as a new section rather than more of the product being viewed. */
.related-products {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--c-line);
}
.related-products h2 { margin: 0 0 20px; font-size: clamp(22px, 2.2vw, 28px); }

/* Full product detail, opened from the product image (Task 8). Wider than the
   default .modal because it carries a specification table beside the picture. */
.product-detail-media-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  position: relative;
  border-radius: inherit;
}
.product-detail-media-btn img { display: block; width: 100%; border-radius: inherit; }
.product-detail-media-hint {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--c-n4);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(13, 31, 29, 0.16);
}
.product-detail-media-btn:hover .product-detail-media-hint,
.product-detail-media-btn:focus-visible .product-detail-media-hint {
  background: #fff;
}

.product-details-modal { width: min(100%, 900px); padding: 28px; }
.product-details-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.product-details-head h2 { margin: 4px 0 0; font-size: clamp(22px, 2.4vw, 30px); }
.product-details-body { display: grid; grid-template-columns: 300px 1fr; gap: 28px; }
.product-details-media img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--c-line);
}
.product-details-lead { font-size: 16px; margin: 0 0 14px; }
.product-details-prose { color: var(--c-muted); line-height: 1.65; }
.product-details-copy h3 {
  margin: 24px 0 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-p1a);
}
.product-details-specs { margin: 0; }
.product-details-specs > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--c-line);
}
.product-details-specs > div:last-child { border-bottom: 0; }
.product-details-specs dt { font-weight: 600; font-size: 14px; }
.product-details-specs dd { margin: 0; color: var(--c-muted); font-size: 14px; }

/* Artwork choice on the product page (Task 5). Two cards, the same shape as the
   fulfilment choice at checkout, because it is the same kind of either/or. */
.artwork-choice { border: 0; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.artwork-choice legend { margin-bottom: 10px; }
.artwork-choice-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1.5px solid var(--c-line);
  border-radius: 14px;
  cursor: pointer;
  background: #fff;
}
.artwork-choice-option.is-selected { border-color: var(--c-p1a); background: rgba(0, 112, 103, 0.04); }
.artwork-choice-option input { margin-top: 3px; flex-shrink: 0; }
.artwork-choice-option span { display: block; }
.artwork-choice-option strong { display: block; margin-bottom: 2px; }
.artwork-choice-option .muted { font-size: 13px; }

.artwork-assistance { display: grid; gap: 8px; }
.artwork-assistance textarea { width: 100%; resize: vertical; }
.artwork-assistance-note { font-size: 13px; margin: 0; }

/* The brief, echoed on the order so staff and customer read the same words. */
.order-line-brief { margin: 2px 0 0; font-size: 13px; font-style: italic; }

@media (max-width: 760px) {
  .product-details-body { grid-template-columns: 1fr; }
  .product-details-specs > div { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 1100px) {
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
  .footer-main {
    grid-template-columns: minmax(180px, 1.2fr) repeat(3, minmax(100px, 1fr));
    gap: 20px 28px;
  }
}

@media (max-width: 991.98px) {
  .nav-toggle { display: inline-flex; order: 2; margin-left: auto; }
  .header-tools { order: 3; }
  .site-header-inner { gap: 12px; min-height: 60px; }
  nav, .header-tools { display: none; }
  .site-header.is-open nav,
  .site-header.is-open .header-tools {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
    padding: 8px 0 12px;
    border-top: 1px solid rgba(16, 33, 31, 0.08);
  }
  .site-header.is-open .site-header-inner { flex-wrap: wrap; }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav-links a,
  .nav-links button {
    display: block;
    padding: 12px 4px;
    font-size: 16px;
  }
  .nav-links a[aria-current="page"]::after { display: none; }
  .header-search { width: 100%; }
  .header-actions { justify-content: stretch; flex-wrap: wrap; }
  .header-actions .btn { flex: 1; }
  .header-split { display: none; }
  .header-account-menu { width: 100%; }
  .header-account { flex: 1; max-width: none; justify-content: center; width: 100%; }
  .site-header.is-open .header-account-drop {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    margin-top: 8px;
    width: 100%;
  }
  /* The toolbar stacks when the menu opens, so a fixed circle would sit
     stranded at one end of a full-width row. */
  .header-cart { width: 100%; border-radius: var(--radius-sm); }
  .header-cart-count { position: static; margin-left: 8px; }
  .hero { min-height: 58vh; }
  .hero-slide img { object-position: center; }
  .hero-scrim {
    background: linear-gradient(
      180deg,
      rgba(250, 248, 245, 0.92) 0%,
      rgba(250, 248, 245, 0.82) 55%,
      rgba(250, 248, 245, 0.4) 100%
    );
  }
  .about, .product-grid, .steps, .benefit-grid, .cta-band {
    grid-template-columns: 1fr;
  }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 860px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 22px 28px;
  }
  .footer-brand-col { grid-column: 1 / -1; }
}

.auth-page, .contact-page {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 76px);
}

/*
 * Pages with no illustrated aside (forgot password, reset password) run as one
 * centred column. Without this they inherit the two-column grid and their single
 * card is pinned to the left half of the screen.
 */
.auth-page--solo { grid-template-columns: 1fr; }
.auth-aside {
  background:
    linear-gradient(160deg, rgba(0, 112, 103, 0.88), rgba(13, 31, 29, 0.92)),
    url("/img/products/photo-id-cards.png") center/cover;
  color: #fff;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.auth-aside h2 { font-family: var(--font-display); font-size: 40px; margin: 0 0 12px; color: #fff; }
.auth-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}
.auth-card, .contact-card {
  width: min(100%, 440px);
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--c-line);
}
.auth-card h1, .contact-card h1, .auth-card h2 {
  font-family: var(--font-sans);
  font-weight: 750;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--c-n4);
  margin: 0 0 8px;
}
.auth-logo { margin-bottom: 16px; width: 56px; height: auto; }
.row-between { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pwd-wrap { position: relative; }
.pwd-wrap .input { padding-right: 84px; }
.pwd-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--c-p1a);
  font-weight: 700;
  cursor: pointer;
  min-height: 32px;
}

.legal { max-width: 720px; }
.legal p { color: var(--c-muted); }

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.7fr);
  gap: 28px;
  align-items: start;
}
.quote-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.quote-card h2 {
  margin: 0 0 18px;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.quote-grid .field-span,
.quote-grid .field:nth-last-child(1) { grid-column: 1 / -1; }
.quote-side {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 20px;
  padding: 22px;
  display: grid;
  gap: 18px;
}
.quote-side h2 { margin: 0 0 8px; font-size: 16px; }
.quote-side ul { margin: 0; padding-left: 1.15em; color: var(--c-muted); display: grid; gap: 6px; }
.quote-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.field .hint, .form-text { font-size: 13px; color: var(--c-muted); }
.g-recaptcha { margin: 0 0 16px; }

.ed-page { background: #fff; padding-bottom: 72px; }
.ed-hero {
  text-align: center;
  padding: 64px 0 40px;
}
.ed-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 0 14px;
}
.ed-hero > p {
  max-width: 42ch;
  margin: 0 auto 28px;
  color: var(--c-muted);
  font-size: 17px;
}
.ed-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto;
  padding: 8px 8px 8px 18px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: #f7f7f6;
}
.ed-search svg { color: var(--c-muted); flex-shrink: 0; }
.ed-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  min-height: 44px;
  font-size: 15px;
}
.ed-search .btn { min-height: 44px; padding-inline: 20px; }
.ed-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
  padding-bottom: 24px;
}
.ed-main-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}
.ed-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.ed-cats button {
  border: 1px solid var(--c-line);
  background: #fff;
  color: var(--c-muted);
  border-radius: 999px;
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.ed-cats button:hover { color: var(--c-n4); border-color: rgba(0, 112, 103, 0.28); }
.ed-cats button.is-on {
  background: var(--c-p1a);
  border-color: var(--c-p1a);
  color: #fff;
}
.ed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.ed-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ed-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.ed-card a { text-decoration: none; color: inherit; display: block; }
.ed-card-media { overflow: hidden; aspect-ratio: 16 / 11; background: var(--c-n2); }
.ed-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.ed-card:hover .ed-card-media img { transform: scale(1.04); }
.ed-card-body { padding: 16px 16px 18px; display: grid; gap: 8px; }
.ed-card-body h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.3;
  transition: color 0.15s ease;
}
.ed-card:hover h3 { color: var(--c-p1a); }
.ed-card-body p { margin: 0; color: var(--c-muted); font-size: 14px; line-height: 1.5; }
.ed-card-meta { font-size: 12px; color: var(--c-muted); font-weight: 600; }
.ed-tag {
  margin: 0;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-p1a);
}
.ed-empty {
  border: 1px dashed var(--c-line);
  border-radius: 18px;
  padding: 48px 24px;
  text-align: center;
  background: #fafafa;
}
.ed-empty h3 { margin: 0 0 8px; }
.ed-empty p { margin: 0; color: var(--c-muted); }
.ed-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.ed-pages button {
  border: 1px solid var(--c-line);
  background: #fff;
  border-radius: 999px;
  min-height: 40px;
  padding: 0 16px;
  font-weight: 650;
  cursor: pointer;
}
.ed-pages button:disabled { opacity: 0.4; cursor: not-allowed; }
.ed-pages p { margin: 0; font-size: 13px; color: var(--c-muted); }
.ed-side h2 {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ed-side h2 + .ed-side-list + h2 { margin-top: 28px; }
.ed-side-list { display: grid; gap: 14px; }
.ed-side-item a {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  text-decoration: none;
  color: inherit;
  align-items: center;
}
.ed-side-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--c-n2);
}
.ed-side-item h3 { margin: 0 0 4px; font-size: 14px; line-height: 1.35; }
.ed-side-item p { margin: 0; font-size: 12px; color: var(--c-muted); }
.ed-side-item a:hover h3 { color: var(--c-p1a); }
.ed-article { max-width: 800px; padding-top: 48px; }
.ed-article h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 8px 0 12px;
}
.ed-dek { font-size: 18px; color: var(--c-muted); margin: 0 0 12px; }
.ed-byline { font-size: 13px; color: var(--c-muted); font-weight: 600; margin: 0 0 24px; }
.ed-hero-img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 28px;
  background: var(--c-n2);
}
.ed-body { max-width: 720px; }
.ed-body p, .ed-body li { color: var(--c-muted); font-size: 17px; line-height: 1.75; }
.ed-body h2 { font-size: 22px; letter-spacing: -0.02em; margin: 28px 0 10px; }
.ed-body ul, .ed-body ol { padding-left: 1.2em; }
.ed-body img { width: 100%; height: auto; border-radius: 14px; margin: 16px 0; }
/* Written in the admin panel's editor since 13/10: subheadings, links, captions and tables. */
.ed-body h3 { font-size: 18px; margin: 22px 0 8px; }
.ed-body a { color: var(--c-p1a); text-decoration: underline; text-underline-offset: 2px; }
.ed-body figure { margin: 16px 0; }
.ed-body figure img { margin: 0; }
.ed-body figcaption { margin-top: 6px; font-size: 13px; color: var(--c-muted); text-align: center; }
.ed-body table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.ed-body th, .ed-body td { border: 1px solid var(--c-line); padding: 8px 10px; text-align: left; }
/* The products an article links to, picked in the admin panel. */
.ed-products { max-width: 720px; margin: 32px 0 8px; }
.ed-products h2 { font-size: 20px; letter-spacing: -0.02em; margin: 0 0 12px; }
.ed-products ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ed-products a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 12px;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  background: #fff;
  color: var(--c-n4);
  font-weight: 650;
  text-decoration: none;
}
.ed-products a:hover { border-color: var(--c-p1a); }
.ed-products img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--c-n1); }
.ed-products .ed-products-cta { margin-top: auto; font-size: 13px; color: var(--c-p1a); }
/* An admin's preview of an article that is not on the blog yet. */
.ed-preview-note {
  margin: 0 0 18px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--c-a1);
  color: var(--c-n4);
  font-size: 14px;
  font-weight: 600;
}
.ed-body blockquote {
  margin: 24px 0;
  padding: 8px 0 8px 18px;
  border-left: 3px solid var(--c-p1a);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.4;
  color: var(--c-n4);
}
.ed-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 32px 0 8px; }
.ed-share p { margin: 0 8px 0 0; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); }
.ed-share a, .ed-share button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  background: #fff;
  color: var(--c-n4);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
}
.ed-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
  padding-top: 22px;
  border-top: 1px solid var(--c-line);
}
.ed-pager a {
  display: grid;
  gap: 4px;
  text-decoration: none;
  color: var(--c-muted);
  font-size: 13px;
}
.ed-pager a.is-next { text-align: right; justify-items: end; }
.ed-pager strong { color: var(--c-n4); font-size: 15px; }
.ed-related { margin-top: 12px; padding-bottom: 72px; }
.ed-related h2 { font-family: var(--font-display); font-size: 28px; margin: 0 0 18px; }

.chat-launch {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  height: 56px;
  min-width: 56px;
  max-width: 56px;
  padding: 0 17px;
  border-radius: 999px;
  border: 0;
  background: var(--c-p1a);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 112, 103, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
  transition: max-width 0.28s ease, padding 0.28s ease, gap 0.28s ease, box-shadow 0.2s ease;
}
.chat-launch-icon { flex-shrink: 0; }
.chat-launch-label {
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(-6px);
  transition: max-width 0.28s ease, opacity 0.2s ease, transform 0.28s ease;
}
@media (hover: hover) and (pointer: fine) {
  .chat-launch:hover,
  .chat-launch:focus-visible {
    max-width: 280px;
    padding: 0 20px 0 16px;
    gap: 10px;
    box-shadow: 0 16px 32px rgba(0, 112, 103, 0.42);
  }
  .chat-launch:hover .chat-launch-label,
  .chat-launch:focus-visible .chat-launch-label {
    max-width: 220px;
    opacity: 1;
    transform: translateX(0);
  }
}
@media (hover: none) {
  .chat-launch {
    width: 56px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .chat-launch-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .chat-launch,
  .chat-launch-label { transition: none; }
}
.chat-panel {
  position: fixed;
  right: 20px;
  bottom: 84px;
  z-index: 70;
  width: min(calc(100vw - 24px), 428px);
  height: min(600px, calc(100vh - 110px));
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.chat-panel[hidden] { display: none !important; }
.chat-head {
  padding: 14px 16px;
  background: var(--c-p1a);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.chat-head-copy { display: flex; flex-direction: column; gap: 2px; }
.chat-head-title { font-weight: 800; font-size: 16px; }
.chat-head-status { font-size: 12px; font-weight: 500; opacity: 0.9; display: flex; align-items: center; gap: 6px; }
.chat-online-dot { width: 8px; height: 8px; border-radius: 50%; background: #8dffd6; display: inline-block; }
.chat-head #chat-close {
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.chat-log {
  flex: 1;
  overflow: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f7f4ef;
  overscroll-behavior: contain;
}
.bubble { padding: 10px 12px; border-radius: 14px; max-width: 92%; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.bubble p { margin: 0 0 8px; }
.bubble p:last-child { margin-bottom: 0; }
.bubble.bot { background: #fff; align-self: flex-start; border: 1px solid var(--c-line); }
.bubble.user { background: var(--c-p1a); color: #fff; align-self: flex-end; }
.chat-starters, .chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chat-chip {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--c-line);
  background: #fff;
  color: var(--c-n4);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.chat-chip:hover { border-color: var(--c-p1a); color: var(--c-p1a); }
.chat-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  padding: 12px;
  align-self: stretch;
}
.chat-card h3 { margin: 0 0 4px; font-size: 15px; }
.chat-card p { margin: 0 0 8px; font-size: 13px; color: var(--c-muted); }
.chat-card-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.chat-card-actions a, .chat-card-actions button {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-p1a);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}
.chat-source { font-size: 12px; color: var(--c-muted); margin-top: 8px; }
.chat-source a { color: var(--c-p1a); }
.chat-feedback { display: flex; gap: 6px; margin-top: 8px; }
.chat-feedback button {
  border: 1px solid var(--c-line);
  background: #fff;
  border-radius: 8px;
  width: 32px;
  height: 28px;
  cursor: pointer;
}
.chat-feedback button.is-on { border-color: var(--c-p1a); background: #e7f6f3; }
.chat-typing { display: flex; align-items: center; gap: 8px; color: var(--c-muted); font-size: 13px; }
.chat-dots { display: inline-flex; gap: 4px; }
.chat-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-p1a);
  display: block;
  animation: chat-dot 1.1s infinite ease-in-out;
}
.chat-dots i:nth-child(2) { animation-delay: 0.15s; }
.chat-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-dot {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}
.chat-privacy {
  margin: 0;
  padding: 6px 14px 0;
  font-size: 11px;
  color: var(--c-muted);
  background: #fff;
}
.chat-enquire-dock {
  display: flex;
  flex-direction: column;
  background: #fff;
}
.chat-form, .chat-escalate {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--c-line);
  background: #fff;
}
.chat-escalate { flex-direction: column; }
.chat-escalate[hidden] { display: none !important; }
.chat-escalate-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.chat-escalate-copy { margin: 0; font-size: 13px; padding-right: 4px; }
.chat-escalate-hide {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin: -4px -4px 0 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--c-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.chat-escalate-hide:hover {
  background: #f3f1ec;
  color: var(--c-n4);
}
.chat-enquire-tag {
  align-self: center;
  margin: 0 0 -1px;
  padding: 8px 22px 10px;
  border: 1px solid var(--c-line);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: var(--c-p1a);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 -6px 16px rgba(0, 112, 103, 0.18);
}
.chat-enquire-tag[hidden] { display: none !important; }
.chat-enquire-tag:hover { filter: brightness(1.06); }
.chat-escalate input, .chat-form input {
  flex: 1;
  min-height: 42px;
  border: 1.5px solid var(--c-line);
  border-radius: 999px;
  padding: 0 14px;
  font: inherit;
}
.chat-escalate-actions { display: flex; gap: 8px; }
.artwork-spec { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; font-size: 13px; margin: 8px 0; }
.order-status { font-weight: 700; color: var(--c-p1a); }

@media (max-width: 640px) {
  .chat-panel {
    inset: 0;
    width: 100%;
    height: 100%;
    right: 0;
    bottom: 0;
    border-radius: 0;
    max-height: none;
  }
}

/* The assistant's product results and clarifying options (US7.2, US7.4). */
.bubble.typing { opacity: 0.55; letter-spacing: 2px; }

.chat-products { display: flex; flex-direction: column; gap: 8px; align-self: stretch; }
.chat-product {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.chat-product:hover,
.chat-product:focus-visible { border-color: var(--c-p1a); transform: translateY(-1px); }
.chat-product-name { font-weight: 700; font-size: 14px; }
.chat-product-feature { font-size: 12.5px; color: var(--c-muted, #5b6b68); line-height: 1.4; }
.chat-product-price { font-size: 13px; font-weight: 600; color: var(--c-p1a); margin-top: 2px; }

.chat-options { display: flex; flex-wrap: wrap; gap: 6px; align-self: flex-start; max-width: 100%; }
.chat-option {
  font: inherit;
  font-size: 13px;
  text-align: left;
  padding: 8px 12px;
  border: 1.5px solid var(--c-p1a);
  border-radius: 999px;
  background: #fff;
  color: var(--c-p1a);
  cursor: pointer;
}
.chat-option:hover { background: var(--c-p1a); color: #fff; }

/*
 * Offered at the moment the assistant admits it cannot help, rather than
 * standing open the whole time (US7.5).
 */
.chat-handover {
  padding: 12px 14px;
  border-top: 1px solid var(--c-line);
  background: #f7f4ef;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chat-handover[hidden] { display: none !important; }
.chat-handover-intro { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--c-muted, #5b6b68); }
.chat-handover input {
  min-height: 40px;
  border: 1.5px solid var(--c-line);
  border-radius: 999px;
  padding: 0 14px;
  font: inherit;
  background: #fff;
}
.chat-handover-actions { display: flex; gap: 10px; align-items: center; }
.chat-handover-actions .btn { min-height: 38px; padding-inline: 14px; font-size: 13px; }
.chat-handover-actions .link-teal { background: none; border: 0; cursor: pointer; font-size: 13px; padding: 0; }

@media (max-width: 760px) {
  .footer-main { padding-bottom: 18px; }
}

@media (max-width: 991.98px) {
  .auth-page, .contact-page, .quote-layout, .quote-grid, .ed-main, .ed-grid, .ed-pager {
    grid-template-columns: 1fr;
  }
  .ed-grid { grid-template-columns: 1fr 1fr; }
  .ed-search { flex-wrap: wrap; padding: 10px; }
  .ed-search input { width: 100%; min-width: 0; }
  .ed-search .btn { width: 100%; }
  .auth-aside { display: none; }
}

/* ------------------------------------------------------------------ *
 * Character counter on the contact form.
 * ------------------------------------------------------------------ */
.char-count {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--c-muted);
  text-align: right;
}
/* Amber approaching the cap, red at it, so the limit is felt before it bites. */
.char-count.is-near { color: #92620a; }
.char-count.is-full { color: var(--c-error); font-weight: 600; }

/* ------------------------------------------------------------------ *
 * Bot check. Reserves its own space so the submit button does not jump
 * down the page when the widget finishes loading.
 * ------------------------------------------------------------------ */
.turnstile-field {
  margin: 14px 0;
  min-height: 65px;
}

/* ------------------------------------------------------------------ *
 * Blog: the next article, promoted.
 *
 * Once above the hero image as a button, and again at the foot of the
 * article with the weight the plain text link never had.
 * ------------------------------------------------------------------ */
.ed-next-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 22px;
  padding: 10px 18px;
  border: 1px solid var(--c-p1);
  border-radius: 999px;
  background: rgba(1, 171, 157, 0.08);
  color: var(--c-p1a);
  font-size: 14px;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.ed-next-top:hover,
.ed-next-top:focus-visible {
  background: var(--c-p1);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.ed-next-top-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.85;
}
.ed-next-top-title {
  font-weight: 600;
  max-width: 46ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ed-pager a.is-emphasised {
  padding: 14px 18px;
  border: 1px solid var(--c-p1);
  border-radius: var(--radius-sm);
  background: rgba(1, 171, 157, 0.08);
  color: var(--c-p1a);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.ed-pager a.is-emphasised strong { color: var(--c-p1a); }
.ed-pager a.is-emphasised:hover,
.ed-pager a.is-emphasised:focus-visible {
  background: var(--c-p1);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.ed-pager a.is-emphasised:hover strong,
.ed-pager a.is-emphasised:focus-visible strong { color: #fff; }

@media (max-width: 640px) {
  .ed-next-top { width: 100%; justify-content: space-between; }
  .ed-next-top-title { max-width: none; }
}

/*
 * Customise & Order stepper. Native <button> chrome on macOS ignores
 * flex-direction until appearance is stripped, which is why the steps
 * rendered as grey boxes with the number and label in a row. This file
 * loads after nx-app.css, so the reset lives here.
 */
button.build-wizard-progress-btn {
  all: unset;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  cursor: pointer;
  min-height: 0;
  border-radius: 0;
  font: inherit;
}
button.build-wizard-progress-btn:hover:not(:disabled) { color: var(--c-p1a); }
button.build-wizard-progress-btn:disabled { opacity: 1; cursor: default; color: var(--c-muted); }
button.build-wizard-progress-btn span {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1.5px solid var(--c-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  background: #fff;
  position: relative;
  z-index: 1;
}
button.build-wizard-progress-btn small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

/*
 * Cookie notice. Bottom left, so it never sits over the assistant launcher in
 * the bottom right corner; below the launcher and every modal in z-order.
 */
.cookie-notice {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 65;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(460px, calc(100vw - 116px));
  padding: 14px 16px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-n3);
  color: var(--c-n4);
  box-shadow: var(--shadow);
  font-size: 14px;
  line-height: 1.45;
}
.cookie-notice p { margin: 0; }
.cookie-notice a { color: var(--c-p1a); font-weight: 650; }
.cookie-notice .btn { flex: 0 0 auto; min-height: 40px; padding: 8px 20px; font-size: 14px; }
@media (max-width: 560px) {
  .cookie-notice {
    left: 12px;
    bottom: 12px;
    width: calc(100vw - 100px);
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
