/* NONO child-theme styles. The home page follows the NONO storefront (storefront/src/app/globals.css),
   converted to this site's 10px rem and Core Framework variables. Components built in Bricks use the
   nono-* global classes; this file covers theme markup (finder, dialogs, phone menu), Bricks overrides,
   the tablet range (768–1199px), and the motion layer. */

/* =====================================================================
   Base
   ===================================================================== */

/* Light cards inside dark (inverted) sections re-read the text colour too */
.theme-always-light {
  color: var(--text-body);
}

/* Spacing comes from the layout classes, so Bricks' default paragraph margin is cleared.
   Unlayered :where() beats Bricks' layered defaults and loses to every class. */
:where(.brxe-text-basic) {
  margin-block: 0;
}
:where(.nono-quote) blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
}
:where(dd.brxe-text-basic) {
  margin-inline: 0;
}
/* Lists built from Bricks divs carry no browser indent, bullets or margins */
:where(ul.brxe-div, ol.brxe-div) {
  margin: 0;
  padding: 0;
  list-style: none;
}
:where(dl.brxe-div) {
  margin: 0;
}
:where(figcaption.brxe-text-basic) {
  text-align: start;
}
:where(h1, h2, h3) {
  text-wrap: balance;
}
:where(.nono-card, .nono-section-head__text, .nono-stack) > .nono-arrow-link {
  align-self: flex-start;
}

/* Section headings (storefront .heading-lg): 40→56px, 32px on phones */
h2.brxe-heading {
  font-size: clamp(4rem, 3.89vw, 5.6rem);
  line-height: 1;
}
/* The eyebrow sits 8px above its heading */
.nono-section-head__text > .nono-eyebrow {
  margin-bottom: -0.8rem;
}

/* Icons take the text colour (icon SVGs use currentColor) */
.brxe-icon svg,
.bricks-button svg,
.brxe-text-link svg {
  flex-shrink: 0;
}
svg.brxe-icon {
  width: 1em;
  height: 1em;
}
.bricks-button svg {
  width: 2rem;
  height: 2rem;
}
.brxe-text-link svg {
  width: 1.6rem;
  height: 1.6rem;
}

/* Buttons (storefront .button): 48px tall, 8px icon gap; outline is a 1px navy border on white */
.bricks-button {
  gap: 0.8rem;
  min-height: 4.8rem;
}
/* 8px padding + 1px border and 20px lines, so a wrapped label grows as the storefront button does */
.bricks-button.md {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  line-height: 1.25;
}
.bricks-button:where(.outline) {
  color: var(--text-title);
  border-width: 1px;
  border-color: var(--text-title);
  background-color: var(--bg-surface);
}
.bricks-button:where(.outline).md {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}
.bricks-button:where(.outline):hover {
  background-color: var(--bg-brand-subtle);
}

/* Section heads: the heading takes the room and wraps; the action keeps its width (as the storefront) */
.nono-section-head > .nono-section-head__text {
  flex: 1 1 auto;
  min-width: 0;
}
.nono-section-head > :not(.nono-section-head__text) {
  flex-shrink: 0;
}

/* Photos that fill a fixed-shape frame */
/* img.brxe-image so it beats the .nono-photo class (height: auto) */
.nono-frame-cover > img.brxe-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
img.nono-pos-46 { object-position: center 46%; }
img.nono-pos-58 { object-position: center 58%; }
img.nono-pos-62 { object-position: center 62%; }
img.nono-pos-64 { object-position: center 64%; }
.nono-tyre-row__photo > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nono-tyre-row:first-child {
  padding-top: 0;
}
.nono-tyre-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

/* Links inside text */
.nono-detail__value a,
.nono-footer__legal a {
  color: inherit;
  text-decoration: none;
}
.nono-detail__value a:hover,
.nono-footer__legal a:hover {
  text-decoration: underline;
}
.nono-cta__actions .brxe-text-basic a {
  color: var(--text-link);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  font-variant-numeric: tabular-nums;
}
.nono-footer__email:hover,
.nono-footer__phone:hover {
  color: var(--white);
}

/* =====================================================================
   Show on phones / desktop only (storefront .phone-only / .desktop-only; phones are below 768px)
   ===================================================================== */
