@charset "UTF-8";
/* ==========================================================================
   GMD Pennine — Main SCSS Entry Point
   Compiled output: assets/css/main.css
   ========================================================================== */
/* ==========================================================================
   Variables — CSS Custom Properties
   ========================================================================== */
:root {
  --navy: #06456B;
  /* main header blue  */
  --navy-dark: #033050;
  /* darker shade       */
  --navy-mid: #075a8a;
  /* mid blue           */
  --topbar-bg: #2e2e2e;
  /* charcoal top bar   */
  --nav-bg: #F3F6F8;
  /* nav bar background */
  --nav-text: #06456B;
  /* nav link colour    */
  --nav-active-bg: #033050;
  /* active nav item    */
  --orange: #FD9200;
  --orange-dark: #d97c00;
  --white: #ffffff;
  --light: #f5f7fa;
  --light-mid: #e8ecf2;
  --text: #333333;
  --text-muted: #666666;
  --border: #dde3ed;
  --radius: 4px;
  --radius-lg: 8px;
  --radius-pill: 999px;
  --shadow: 0 2px 12px rgba(26,75,110,.14);
  --shadow-lg: 0 8px 36px rgba(26,75,110,.20);
  --font-body: "helvetica-neue-lt-pro", sans-serif;
  --font-heading: "futura-pt-bold", sans-serif;
  --transition: 0.2s ease;
  --container: 1366px;
  --gap: 24px;
}

/* ==========================================================================
   Base — Reset & Element Defaults
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--orange);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--orange-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
}

/* ==========================================================================
   Utilities — Layout Helpers & Global Reusables
   ========================================================================== */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--orange);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.section-title--light {
  color: var(--white);
}

.section-title--light::after {
  background: var(--white);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-top: -1.5rem;
  margin-bottom: 2rem;
}

.section-subtitle--light {
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn--orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn--orange:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
}

.btn--dark {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn--dark:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* Orange outline — slides fill from left on hover */
.btn--outline-orange {
  background: transparent;
  color: var(--white);
  border-color: var(--orange);
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.btn--outline-orange::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
  z-index: -1;
}
.btn--outline-orange:hover {
  color: var(--white);
  border-color: var(--orange);
}
.btn--outline-orange:hover::before {
  transform: scaleX(1);
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn--sm {
  padding: 9px 18px;
  font-size: 0.8rem;
}

/* ==========================================================================
   Topbar
   ========================================================================== */
.topbar {
  background: var(--topbar-bg);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  min-height: 38px;
}

.topbar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 38px;
  gap: 16px;
}

.topbar__left {
  justify-self: start;
}

.topbar__centre {
  justify-self: center;
}

.topbar__right {
  justify-self: end;
}

.topbar__item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.topbar__item strong {
  color: var(--white);
}

.topbar__link {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.topbar__link:hover {
  color: var(--orange);
}

/* VAT toggle */
/* Hide VAT toggle on basket and checkout — tax display is fixed there */
.woocommerce-cart .topbar__right,
.woocommerce-checkout .topbar__right {
  display: none;
}

.vat-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

.vat-toggle__label {
  cursor: default;
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition);
}

.vat-toggle__label.is-active {
  color: var(--white);
}

.vat-toggle__switch {
  position: relative;
  width: 36px;
  height: 20px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  flex-shrink: 0;
  padding: 0;
}

.vat-toggle__switch[aria-checked=true] {
  background: var(--orange);
}

.vat-toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: var(--white);
  border-radius: 50%;
  transition: transform var(--transition);
  display: block;
}

.vat-toggle__switch[aria-checked=true] .vat-toggle__thumb {
  transform: translateX(16px);
}

/* ==========================================================================
   Header — Main Header, Logo, Search, Actions, Mobile Toggle
   ========================================================================== */
/* ---- Main header ---- */
.header-main {
  background: var(--navy);
  padding: 16px 0;
}

.header-main__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

/* Logo */
.header-logo {
  display: block;
  flex-shrink: 0;
  color: var(--white);
  text-decoration: none;
}

.header-logo svg,
.header-logo img {
  max-height: 68px;
  max-width: 160px;
  width: auto;
  display: block;
}

.header-logo__fallback {
  display: flex;
  flex-direction: column;
}

.header-logo__name {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.header-logo__sub {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 4px;
}

/* Search — pill shaped */
.header-search {
  width: 100%;
}

.header-search__form {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-pill);
  height: 48px;
  padding-left: 18px;
  overflow: hidden;
}

.header-search__icon {
  color: #aaa;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header-search__input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 12px;
  font-size: 0.95rem;
  color: var(--text);
  background: transparent;
  height: 100%;
}

.header-search__input::placeholder {
  color: #aaa;
}

.header-search__btn {
  background: var(--orange);
  color: var(--white);
  border: none;
  height: 100%;
  padding: 0 28px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border-radius: var(--radius-pill);
  height: 100%;
  transition: background var(--transition);
  white-space: nowrap;
}

.header-search__btn:hover {
  background: var(--orange-dark);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

/* Account & Basket — circle icon + label stack */
.header-action {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
}

.header-action__icon-wrap {
  flex-shrink: 0;
  position: relative;
}

/* Mobile basket badge — never shown on desktop */
.basket-badge {
  display: none !important;
}

.header-action__labels {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.header-action__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
}

.header-action__sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

.header-action__sub a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.header-action__sub a:hover {
  color: var(--orange);
}

/* Get A Quote — orange pill button */
.header-quote-btn {
  display: inline-flex;
  align-items: center;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.header-quote-btn:hover {
  background: var(--orange-dark);
  color: var(--white);
}

/* Mobile hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: transparent;
  cursor: pointer;
}

.mobile-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.28s, opacity 0.28s;
}

.mobile-toggle.is-open .mobile-toggle__icon .mobile-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.is-open .mobile-toggle__icon .mobile-toggle__bar:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.is-open .mobile-toggle__icon .mobile-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Mini Cart Dropdown ---- */
.header-action--basket {
  position: relative;
}

.mini-cart {
  position: absolute;
  top: calc(100% + 20px);
  right: -20px;
  width: 360px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.mini-cart.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Arrow pointing up */
.mini-cart__arrow {
  position: absolute;
  top: -9px;
  right: 52px;
  width: 18px;
  height: 18px;
  background: var(--white);
  transform: rotate(45deg);
  border-radius: 3px 0 0 0;
  box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.06);
}

.mini-cart__inner {
  padding: 20px;
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
}

.mini-cart__items {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.mini-cart__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.mini-cart__item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.mini-cart__item-img {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.mini-cart__item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.mini-cart__item-name {
  font-size: 0.875rem;
  color: var(--navy);
  margin: 0 0 6px;
  line-height: 1.4;
}
.mini-cart__item-name a {
  color: var(--navy);
}
.mini-cart__item-name a:hover {
  color: var(--orange);
}

.mini-cart__item-info .wc-item-meta {
  list-style: none;
  margin: 0 0 4px;
  padding: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.mini-cart__item-info .wc-item-meta li {
  margin: 0;
}
.mini-cart__item-info .wc-item-meta-label {
  font-weight: 600;
}

.mini-cart__vat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 2px;
}

.mini-cart__item-qty {
  font-size: 0.875rem;
  color: var(--navy);
  margin: 0;
}

.mini-cart__item-remove {
  flex-shrink: 0;
  margin-left: auto;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}
.mini-cart__item-remove:hover {
  color: #c0392b;
  background: #fdf0ee;
}

.mini-cart__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--navy);
}
.mini-cart__subtotal strong {
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.mini-cart__empty {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  margin: 0;
  padding: 8px 0;
}

/* ==========================================================================
   Navigation — Site Nav, Mega Menu Overrides, Mega Overlay
   ========================================================================== */
/* ---- Navigation bar ---- */
.site-nav {
  background: var(--nav-bg);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 300;
}

.site-nav .container {
  padding-block: 0;
}

/* ---- Max Mega Menu overrides — match brand design ---- */
/* Strip plugin's dark nav bar background */
@media only screen and (min-width: 769px) {
  #mega-menu-wrap-primary {
    background-color: transparent !important;
  }
}
/* Separators between top-level items */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item + li.mega-menu-item {
  border-left: 1px solid rgba(245, 162, 40, 0.45);
}

/* Top-level links — brand colour, sizing, weight */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
  color: var(--nav-text) !important;
  background-color: transparent !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  text-transform: none !important;
  line-height: 1.4 !important;
  height: auto !important;
  padding: 16px 20px !important;
  transition: background var(--transition), color var(--transition);
}

/* Hover / open / current page highlight */
@media only screen and (min-width: 769px) {
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:focus {
    background-color: var(--nav-active-bg) !important;
    color: var(--white) !important;
    font-weight: 500 !important;
  }
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link {
  background-color: var(--nav-active-bg) !important;
  color: var(--white) !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

/* Hide dropdown indicator icon entirely */
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator {
  display: none !important;
}

/* ---- Mega panel (full-width dropdown) ---- */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu {
  background-color: var(--white) !important;
  border-top: none !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 0 !important;
}

/* Column borders */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu .mega-menu-column {
  border-right: 1px solid var(--border);
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu .mega-menu-column:last-child {
  border-right: none;
}

/* Column items — spacing and separator on the li */
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu ul.mega-sub-menu li.mega-menu-item {
  padding: 13px 20px !important;
  float: none !important;
  width: 100% !important;
  clear: both !important;
  border-bottom: 1px solid var(--border) !important;
  box-sizing: border-box !important;
  background: transparent !important;
  transition: background var(--transition);
}

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu ul.mega-sub-menu li.mega-menu-item:last-child {
  border-bottom: none !important;
}

/* Hover — background shorthand beats the plugin's background: none reset */
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu ul.mega-sub-menu li.mega-menu-item:hover {
  background: var(--light) !important;
}

/* Catch-all — any link inside the mega panel, with or without .mega-menu-link class */
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu ul.mega-sub-menu a {
  color: var(--navy) !important;
  text-decoration: none !important;
}

/* Link typography — layout is handled by the li above */
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link {
  color: var(--navy) !important;
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  text-transform: none !important;
  text-decoration: none !important;
  background: transparent !important;
  line-height: 1.4 !important;
}

/* First item in each column = "Shop All" — underline + semi-bold */
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu ul.mega-sub-menu li.mega-menu-item:first-child > a.mega-menu-link {
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
  font-weight: 600 !important;
}

/* ---- Flyout sub-menu (non-mega items) ---- */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu {
  background-color: var(--white) !important;
  border-top: none !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 8px 0 !important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
  background-color: transparent !important;
  color: var(--nav-text) !important;
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  text-transform: none !important;
  padding: 10px 20px !important;
  line-height: 1.4 !important;
  transition: background var(--transition), color var(--transition);
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:focus {
  background-color: var(--light) !important;
  color: var(--orange) !important;
  font-weight: 400 !important;
}

/* Overlay behind mega menu */
.mega-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 299;
  backdrop-filter: blur(1px);
}

.mega-overlay.is-visible {
  display: block;
}

/* ==========================================================================
   Hero Slider
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Slides container — height driven by the active slide image */
.hero__slides {
  position: relative;
}

/* Inactive slides — stacked absolutely over the active one */
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
  overflow: hidden;
}

/* Active slide — sits in normal flow so its image sets the container height */
.hero__slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

/* Slide image — full width, natural height */
.hero__slide-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- Arrow controls ---- */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
  backdrop-filter: blur(4px);
}
.hero__arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
}
.hero__arrow--prev {
  left: 24px;
}
.hero__arrow--next {
  right: 24px;
}

/* ---- Dot indicators ---- */
.hero__dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.7);
  padding: 0;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}
.hero__dot.is-active {
  background: var(--white);
  transform: scale(1.25);
}
.hero__dot:hover {
  background: var(--orange);
  border-color: var(--orange);
}

/* ==========================================================================
   Trust Bar
   ========================================================================== */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--orange);
  padding: 18px 0;
}

.trust-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.trust-bar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--navy);
}
.trust-bar__item img {
  flex-shrink: 0;
}
.trust-bar__item strong {
  font-size: 0.875rem;
  font-family: var(--font-body);
  font-weight: 400;
  color: #666666;
  white-space: nowrap;
}

/* ==========================================================================
   Category Tabs & Carousel
   ========================================================================== */
.category-tabs-section {
  background: var(--white);
  padding-bottom: 50px;
  overflow: hidden;
}

/* ---- Tab switcher ---- */
.category-tabs-header {
  padding: 40px 0 32px;
}