@media (min-width: 768px) {
  .nono-phone-only {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .nono-desktop-only {
    display: none !important;
  }
}

/* =====================================================================
   Header
   ===================================================================== */
#brx-header {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 100;
  /* While the header (or the bar, during its entrance) carries a transform, anything parked off the
     edge would count as page width and phones would zoom out. Clipping sideways prevents that. */
  overflow-x: clip;
}
/* On the home page the floating bar sits over the hero (desktop and tablet) */
@media (min-width: 768px) {
  .home #brx-header {
    margin-bottom: calc(-1 * (var(--header-height) + var(--hero-inset)));
  }
}
#brx-header .nono-header__bar {
  box-shadow: 0 8px 12px rgba(18, 33, 82, 0.18);
}
#brx-header .nono-header__brand {
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.nono-header__ownership {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-body);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4rem;
  white-space: nowrap;
}
#brx-header .nono-header__ownership--contact {
  display: none;
}
.nono-header__flags {
  display: inline-flex;
  flex: none;
  gap: 0.4rem;
}
.nono-header__flags::before,
.nono-header__flags::after {
  content: "";
  width: 1.8rem;
  height: 0.9rem;
  background-size: contain;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 1px rgba(18, 33, 82, 0.18);
}
.nono-header__flags::before {
  background-image: url("../img/flag-ph.png");
}
.nono-header__flags::after {
  background-image: url("../img/flag-nz.png");
}
.nono-header__bar .bricks-nav-menu > li > a,
.nono-header__bar .bricks-button {
  white-space: nowrap;
}
.nono-header__bar .bricks-nav-menu > li > a {
  padding-block: 0.8rem;
}
.nono-header__phone svg {
  width: 1.6rem;
  height: 1.6rem;
}
@media (min-width: 768px) {
  #brx-header .nono-header__brand .nono-header__ownership {
    display: none;
  }
  #brx-header .nono-header__ownership--contact {
    display: flex;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  #brx-header .nono-header__actions {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    grid-template-rows: repeat(2, min-content);
    row-gap: 0;
  }
  #brx-header .nono-header__ownership--contact {
    grid-area: 1 / 1;
    gap: 0.4rem;
    font-size: 1.1rem;
  }
  .nono-header__ownership--contact .nono-header__flags {
    gap: 0.3rem;
  }
  .nono-header__ownership--contact .nono-header__flags::before,
  .nono-header__ownership--contact .nono-header__flags::after {
    width: 1.6rem;
    height: 0.8rem;
  }
  #brx-header .nono-header__phone {
    grid-area: 2 / 1;
  }
  #brx-header .nono-header__actions > a:not(.nono-header__phone) {
    grid-row: 1 / span 2;
  }
}
@media (min-width: 1024px) {
  #brx-header .nono-header__ownership--contact {
    padding-inline-end: 1rem;
    border-inline-end: 1px solid #d8dce7;
  }
}
@media (min-width: 1200px) and (max-width: 1319px) {
  #brx-header .nono-header__bar {
    padding-inline: clamp(3.2rem, (100% - 112.8rem) / 2, 8rem);
  }
}
/* Tablet: smaller logo, gaps and controls */
@media (min-width: 768px) and (max-width: 1199px) {
  #brx-header .nono-header__bar {
    column-gap: 0.8rem;
    padding-right: clamp(1.6rem, (100% - 70.4rem) / 2, 8rem);
    padding-left: clamp(1.6rem, (100% - 70.4rem) / 2, 8rem);
  }
  #brx-header .bricks-nav-menu {
    gap: 0.8rem;
  }
  #brx-header .brxe-nav-menu {
    margin-left: 0;
  }
  #brx-header .nono-header__actions {
    column-gap: 0.8rem;
  }
  #brx-header .nono-header__logo {
    width: 14.4rem;
    height: 3.2rem;
  }
  #brx-header .bricks-nav-menu > li > a,
  #brx-header .nono-header__phone,
  #brx-header .nono-header__actions .bricks-button {
    font-size: 1.4rem;
  }
  #brx-header .nono-header__actions .bricks-button {
    padding-right: 0.8rem;
    padding-left: 0.8rem;
  }
  #brx-header .nono-icon-btn {
    width: 4rem;
  }
}
/* Phones: a plain bar with the logo and a Menu button */
@media (max-width: 767px) {
  #brx-header .nono-header__bar {
    box-shadow: none;
  }
  #brx-header .nono-header__bar > .brxe-nav-menu {
    display: none;
  }
}
/* Inner pages (storefront .site-header without --floating): a flush white bar with a bottom border,
   80px tall on desktop, a navy "Message us" button and the current section in crimson, underlined. */
body.sf #brx-header .nono-header {
  padding: 0;
}
body.sf #brx-header .nono-header__bar {
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid #d8dce7;
}
@media (min-width: 768px) {
  body.sf #brx-header .nono-header__bar {
    min-height: 8.1rem;
  }
}
@media (max-width: 767px) {
  body.sf #brx-header .nono-header__bar {
    min-height: 7.3rem;
  }
}
@media (min-width: 1200px) {
  body.sf #brx-header .brxe-nav-menu {
    margin-left: 0;
  }
}
body.sf #brx-header .nono-header__actions .bricks-button.bricks-background-primary {
  background-color: var(--primary);
}
body.sf #brx-header .nono-header__actions .bricks-button.bricks-background-primary:hover {
  background-color: #233970;
}
#brx-header .nono-header__bar .bricks-nav-menu > li.current-menu-item > a {
  color: #be1235;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}
#brx-header .nono-header__bar .bricks-nav-menu > li.current-menu-item > a::after {
  display: none;
}

/* =====================================================================
   Phone menu (full-screen dialog, storefront MobileMenu)
   ===================================================================== */
html.nono-dialog-open {
  overflow: hidden;
}
.nono-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--bg-surface);
  color: var(--text-body);
}
.nono-menu::backdrop {
  background: transparent;
}
.nono-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 7.2rem;
  padding-inline: var(--page-margin);
  border-bottom: 1px solid var(--border-primary);
}
.nono-menu__header img {
  display: block;
  width: 14.2rem;
  height: 3.4rem;
  object-fit: contain;
}
.nono-menu__close {
  min-width: 10rem;
  padding-inline: 1.6rem;
}
.nono-menu__body {
  padding: 2.4rem var(--page-margin) 3.2rem;
}
.nono-menu nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.nono-menu nav li {
  border-bottom: 1px solid var(--border-primary);
}
.nono-menu nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.2rem;
  color: var(--text-title);
  font: 600 3.2rem/1.125 var(--font-display);
  text-transform: uppercase;
  text-decoration: none;
}
.nono-menu nav a:hover,
.nono-menu nav a[aria-current="page"] {
  color: var(--text-accent);
}
.nono-menu__contact {
  display: grid;
  gap: 1.6rem;
  margin-top: 3.2rem;
}
.nono-menu__address {
  margin-top: 0.8rem;
  color: var(--text-body);
  text-decoration: underline;
}

/* =====================================================================
   Hero
   ===================================================================== */
/* The eyebrow sits inside the H1 (SEO pack); it reads as the storefront's separate eyebrow */
.nono-hero-eyebrow {
  display: block;
  margin-bottom: 1.6rem;
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 2rem;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--accent-l-1);
}
/* "Good tyres." and "Better prices." each on their own line; nono-motion.js types them out */
.nono-line {
  display: block;
}
.nono-type-char {
  position: relative;
}
/* The caret: solid while typing, three blinks at the end, then gone (no endless loop) */
.nono-type-char.is-caret::after {
  content: "";
  position: absolute;
  top: 0.1em;
  bottom: 0.04em;
  left: 100%;
  width: 0.07em;
  margin-left: 0.05em;
  background-color: var(--accent);
}
.nono-type-char.is-caret.is-done::after {
  animation: nono-caret-blink 1s steps(1, end) 3;
}
@keyframes nono-caret-blink {
  50% { opacity: 0; }
}
@media (max-width: 767px) {
  .nono-hero-eyebrow {
    color: var(--white);
  }
}

/* =====================================================================
   Tyre finder ([nono_tyre_finder], storefront TyreFinder)
   ===================================================================== */
.nono-finder__body {
  display: grid;
  gap: 1.6rem;
  color: var(--text-body);
}
.nono-finder__form {
  display: grid;
  gap: 1.6rem;
}
.nono-finder__fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}
.nono-finder__field {
  position: relative;
  margin: 0; /* the theme gives labels a 5px bottom margin */
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 6.4rem;
  padding-inline: 1.4rem;
  border: 1px solid var(--border-control);
  border-radius: var(--radius-field);
  background: var(--bg-control);
  cursor: pointer;
}
.nono-finder__field > span {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--text-muted);
}
.nono-finder__field select {
  appearance: none;
  width: 100%;
  min-width: 0;
  min-height: 2.6rem;
  margin: 0;
  padding: 0 2rem 0 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-title);
  cursor: pointer;
}
.nono-finder__field select:invalid {
  color: var(--text-muted);
}
.nono-finder__field .nono-svg {
  position: absolute;
  right: 1.2rem;
  bottom: 1.6rem;
  color: var(--icon-default);
  pointer-events: none;
}
.nono-finder__field:focus-within {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}
.nono-finder__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 100%;
  min-height: 4.8rem;
  padding: 0.8rem 2.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  background: var(--bg-accent);
  color: var(--text-on-accent);
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
}
.nono-finder__submit:hover {
  background: var(--bg-accent-hover);
}
.nono-finder__help {
  font-size: 1.6rem;
  line-height: 1.5;
}
.nono-finder__help summary {
  list-style: none;
  color: var(--text-body);
  cursor: pointer;
}
.nono-finder__help summary::-webkit-details-marker {
  display: none;
}
.nono-finder__help summary span,
.nono-finder__help a {
  color: var(--text-title);
  text-decoration: underline;
}
.nono-finder__help p {
  margin: 0.8rem 0 0;
}
.nono-finder__popular {
  display: grid;
  gap: 0.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border-primary);
}
.nono-finder__label {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-title);
}
.nono-finder__popular ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nono-finder__popular a {
  display: grid;
  place-items: center;
  min-height: 4rem;
  padding: 0.4rem 1.6rem;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-control);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
}
.nono-finder__popular a:hover {
  background: var(--bg-brand-subtle);
}
.nono-finder__note {
  margin: 0;
  font-size: 1.4rem;
  line-height: 2rem;
  color: var(--text-muted);
}
@media (max-width: 767px) {
  .nono-finder__field {
    padding-inline: clamp(0.8rem, 3vw, 1.6rem);
  }
  .nono-finder__field select {
    padding-right: 1.8rem;
  }
  .nono-finder__body--phone .nono-finder__help {
    margin-top: 0.8rem;
  }
}

/* =====================================================================
   FAQ (native disclosure, one open at a time; plus becomes minus)
   ===================================================================== */
.nono-faq-list {
  border-bottom: 1px solid var(--border-primary);
}
.nono-faq-item {
  border-top: 1px solid var(--border-primary);
}
.nono-faq-item > summary {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 2.4rem;
  padding-block: 2.4rem;
  list-style: none;
  color: var(--text-title);
  cursor: pointer;
}
.nono-faq-item > summary::-webkit-details-marker {
  display: none;
}
.nono-faq-item > summary::after {
  content: "";
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.nono-faq-item[open] > summary::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.nono-faq-a {
  padding-bottom: 2.4rem;
}
/* Phone: "Good to know" as a plain list */
.nono-phone-faq {
  margin-top: 1.6rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--border-primary);
}
.nono-phone-faq:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.nono-phone-faq > dd {
  margin-top: 0.8rem;
}

/* =====================================================================
   Enquiry dialog and message box (storefront EnquiryButton + MessagePreview)
   ===================================================================== */