.category-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius-pill);
  background: var(--light);
  width: fit-content;
  margin: 0 auto;
  padding: 5px;
}

.category-tab {
  padding: 12px 40px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  background: transparent;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.category-tab.is-active {
  background: var(--navy);
  color: var(--white);
}
.category-tab:not(.is-active):hover {
  background: var(--light-mid);
}

/* ---- Panels ---- */
.category-panel {
  display: none;
}
.category-panel.is-active {
  display: block;
}

/* ---- Carousel track ---- */
.category-carousel {
  overflow: hidden;
}

.category-carousel__track {
  display: flex;
  gap: 0;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* ---- Category card ---- */
.category-card {
  flex: 0 0 25%;
  min-width: 0;
}

.category-card__link {
  display: block;
  color: var(--navy);
  text-decoration: none;
  overflow: hidden;
}

.category-card__img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--light-mid);
}

.category-card__placeholder {
  width: 100%;
  height: 100%;
  background: var(--light-mid);
}

.category-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.category-card__link:hover .category-card__img {
  transform: scale(1.05);
}

.category-card__info {
  padding: 16px 20px;
  background: var(--white);
}

.category-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.category-card__cta {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}

.category-card__link:hover .category-card__cta {
  color: var(--orange);
}

/* ---- Navigation ---- */
.category-carousel__nav {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 28px;
}

.category-carousel__btn {
  width: 52px;
  height: 52px;
  padding: 0;
  position: relative;
  flex-shrink: 0;
}
.category-carousel__btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  inset: 0;
  transition: opacity var(--transition);
}
.category-carousel__btn .btn-hover {
  opacity: 0;
}
.category-carousel__btn:hover .btn-default {
  opacity: 0;
}
.category-carousel__btn:hover .btn-hover {
  opacity: 1;
}

/* Full-width separator — sits outside .container so spans full viewport */
.cat-separator {
  height: 1px;
  background: var(--navy);
  margin: 48px 0;
}

/* Popular products section on category pages */
.cat-popular-section {
  margin-bottom: 48px;
}
.cat-popular-section .section-title {
  margin-bottom: 32px;
}

/* Category archive grid (sub-category display on category pages) */
.category-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 48px;
}
.category-archive-grid .category-card {
  flex: none;
}

.category-archive__products-heading {
  margin-bottom: 24px;
}

/* Shared slider buttons (used by other sliders) */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 5;
  transition: background var(--transition), color var(--transition);
}

.slider-btn:hover {
  background: var(--orange);
  color: var(--white);
}

.slider-btn--prev {
  left: -20px;
}

.slider-btn--next {
  right: -20px;
}

/* Product slider nav — centered below carousel */
.product-slider__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}
.product-slider__nav .slider-btn {
  position: static;
  transform: none;
  width: 48px;
  height: 48px;
  box-shadow: none;
  border: 2px solid var(--navy);
}
.product-slider__nav .slider-btn--prev {
  background: var(--white);
  color: var(--navy);
}
.product-slider__nav .slider-btn--next {
  background: var(--navy);
  color: var(--white);
}
.product-slider__nav .slider-btn:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

/* ==========================================================================
   Product Cards & Slider
   ========================================================================== */
.popular-products-section {
  padding: 70px 0;
}

/* Product archive grid (category pages) */
.product-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin-bottom: 40px;
}
.product-archive-grid .product-card {
  flex: none;
  min-width: 0;
}

/* Product slider */
.product-slider {
  position: relative;
  overflow: hidden;
}

.product-slider__track {
  display: flex;
  gap: var(--gap);
  transition: transform 0.4s ease;
}

.product-card {
  flex: 0 0 calc(25% - 18px);
  min-width: 240px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  transition: box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
}

/* Image area — white background */
.product-card__img-link {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--white);
  padding: 16px;
}

.product-card__no-img {
  width: 100%;
  height: 100%;
  background: var(--light);
  border-radius: 8px;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

.product-card:hover .product-card__img {
  transform: scale(1.04);
}

/* Body — light blue-grey, centered, fills remaining card height */
.product-card__body {
  background: #f0f4f8;
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
}

/* Title */
.product-card__title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.5;
}
.product-card__title a {
  color: var(--navy);
  text-decoration: none;
}
.product-card__title a:hover {
  color: var(--orange);
}

/* Price block */
.product-card__price {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.product-card__from {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

.product-card__amount .price-inc, .product-card__amount .price-ex {
  display: block;
}
.product-card__amount .amount {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.1;
}

.product-card__vat {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
}

/* Quantity row */
.product-card__qty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.qty-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background var(--transition);
  flex-shrink: 0;
}
.qty-btn:hover {
  background: var(--navy-dark);
}

.qty-input {
  width: 80px;
  height: 44px;
  text-align: center;
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--white);
  outline: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  -moz-appearance: textfield;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

/* Colour swatches */
/* ==========================================================================
   Product Colour Swatches
   ========================================================================== */
.product-colours {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.product-colours--single {
  align-items: flex-start;
  margin-top: 20px;
  margin-bottom: 0;
}

.product-colours__label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

.product-colours--single .product-colours__label {
  font-size: 1rem;
}

.product-colours__swatches {
  display: flex;
  gap: 10px;
  align-items: center;
}

.product-colours__swatch {
  position: relative;
  display: block;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.product-colours__swatch:hover {
  transform: scale(1.12);
}

.product-colours__swatch-img {
  display: block;
  width: 34px;
  height: 34px;
}

/* Tooltip */
.product-colours__tooltip {
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--navy);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.72rem;
  line-height: 1.2;
  padding: 5px 8px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 10;
}

/* Arrow */
.product-colours__tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--navy);
}

.product-colours__swatch:hover .product-colours__tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Full-width button modifier */
.btn--full {
  width: 100%;
  justify-content: center;
}

/* ---- Card variation selects ---- */
.product-card__variations {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.product-card__variation-select {
  width: 100%;
  padding: 10px 36px 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--navy);
  background: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2306456B' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.product-card__variation-select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(6, 69, 107, 0.12);
}

/* ==========================================================================
   WooCommerce Overrides
   (from both main.css and woocommerce.css)
   ========================================================================== */
/* ---- VAT toggle price display ---- */
/* Default: show Inc VAT prices, hide Ex VAT */
.price-ex {
  display: none !important;
}

.vat-label-ex {
  display: none;
}

/* body.vat-ex: swap to Ex VAT prices */
body.vat-ex .price-inc {
  display: none !important;
}

body.vat-ex .price-ex {
  display: inline !important;
}

body.vat-ex .vat-label-inc {
  display: none;
}

body.vat-ex .vat-label-ex {
  display: inline;
}

/* ---- From woocommerce.css ---- */
.woocommerce-store-notice {
  display: none !important;
}

.woocommerce .star-rating {
  color: var(--orange);
}

.woocommerce .woocommerce-product-rating .count {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.woocommerce .onsale {
  background: var(--orange);
  border-radius: var(--radius);
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
}

.woocommerce-variation-price .amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
}

.shipping-calculator-button {
  color: var(--orange);
  font-size: 0.875rem;
}

/* ---- WooCommerce default product loop ---- */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.woocommerce ul.products li.product {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow var(--transition);
}

.woocommerce ul.products li.product:hover {
  box-shadow: var(--shadow-lg);
}

.woocommerce ul.products li.product a img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--navy);
  padding: 12px 14px 0;
}

.woocommerce ul.products li.product .price {
  padding: 4px 14px;
  font-family: var(--font-heading);
  color: var(--navy);
  font-weight: 800;
}

.woocommerce ul.products li.product .button {
  display: block;
  width: calc(100% - 28px);
  margin: 10px 14px 14px;
  background: var(--orange);
  color: var(--white);
  padding: 10px;
  border-radius: var(--radius);
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: background var(--transition);
}

.woocommerce ul.products li.product .button:hover {
  background: var(--orange-dark);
  color: var(--white);
}

/* ---- WooCommerce Pages ---- */
.woocommerce-main {
  padding: 50px 0;
}

.single-product .woocommerce-main {
  padding-top: 0;
}

.shop-layout {
  /* full width */
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.woocommerce-result-count {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Filter button */
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.filter-btn:hover {
  background: var(--navy);
  color: var(--white);
}

/* Filter panel — slides in from the left */
.filter-panel {
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: 320px;
  max-width: 90vw;
  background: var(--white);
  z-index: 10000;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.filter-panel.is-open {
  transform: translateX(0);
}

.filter-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.filter-panel__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.filter-panel__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--navy);
  border-radius: 50%;
  transition: background var(--transition);
}
.filter-panel__close:hover {
  background: var(--light);
}

/* Clear filters bar */
.filter-panel__active {
  padding: 10px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
}

.filter-clear {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}
.filter-clear:hover {
  color: var(--orange-dark);
}

/* Product grid loading state */
.js-product-ajax-target {
  position: relative;
  transition: opacity 0.25s ease;
}
.js-product-ajax-target.is-loading {
  opacity: 0.4;
  pointer-events: none;
}
.js-product-ajax-target.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  cursor: wait;
}

.filter-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  /* Widget title (filter group heading) */
  /* Layered nav list */
}
.filter-panel__body .widget__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.filter-panel__body .widget__title::after {
  content: "−";
  font-size: 1.1rem;
  font-weight: 300;
}
.filter-panel__body .widget.is-collapsed .widget__title::after {
  content: "+";
}
.filter-panel__body .widget {
  margin-bottom: 24px;
}
.filter-panel__body .widget-body {
  display: block;
}
.filter-panel__body .widget.is-collapsed .widget-body {
  display: none;
}
.filter-panel__body .woocommerce-widget-layered-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.filter-panel__body .woocommerce-widget-layered-nav-list__item a {
  font-size: 0.875rem;
  color: var(--text);
  text-decoration: none;
  display: block;
  transition: color var(--transition);
}
.filter-panel__body .woocommerce-widget-layered-nav-list__item a:hover {
  color: var(--navy);
}
.filter-panel__body .woocommerce-widget-layered-nav-list__item--chosen a {
  color: var(--navy);
  font-weight: 600;
}
.filter-panel__body .count {
  display: none;
}

/* Blue overlay */
.filter-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 69, 107, 0.55);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.filter-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Sort By pill button */
.woocommerce-ordering {
  position: relative;
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  gap: 16px;
}
.woocommerce-ordering::before {
  content: "Sort By";
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  pointer-events: none;
  white-space: nowrap;
}
.woocommerce-ordering::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20' fill='none' stroke='%2306456B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14l4 4 4-4'/%3E%3Cpath d='M12 6L8 2 4 6'/%3E%3C/svg%3E") center/contain no-repeat;
  pointer-events: none;
  flex-shrink: 0;
}
.woocommerce-ordering select {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  font-size: 1rem;
}

.woocommerce-pagination {
  margin-top: 40px;
}

.woocommerce-pagination ul {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.woocommerce-pagination li span,
.woocommerce-pagination li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--navy);
  transition: background var(--transition), border-color var(--transition);
}

.woocommerce-pagination li span.current,
.woocommerce-pagination li a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

/* ---- Cart ---- */
/* ---- Cart Layout ---- */
.cart-layout {
  padding: 40px 0 80px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

/* Empty cart */
.cart-empty {
  padding: 60px 0 80px;
  text-align: center;
}

.cart-empty__message {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.cart-main__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 20px;
}

/* Cart table */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  /* Unit cost — regular weight + VAT label */
  /* Total — bold amount, muted VAT label */
  /* VAT labels in both price and subtotal cells */
  /* Compact quantity in cart table */
}
.cart-table thead tr {
  background: var(--navy);
}
.cart-table thead th {
  color: var(--white) !important;
}
.cart-table th {
  color: var(--white);
  padding: 14px 16px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
}
.cart-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.cart-table .product-name a {
  color: var(--text);
  font-weight: 400;
  font-size: 0.9rem;
  text-decoration: none;
}
.cart-table .product-name a:hover {
  color: var(--navy);
}
.cart-table .product-price .amount {
  font-weight: 400;
  color: var(--navy);
}
.cart-table .product-subtotal .amount {
  font-weight: 700;
  color: var(--navy);
}
.cart-table .cart-vat-label {
  display: inline;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text);
  margin-left: 3px;
}
.cart-table .product-quantity {
  width: 130px;
}
.cart-table .product-qty-wrap {
  gap: 6px;
}
.cart-table .product-qty-wrap .qty-btn {
  width: 28px;
  height: 28px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--navy);
}
.cart-table .product-qty-wrap .qty-btn:hover {
  background: var(--light);
  border-color: var(--navy);
}
.cart-table .product-qty-wrap .qty-btn svg {
  width: 10px;
  height: 10px;
}
.cart-table .product-qty-wrap .qty-input {
  width: 40px;
  height: 28px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  padding: 0 4px;
}
.cart-table .remove {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 400;
  transition: color var(--transition);
}
.cart-table .remove:hover {
  color: #cc3333;
}
.cart-table .actions {
  padding: 16px 0;
  border-bottom: none;
}