.nono-enquiry {
  width: min(54.4rem, calc(100% - 3.2rem));
  max-height: calc(100dvh - 3.2rem);
  padding: 3.2rem;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-card);
  background: var(--bg-surface);
  color: var(--text-body);
  box-shadow: 0 2rem 6.4rem rgba(18, 33, 82, 0.22);
}
.nono-enquiry::backdrop {
  background: rgba(16, 25, 51, 0.65);
}
.nono-enquiry__heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.6rem;
  margin-bottom: 2.4rem;
}
.nono-enquiry__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.125;
  text-transform: uppercase;
  color: var(--text-title);
}
.nono-enquiry .nono-enquiry__close {
  min-height: 4.4rem;
  padding-inline: 1.6rem;
}
.nono-enquiry [hidden] {
  display: none;
}
.nono-enquiry--workshop {
  --quote-gutter: clamp(1.6rem, 3vw, 3.2rem);
  position: fixed;
  inset: 0;
  width: min(84rem, calc(100% - 3.2rem));
  max-width: none;
  height: fit-content;
  max-height: calc(100vh - 3.2rem);
  max-height: calc(100dvh - 3.2rem);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scroll-padding-top: 8rem;
}
.nono-enquiry--workshop .nono-enquiry__heading {
  position: sticky;
  top: 0;
  z-index: 2;
  margin: 0;
  padding: 1.2rem var(--quote-gutter);
  border-bottom: 1px solid var(--border-primary);
  background: var(--bg-surface);
}
.nono-enquiry--workshop .nono-enquiry__body {
  display: grid;
  padding: clamp(1.6rem, 2vw, 2.4rem) var(--quote-gutter) var(--quote-gutter);
  gap: 2.4rem;
}
.nono-enquiry--workshop .nono-enquiry__body > .nono-message {
  min-width: 0;
  padding: clamp(1.6rem, 2vw, 2.4rem);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-card);
}
@media (min-width: 768px) {
  .nono-enquiry--workshop .nono-enquiry__body {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: start;
    gap: 3.2rem;
  }
}
@media (min-width: 900px) and (min-height: 680px) {
  .nono-enquiry--workshop .nono-enquiry__body > .nono-message {
    position: sticky;
    top: 9.2rem;
  }
}
.nono-workshop-quote {
  display: grid;
  min-width: 0;
  gap: 2.4rem;
  margin: 0;
}
.nono-workshop-quote fieldset {
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.nono-workshop-quote legend {
  margin-bottom: 0.8rem;
  padding: 0;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-title);
}
.nono-workshop-quote__choices {
  margin-top: 0.8rem;
}
.nono-workshop-quote__choices label {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-height: 4.4rem;
  margin: 0;
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--border-primary);
  color: var(--text-title);
  cursor: pointer;
}
.nono-workshop-quote__choices input {
  flex: none;
  width: 1.8rem;
  height: 1.8rem;
  margin: 0;
  accent-color: var(--text-accent);
}
.nono-workshop-quote input:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}
.nono-quote-tyres,
.nono-quote-tyres__browser,
.nono-quote-tyres__filters {
  display: grid;
  min-width: 0;
  gap: 1.2rem;
}
.nono-quote-tyres__heading,
.nono-quote-tyres__selection,
.nono-quote-tyres__filter-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.2rem;
}
.nono-quote-tyres__heading {
  justify-content: space-between;
}
.nono-quote-tyres__heading h3 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-title);
}
.nono-quote-tyres__heading small,
.nono-quote-tyres__quantity small {
  color: var(--text-muted);
  font-weight: 400;
}
.nono-quote-tyres__selection {
  padding: 1.2rem;
  border-radius: var(--radius-field);
  background: var(--bg-brand-subtle);
}
.nono-quote-tyres__selection p {
  flex-basis: 100%;
  margin: 0;
}
.nono-quote-tyres__selection [data-quote-selected-tyre] {
  color: var(--text-title);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.nono-quote-tyres__error {
  color: var(--text-accent);
}
.nono-quote-tyres__quantity {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
}
.nono-quote-tyres__quantity input {
  width: 7.2rem;
}
.nono-quote-tyres :is(select, input[type="number"]) {
  min-height: 4.4rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border-control);
  border-radius: var(--radius-field);
  background: var(--bg-surface);
  font: inherit;
  color: var(--text-title);
}
.nono-quote-tyres select {
  width: 100%;
  min-width: 0;
  appearance: auto;
}
.nono-quote-tyres select:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}
.nono-quote-tyres .size-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.2rem;
}
.nono-quote-tyres .size-field {
  display: grid;
  min-width: 0;
  gap: 0.4rem;
  margin: 0;
  color: var(--text-title);
}
.nono-quote-tyres__text-action {
  min-height: 4.4rem;
  padding: 0.4rem 0;
  border: 0;
  background: transparent;
  color: var(--text-accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.nono-quote-tyres__results {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nono-quote-tyres__result {
  display: grid;
  grid-template-columns: 5.6rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem 1.2rem;
  padding-block: 1.2rem;
  border-top: 1px solid var(--border-primary);
  overflow-wrap: anywhere;
}
.nono-quote-tyres__result > div {
  grid-column: 2;
}
.nono-quote-tyres__result > img {
  width: 100%;
  height: 5.6rem;
  object-fit: contain;
}
.nono-quote-tyres__result strong {
  color: var(--text-title);
}
.nono-quote-tyres__price {
  margin: 0;
  color: var(--text-title);
  font-size: 1.4rem;
  font-weight: 600;
}
.nono-quote-tyres__price span {
  color: var(--text-muted);
  font-weight: 400;
}
@media (max-width: 479px) {
  .nono-quote-tyres__result {
    grid-template-columns: 4.4rem minmax(0, 1fr);
  }
  .nono-quote-tyres__result > button {
    grid-column: 2;
    justify-self: start;
  }
}
.nono-services .nono-group-quote-link {
  align-self: flex-start;
}
.nono-message {
  display: grid;
  gap: 1.6rem;
  font-size: 1.6rem;
  line-height: 1.5;
}
.nono-message__eyebrow {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 2rem;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-accent);
}
.nono-message__heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.1667;
  text-transform: uppercase;
  color: var(--text-title);
}
.nono-message__subject {
  margin: 0;
  padding: 1.2rem 1.6rem;
  border-radius: var(--radius-field);
  background: var(--bg-brand-subtle);
  color: var(--text-body);
}
.nono-message__subject[hidden] {
  display: none;
}
.nono-message__field {
  display: grid;
  gap: 0.8rem;
  margin: 0; /* Bricks gives labels a 5px bottom margin */
  font-weight: 600;
  color: var(--text-title);
}
.nono-message__field textarea {
  width: 100%;
  min-height: 12rem;
  padding: 1.2rem 1.6rem;
  border: 1px solid var(--border-control);
  border-radius: var(--radius-field);
  background: var(--bg-control);
  font: inherit;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-body);
  resize: vertical;
}
.nono-message__field textarea:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}
.nono-workshop-quote [data-quote-details] {
  min-height: 7.2rem;
  padding-block: 0.8rem;
}
.nono-enquiry--workshop [data-message] {
  min-height: 7.2rem;
  background: var(--bg-brand-subtle);
  field-sizing: content;
  resize: none;
}
@media (min-width: 900px) and (min-height: 680px) {
  .nono-enquiry--workshop [data-message] {
    max-height: max(20rem, calc(100dvh - 45.2rem));
  }
}
.nono-enquiry--workshop [data-message]::placeholder {
  color: var(--text-muted);
  opacity: 1;
}
.nono-message__copy {
  justify-self: start;
  min-width: min(100%, 27.2rem);
}
.nono-enquiry .nono-message__copy {
  width: 100%;
  min-width: 0;
}
.nono-enquiry--workshop .nono-message__copy:disabled {
  border-color: var(--border-primary);
  background: var(--bg-brand-subtle);
  color: var(--text-muted);
  cursor: not-allowed;
}
.nono-enquiry--workshop [data-message-status]:empty {
  display: none;
}
.nono-message__caption {
  margin: 0;
  font-size: 1.4rem;
  line-height: 2rem;
  color: var(--text-muted);
}
.nono-message__fallback a {
  color: var(--text-accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
@media (max-width: 767px) {
  .nono-enquiry:not(.nono-enquiry--workshop) {
    padding: 1.6rem;
  }
  .nono-enquiry--workshop .nono-enquiry__title {
    font-size: 2.8rem;
  }
}

/* =====================================================================
   Workshop map ([nono_workshop_map])
   ===================================================================== */
.nono-grid-3 > .brxe-shortcode {
  display: flex;
  flex-direction: column;
}
.nono-map-embed {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-card);
  background: var(--bg-surface);
}
.nono-map-embed iframe {
  flex: 1;
  width: 100%;
  min-height: 25.6rem;
  border: 0;
  background: var(--bg-brand-subtle);
}
.nono-map-embed__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  min-height: 4.4rem;
  padding: 0.8rem 1.6rem;
  border-top: 1px solid var(--border-primary);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-title);
  text-decoration: none;
}
.nono-map-embed__link:hover {
  text-decoration: underline;
}

/* =====================================================================
   Brand carousel
   ===================================================================== */
.nono-marquee::-webkit-scrollbar {
  display: none;
}
.nono-marquee.is-running {
  overflow: hidden;
}
/* Keyboard users can stop it and scroll by hand */
.nono-marquee:focus-visible {
  overflow-x: auto;
  outline-color: var(--white);
  outline-offset: -2px;
}

/* Recovery pages use the storefront's typography, colours and actions. */
.sf main .missing-page { background-blend-mode: soft-light; }

.sf main .nono-search__header { background: var(--sf-canvas); }
.sf main .nono-search__header .container,
.sf main .nono-search__results,
.sf main .nono-no-results {
  display: grid;
  gap: var(--sf-space-3);
}
.sf main .nono-search__header h1 { overflow-wrap: anywhere; }
.sf main .nono-search__form {
  display: grid;
  gap: var(--sf-space-1);
  width: min(100%, 60rem);
}
.sf main .nono-search__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--sf-space-1);
}
.sf main .nono-search__controls input {
  width: 100%;
  min-height: 4.8rem;
  padding-inline: var(--sf-space-2);
  border: 1px solid var(--sf-border-control);
  border-radius: var(--sf-radius-field);
  background: var(--sf-surface);
  color: var(--sf-ink);
  font: inherit;
}
.sf main .nono-search__results > ul { width: min(100%, 72rem); }
.sf main .nono-search__results li {
  display: grid;
  gap: var(--sf-space-1);
  padding-block: var(--sf-space-2);
  border-bottom: 1px solid var(--sf-border);
}
.sf main .nono-search__results li a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}
.sf main .nono-search__results .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sf-space-2);
}
.sf main .nono-no-results .page-actions { justify-self: start; }

.sf main .mag-results__filters { margin-block-start: var(--sf-space-1); }
.sf main .mag-results__reset { min-height: 4.8rem; }

.sf main [data-checkout] .checkout-field { align-content: start; }
.sf main [data-checkout] .checkout-field input[aria-invalid="true"] { border-color: var(--sf-accent-text); }
.sf main .checkout-field__error {
  display: flex;
  align-items: flex-start;
  gap: var(--sf-space-1);
  color: var(--sf-accent-text);
  font-size: 1.4rem;
  font-weight: 500;
}
.sf main .checkout-field__error-icon {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  margin-top: 0.25rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}