.cart-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  padding: 11px 20px;
}

/* Cross-sells */
.cross-sells {
  margin-top: 40px;
}
.cross-sells h2 {
  font-size: 1.3rem;
  margin-bottom: 24px;
  text-align: center;
}
.cross-sells ul.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Cart sidebar / totals */
.cart-sidebar {
  position: sticky;
  top: 20px;
}

.cart_totals {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.cart_totals__heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 20px;
}

.cart_totals__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.cart_totals__table th, .cart_totals__table td {
  padding: 12px 0;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.cart_totals__table th {
  color: var(--text-muted);
  font-weight: 400;
  text-align: left;
}
.cart_totals__table td {
  text-align: right;
  color: var(--navy);
  font-weight: 600;
}
.cart_totals__table .order-total th,
.cart_totals__table .order-total td {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  border-bottom: none;
}
.cart_totals__table .order-total th {
  color: var(--navy);
}

.order-total__vat {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 4px;
}

/* Voucher section */
.cart_totals__voucher {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-bottom: 20px;
}

.cart_totals__voucher-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cart_totals__voucher-form {
  display: flex;
  gap: 0;
}

.cart_totals__voucher-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
  font-size: 0.875rem;
  outline: none;
  background: var(--white);
}
.cart_totals__voucher-input:focus {
  border-color: var(--navy);
}

.cart_totals__voucher-btn {
  padding: 12px 20px;
  background: var(--navy);
  color: var(--white);
  border: 1px solid var(--navy);
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background var(--transition);
}
.cart_totals__voucher-btn:hover {
  background: var(--navy-dark);
}

/* Checkout button */
.cart-checkout-btn {
  margin-bottom: 20px;
}

.cart-checkout-btn__link {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--orange);
  color: var(--white);
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background var(--transition);
}
.cart-checkout-btn__link:hover {
  background: var(--orange-dark);
  color: var(--white);
}

/* Payment icons */
.cart_totals__payment-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.payment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

.payment-icon--visa {
  background: #1a1f71;
  color: #fff;
  font-style: italic;
  letter-spacing: 1px;
  padding: 0 10px;
}

.payment-icon--mastercard {
  background: transparent;
  padding: 0;
}

.payment-icon--paypal {
  background: transparent;
  padding: 0;
}

.payment-icon--directdebit {
  background: var(--navy);
  color: #fff;
  font-size: 0.65rem;
}

/* ---- Checkout ---- */
.checkout-layout {
  padding: 40px 0 80px;
}

.checkout-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 0;
}

.checkout-columns {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  margin-top: 32px;
  align-items: start;
}

.checkout-col--details {
  padding: 32px;
}

/* Notices (login / coupon) in left column */
.checkout-notices {
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.checkout-notices a {
  color: var(--navy);
  text-decoration: underline;
}
.checkout-notices a:hover {
  color: var(--orange);
}
.checkout-notices p {
  margin-bottom: 6px;
}

/* Right column card */
.checkout-block {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}

/* Left column blocks — transparent */
.checkout-block--transparent {
  background: transparent !important;
  border-radius: 0;
  padding: 0;
  margin-bottom: 28px;
}

/* Block headings */
.checkout-block h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 0;
  border-bottom: none;
}

.checkout-order-review h3 {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

/* Form inputs */
.woocommerce-input-wrapper {
  margin-bottom: 16px;
}

.woocommerce-input-wrapper label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
}

.woocommerce-input-wrapper input,
.woocommerce-input-wrapper select,
.woocommerce-input-wrapper textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
}

.woocommerce-input-wrapper input:focus,
.woocommerce-input-wrapper select:focus {
  border-color: var(--navy);
  outline: none;
}

/* Order review table */
.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  /* Product name left-aligned */
}
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td {
  padding: 12px 0;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.woocommerce-checkout-review-order-table th {
  color: var(--text-muted);
  font-weight: 400;
  text-align: left;
}
.woocommerce-checkout-review-order-table td {
  text-align: right;
  color: var(--navy);
}
.woocommerce-checkout-review-order-table .product-name {
  text-align: left !important;
  color: var(--navy);
}
.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  border-bottom: none;
}

/* First name + last name side by side */
#billing_first_name_field,
#billing_last_name_field,
#shipping_first_name_field,
#shipping_last_name_field {
  width: calc(50% - 8px);
  display: inline-block;
  vertical-align: top;
}

#billing_first_name_field,
#shipping_first_name_field {
  margin-right: 16px;
}

/* Coupon form — hidden on load via JS, toggled by WC's .showcoupon click */
.checkout_coupon,
form.checkout_coupon,
.woocommerce-form-coupon {
  display: none;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.checkout_coupon p,
form.checkout_coupon p,
.woocommerce-form-coupon p {
  margin-bottom: 10px;
  font-size: 0.875rem;
}
.checkout_coupon .form-row,
form.checkout_coupon .form-row,
.woocommerce-form-coupon .form-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  margin: 0;
}
.checkout_coupon input.input-text,
form.checkout_coupon input.input-text,
.woocommerce-form-coupon input.input-text {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
}
.checkout_coupon .button,
form.checkout_coupon .button,
.woocommerce-form-coupon .button {
  padding: 10px 20px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  white-space: nowrap;
}

/* Payment section */
#payment {
  margin-top: 20px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
#payment ul.payment_methods {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
#payment ul.payment_methods li {
  margin-bottom: 10px;
}
#payment ul.payment_methods label {
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}
#payment .payment_box {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 6px;
  padding: 10px 0;
}

/* Place order button */
#place_order {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  text-transform: none;
  cursor: pointer;
  transition: background var(--transition);
}

#place_order:hover {
  background: var(--orange-dark);
}

/* ---- Single Product ---- */
.woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 50px;
  align-items: start;
  padding: 0 0 40px;
}

/* Product title */
.woocommerce div.product .product_title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--navy);
  margin-bottom: 8px;
}

/* Price row */
.woocommerce div.product .price {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--orange);
  font-weight: 700;
  display: inline;
  margin-bottom: 0;
}

.single-product__vat {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-left: 8px;
}

.woocommerce-variation-price .price {
  font-size: 1.6rem;
}

/* SKU + availability row */
.single-product__meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 0.875rem;
}

.single-product__sku {
  color: var(--text-muted);
}
.single-product__sku strong {
  color: var(--text-muted);
  font-weight: 400;
}

.single-product__stock {
  margin-left: auto;
  font-weight: 600;
}
.single-product__stock--instock {
  color: #2e8b57;
}
.single-product__stock--outofstock {
  color: #c0392b;
}
.single-product__stock--onbackorder {
  color: var(--orange);
}

.woocommerce div.product .product_meta {
  display: none;
}

.woocommerce div.product .woocommerce-product-details__short-description ul {
  list-style: disc;
  padding-left: 1.4em;
}
.woocommerce div.product .woocommerce-product-details__short-description ol {
  list-style: decimal;
  padding-left: 1.4em;
}
.woocommerce div.product .woocommerce-product-details__short-description li {
  margin-bottom: 4px;
}

.woocommerce div.product .woocommerce-product-rating {
  margin-bottom: 12px;
}

/* Cart row */
.woocommerce div.product .cart {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 20px 0;
  flex-wrap: wrap;
}

/* Variable product — stack variations selector above qty+button */
.woocommerce div.product .variations_form.cart {
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

/* Variations attribute table → flat flex rows */
.variations_form .variations {
  display: block;
  width: 100%;
  border: none;
}

.variations_form .variations tbody,
.variations_form .variations tr {
  display: flex;
  align-items: center;
  gap: 12px;
}

.variations_form .variations tr + tr {
  margin-top: 12px;
}

.variations_form .variations .label {
  display: block;
  flex-shrink: 0;
  min-width: 60px;
}

.variations_form .variations .label label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
}

.variations_form .variations .value {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

/* Variation select — match site pill style */
.variations_form .variations select {
  flex: 1;
  padding: 12px 40px 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2306456B' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.variations_form .variations select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(6, 69, 107, 0.12);
}

/* "Clear" reset link */
.variations_form .reset_variations {
  font-size: 0.85rem;
  color: var(--orange);
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}
.variations_form .reset_variations.hidden {
  display: none !important;
}

/* Variation price + add-to-cart stacked */
.single_variation_wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.woocommerce-variation-add-to-cart {
  display: flex;
  align-items: center;
  gap: 12px;
}
.woocommerce-variation-add-to-cart .single_add_to_cart_button {
  flex: 1;
}

/* Add to basket button */
.woocommerce div.product .single_add_to_cart_button {
  flex: 1;
  background: var(--orange);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
  text-transform: none;
}
.woocommerce div.product .single_add_to_cart_button:hover {
  background: var(--orange-dark);
}

/* Quantity wrap */
.product-qty-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Extra buttons row */
.single-product__extra-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.single-product__extra-buttons .btn {
  flex: 1;
  text-align: center;
  font-size: 13px;
  padding: 12px 16px;
  border-width: 1px;
  align-self: flex-start;
}

/* ── YITH Request a Quote ── */
/* YITH wrapper in single product */
.single-product__extra-buttons .yith-ywraq-add-to-quote {
  flex: 1;
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
}
.single-product__extra-buttons .yith-ywraq-add-to-quote .btn {
  width: 100%;
  justify-content: center;
}

.single-product__extra-buttons .yith_ywraq_add_item_response_message,
.single-product__extra-buttons .yith_ywraq_add_item_browse_message {
  text-align: center;
  margin-top: 6px;
}

/* Block-level wrapper in the product card */
.product-card__body .yith-ywraq-add-to-quote {
  display: block;
  width: 100%;
  margin-top: 8px;
}

.product-card__body .yith-ywraq-add-button {
  display: block;
  width: 100%;
}

/* Override YITH frontend.css */
.yith-ywraq-add-to-quote a.add-request-quote-button {
  font-size: 14px !important;
  font-weight: 700 !important;
  font-family: var(--font-body) !important;
  margin: 0 !important;
}

/* Spinner */
.yith-ywraq-add-to-quote .ajax-loading {
  display: none !important;
}

/* "Already in quote" confirmation message */
.yith_ywraq_add_item_response_message {
  font-size: 0.8rem;
  color: var(--navy);
  text-align: center;
  padding: 6px 0 0;
}

/* "Browse quote list" link */
.yith_ywraq_add_item_browse_message {
  text-align: center;
  font-size: 0.8rem;
}
.yith_ywraq_add_item_browse_message a {
  color: var(--orange) !important;
  font-size: 0.8rem !important;
  font-weight: 400 !important;
  text-decoration: underline;
}

/* ── YITH Quote list table ── */
.raq-table {
  width: 100%;
  border-collapse: collapse;
}
.raq-table thead th {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  padding: 14px 16px;
  text-align: left;
}
.raq-table tbody tr {
  border-bottom: 1px solid #e5e9ee;
}
.raq-table td {
  padding: 20px 16px;
  vertical-align: middle;
}

/* Remove button */
.raq-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c0392b;
  transition: color var(--transition);
  flex-shrink: 0;
}
.raq-remove:hover {
  color: #922b21;
}

/* Product name */
.raq-product-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}
.raq-product-name:hover {
  color: var(--orange);
}

.raq-meta {
  display: block;
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 4px;
}

/* Quantity stepper — flat bordered style */
.raq-table .product-card__qty {
  gap: 0;
  margin-bottom: 0;
}

.raq-table .qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #f3f4f6;
  color: var(--navy);
  border: 1px solid #d1d5db;
}
.raq-table .qty-btn:hover {
  background: #e5e7eb;
}
.raq-table .qty-btn:first-child {
  border-radius: 6px 0 0 6px;
  border-right: none;
}
.raq-table .qty-btn:last-child {
  border-radius: 0 6px 6px 0;
  border-left: none;
}

.raq-table .qty-input {
  width: 52px;
  height: 36px;
  border-radius: 0;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
}

/* Price + VAT label */
.raq-table .product-subtotal {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.raq-vat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  font-family: var(--font-body);
  color: #6b7280;
  margin-top: 2px;
}

/* ── YITH Quote request form ── */
.raq-form-wrapper {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.raq-form-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 28px;
}

.raq-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.raq-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}
.raq-label .required {
  color: var(--orange);
  text-decoration: none;
  margin-left: 2px;
}

.raq-input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy);
  background: #fff;
  outline: none;
  transition: border-color var(--transition);
  box-sizing: border-box;
}
.raq-input:focus {
  border-color: var(--navy);
}

.raq-textarea {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.6;
}

.raq-field--submit .btn {
  margin-top: 8px;
}

.raq-field--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.raq-privacy a {
  color: var(--orange);
  text-decoration: underline;
}

/* Quote page — colour selector section */
.raq-colour-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.raq-colour-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--light-grey, #f7f8fa);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm, 6px);
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--navy);
}

.raq-colour-line__price {
  font-weight: 700;
  color: var(--orange);
}

/* Colour choice display in form */
.raq-colour-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 600;
}

.raq-colour-summary__price {
  font-weight: 700;
  color: var(--orange);
}

.raq-field--colour-summary {
  background: var(--light-grey, #f7f8fa);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm, 6px);
  padding: 12px 16px;
}

/* btn--outline-white for CTA blocks */
.btn--outline-white {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  color: var(--white);
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  transition: background var(--transition);
  display: inline-block;
}
.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

/* Product CTA blocks */
.product-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

.product-cta {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.product-cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 69, 107, 0.65);
}

.product-cta__content {
  position: relative;
  z-index: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  width: 100%;
}
.product-cta__content h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin: 0;
  line-height: 1.3;
}

/* Gallery */
.product-gallery__main {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--white);
  aspect-ratio: 1/1;
}

.product-gallery__main-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transition: opacity 0.3s ease;
}
.product-gallery__main-img.is-fading {
  opacity: 0;
}

.product-gallery__thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.product-gallery__thumb {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  transition: border-color var(--transition);
  padding: 0;
  background: var(--white);
}
.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.product-gallery__thumb.is-active {
  border-color: var(--navy);
}
.product-gallery__thumb:hover {
  border-color: var(--orange);
}

/* Additional Information (replaces tabs) */
.product-additional-info {
  margin-top: 24px;
}

.product-additional-info__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--navy);
  margin-bottom: 24px;
}

.product-additional-info__table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.product-additional-info__table tr:nth-child(even) {
  background: var(--light);
}
.product-additional-info__table tr:nth-child(odd) {
  background: var(--white);
}
.product-additional-info__table th, .product-additional-info__table td {
  padding: 16px 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}
.product-additional-info__table tr:last-child th,
.product-additional-info__table tr:last-child td {
  border-bottom: none;
}
.product-additional-info__table th {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--navy);
  width: 30%;
  white-space: nowrap;
}
.product-additional-info__table td {
  color: var(--text-muted);
}

.woocommerce-tabs {
  margin-top: 50px;
  grid-column: 1/-1;
}

.woocommerce-tabs ul.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 12px 24px;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius) var(--radius) 0 0;
  border: 1px solid transparent;
  border-bottom: none;
  transition: background var(--transition);
}

.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
  background: var(--navy);
  color: var(--white);
}

.woocommerce-tabs .panel {
  padding: 20px 0;
}

/* ---- Notices ---- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: 14px 20px;
  border-left: 4px solid var(--orange);
  background: var(--light);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}

.woocommerce-error {
  border-color: #cc3333;
  background: #fff5f5;
}

/* ---- Forms generic ---- */
.woocommerce form .form-row {
  margin-bottom: 14px;
}

.woocommerce form .form-row label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
}

/* ---- Enquiry Modal ---- */
.enquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.enquiry-modal.is-open {
  pointer-events: auto;
  opacity: 1;
}

.enquiry-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 69, 107, 0.6);
  cursor: pointer;
}

.enquiry-modal__panel {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 16px;
  width: 100%;
  max-width: 580px;
  max-height: 90dvh;
  overflow-y: auto;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.enquiry-modal.is-open .enquiry-modal__panel {
  transform: translateY(0);
}

.enquiry-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border-radius: 50%;
  transition: background var(--transition), color var(--transition);
}
.enquiry-modal__close:hover {
  background: var(--light);
  color: var(--navy);
}

/* Mobile nav hidden on desktop — shown via responsive block */
.mobile-nav {
  display: none;
}

/* Offset mobile nav below WP admin bar when logged in */
.admin-bar .mobile-nav {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .mobile-nav {
    top: 46px;
  }
}
/* Keep admin bar fully above mobile nav and clip avatar overflow */
#wpadminbar {
  z-index: 100000 !important;
  overflow: hidden;
}

/* ==========================================================================
   Paint Colour Selector + Colour Chart Modal
   ========================================================================== */
/* ── Selector (below cart table) ── */
.paint-colour-row td {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
  border-bottom: 1px solid var(--border);
}

.paint-colour-selector {
  padding: 16px 0 4px;
}

.paint-colour-selector__label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin: 0 0 10px;
}

.paint-colour-selector__select {
  width: 100%;
  max-width: 420px;
  padding: 12px 40px 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2306456B' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
  appearance: none;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.paint-colour-selector__select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(6, 69, 107, 0.12);
}

.paint-colour-selector__custom-note {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.paint-colour-selector__change-link {
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* ── Colour Chart Modal ── */
.colour-chart-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.colour-chart-modal.is-open {
  pointer-events: auto;
  opacity: 1;
}

.colour-chart-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 69, 107, 0.6);
  cursor: pointer;
}

.colour-chart-modal__panel {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 16px;
  width: 100%;
  max-width: 760px;
  max-height: 90dvh;
  overflow-y: auto;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.colour-chart-modal.is-open .colour-chart-modal__panel {
  transform: translateY(0);
}

.colour-chart-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-muted);
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.colour-chart-modal__close:hover {
  background: var(--light);
  color: var(--navy);
}

.colour-chart-modal__heading {
  color: var(--navy);
  font-size: 1.4rem;
  margin: 0 0 24px;
}

/* Tabs */
.colour-chart-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.colour-chart-tab {
  padding: 10px 24px;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--transition), border-color var(--transition);
}
.colour-chart-tab.is-active {
  color: var(--navy);
  border-bottom-color: var(--navy);
}
.colour-chart-tab:hover:not(.is-active) {
  color: var(--navy);
}

/* Panels */
.colour-chart-panel {
  display: none;
}

.colour-chart-panel.is-active {
  display: block;
}

/* Colour grid */
.colour-chart-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.colour-chart-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  background: none;
  cursor: pointer;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.colour-chart-item:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow);
}

.colour-chart-item__swatch {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: block;
  flex-shrink: 0;
}

.colour-chart-item__code {
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--navy);
  line-height: 1.2;
}

.colour-chart-item__name {
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.colour-chart-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 0;
  font-style: italic;
}

/* Gravity Forms styles inside modal */
.enquiry-modal__body .gform_title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 20px;
}
.enquiry-modal__body .gfield_label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.enquiry-modal__body .ginput_container input,
.enquiry-modal__body .ginput_container textarea,
.enquiry-modal__body .ginput_container select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition);
}
.enquiry-modal__body .ginput_container input:focus,
.enquiry-modal__body .ginput_container textarea:focus,
.enquiry-modal__body .ginput_container select:focus {
  border-color: var(--navy);
}
.enquiry-modal__body .ginput_container textarea {
  min-height: 100px;
  resize: vertical;
}
.enquiry-modal__body .gform_footer input[type=submit],
.enquiry-modal__body .gform_footer button[type=submit],
.enquiry-modal__body .gform_footer .gform_button,
.enquiry-modal__body .gform_page_footer input[type=submit],
.enquiry-modal__body .gform_page_footer button[type=submit],
.enquiry-modal__body .gform_page_footer .gform_button {
  display: block !important;
  width: 100% !important;
  padding: 14px 32px !important;
  background: var(--orange) !important;
  color: var(--white) !important;
  border: 2px solid var(--orange) !important;
  border-radius: var(--radius-pill) !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-transform: none !important;
  cursor: pointer !important;
  transition: background var(--transition) !important;
}
.enquiry-modal__body .gform_footer input[type=submit]:hover,
.enquiry-modal__body .gform_footer button[type=submit]:hover,
.enquiry-modal__body .gform_footer .gform_button:hover,
.enquiry-modal__body .gform_page_footer input[type=submit]:hover,
.enquiry-modal__body .gform_page_footer button[type=submit]:hover,
.enquiry-modal__body .gform_page_footer .gform_button:hover {
  background: var(--orange-dark) !important;
  border-color: var(--orange-dark) !important;
}
.enquiry-modal__body .gfield {
  margin-bottom: 16px;
}
.enquiry-modal__body .gfield_required {
  color: var(--orange);
}
.enquiry-modal__body .validation_error {
  color: #c0392b;
  font-size: 0.875rem;
  margin-bottom: 12px;
  padding: 10px;
  background: #fdecea;
  border-radius: var(--radius);
}
.enquiry-modal__body .gfield_error input, .enquiry-modal__body .gfield_error textarea {
  border-color: #c0392b;
}
.enquiry-modal__body .validation_message {
  color: #c0392b;
  font-size: 0.8rem;
  margin-top: 4px;
}

/* ============================================================
   Login / Register
   ============================================================ */
.login-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 48px 0 80px;
  align-items: start;
}

.login-box {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 36px 32px 40px;
}

.login-box__heading {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.login-box__intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.login-box__note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.login-field {
  margin-bottom: 18px;
}
.login-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
}
.login-field .required {
  color: var(--orange);
}
.login-field input[type=text],
.login-field input[type=email],
.login-field input[type=password] {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition);
}
.login-field input[type=text]:focus,
.login-field input[type=email]:focus,
.login-field input[type=password]:focus {
  border-color: var(--navy);
  outline: none;
}

.login-field--actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.login-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text);
  cursor: pointer;
}
.login-remember input {
  width: auto;
  accent-color: var(--navy);
}

.login-lost-password {
  margin-top: 14px;
  font-size: 0.8rem;
  text-align: center;
}
.login-lost-password a {
  color: var(--text-muted);
  text-decoration: underline;
}
.login-lost-password a:hover {
  color: var(--orange);
}

/* ============================================================
   My Account
   ============================================================ */
.account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  padding: 40px 0 80px;
  align-items: start;
}

/* ---- Sidebar navigation ---- */
.account-sidebar {
  position: sticky;
  top: 20px;
}

.woocommerce-MyAccount-navigation {
  background: var(--light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 13px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), color var(--transition);
}
.woocommerce-MyAccount-navigation li a:hover {
  background: var(--light-mid);
  color: var(--navy);
}
.woocommerce-MyAccount-navigation li:last-child a {
  border-bottom: none;
}
.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--active a {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}

/* ---- Content area ---- */
.account-content {
  min-width: 0;
  /* Section headings */
}
.account-content h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.account-content h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--navy);
  margin: 24px 0 12px;
}
.account-content p {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 12px;
}
.account-content a {
  color: var(--navy);
  text-decoration: underline;
}
.account-content a:hover {
  color: var(--orange);
}

/* ---- Orders / data tables ---- */
.woocommerce-orders-table,
.woocommerce-table,
table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
.woocommerce-orders-table thead tr,
.woocommerce-table thead tr,
table.shop_table thead tr {
  background: var(--navy);
}
.woocommerce-orders-table thead th,
.woocommerce-table thead th,
table.shop_table thead th {
  color: var(--white) !important;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  text-align: left;
}
.woocommerce-orders-table tbody td,
.woocommerce-table tbody td,
table.shop_table tbody td {
  padding: 13px 16px;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}