/* =====================================================================
   Phone layout details
   ===================================================================== */
@media (max-width: 767px) {
  h2.brxe-heading {
    font-size: 3.2rem;
    line-height: 1.125;
  }
  .brxe-section.nono-services {
    background-color: var(--bg-sunken);
  }
  .nono-services > .brxe-container {
    row-gap: 1.2rem;
  }
  .nono-service .nono-card-title {
    flex: 1 1 0;
    min-width: 0;
    font-size: 1.6rem;
    line-height: 1.35;
    text-transform: none;
  }
  .nono-services .nono-group-quote-link {
    width: 100%;
    justify-content: center;
  }
  .nono-featured-phone > .brxe-container {
    row-gap: 2rem;
  }
  #mags .nono-ratio-mag {
    aspect-ratio: auto;
    height: clamp(22rem, 39vw, 33.6rem);
  }
  .brxe-section.nono-find-us {
    background-color: var(--bg-sunken);
  }
  .brxe-section.nono-faq-section {
    background-color: var(--bg-body);
  }
  .nono-cta-section .nono-figure figcaption {
    color: rgba(255, 255, 255, 0.8);
  }
}

/* =====================================================================
   Tablet (768–1199px), as the storefront
   ===================================================================== */
/* Storefront spacing from 768px up: section padding clamp(64px, 7.78vw, 112px), side gutter
   clamp(32px, 5.5556vw, 80px), 48px between a section heading and its content. Tablet overrides below. */
@media (min-width: 768px) {
  html:root {
    --section-space: clamp(6.4rem, 7.78vw, 11.2rem);
    --page-margin: clamp(3.2rem, 5.5556vw, 8rem);
    --section-gap: 4.8rem;
  }
}
/* First screen: the hero leaves room for the whole logo strip (112px tall on desktop, 102px on tablet).
   The storefront heights (874px desktop, 672px tablet) are the maximum, and content that needs more gets it. */
@media (min-width: 1200px) {
  #top.nono-hero {
    min-height: min(87.4rem, calc(100vh - 11.2rem));
    min-height: min(87.4rem, calc(100svh - 6.2rem));
  }
}
/* Short laptop windows: less room above and below the hero content, so the strip still fits */
@media (min-width: 1200px) and (max-height: 860px) {
  #top.nono-hero {
    padding-top: 11.2rem;
    padding-bottom: 3.2rem;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  /* Storefront tablet rhythm: 64px section padding, 32px side gutter, 48px between heading and content */
  html:root {
    --section-space: 6.4rem;
    --page-margin: 3.2rem;
    --section-gap: 4.8rem;
  }
  #top.nono-hero {
    min-height: min(67.2rem, calc(100vh - 10.2rem));
    min-height: min(67.2rem, calc(100svh - 10.2rem));
    padding-top: 11.2rem;
    padding-bottom: 3.2rem;
  }
  #top .nono-hero__grid {
    column-gap: 2.4rem;
  }
  #top .nono-hero__title {
    font-size: clamp(4.8rem, 6.39vw, 9.2rem);
  }
  #top .nono-hero__lead {
    font-size: 1.8rem;
  }
  #top .nono-proofs,
  #top .nono-hero__actions {
    column-gap: 1.6rem;
  }
  #top .nono-finder {
    padding: 1.6rem;
  }
  .nono-finder__field {
    padding-inline: 0.8rem;
  }
  .nono-finder__field select {
    padding-right: 1.6rem;
  }
  .nono-finder__popular a {
    padding-inline: 0.8rem;
  }
  #brands .nono-logo {
    height: 8.64rem;
  }
  #brands .nono-logos__list {
    column-gap: 1.6rem;
    padding-right: 1.6rem;
  }
  /* ".brxe-div" so these beat the global classes (".nono-x.brxe-div") */
  main .nono-grid-5.brxe-div,
  main .nono-grid-4.brxe-div {
    gap: 1.6rem;
  }
  main .nono-service.brxe-div,
  main .nono-details.brxe-div {
    padding: 1.6rem;
  }
  main .nono-service .nono-card-title,
  main .nono-tyre-card .nono-card-title {
    font-size: 1.6rem;
  }
  main .nono-tyre-card__media.brxe-div {
    height: auto;
    aspect-ratio: 4 / 3;
  }
  main .nono-tyre-card .nono-price {
    font-size: 3.2rem;
  }
  main .nono-tyre-card .bricks-button.brxe-button,
  main .nono-contact-actions .bricks-button.brxe-button {
    padding-inline: 0.8rem;
  }
}
@media (min-width: 768px) and (max-width: 899px) {
  #top .nono-hero__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .nono-finder__submit,
  .nono-finder__popular a {
    transition: none;
  }
}

/* =====================================================================
   Motion (design standard §11). CSS transitions for state changes; the choreography is in
   nono-motion.js (GSAP + ScrollTrigger). Everything that moves sits inside no-preference, so with
   reduced motion every state still changes, just instantly.
   ===================================================================== */
:root {
  --nono-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nono-ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --nono-ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --nono-fast: 160ms;
  --nono-base: 280ms;
  --nono-slow: 480ms;
}

/* In-page jumps land below the sticky header */
main [id] {
  scroll-margin-top: calc(var(--header-height) + var(--hero-inset) + 1.6rem);
}