.woocommerce-orders-table tbody tr:last-child td,
.woocommerce-table tbody tr:last-child td,
table.shop_table tbody tr:last-child td {
  border-bottom: none;
}
.woocommerce-orders-table tfoot td,
.woocommerce-orders-table tfoot th,
.woocommerce-table tfoot td,
.woocommerce-table tfoot th,
table.shop_table tfoot td,
table.shop_table tfoot th {
  padding: 12px 16px;
  font-size: 0.875rem;
  border-top: 2px solid var(--border);
}
.woocommerce-orders-table tfoot .order-total td,
.woocommerce-orders-table tfoot .order-total th,
.woocommerce-table tfoot .order-total td,
.woocommerce-table tfoot .order-total th,
table.shop_table tfoot .order-total td,
table.shop_table tfoot .order-total th {
  font-weight: 700;
  color: var(--navy);
}
.woocommerce-orders-table .button,
.woocommerce-table .button,
table.shop_table .button {
  display: inline-block;
  padding: 7px 16px;
  background: var(--navy);
  color: var(--white) !important;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: background var(--transition);
}
.woocommerce-orders-table .button:hover,
.woocommerce-table .button:hover,
table.shop_table .button:hover {
  background: var(--navy-dark);
}
.woocommerce-orders-table mark,
.woocommerce-table mark,
table.shop_table mark {
  background: transparent;
  color: var(--navy);
  font-weight: 600;
}

/* ---- Account forms (edit details, address) ---- */
.woocommerce-EditAccountForm .form-row,
.woocommerce-address-fields .form-row {
  margin-bottom: 16px;
}
.woocommerce-EditAccountForm label,
.woocommerce-address-fields label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
}
.woocommerce-EditAccountForm input[type=text],
.woocommerce-EditAccountForm input[type=email],
.woocommerce-EditAccountForm input[type=tel],
.woocommerce-EditAccountForm input[type=password],
.woocommerce-EditAccountForm select,
.woocommerce-EditAccountForm textarea,
.woocommerce-address-fields input[type=text],
.woocommerce-address-fields input[type=email],
.woocommerce-address-fields input[type=tel],
.woocommerce-address-fields input[type=password],
.woocommerce-address-fields select,
.woocommerce-address-fields textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
}
.woocommerce-EditAccountForm input[type=text]:focus,
.woocommerce-EditAccountForm input[type=email]:focus,
.woocommerce-EditAccountForm input[type=tel]:focus,
.woocommerce-EditAccountForm input[type=password]:focus,
.woocommerce-EditAccountForm select:focus,
.woocommerce-EditAccountForm textarea:focus,
.woocommerce-address-fields input[type=text]:focus,
.woocommerce-address-fields input[type=email]:focus,
.woocommerce-address-fields input[type=tel]:focus,
.woocommerce-address-fields input[type=password]:focus,
.woocommerce-address-fields select:focus,
.woocommerce-address-fields textarea:focus {
  border-color: var(--navy);
  outline: none;
}
.woocommerce-EditAccountForm .form-row-first,
.woocommerce-EditAccountForm .form-row-last,
.woocommerce-address-fields .form-row-first,
.woocommerce-address-fields .form-row-last {
  width: calc(50% - 8px);
  display: inline-block;
  vertical-align: top;
}
.woocommerce-EditAccountForm .form-row-first,
.woocommerce-address-fields .form-row-first {
  margin-right: 16px;
}
.woocommerce-EditAccountForm .button[type=submit],
.woocommerce-address-fields .button[type=submit] {
  display: inline-block;
  padding: 13px 32px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background var(--transition);
  margin-top: 8px;
}
.woocommerce-EditAccountForm .button[type=submit]:hover,
.woocommerce-address-fields .button[type=submit]:hover {
  background: var(--orange-dark);
}

/* ---- Addresses ---- */
.woocommerce-Addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.woocommerce-Addresses .woocommerce-Address {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.woocommerce-Addresses .woocommerce-Address header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}
.woocommerce-Addresses .woocommerce-Address h3 {
  margin: 0;
  font-size: 1rem;
}
.woocommerce-Addresses .woocommerce-Address .edit {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
}
.woocommerce-Addresses .woocommerce-Address address {
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text);
}

/* ---- Dashboard ---- */
.woocommerce-MyAccount-content > p:first-child {
  font-size: 0.95rem;
}

/* ---- Downloads ---- */
.woocommerce-MyAccount-downloads-file a {
  color: var(--orange);
}

/* ==========================================================================
   Order Thank You / Confirmation Page
   ========================================================================== */
.woocommerce-order {
  padding: 32px 0 80px;
}

/* Thank you notice */
.woocommerce-thankyou-order-received {
  font-size: 1rem;
  color: var(--text);
  background: var(--light);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 24px;
}

/* Order meta overview (number, date, email, total) */
.woocommerce-order-overview {
  list-style: none;
  padding: 20px 24px;
  margin: 0 0 32px;
  background: var(--light);
  border-radius: var(--radius-lg);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
}
.woocommerce-order-overview li {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.woocommerce-order-overview li strong {
  color: var(--navy);
  font-weight: 700;
}

/* Section headings */
.woocommerce-order-details__title,
.woocommerce-column__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--orange);
  margin-bottom: 16px;
}

/* Order details table */
.woocommerce-table--order-details {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}
.woocommerce-table--order-details thead tr {
  background: var(--navy);
}
.woocommerce-table--order-details thead th {
  color: var(--white);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  text-align: left;
}
.woocommerce-table--order-details tbody td,
.woocommerce-table--order-details tfoot td,
.woocommerce-table--order-details tfoot th {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text);
  vertical-align: middle;
}
.woocommerce-table--order-details tfoot tr:last-child td,
.woocommerce-table--order-details tfoot tr:last-child th {
  font-weight: 700;
  color: var(--navy);
  border-bottom: none;
}
.woocommerce-table--order-details .product-name a {
  color: var(--orange);
  text-decoration: underline;
}
.woocommerce-table--order-details .product-total {
  text-align: right;
}

/* Billing / shipping columns — 2-col on desktop */
.woocommerce-customer-details .col2-set,
.woocommerce-customer-details .woocommerce-columns--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.woocommerce-customer-details address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text);
}

/* ---- Order details ---- */
.woocommerce-order-details,
.woocommerce-customer-details {
  margin-bottom: 32px;
}

/* ==========================================================================
   Sections — Intro, Split Section, Projects, Why Us, Bespoke,
              CTA Banner, Newsletter, Blog, Page Banner, Misc Page Content
   ========================================================================== */
/* ---- Intro Section ---- */
.intro-section {
  padding: 60px 0 0;
  text-align: center;
}

.intro-section__heading {
  margin-bottom: 1.25rem;
  color: var(--navy);
}

.intro-section__text {
  max-width: 820px;
  margin-inline: auto;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.intro-section__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- CTA Banner ---- */
.cta-banner {
  background-image: url("../images/need-a-quote-desktop.png");
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Navy overlay on top of the background image */
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 40, 75, 0.72);
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
}

.cta-banner__heading {
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.75rem;
}

/* ---- Services Section (images left, text right — light theme) ---- */
.services-section {
  background: var(--white);
  border-bottom: 1px solid var(--navy);
  padding: 80px 0 90px;
}
.services-section.services-section--no-border {
  border-bottom: none;
}

.services-section__inner {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 80px;
  align-items: center;
}

/* Staggered image pair */
.services-section__images {
  display: grid;
  grid-template-columns: 42% 56%;
  gap: 20px;
  align-items: start;
}

.services-section__img {
  border-radius: 14px;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.services-section__img:nth-child(2) {
  margin-top: 60px;
}

/* Text column */
.services-section__text h2 {
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.services-section__text p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

/* ---- Projects Carousel ---- */
.projects-section {
  background: var(--white);
  padding: 70px 0 60px;
  overflow: hidden;
}

.project-carousel {
  position: relative;
  margin-top: 48px;
}

.project-carousel__track {
  display: flex;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Each card — uniform width; scale distinguishes active from inactive */
.project-card {
  flex: 0 0 65%;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/9;
  transform: scale(0.88);
  transform-origin: center;
  transition: transform 0.55s ease;
  flex-shrink: 0;
}
.project-card.is-active {
  transform: scale(1);
}

.project-card__img,
.project-card__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-card__placeholder {
  background: var(--light-mid);
}

/* Overlay — fades in on active card */
.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 35, 60, 0.85) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 28px 28px 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card.is-active .project-card__overlay {
  opacity: 1;
}

.project-card__text {
  flex: 1;
}

.project-card__title {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.project-card__cta {
  color: var(--white);
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.project-card__cta:hover {
  color: var(--orange);
}

/* Arrow button — bottom right of active card */
.project-card__arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  transition: background var(--transition);
}
.project-card__arrow img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.project-card__arrow:hover {
  background: var(--orange);
}

/* Navigation buttons */
.project-carousel__nav {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 36px;
}

.project-carousel__btn {
  width: 52px;
  height: 52px;
  padding: 0;
  position: relative;
  flex-shrink: 0;
}
.project-carousel__btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  inset: 0;
  transition: opacity var(--transition);
}
.project-carousel__btn .btn-hover {
  opacity: 0;
}
.project-carousel__btn:hover .btn-default {
  opacity: 0;
}
.project-carousel__btn:hover .btn-hover {
  opacity: 1;
}

/* ---- Bespoke Manufacture Section ---- */
/* Pennine icon — lives in normal flow above the section, section slides up behind it */
.bespoke-section__pennine {
  display: block;
  width: 42%;
  max-width: 700px;
  position: relative;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

.bespoke-section {
  background: #293133;
  position: relative;
  overflow: hidden;
  padding: 60px 0 90px;
  margin-top: -2px;
}

.bespoke-section__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 80px;
  align-items: center;
}

.bespoke-section__text h2 {
  color: var(--white);
  margin-bottom: 1.25rem;
}
.bespoke-section__text p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.home .section-title::after {
  display: none;
}

.bespoke-section__lead,
.bespoke-section__text > p:first-of-type {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 300;
  color: var(--orange) !important;
}

/* Staggered image pair */
.bespoke-section__images {
  display: grid;
  grid-template-columns: 56% 44%;
  gap: 20px;
  align-items: start;
}

.bespoke-section__img {
  border-radius: 14px;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.bespoke-section__img:nth-child(2) {
  margin-top: 80px;
}

/* ---- Why Us Section ---- */
.why-us-section {
  padding: 70px 0 60px;
}

.why-us-section__heading {
  text-align: center;
  margin-bottom: 48px;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.why-us-item {
  text-align: center;
  padding: 0 16px;
}

.why-us-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  margin: 0 auto 20px;
}
.why-us-item__icon img {
  max-height: 90px;
  width: auto;
}

.why-us-item__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.why-us-item__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}

/* ---- Newsletter Section ---- */
.newsletter-section {
  background: linear-gradient(135deg, #1e3054, #2a4f7a);
  padding: 60px 0;
}

.newsletter-section__inner {
  text-align: center;
}

.newsletter-section__title {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.newsletter-section__sub {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 520px;
  margin-inline: auto;
  border-radius: var(--radius);
  overflow: hidden;
}

.newsletter-form__input {
  flex: 1;
  padding: 14px 18px;
  border: none;
  font-size: 0.9rem;
  outline: none;
}

.newsletter-form__btn {
  border-radius: 0;
  flex-shrink: 0;
}

.newsletter-form__msg {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

/* ---- Page Banner ---- */
.page-banner {
  background: var(--white);
  padding: 48px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--navy);
}
.page-banner.page-banner--no-border {
  border-bottom: none;
}

.page-banner .breadcrumb,
.page-banner .woocommerce-breadcrumb {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: #cccccc;
}
.page-banner .breadcrumb a,
.page-banner .woocommerce-breadcrumb a {
  color: #cccccc;
}
.page-banner .breadcrumb a:hover,
.page-banner .woocommerce-breadcrumb a:hover {
  color: var(--orange);
}

.page-banner__title {
  color: var(--navy);
  margin: 0 0 20px;
}

.page-banner__desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}
.page-banner__desc p {
  margin: 0;
}

.page-banner--slim {
  padding: 24px 0;
}

.single-product .page-banner {
  border-bottom: none;
}

.page-hero {
  min-height: 380px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 48, 84, 0.6);
  z-index: 1;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: 80px;
}

.page-hero__title {
  color: var(--white);
}

.page-hero__mountains {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
}

/* Installation Services — full-width hero image, no overlay */
.install-hero {
  display: block;
  line-height: 0;
}

.install-hero__img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  margin-bottom: 0;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.breadcrumb li {
  font-size: 0.8rem;
}

.breadcrumb li a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb li a:hover {
  color: var(--white);
}

.breadcrumb li.is-active span {
  color: rgba(255, 255, 255, 0.9);
}

.breadcrumb__sep {
  color: #cccccc;
  font-size: 0.75rem;
}

/* ---- Blog ---- */
.blog-layout {
  padding: 50px 0 80px;
}

.blog-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
}

.blog-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.blog-card__body {
  padding: 20px;
}

.blog-card__meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.blog-card__title {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.blog-card__title a {
  color: var(--navy);
}

.blog-card__title a:hover {
  color: var(--orange);
}

.blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ---- Page Content ---- */
.page-content {
  padding: 60px 0 80px;
  max-width: 900px;
}

.page-article__content h2 {
  margin-top: 2rem;
}

.page-article__content p {
  color: var(--text-muted);
  line-height: 1.8;
}

/* ---- Not Found ---- */
.not-found {
  padding: 80px 0;
  text-align: center;
}

.not-found__inner {
  max-width: 480px;
  margin-inline: auto;
}

.not-found__code {
  display: block;
  font-size: 8rem;
  font-weight: 800;
  color: var(--light-mid);
  line-height: 1;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.not-found__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* ---- Category FAQs ---- */
.cat-faqs {
  padding: 60px 0 70px;
}

.cat-faqs__heading {
  text-align: center;
  margin-bottom: 40px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  text-align: left;
}

.faq-item__question {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.4;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 300;
}
.faq-item__icon::after {
  content: "+";
}

/* Open state */
.faq-item.is-open .faq-item__trigger {
  background: var(--navy);
  color: var(--white);
}

.faq-item.is-open .faq-item__icon::after {
  content: "−";
}

.faq-item__answer {
  padding: 20px 28px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}
.faq-item__answer p {
  margin: 0 0 0.75rem;
}
.faq-item__answer p:last-child {
  margin: 0;
}

/* ── Legal / Accordion Page ── */
.legal-page {
  padding: 60px 0 80px;
}

.legal-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.legal-intro__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 24px;
}

.legal-intro__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.legal-divider {
  border: none;
  border-top: 1px solid var(--navy);
  margin: 0 0 40px;
  width: 100%;
  display: block;
}

.legal-accordion__content ul {
  padding-left: 20px;
  margin: 0 0 1rem;
}
.legal-accordion__content li {
  margin-bottom: 6px;
}

/* ---- Installation Services: Process Steps ---- */
.install-process {
  padding: 80px 0;
  background: var(--light);
  text-align: center;
}

.install-process__heading {
  color: var(--navy);
  margin-bottom: 56px;
}

.install-process__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px 24px;
}

.install-process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.install-process__step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.install-process__step-icon {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.install-process__step-icon img {
  max-height: 72px;
  width: auto;
}

.install-process__step-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  line-height: 1.4;
}

/* ---- Installation Services: Alternating Split Blocks ---- */
.install-split {
  padding: 80px 0;
}
.install-split.install-split--bordered {
  border-top: 1px solid var(--navy);
  border-bottom: 1px solid var(--navy);
}

.install-split__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.install-split--reversed .install-split__inner {
  direction: rtl;
}
.install-split--reversed .install-split__inner > * {
  direction: ltr;
}

.install-split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.install-split__content h2 {
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.install-split__content p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.install-split__btn {
  margin-top: 2rem;
}

/* Staggered image pair (block 2) */
.install-split__images {
  display: grid;
  grid-template-columns: 42% 56%;
  gap: 20px;
  align-items: start;
}

.install-split__images-img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.install-split__images-img:nth-child(2) {
  margin-top: 60px;
}

/* ---- Back link ---- */
.back-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.back-link:hover {
  color: var(--white);
}

/* ==========================================================================
   Enquiry Form Section — Gravity Forms embed
   ========================================================================== */
.enquiry-form {
  background: var(--light);
  padding: 80px 0 100px;
}

/* Title */
.enquiry-form .gform_title {
  text-align: center;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 48px;
}

/* Hide default GF validation heading */
.enquiry-form .gform_heading .gform_description {
  display: none;
}

/* Field grid — 2 columns */
.enquiry-form .gform_fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Full-width field types */
.enquiry-form .gfield--width-full,
.enquiry-form .gfield--type-textarea,
.enquiry-form .gfield--type-captcha,
.enquiry-form .gfield--type-html {
  grid-column: 1/-1;
}

/* Hide labels — design uses placeholders */
.enquiry-form .gfield_label,
.enquiry-form .gfield_required {
  display: none;
}

/* Remove default GF field padding */
.enquiry-form .gfield {
  margin: 0;
}

/* Inputs & textarea */
.enquiry-form .ginput_container input[type=text],
.enquiry-form .ginput_container input[type=email],
.enquiry-form .ginput_container input[type=tel],
.enquiry-form .ginput_container input[type=number],
.enquiry-form .ginput_container textarea {
  width: 100%;
  background: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 18px 20px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  appearance: none;
  transition: box-shadow var(--transition);
}
.enquiry-form .ginput_container input[type=text]::placeholder,
.enquiry-form .ginput_container input[type=email]::placeholder,
.enquiry-form .ginput_container input[type=tel]::placeholder,
.enquiry-form .ginput_container input[type=number]::placeholder,
.enquiry-form .ginput_container textarea::placeholder {
  color: var(--text-muted);
}
.enquiry-form .ginput_container input[type=text]:focus,
.enquiry-form .ginput_container input[type=email]:focus,
.enquiry-form .ginput_container input[type=tel]:focus,
.enquiry-form .ginput_container input[type=number]:focus,
.enquiry-form .ginput_container textarea:focus {
  box-shadow: 0 0 0 2px var(--navy);
}

.enquiry-form .ginput_container textarea {
  min-height: 200px;
  resize: vertical;
}

/* reCAPTCHA — centred */
.enquiry-form .gfield--type-captcha .ginput_container {
  display: flex;
  justify-content: center;
}

/* Validation error */
.enquiry-form .gfield_error input,
.enquiry-form .gfield_error textarea {
  box-shadow: 0 0 0 2px #c0392b;
}

.enquiry-form .validation_message {
  font-size: 0.8rem;
  color: #c0392b;
  margin-top: 4px;
}

/* Submit */
.enquiry-form .gform_footer {
  text-align: center !important;
  padding-top: 8px !important;
  margin: 0 !important;
  display: flex !important;
  justify-content: center !important;
}

.enquiry-form .gform_footer input[type=submit],
.enquiry-form .gform_footer button[type=submit],
.enquiry-form .gform_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 13px 48px !important;
  border-radius: var(--radius-pill) !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  background: transparent !important;
  color: var(--navy) !important;
  border: 2px solid var(--orange) !important;
  cursor: pointer !important;
  transition: background var(--transition), color var(--transition), border-color var(--transition) !important;
  width: auto !important;
}
.enquiry-form .gform_footer input[type=submit]:hover,
.enquiry-form .gform_footer button[type=submit]:hover,
.enquiry-form .gform_button:hover {
  background: var(--orange) !important;
  border-color: var(--orange) !important;
  color: var(--white) !important;
}

/* Confirmation message */
.enquiry-form .gform_confirmation_wrapper {
  text-align: center;
  color: var(--navy);
  font-size: 1.1rem;
  padding: 40px 0;
}

/* ---- Get a Quote page ---- */
.get-a-quote-form__inner {
  max-width: 940px;
  margin: 0 auto;
}

/* Checkboxes — full width, 2-column grid */
.enquiry-form .gfield--type-checkbox {
  grid-column: 1/-1;
  padding-top: 8px;
}

.enquiry-form .gfield--type-checkbox .gfield_checkbox {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.enquiry-form .gfield--type-checkbox .gchoice {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.enquiry-form .gfield--type-checkbox .gchoice label {
  color: var(--navy);
  font-size: 0.9rem;
  cursor: pointer;
  margin: 0;
  padding: 0;
}

.enquiry-form .gfield--type-checkbox .gchoice input[type=checkbox] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  accent-color: var(--navy);
  cursor: pointer;
  margin: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: url("../images/icons/footer-black.png") center center/auto;
  position: relative;
}

/* ---- Newsletter card ---- */
.footer-newsletter {
  padding: 60px 0 0;
  position: relative;
  z-index: 2;
}

.footer-newsletter__card {
  background: var(--navy);
  border-radius: 16px;
  padding: 48px 60px 52px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.footer-newsletter__title {
  color: var(--white);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 0.6rem;
}

.footer-newsletter__sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

/* Newsletter form sits inside the card */
.footer-newsletter__card .newsletter-form {
  display: flex;
  gap: 0;
  max-width: 560px;
  margin: 0 auto;
}

.newsletter-form__input {
  flex: 1;
  padding: 14px 20px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}
.newsletter-form__input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.newsletter-form__input:focus {
  border-bottom-color: var(--white);
}

.newsletter-form__btn {
  flex-shrink: 0;
  margin-left: 16px;
  border-radius: var(--radius-pill) !important;
}

.newsletter-form__msg {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 12px 0 0;
  min-height: 1.2em;
}

/* ---- Main footer body ---- */
.footer-main {
  position: relative;
  padding: 60px 0 50px;
  overflow: hidden;
}

.footer-main__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
  gap: 40px;
  align-items: start;
}

/* ---- Brand / logo column ---- */
.footer-brand__logo {
  display: inline-block;
  margin-bottom: 0;
}
.footer-brand__logo img {
  max-width: 180px;
  height: auto;
}

/* ---- Nav columns ---- */
.footer-col__title {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.footer-nav li {
  margin-bottom: 10px;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer-nav a:hover {
  color: var(--orange);
}

/* ---- Contact address ---- */
.footer-address {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-address__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
}
.footer-address__row img {
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-address__row a {
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}
.footer-address__row a:hover {
  color: var(--orange);
}

/* ---- Accreditations ---- */
.footer-col--accreditations {
  text-align: center;
}

.footer-accreditations {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}
.footer-accreditations img {
  max-height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* ---- Stripe badge ---- */
.footer-stripe {
  display: flex;
  justify-content: center;
}
.footer-stripe img {
  max-height: 36px;
  width: auto;
}

/* ---- Bottom bar ---- */
.footer-bottom {
  border-top: 1px solid var(--orange);
  padding: 20px 0;
  position: relative;
  z-index: 1;
}

.footer-bottom__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.footer-bottom__inner p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  margin: 0;
}
.footer-bottom__inner a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}
.footer-bottom__inner a:hover {
  color: var(--orange);
}

/* ---- Projects Archive ---- */
.projects-archive-intro {
  padding-bottom: 40px;
}

.projects-archive-section {
  padding: 0 0 80px;
}

.projects-archive__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  transition: opacity 0.3s ease;
}
.projects-archive__grid.is-loading {
  opacity: 0.5;
  pointer-events: none;
}

.project-archive-card {
  border-radius: 16px;
  overflow: hidden;
}

.project-archive-card__link {
  display: block;
  position: relative;
  aspect-ratio: 16/10;
  text-decoration: none;
  overflow: hidden;
}

.project-archive-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.project-archive-card:hover .project-archive-card__img {
  transform: scale(1.04);
}

.project-archive-card__placeholder {
  width: 100%;
  height: 100%;
  background: var(--light-mid);
}

.project-archive-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 35, 60, 0.85) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 28px 28px 24px;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.project-archive-card:hover .project-archive-card__overlay {
  opacity: 1;
}

.project-archive-card__title {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.project-archive-card__cta {
  display: block;
  color: var(--white);
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.project-archive-card__arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  transition: background var(--transition), color var(--transition);
}
.project-archive-card__arrow svg {
  width: 20px;
  height: 20px;
}
.project-archive-card:hover .project-archive-card__arrow {
  background: var(--orange);
  color: var(--white);
}

.projects-archive__footer {
  text-align: center;
  margin-top: 48px;
}

.post-type-archive-project .why-us-section {
  border-top: 1px solid var(--navy);
}

/* ---- Contact Page ---- */
.contact-intro {
  padding-bottom: 32px;
}

.contact-form-section .gfield--type-radio {
  grid-column: 1/-1;
}
.contact-form-section .gfield--type-radio .gfield_radio {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 40px !important;
  flex-wrap: wrap !important;
  list-style: none !important;
  padding: 8px 0 !important;
  margin: 0 !important;
}
.contact-form-section .gfield--type-radio .gchoice {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
}
.contact-form-section .gfield--type-radio .gchoice label {
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.contact-form-section .gfield--type-radio .gchoice input[type=radio] {
  width: 18px !important;
  height: 18px !important;
  accent-color: var(--navy);
  cursor: pointer;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

.contact-details-section {
  padding: 70px 0 80px;
}

.contact-details__inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  align-items: start;
}

.contact-info__heading {
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.contact-info__heading--hours {
  margin-top: 40px;
}

.contact-info__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
}
.contact-info__item img {
  margin-top: 2px;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(60%) sepia(80%) saturate(600%) hue-rotate(5deg);
}
.contact-info__item a {
  color: var(--text);
  text-decoration: none;
}
.contact-info__item a:hover {
  color: var(--navy);
}
.contact-info__item--address address {
  font-style: normal;
  line-height: 1.7;
}

.contact-info__hours {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  line-height: 0;
}
.contact-map iframe {
  width: 100%;
  height: 380px;
  display: block;
  border: none;
}

/* ---- About Us Page ---- */
.about-intro {
  padding-bottom: 40px;
}

.about-divider {
  height: 1px;
  background: var(--navy);
}

.about-block--divided {
  border-top: 1px solid var(--border);
}

/* ---- Key Benefits Carousel ---- */
.benefits-section {
  background: var(--light);
  padding: 70px 0 80px;
}

.benefits-section__heading {
  text-align: center;
  color: var(--navy);
  margin-bottom: 48px;
}

.benefits-slider {
  position: relative;
  overflow: hidden;
  padding: 0 32px;
}

.benefits-slider__track {
  display: flex;
  gap: 32px;
  transition: transform 0.4s ease;
}

.benefits-item {
  flex: 0 0 calc(25% - 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.benefits-item__icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.benefits-item__title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.4;
  margin: 0;
}

.benefits-slider .slider-btn--prev {
  left: 0;
}

.benefits-slider .slider-btn--next {
  right: 0;
}

/* ---- Resources Page ---- */
.resources-intro {
  padding-bottom: 40px;
}

.resources-divider {
  height: 1px;
  background: var(--navy);
}

.resources-downloads-block {
  border-bottom: 1px solid var(--navy);
}

.resources-faqs {
  border-bottom: 1px solid var(--navy);
}

.resources-faqs__footer {
  text-align: center;
  margin-top: 40px;
}

.resources-blogs-section {
  padding: 70px 0 80px;
}

.resources-blogs__heading {
  text-align: center;
  color: var(--navy);
  margin-bottom: 48px;
}

/* ---- FAQs Page ---- */
.faqs-page-intro {
  padding-bottom: 40px;
}

.faqs-page__divider {
  height: 1px;
  background: var(--navy);
  margin-bottom: 20px;
}

/* ---- Single Blog Post ---- */
.single-post-hero {
  display: block;
  line-height: 0;
  max-height: 420px;
  overflow: hidden;
}

.single-post-hero__img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.single-blog-post {
  padding: 56px 0 60px;
}
.single-blog-post__content {
  max-width: 100%;
}
.single-blog-post__title {
  color: var(--navy);
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.single-blog-post__body p {
  margin-bottom: 1.4rem;
  line-height: 1.75;
}
.single-blog-post__body h2, .single-blog-post__body h3 {
  color: var(--navy);
  margin: 2rem 0 1rem;
}
.single-blog-post__body a {
  color: var(--orange);
  text-decoration: underline;
}
.single-blog-post__body ul, .single-blog-post__body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.4rem;
}
.single-blog-post__body li {
  margin-bottom: 0.4rem;
}
.single-blog-post__body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}
.single-blog-post__body blockquote {
  border-left: 4px solid var(--orange);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-style: italic;
}

.single-post-nav {
  border-top: 1px solid var(--orange);
  border-bottom: 1px solid var(--orange);
  padding: 24px 0;
}
.single-post-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.single-post-nav__prev, .single-post-nav__next {
  flex: 1;
}
.single-post-nav__next {
  text-align: right;
}
.single-post-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--transition);
}
.single-post-nav__link:hover {
  color: var(--navy-mid);
}
.single-post-nav__arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
  color: var(--navy);
}
.single-post-nav__arrow svg {
  width: 18px;
  height: 18px;
}
.single-post-nav__link:hover .single-post-nav__arrow {
  background: var(--navy);
  color: var(--white);
}
.single-post-nav__share {
  text-align: center;
  flex-shrink: 0;
}
.single-post-nav__share-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  margin: 0 0 10px;
}