/* Desktop nav: an underline draws in from the left and leaves to the right */
.nono-header__bar .bricks-nav-menu > li > a,
.nono-header__phone .text {
  position: relative;
}
.nono-header__bar .bricks-nav-menu > li > a::after,
.nono-header__phone .text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 1px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: right center;
}
.nono-header__bar .bricks-nav-menu > li > a:hover,
.nono-header__bar .bricks-nav-menu > li > a:focus-visible {
  color: var(--text-title);
}
.nono-header__phone .text::after {
  bottom: -0.4rem;
}
.nono-header__bar .bricks-nav-menu > li > a:hover::after,
.nono-header__bar .bricks-nav-menu > li > a:focus-visible::after,
.nono-header__bar .bricks-nav-menu > .current-menu-item > a::after,
.nono-header__phone:hover .text::after,
.nono-header__phone:focus-visible .text::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* Scrolled: a deeper shadow once content passes under the bar */
@media (min-width: 768px) {
  body:not(.sf) #brx-header.is-scrolled .nono-header__bar {
    box-shadow: var(--shadow-high);
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  /* --- Header entrance, once per visit: the bar drops in, then its contents follow --- */
  @keyframes nono-bar-in {
    from { opacity: 0; transform: translateY(-1.6rem); }
  }
  @keyframes nono-fade-in {
    from { opacity: 0; transform: translateY(-0.6rem); }
  }
  /* fill-mode "backwards" leaves no transform behind afterwards */
  html.nono-intro .nono-header__bar {
    animation: nono-bar-in 0.7s var(--nono-ease-out) 0.1s backwards;
  }
  html.nono-intro .nono-header__bar > * {
    animation: nono-fade-in 0.6s var(--nono-ease-out) backwards;
  }
  html.nono-intro .nono-header__bar > :nth-child(1) { animation-delay: 0.3s; }
  html.nono-intro .nono-header__bar > :nth-child(2) { animation-delay: 0.38s; }
  html.nono-intro .nono-header__bar > :nth-child(3) { animation-delay: 0.46s; }
  html.nono-intro .nono-header__bar > :nth-child(4) { animation-delay: 0.46s; }
  /* On the home page the hero comes first: the bar waits (unseen) and nono-motion.js drops it in
     after the hero content. If the script never arrives, the 2.5 s safety net plays the CSS entrance. */
  html.nono-intro.nono-hero-intro .nono-header__bar {
    opacity: 0;
    animation: none;
  }
  html.nono-intro.nono-hero-intro .nono-header__bar > * {
    animation: none;
  }

  /* --- Hero: before the script runs, the moving parts wait unseen (opacity, so screen readers still read them) --- */
  html.nono-hero-intro .nono-hero-eyebrow,
  html.nono-hero-intro .nono-hero .nono-line > span,
  html.nono-hero-intro .nono-hero__copy > :not(h1),
  html.nono-hero-intro .nono-hero .nono-finder {
    opacity: 0;
  }
  html.nono-hero-intro .nono-hero__media {
    transform: scale(1.04);
  }

  .nono-header__bar {
    transition: box-shadow var(--nono-base) var(--nono-ease-inout);
  }
  .nono-header__bar .bricks-nav-menu > li > a {
    transition: color var(--nono-fast) linear;
  }
  .nono-header__bar .bricks-nav-menu > li > a::after,
  .nono-header__phone .text::after {
    transition: transform 0.36s var(--nono-ease-out);
  }
  .nono-header__phone svg {
    transition: transform var(--nono-base) var(--nono-ease-out);
  }

  /* --- Buttons: step up on hover (mouse only), press down on click or tap --- */
  .bricks-button,
  .nono-finder__submit {
    transition:
      background-color var(--nono-fast) linear,
      border-color var(--nono-fast) linear,
      color var(--nono-fast) linear,
      box-shadow var(--nono-base) var(--nono-ease-out),
      transform var(--nono-base) var(--nono-ease-out);
  }
  .bricks-button:active,
  .nono-finder__submit:active {
    transform: translateY(0) scale(0.98);
    box-shadow: none;
    transition-duration: 80ms;
  }
  .bricks-button svg,
  .nono-finder__submit svg,
  .nono-arrow-link .icon svg {
    transition: transform var(--nono-base) var(--nono-ease-out);
  }
  .nono-header__bar .nono-icon-btn {
    transition: background-color var(--nono-fast) linear, transform var(--nono-base) var(--nono-ease-out);
  }
  .nono-header__bar .nono-icon-btn svg {
    transition: transform var(--nono-base) var(--nono-ease-out);
  }
  .nono-header__bar .nono-icon-btn:active {
    transform: scale(0.94);
    transition-duration: 80ms;
  }

  /* Hover motion only with a mouse or trackpad (on touch screens :hover sticks after a tap) */
  @media (hover: hover) and (pointer: fine) {
    .nono-header__phone:hover svg {
      transform: rotate(-12deg);
    }
    .bricks-button:hover,
    .nono-finder__submit:hover {
      transform: translateY(-1px);
    }
    .bricks-background-primary:hover,
    .nono-finder__submit:hover {
      box-shadow: 0 6px 16px -6px var(--accent-20);
    }
    /* Arrows nudge forward (standard §11: 2–4px); leading icons (message, phone) tilt */
    .nono-btn-arrow:hover svg,
    .nono-finder__submit:hover svg,
    .nono-arrow-link:hover .icon svg {
      transform: translateX(3px);
    }
    .bricks-button:not(.nono-btn-arrow):hover svg {
      transform: rotate(-8deg) scale(1.06);
    }
    .nono-header__bar .nono-icon-btn:hover svg {
      transform: translateY(-2px);
    }
    .nono-figure:not(.nono-team-photos__inset):hover .nono-photo-frame img {
      transform: scale(1.03);
    }
    .nono-tyre-card:hover .nono-tyre-card__img {
      transform: scale(1.03);
    }
  }
  .nono-photo-frame img,
  .nono-tyre-card__img {
    transition: transform 0.7s var(--nono-ease-out);
  }

  /* --- Phone: the header slides away while scrolling down and returns on the way up (nono-motion.js) --- */
  @media (max-width: 767px) {
    #brx-header {
      transition: transform 0.42s var(--nono-ease-out);
    }
    #brx-header.is-hidden {
      transform: translateY(calc(-100% - 3.2rem));
      transition: transform 0.26s var(--nono-ease-in);
    }
  }

  /* --- Dialogs (enquiry and phone menu): they settle in, as the storefront's (10px, 0.26s) --- */
  @keyframes nono-settle-in {
    from { opacity: 0.86; transform: translateY(1rem); }
  }
  .nono-enquiry[open],
  .nono-menu[open] .nono-menu__body {
    animation: nono-settle-in 0.26s cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  .nono-enquiry::backdrop {
    transition: background-color 0.26s linear, overlay 0.26s allow-discrete, display 0.26s allow-discrete;
  }
  @starting-style {
    .nono-enquiry[open]::backdrop {
      background-color: transparent;
    }
  }

  /* --- FAQ answers open and close smoothly where the browser supports it --- */
  :root {
    interpolate-size: allow-keywords;
  }
  .nono-faq-item::details-content {
    block-size: 0;
    overflow: clip;
    transition:
      block-size 0.42s var(--nono-ease-out),
      content-visibility 0.42s allow-discrete;
  }
  .nono-faq-item[open]::details-content {
    block-size: auto;
  }
}