.share-icons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.share-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background var(--transition);
}
.share-icon:hover {
  background: var(--navy-mid);
}
.share-icon svg {
  width: 17px;
  height: 17px;
}

.related-articles-section {
  padding: 60px 0 80px;
}

.related-articles__heading {
  text-align: center;
  color: var(--navy);
  margin-bottom: 40px;
}

/* ---- Blog Archive ---- */
.blog-archive-intro {
  padding-bottom: 40px;
}

.blog-archive__divider {
  height: 1px;
  background: var(--navy);
}

.blog-archive-section {
  padding: 60px 0 80px;
}

.blog-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  transition: opacity 0.3s ease;
}
.blog-archive__grid.is-loading {
  opacity: 0.5;
  pointer-events: none;
}

.blog-post-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--light);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition);
}
.blog-post-card:hover {
  box-shadow: var(--shadow-lg);
}

.blog-post-card__img-link {
  display: block;
  aspect-ratio: 3/2;
  overflow: hidden;
  flex-shrink: 0;
}

.blog-post-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.blog-post-card:hover .blog-post-card__img {
  transform: scale(1.04);
}

.blog-post-card__body {
  padding: 24px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-post-card__title {
  font-size: 1.1rem;
  color: var(--navy);
  margin: 0 0 10px;
  line-height: 1.3;
}
.blog-post-card__title a {
  color: inherit;
  text-decoration: none;
}
.blog-post-card__title a:hover {
  color: var(--navy-mid);
}

.blog-post-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.blog-post-card__cta {
  display: inline-block;
  color: var(--orange);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--orange);
  transition: color var(--transition);
}
.blog-post-card__cta:hover {
  color: var(--orange-dark);
}

.blog-archive__footer {
  text-align: center;
  margin-top: 48px;
}

@keyframes gmdp-spin {
  to {
    transform: rotate(360deg);
  }
}
.search-sentinel {
  grid-column: 1/-1;
  display: flex;
  justify-content: center;
  padding: 32px 0 8px;
  min-height: 64px;
}
.search-sentinel.is-loading::after {
  content: "";
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: gmdp-spin 0.7s linear infinite;
}

.search-results__none {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 0;
  font-size: 1rem;
}

.search-results__pagination {
  margin-top: 48px;
  text-align: center;
}

.search-results-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* ---- Single Project — intro + suppress section-title underlines ---- */
.single-project-intro {
  padding-bottom: 40px;
}

.single-project .section-title::after {
  display: none;
}

/* ---- Project Gallery Carousel ---- */
.project-gallery-section {
  padding: 0 0 0;
}

.project-gallery {
  display: flex;
  align-items: center;
  gap: 28px;
}

.project-gallery__viewport {
  flex: 1;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--light-mid);
}

.project-gallery__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.project-gallery__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.project-gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-gallery__btn {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.project-gallery__btn:hover {
  background: var(--navy-dark);
}
.project-gallery__btn svg {
  width: 22px;
  height: 22px;
}

.project-gallery__footer {
  text-align: center;
  padding: 16px 0 48px;
}

.project-gallery__caption {
  color: var(--navy);
  font-size: 0.9rem;
  margin: 0;
  min-height: 1.4em;
}

/* ---- Project Products Section ---- */
.project-products-section {
  padding: 60px 0 70px;
  border-top: 1px solid var(--navy);
  border-bottom: 1px solid var(--navy);
}
.project-products-section .product-slider {
  margin-top: 0;
  padding: 0 40px;
}
.project-products-section .slider-btn--prev {
  left: 0;
}
.project-products-section .slider-btn--next {
  right: 0;
}

/* ---- Single Project — Related Projects ---- */
.single-project-page .projects-section {
  border-top: 1px solid var(--border);
  padding-top: 60px;
}

/* ==========================================================================
   Responsive — All @media Blocks (largest breakpoint first)
   ========================================================================== */
@media (max-width: 1200px) {
  .trust-bar__inner,
.footer-main__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(3, 1fr);
  }

  .checkout-columns {
    grid-template-columns: 1fr;
  }

  .checkout-title {
    padding-left: 32px;
  }

  /* Login / Register — single column with edge padding */
  .login-layout {
    grid-template-columns: 1fr;
    padding-left: 16px;
    padding-right: 16px;
    gap: 20px;
  }

  /* ── Order confirmation page ── */
  .woocommerce-order {
    padding: 20px 16px 90px;
  }

  .woocommerce-order-overview {
    flex-direction: column;
    gap: 6px;
    padding: 16px;
  }

  /* Order details table — stacked rows, no thead */
  .woocommerce-table--order-details thead {
    display: none;
  }

  .woocommerce-table--order-details tbody td,
.woocommerce-table--order-details tfoot td,
.woocommerce-table--order-details tfoot th {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 12px;
  }

  .woocommerce-table--order-details tbody td::before {
    content: attr(data-title);
    font-weight: 700;
    color: var(--navy);
    font-size: 0.8rem;
    margin-right: 12px;
    flex-shrink: 0;
  }

  .woocommerce-table--order-details .product-total {
    text-align: right;
  }

  /* Billing / shipping — stack to single column */
  .woocommerce-customer-details .col2-set,
.woocommerce-customer-details .woocommerce-columns--2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* ── My Account — 3-col pill nav above full-width content ── */
  .account-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 16px 90px;
  }

  .account-sidebar {
    position: static;
  }

  .woocommerce-MyAccount-navigation {
    background: transparent;
    border-radius: 0;
    overflow: visible !important;
  }

  .woocommerce-MyAccount-navigation-link--customer-logout a {
    border-bottom: 1.5px solid var(--navy) !important;
  }

  /* 3-column pill grid */
  .woocommerce-MyAccount-navigation ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 2px;
    margin: 0;
  }

  .woocommerce-MyAccount-navigation li a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 8px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--navy);
    border-bottom: 1.5px solid var(--navy);
    background: var(--white);
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.3;
    min-height: 48px;
  }

  .woocommerce-MyAccount-navigation li a:hover {
    background: var(--light);
  }

  .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--active a {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
  }

  /* Content area — padded, full width */
  .account-content {
    padding: 0;
  }

  .woocommerce-form-login-toggle,
.woocommerce-form-coupon-toggle,
.woocommerce-form-login,
.woocommerce-form-coupon {
    padding-left: 32px;
    padding-right: 32px;
  }

  .header-quote-btn {
    padding: 11px 18px;
    font-size: 0.82rem;
  }
}
@media (max-width: 1024px) {
  .header-main__inner {
    grid-template-columns: auto 1fr auto;
  }

  .header-quote-btn {
    display: none;
  }

  .category-card {
    flex: 0 0 50%;
  }

  .category-archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-archive-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-card__qty {
    gap: 6px;
    margin-bottom: 10px;
  }

  .product-card .qty-btn {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  .product-card .qty-btn svg {
    width: 10px;
    height: 10px;
  }

  .product-card .qty-input {
    width: 100%;
    height: 32px;
    font-size: 0.85rem;
  }

  .product-card {
    flex: 0 0 calc(50% - 12px);
  }

  /* ── Remove any browser/WC padding on the main element ── */
  main {
    padding-bottom: 0 !important;
  }

  /* ── Single product — hide breadcrumb + reorder blocks ── */
  .single-product__meta-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .single-product__stock {
    margin-left: auto;
    text-align: right;
  }

  .single-product .page-banner {
    display: none;
  }

  .woocommerce div.product {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 0 24px;
  }

  /* Dissolve the summary wrapper so its children join the flex flow */
  .woocommerce div.product .entry-summary {
    display: contents;
  }

  /* Explicit order: title → meta → gallery → price → vat → description → colours → cart → extras → related */
  .woocommerce div.product .product_title {
    order: 1;
    padding-top: 20px;
    margin-bottom: 6px;
  }

  .woocommerce div.product .single-product__meta-row {
    order: 2;
  }

  .woocommerce div.product .product-gallery {
    order: 3;
    margin-top: 16px;
  }

  .woocommerce div.product .woocommerce-product-rating {
    order: 4;
  }

  .woocommerce div.product .price {
    order: 5;
    margin-top: 16px;
  }

  .woocommerce div.product .single-product__vat {
    order: 6;
  }

  .woocommerce div.product .woocommerce-product-details__short-description {
    order: 7;
    margin-top: 12px;
  }

  .woocommerce div.product .entry-summary .product-colours {
    order: 8;
  }

  .woocommerce div.product .cart {
    order: 9;
  }

  .woocommerce div.product .single-product__extra-buttons {
    order: 10;
  }

  .woocommerce div.product .product-ctas {
    order: 11;
  }

  .woocommerce div.product .product-additional-info {
    order: 12;
  }

  .woocommerce div.product .product_meta {
    order: 13;
  }

  .woocommerce div.product .related.products {
    order: 14;
  }

  /* ── Cart — heading centred + container padding ── */
  .cart-main__heading {
    text-align: center;
  }

  .cart-main {
    padding: 0 16px;
  }

  /* Actions row — block td so .cart-actions controls alignment */
  .cart-table td.actions {
    display: block;
    padding: 16px 0;
    border-bottom: none;
  }

  .cart-table td.actions::before {
    display: none;
  }

  .cart-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }

  .cart-actions .btn {
    flex: 1;
    justify-content: center;
  }

  /* Paint colour row — centred */
  .paint-colour-row td {
    display: block !important;
    text-align: center !important;
    padding-top: 20px !important;
  }

  .colour-chart-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .paint-colour-row td::before {
    display: none;
  }

  .paint-colour-selector {
    text-align: center;
    border-top: none;
    padding-top: 0;
  }

  .paint-colour-selector__label {
    display: block;
    text-align: center;
  }

  .paint-colour-selector__field {
    display: flex;
    justify-content: center;
  }

  .paint-colour-selector__select {
    max-width: 100%;
  }

  /* ── Cart table — mobile layout ── */
  /* Reset the existing data-title label pattern on product rows */
  .cart-table tr.woocommerce-cart-form__cart-item td {
    display: block;
    padding: 0;
    border-bottom: none;
  }

  .cart-table tr.woocommerce-cart-form__cart-item td::before {
    display: none;
  }

  /* Each product row is a flex row: [name] [qty] [×] then [price] below */
  .cart-table tr.woocommerce-cart-form__cart-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
  }

  .cart-table tr.woocommerce-cart-form__cart-item .product-name {
    flex: 1;
    min-width: 0;
  }

  .cart-table tr.woocommerce-cart-form__cart-item .product-name a {
    font-size: 0.95rem;
  }

  /* Price: full-width second line under name */
  .cart-table tr.woocommerce-cart-form__cart-item .product-price {
    flex: 0 0 100%;
    order: 5;
    padding-top: 4px;
  }

  .cart-table tr.woocommerce-cart-form__cart-item .product-price .amount {
    color: var(--orange);
    font-weight: 700;
    font-size: 1rem;
  }

  .cart-table tr.woocommerce-cart-form__cart-item .product-price .cart-vat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
  }

  /* Quantity stepper — right of name */
  .cart-table tr.woocommerce-cart-form__cart-item .product-quantity {
    flex-shrink: 0;
    width: auto;
    padding-left: 12px;
  }

  /* Remove × — far right */
  .cart-table tr.woocommerce-cart-form__cart-item .product-remove {
    flex-shrink: 0;
    padding-left: 12px;
  }

  /* Hide subtotal column (price shown under name instead) */
  .cart-table tr.woocommerce-cart-form__cart-item .product-subtotal {
    display: none;
  }

  /* ── Cart — single column, totals below table ── */
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 0 40px;
  }

  .cart-main {
    order: 1;
  }

  .cart-sidebar {
    order: 2;
    position: static;
  }

  .cart_totals {
    padding-bottom: 90px;
  }

  /* ── Tighter vertical spacing on mobile ── */
  .intro-section {
    padding: 32px 0 0;
  }

  .category-tabs-section {
    padding-bottom: 28px;
  }

  .popular-products-section {
    padding: 36px 0;
  }

  .cta-banner {
    padding: 40px 0;
  }

  .services-section {
    padding: 40px 0 48px;
  }

  .projects-section {
    padding: 40px 0 36px;
  }

  .bespoke-section {
    padding: 40px 0 52px;
  }

  .why-us-section {
    padding: 36px 0 32px;
  }

  .cat-faqs {
    padding: 36px 0 40px;
  }

  .install-split {
    padding: 40px 0;
  }

  .blog-archive-section {
    padding: 32px 0 48px;
  }

  .blog-archive__divider {
    margin-bottom: 0;
  }

  .single-blog-post {
    padding: 32px 0 36px;
  }

  .related-articles-section {
    padding: 32px 0 48px;
  }

  .split-section {
    grid-template-columns: 1fr;
  }

  .split-section__images {
    min-height: 300px;
  }

  .bespoke-section__inner {
    grid-template-columns: 1fr;
  }

  .bespoke-section__images {
    padding-right: clamp(16px, 4vw, 40px);
  }

  .woocommerce div.product {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .projects-archive__grid {
    grid-template-columns: 1fr;
  }

  .contact-details__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .blog-archive__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-item {
    flex: 0 0 calc(50% - 16px);
  }

  .project-gallery {
    gap: 12px;
  }

  .project-gallery__btn {
    width: 40px;
    height: 40px;
  }

  .project-gallery__btn svg {
    width: 18px;
    height: 18px;
  }

  .cta-banner {
    background-image: url("../images/need-a-quote-mobile.png");
  }

  /* Topbar */
  .topbar__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 8px 10px;
    gap: 8px;
  }

  .topbar__centre {
    display: none;
  }

  .topbar__left {
    grid-column: 1;
    grid-row: 1;
  }

  .topbar__right {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  /* Header — two rows: [logo | actions] then [search full width] */
  .header-main__inner {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 12px 0;
    padding-block: 12px;
  }

  .header-logo {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    gap: 16px;
  }

  .header-search {
    grid-column: 1/-1;
    grid-row: 2;
    display: flex;
    width: 100%;
  }

  .header-search__form {
    width: 100%;
  }

  /* Show all actions on mobile — stacked icon + label */
  .header-action--account {
    display: flex;
  }

  .basket-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-body);
    align-items: center;
    justify-content: center;
    line-height: 1;
  }

  .basket-badge.is-visible {
    display: flex !important;
  }

  .mini-cart {
    display: none !important;
  }

  .header-action {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .header-action__labels {
    align-items: center;
  }

  .header-action__sub {
    display: none;
  }

  /* Hide Get A Quote pill — no room on mobile */
  .header-quote-btn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  /* Mobile toggle icon circle */
  .mobile-toggle__icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid var(--orange);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

  .mobile-toggle__bar {
    width: 18px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    display: block;
    transition: transform var(--transition), opacity var(--transition);
  }

  .mobile-toggle__label {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
  }

  /* Nav — hidden on mobile (replaced by custom drilldown) */
  .site-nav {
    display: none !important;
  }

  /* ── Mobile drilldown nav ── */
  .mobile-nav {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
  }

  .mobile-nav.is-open {
    pointer-events: auto;
  }

  .mobile-nav__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
  }

  .mobile-nav.is-open .mobile-nav__overlay {
    opacity: 1;
  }

  /* Drawer slides in from the RIGHT */
  .mobile-nav__drawer {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    max-width: 480px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: -4px 0 32px rgba(0, 0, 0, 0.12);
  }

  .mobile-nav.is-open .mobile-nav__drawer {
    transform: translateX(0);
  }

  /* Top bar — close button only, aligned right */
  .mobile-nav__top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 16px 20px;
    flex-shrink: 0;
  }

  .mobile-nav__close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--navy);
    cursor: pointer;
    border-radius: 50%;
    transition: background var(--transition);
  }

  .mobile-nav__close:hover {
    background: var(--light);
  }

  .mobile-nav__close svg {
    width: 22px;
    height: 22px;
  }

  /* Drilldown container */
  .mobile-nav__drilldown {
    flex: 1;
    position: relative;
    overflow: hidden;
  }

  /* Panels */
  .mobile-nav__panel {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
  }

  .mobile-nav__panel.is-active {
    transform: translateX(0);
  }

  .mobile-nav__panel.is-previous {
    transform: translateX(-100%);
  }

  /* Panel header (back button row) */
  .mobile-nav__panel-header {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    gap: 12px;
  }

  .mobile-nav__back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: var(--navy);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 4px 0;
  }

  .mobile-nav__back svg {
    width: 18px;
    height: 18px;
  }

  .mobile-nav__panel-title {
    flex: 1;
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* List */
  .mobile-nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-nav__item {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--border);
  }

  .mobile-nav__link {
    flex: 1;
    padding: 18px 24px;
    color: var(--navy);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    line-height: 1.3;
    transition: color var(--transition);
  }

  .mobile-nav__link:hover,
.mobile-nav__link:active {
    color: var(--orange);
  }

  .mobile-nav__item--view-all .mobile-nav__link {
    color: var(--orange);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
  }

  .mobile-nav__drill {
    flex-shrink: 0;
    padding: 0 20px;
    background: none;
    border: none;
    border-left: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color var(--transition), background var(--transition);
  }

  .mobile-nav__drill svg {
    width: 18px;
    height: 18px;
  }

  .mobile-nav__drill:hover {
    color: var(--navy);
    background: var(--light);
  }

  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item + li.mega-menu-item {
    border-left: none;
  }

  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu .mega-menu-column {
    border-right: none;
  }

  .trust-bar {
    overflow: hidden;
  }

  .trust-bar__inner {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .trust-bar__item {
    grid-row: 1;
    grid-column: 1;
    justify-content: center;
    transform: translateX(110%);
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
  }

  .trust-bar__item.is-active {
    transform: translateX(0);
    z-index: 3;
  }

  .trust-bar__item.is-exiting {
    transform: translateX(-110%);
    z-index: 2;
  }

  .category-card {
    flex: 0 0 50%;
  }

  .product-card {
    flex: 0 0 calc(50% - 12px);
  }

  .project-card {
    flex: 0 0 calc(50% - 12px);
  }

  .why-us-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  /* Footer — logo full width, then 2-col for links + contact, accreditations full width */
  .footer-main__inner {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }

  .footer-brand {
    grid-column: 1/-1;
    text-align: left;
  }

  .footer-brand__logo {
    display: flex;
    justify-content: flex-start;
  }

  .footer-col--accreditations {
    grid-column: 1/-1;
    text-align: center;
  }

  .footer-newsletter__card {
    padding: 36px 24px 40px;
  }

  .footer-newsletter__card .newsletter-form {
    flex-direction: row;
  }

  .newsletter-form__btn {
    margin-left: 12px;
  }

  .blog-posts {
    grid-template-columns: 1fr 1fr;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
  }

  .cart-table thead {
    display: none;
  }

  .cart-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
  }

  .cart-table td::before {
    content: attr(data-title);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--navy);
  }
}
@media (max-width: 480px) {
  .blog-archive__grid {
    grid-template-columns: 1fr;
  }

  .trust-bar__inner {
    grid-template-columns: 1fr;
  }

  .category-card {
    flex: 0 0 50%;
  }

  .product-card {
    flex: 0 0 50%;
  }

  .project-card {
    flex: 0 0 calc(100% - 0px);
  }

  .why-us-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main__inner {
    grid-template-columns: 1fr 1fr;
  }

  .project-carousel {
    margin-inline: clamp(16px, 4vw, 40px);
    overflow: hidden;
  }

  .services-section__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .services-section__images {
    order: 2;
    padding-right: clamp(16px, 4vw, 40px);
  }

  .services-section__text {
    order: 1;
  }

  .install-split__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    direction: ltr;
  }

  .install-split--reversed .install-split__inner {
    direction: ltr;
  }

  .install-split {
    padding: 48px 0;
  }

  .install-split__images {
    grid-template-columns: 42% 56%;
  }

  .install-split__images-img:nth-child(2) {
    margin-top: 40px;
  }

  .install-process {
    padding: 56px 0;
  }

  .install-process__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }

  .blog-posts {
    grid-template-columns: 1fr;
  }

  .footer-newsletter {
    position: relative;
    top: -60px;
    padding-top: 0;
  }

  .why-us-section {
    padding: 36px 0 90px;
  }

  .why-us-section__heading {
    margin-bottom: 24px;
  }

  .footer-newsletter__card {
    padding: 28px 20px 32px;
    border-radius: 10px;
    text-align: center;
  }

  .footer-newsletter__card .newsletter-form {
    flex-direction: row;
    align-items: center;
  }

  .newsletter-form__input {
    font-size: 14px;
  }

  .newsletter-form__btn {
    flex-shrink: 0;
    margin-left: 10px;
  }

  .site-footer,
.footer-main {
    background: #293133;
  }

  .category-tabs {
    width: 100%;
  }

  .category-tab {
    flex: 1;
    padding: 12px 16px;
    font-size: 14px;
    text-align: center;
  }

  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }

  .intro-section__btns {
    flex-direction: column;
    align-items: center;
  }
}