/* =====================================================================
   Checkout step 2: WooCommerce's pay form (woocommerce/checkout/form-pay.php) in the storefront's
   checkout style. Each payment method (Afterpay, cards, the local test payment) is a radio card.
   Bricks' WooCommerce styles sit in @layer bricks, so these win; they only undo what Bricks sets
   (floats, the grey payment box and its arrow).
   ===================================================================== */
.sf main #payment .wc_payment_methods { display: grid; gap: var(--sf-space-1); margin: 0; padding: 0; list-style: none; }
.sf main #payment .wc_payment_method { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 0 var(--sf-space-1); margin: 0; padding: var(--sf-space-2); border: 1px solid var(--sf-border-control); border-radius: var(--sf-radius-field); color: var(--sf-ink); }
.sf main #payment .wc_payment_method:has(> input:checked) { background: var(--sf-brand-subtle); border-color: var(--sf-ink); box-shadow: inset 0 0 0 1px var(--sf-ink); }
.sf main #payment .wc_payment_method > input[type="radio"] { float: none; width: 1.6rem; height: 1.6rem; margin: 0.528rem 0 0; accent-color: var(--sf-ink); cursor: pointer; }
.sf main #payment .wc_payment_method > label { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sf-space-1); margin: 0; font-size: inherit; font-weight: 600; line-height: inherit; cursor: pointer; }
.sf main #payment .wc_payment_method > label img { float: none; display: block; width: auto; max-width: 12rem; max-height: 2.4rem; margin: 0; }
.sf main #payment .payment_box { grid-column: 1 / -1; display: grid; gap: var(--sf-space-2); margin: var(--sf-space-2) 0 0; padding: 0; background: none; color: var(--sf-text); font-size: inherit; }
.sf main #payment .payment_box::before { content: none; }
.sf main #payment .payment_box p { margin: 0; }
.sf main #payment .payment_box .radio-card { background: var(--sf-surface); }
/* Only one method: nothing to choose, so no radio (it stays checked for the form) */
.sf main #payment .wc_payment_methods > .wc_payment_method:only-child { grid-template-columns: minmax(0, 1fr); }
.sf main #payment .wc_payment_methods > .wc_payment_method:only-child > input[type="radio"] { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
/* WooCommerce's own messages on the pay page (a wrong pay link, the email check) */
.sf main .checkout-main .woocommerce-error,
.sf main .checkout-main .woocommerce-info,
.sf main .checkout-main .woocommerce-message { margin: 0 0 var(--sf-space-2); padding: var(--sf-space-2); border: 1px solid #c2cbe3; border-radius: var(--sf-radius-field); color: var(--sf-ink); background: var(--sf-brand-subtle); line-height: inherit; list-style: none; }

/* Tyres page, "All tyres": the "Show more tyres" button under the grid (nono-catalogue.js) */
.sf main .catalogue-more { display: flex; justify-content: center; margin-top: var(--sf-space-4); }
.sf main .catalogue-more .button[aria-busy="true"] { cursor: progress; opacity: 0.7; }
@media (max-width: 767px) { .sf main .catalogue-more .button { width: 100%; } }

/* QA 2026-11-30: at 768–1023px five service cards are only 128px wide ("Get a quote" wraps, long titles
   reach the edge), so they sit in three columns there; from 1024px the five-across layout fits. */
@media (min-width: 768px) and (max-width: 1023px) {
  main .nono-grid-5.brxe-div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* QA 2026-11-30: the tyre and mag photo box has a 32rem minimum height and a 1.52 aspect ratio, which
   forced it to 486px wide and over the details column between 768 and ~1070px. Full column width
   instead: the box keeps its minimum height and the photo is contained inside it. */
.sf main .product-photo {
  width: 100%;
}
