/* Audit-driven storefront rebuild. This layer owns WooCommerce layout geometry. */

:root {
  --shell: min(1180px, calc(100% - 48px));
  --ink: #16201c;
  --ink-soft: #526159;
  --green-950: #0d2a20;
  --green-900: #14392b;
  --green-700: #236c4b;
  --green-100: #eaf3ee;
  --amber: #b87518;
  --amber-soft: #fff6e6;
  --line: #d9e1dc;
  --line-strong: #bcc9c1;
  --surface: #fff;
  --surface-soft: #f5f7f6;
  --radius: 5px;
  --shadow: 0 12px 30px rgba(13, 42, 32, .08);
}

body { overflow-x: hidden; color: var(--ink); background: #fff; }
h1, h2, h3, h4 { text-wrap: balance; }
h1, h2, h3, h4, [id] { scroll-margin-top: 24px; }
p { text-wrap: pretty; }
a, button, input, select, textarea { touch-action: manipulation; }
.section-space { padding-block: 68px; }

.service-bar-inner { min-height: 34px; }
.site-header { box-shadow: 0 1px 0 rgba(13, 42, 32, .04); }
.header-main { min-height: 74px; grid-template-columns: minmax(240px, .8fr) minmax(320px, 1.25fr) auto; gap: 24px; }
.site-navigation { border-top-color: #e7ece9; }
.nav-inner { min-height: 44px; }
.site-navigation ul { gap: 24px; }
.site-navigation a { font-size: .86rem; }
.header-search { height: 44px; }
.header-search:focus-within { outline: 3px solid #e5a84d; outline-offset: 3px; }
.header-search:focus-within input,
.header-search:focus-within button { outline: 0; }
.header-search button { min-height: 44px; }
.header-actions { gap: 15px; }
.mobile-nav-actions { display: none; }

.home-hero { min-height: min(590px, calc(100vh - 112px)); }
.hero-content { padding-block: 66px; }
.hero-content h1 { max-width: 720px; font-size: 4.35rem; }
.hero-proof { margin-top: 42px; }

.category-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; border: 0; background: transparent; }
.category-tile,
.category-tile:last-child {
  grid-column: span 2;
  display: flex;
  min-width: 0;
  min-height: 420px;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.category-tile:nth-child(4),
.category-tile:nth-child(5) { grid-column: span 3; }
.category-tile:hover { border-color: #8eac9d; box-shadow: var(--shadow); color: var(--ink); }
.category-media { display: block; height: 190px; overflow: hidden; background: var(--surface-soft); }
.category-tile-image { display: block; width: 100%; height: 100%; padding: 16px; object-fit: contain; transition: transform .2s ease; }
.category-tile:hover .category-tile-image { transform: scale(1.025); }
.category-media-fallback { display: block; width: 100%; height: 100%; background: var(--green-100); }
.category-content { display: flex; min-width: 0; flex: 1; flex-direction: column; padding: 22px; }
.category-index { margin-bottom: 12px; letter-spacing: .06em; text-transform: uppercase; }
.category-tile h3 { font-size: 1.2rem; }
.category-tile p { max-width: 34ch; }
.category-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; color: var(--ink-soft); font-size: .78rem; }
.category-action .text-link { color: var(--green-700); font-size: .9rem; }

/* Project-led homepage routes */
.project-routes { padding-top: 0; }
.project-route-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.project-route {
  display: grid;
  min-width: 0;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
}
.project-route:hover { border-color: #8eac9d; box-shadow: var(--shadow); color: var(--ink); }
.project-route:focus-visible { outline: 3px solid #e5a84d; outline-offset: 3px; }
.project-route__media { display: block; aspect-ratio: 4 / 3; background: var(--surface-soft); overflow: hidden; }
.project-route__image { display: block; width: 100%; height: 100%; padding: 18px; object-fit: contain; }
.project-route__content { display: flex; min-width: 0; flex-direction: column; padding: 20px; }
.project-route__content h3 { margin-bottom: 9px; font-size: 1.12rem; }
.project-route__content p { margin-bottom: 18px; color: var(--ink-soft); font-size: .88rem; overflow-wrap: anywhere; }
.project-route__action { margin-top: auto; color: var(--green-700); font-size: .86rem; font-weight: 800; }

.project-collection { border-block: 1px solid var(--line); background: var(--surface-soft); }
.project-collection__heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 30px; }
.project-collection__heading > div { max-width: 720px; }
.project-collection__heading p:not(.eyebrow) { margin-bottom: 0; color: var(--ink-soft); }
.project-collection ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; padding-bottom: 0; }

.catalogue-operations { background: var(--green-950); color: #dfece5; }
.catalogue-operations h2,
.catalogue-operations h3 { color: #fff; }
.catalogue-operations .eyebrow { color: #acd0bc; }
.catalogue-operations__layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: 72px; }
.catalogue-operations__layout > div > p:not(.eyebrow) { max-width: 560px; }
.catalogue-operations__steps { margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.2); list-style: none; }
.catalogue-operations__steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding: 21px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.catalogue-operations__steps span { color: #acd0bc; font-size: .75rem; font-weight: 800; }
.catalogue-operations__steps h3 { margin-bottom: 5px; font-size: 1.08rem; }
.catalogue-operations__steps p { margin: 0; color: #dfece5; font-size: .9rem; }

/* Product archives and homepage merchandise */
.woocommerce .products,
.woocommerce-page .products { max-width: 100%; }
.featured-products .products { width: 100% !important; }
.woocommerce ul.products,
.woocommerce-page ul.products,
.woocommerce ul.products.columns-2,
.woocommerce ul.products.columns-3,
.woocommerce ul.products.columns-4 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: var(--shell);
  margin: 0 auto;
  padding: 0 0 72px;
  clear: both;
}
.featured-products ul.products { width: 100%; padding-bottom: 0; }
.woocommerce ul.products::before,
.woocommerce ul.products::after { content: none !important; display: none !important; }
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  display: flex;
  flex: none;
  flex-direction: column;
  min-width: 0;
  width: 100% !important;
  height: 100%;
  margin: 0 !important;
  padding: 0 0 18px;
  clear: none !important;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.woocommerce ul.products li.product:hover { border-color: #b6c7bd; box-shadow: var(--shadow); transform: translateY(-2px); }
.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
}
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
  display: block;
  width: 100% !important;
  height: 265px !important;
  margin: 0 0 18px !important;
  padding: 24px;
  object-fit: contain;
  background: var(--surface-soft);
  transform: none;
}
.woocommerce ul.products li.product:hover a img { transform: none; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box;
  min-height: 2.7em;
  margin: 0 0 10px;
  padding: 0 18px;
  overflow: hidden;
  color: var(--ink);
  font-size: 1.03rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.woocommerce ul.products li.product .price { display: block; margin: 0 0 8px; padding: 0 18px; color: var(--ink); font-size: 1.16rem; font-weight: 800; }
.product-delivery { min-height: 40px; margin: auto 18px 0; color: var(--ink-soft); font-size: .78rem; line-height: 1.45; }
.woocommerce ul.products li.product .button { align-self: stretch; width: auto; margin: 16px 18px 0; padding-inline: 16px; white-space: normal; }
.product-card-badges { top: 12px; left: 12px; right: 12px; }
.stock-badge, .trade-badge { padding: 6px 8px; box-shadow: 0 1px 2px rgba(13,42,32,.08); }

.woocommerce .woocommerce-products-header,
.shop-main > .page-title {
  width: var(--shell) !important;
  margin-inline: auto !important;
  padding-top: 42px;
}
.woocommerce .woocommerce-products-header__title,
.shop-main > .page-title { max-width: none; font-size: 3.2rem; }
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  margin-bottom: 30px;
  clear: both;
}
.shop-toolbar .woocommerce-result-count,
.shop-toolbar .woocommerce-ordering { float: none; width: auto; margin: 0; }
.shop-toolbar .woocommerce-result-count { color: var(--ink-soft); }
.shop-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  margin-bottom: 8px;
}
.shop-category-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
  background: #fff;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}
.shop-category-nav a:hover,
.shop-category-nav a[aria-current="page"] { border-color: var(--green-700); background: var(--green-100); color: var(--green-950); }
.shop-category-nav a span { min-width: 22px; padding: 2px 6px; border-radius: 999px; background: var(--surface-soft); color: var(--ink-soft); text-align: center; font-size: .72rem; }

.catalogue-filters { margin-top: 16px; margin-bottom: 18px; }
.catalogue-filter-disclosure { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-soft); }
.catalogue-filter-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 11px 14px;
  color: var(--ink);
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}
.catalogue-filter-disclosure summary::-webkit-details-marker { display: none; }
.catalogue-filter-disclosure summary::after { content: "+"; font-size: 1.15rem; font-weight: 500; }
.catalogue-filter-disclosure[open] summary { border-bottom: 1px solid var(--line); }
.catalogue-filter-disclosure[open] summary::after { content: "-"; }
.catalogue-filter-form {
  display: grid;
  grid-template-columns: minmax(170px, 1.2fr) repeat(2, minmax(130px, .75fr)) auto auto auto;
  align-items: end;
  gap: 14px;
  padding: 16px;
}
.catalogue-filter-form label { min-width: 0; color: var(--ink-soft); font-size: .78rem; font-weight: 750; }
.catalogue-filter-form select,
.catalogue-filter-form input[type="number"] {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin-top: 6px;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
}
.catalogue-filter-form .catalogue-filter-check { display: flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); font-size: .82rem; }
.catalogue-filter-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--green-700); }
.catalogue-filter-form .button { min-height: 44px; padding: 10px 16px; border-radius: 3px; background: var(--green-700); color: #fff; }
.catalogue-filter-form .button:hover { background: var(--green-950); color: #fff; }
.catalogue-active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; font-size: .8rem; }
.catalogue-active-filters > strong { margin-right: 2px; }
.catalogue-active-filters ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.catalogue-active-filters li { margin: 0; }
.catalogue-active-filters li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.catalogue-active-filters li a:hover { border-color: var(--green-700); background: var(--green-100); }
.catalogue-active-filters li a > span[aria-hidden="true"] { font-size: 1rem; line-height: 1; }
.catalogue-clear-filters { min-height: 36px; padding: 8px 4px; font-weight: 750; }
.product-card-sku { margin: 0 18px 7px; color: var(--ink-soft); font-size: .75rem; line-height: 1.3; }

/* Product detail layout */
.single-product .woocommerce-breadcrumb { padding-bottom: 18px; }
.woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(390px, .92fr) minmax(0, 1.08fr);
  grid-template-areas:
    "facts gallery"
    "purchase gallery"
    "assurance gallery"
    "specs specs"
    "care care"
    "notice notice"
    "tabs tabs"
    "related related";
  gap: 24px 54px;
  align-items: start;
  width: var(--shell);
  margin: 0 auto;
  padding: 30px 0 80px;
}
.woocommerce div.product::before,
.woocommerce div.product::after { content: none !important; display: none !important; }
.woocommerce div.product div.images { grid-area: gallery; float: none !important; width: 100% !important; margin: 0 !important; }
.woocommerce div.product .woocommerce-product-gallery { opacity: 1 !important; }
.woocommerce div.product div.summary { display: contents; float: none !important; width: 100% !important; margin: 0 !important; }
.product-facts { grid-area: facts; min-width: 0; padding-top: 6px; }
.product-purchase { grid-area: purchase; min-width: 0; }
.woocommerce-product-gallery__wrapper {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 100% !important;
  margin: 0 !important;
  transform: none !important;
}
.woocommerce-product-gallery__image {
  float: none !important;
  width: 100% !important;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  overflow: hidden;
}
.woocommerce-product-gallery__image:first-child { grid-column: 1 / -1; }
.woocommerce div.product div.images .woocommerce-product-gallery__image img { display: block; width: 100%; height: 500px; padding: 28px; border: 0; object-fit: contain; background: var(--surface-soft); }
.woocommerce div.product div.images .woocommerce-product-gallery__image img { filter: contrast(1.06); mix-blend-mode: multiply; }
.woocommerce div.product div.images .woocommerce-product-gallery__image:not(:first-child) img { height: 118px; padding: 10px; }
.woocommerce div.product div.images .woocommerce-product-gallery__image a { display: block; cursor: zoom-in; }
.woocommerce div.product div.images .zoomImg { display: none !important; }
.gallery-guidance { grid-column: 1 / -1; margin: 2px 0 0; color: var(--ink-soft); font-size: .8rem; }
.woocommerce div.product .product_title { max-width: 17ch; margin-bottom: 18px; font-size: 3rem; line-height: 1.08; }
.product-decision-sku { margin: -8px 0 10px; color: var(--ink-soft); font-size: .82rem; }
.woocommerce div.product p.price { margin-bottom: 22px; font-size: 1.7rem; }
.woocommerce-product-details__short-description { font-size: 1rem; line-height: 1.7; }
.woocommerce div.product div.summary > p.stock { display: none; }
.woocommerce div.product form.cart { align-items: stretch; margin: 26px 0; }
.woocommerce div.product form.cart .button { min-width: 170px; }
.product_meta { margin-top: 28px; }
.product-purchase-support { margin: -8px 0 24px; padding: 16px 18px; border-left: 3px solid var(--green-700); background: var(--green-100); }
.product-purchase-support p { margin: 0 0 9px; font-size: .9rem; }
.product-purchase-support > div { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.product-purchase-support a { font-size: .82rem; font-weight: 750; }
.buy-assurance {
  grid-area: assurance;
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  margin: 0;
  clear: both;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  overflow: hidden;
}
.buy-assurance > div { min-width: 0; padding: 16px 18px; border: 0; border-bottom: 1px solid var(--line); }
.buy-assurance > div:last-child { border-bottom: 0; }
.product-specifications { grid-area: specs; width: 100%; margin: 32px 0 0; clear: both; }
.product-specifications h2 { margin-bottom: 20px; }
.product-specifications table { table-layout: fixed; }
.product-specifications th { width: 30%; }
.product-care-note { grid-area: care; width: 100%; margin: 0; clear: both; padding: 18px 20px; border: 1px solid var(--line); background: var(--surface-soft); }
.product-care-note p { margin: 6px 0 0; color: var(--ink-soft); }
.compliance-caution { grid-area: notice; width: 100%; margin: 0 0 20px; clear: both; }
.woocommerce div.product .woocommerce-tabs { grid-area: tabs; width: 100%; margin: 0; clear: both; }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 860px; padding-top: 14px; }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 1.8rem; }
.woocommerce div.product .related.products { grid-area: related; width: 100%; margin: 8px 0 0; clear: both; }
.woocommerce div.product .related.products > h2 { margin: 0 0 26px; }
.woocommerce div.product .related.products ul.products { width: 100%; padding-bottom: 0; }

/* Basket, checkout and account */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce { max-width: 1080px; }
.woocommerce table.shop_table { overflow: hidden; background: #fff; }
.woocommerce table.shop_table thead { background: var(--surface-soft); }
.woocommerce-cart table.cart img { border-radius: 3px; background: var(--surface-soft); }
.woocommerce-cart .cart-collaterals { margin-top: 36px; }
.woocommerce-cart .cart-collaterals .cart_totals { float: none; width: min(100%, 480px); margin-left: auto; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-soft); }
.wc-block-cart__main { padding-right: 38px !important; }
.wc-block-cart__sidebar { align-self: start; padding: 24px !important; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-soft); }
.wc-block-cart__submit-button {
  min-height: 52px;
  margin-top: 18px;
  border-radius: 4px;
  background: var(--green-700);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
}
.wc-block-cart__submit-button:hover { background: var(--green-950); color: #fff !important; }
.wc-block-checkout__sidebar { border-radius: var(--radius); }
.wc-block-components-checkout-place-order-button:not(:disabled) { background: var(--green-700); color: #fff; }
.wc-block-components-checkout-place-order-button:not(:disabled):hover { background: var(--green-950); color: #fff; }
.transaction-reassurance {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, auto);
  align-items: center;
  gap: 12px 24px;
  margin-bottom: 26px;
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green-700);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-size: .82rem;
}
.transaction-reassurance strong { color: var(--ink); font-size: .95rem; }
.transaction-reassurance a { font-weight: 750; }
.woocommerce-message .button { background: var(--green-700); color: #fff; }
.woocommerce-message .button:hover { background: var(--green-950); color: #fff; }
.woocommerce-checkout #customer_details { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.woocommerce-checkout #customer_details::before,
.woocommerce-checkout #customer_details::after { content: none; }
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 { float: none; width: 100%; }
.woocommerce-checkout #order_review { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.woocommerce-checkout #payment { background: var(--surface-soft); }
.woocommerce-checkout #payment div.payment_box { background: #e9efeb; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #e9efeb; }
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register { border-color: var(--line); border-radius: var(--radius); }
.woocommerce-account .woocommerce-MyAccount-navigation { width: 25%; }
.woocommerce-account .woocommerce-MyAccount-content { width: 70%; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; border: 1px solid var(--line); list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 12px 15px; border-bottom: 1px solid var(--line); text-decoration: none; }

.jjcare-enquiry-form { max-width: 860px; padding: 30px; }
.footer-grid { gap: 44px; padding-block: 54px 40px; }
.footer-location { margin-top: 14px; color: #c9d9d0; font-size: .86rem; font-weight: 700; }

/* Project list and quotation workflow */
.header-project,
.header-compare { white-space: nowrap; }
.header-actions > a { display: inline-flex; min-height: 44px; align-items: center; }
.header-project-count,
.header-compare-count {
  display: inline-grid;
  min-width: 22px;
  min-height: 22px;
  place-items: center;
  padding: 1px 5px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-950);
  font-size: .72rem;
  font-weight: 800;
}
.project-actions { display: flex; align-items: center; gap: 10px; }
.project-actions--card { flex-wrap: wrap; margin: 10px 18px 0; }
.woocommerce ul.products li.product .project-actions--card .button { flex: 1 1 135px; min-height: 44px; margin: 0; }
.project-actions--single { flex-wrap: wrap; margin: -10px 0 25px; }
.project-action[aria-pressed="true"] { border-color: var(--green-700); background: var(--green-100); color: var(--green-950); }
.project-compare-action { display: inline-flex; min-height: 44px; align-items: center; padding: 8px 10px; font-size: .85rem; font-weight: 750; }
.project-compare-action[aria-pressed="true"] { color: var(--ink-soft); }

.project-list-page { padding-bottom: 76px; }
.project-list-heading { padding-block: 52px 34px; }
.project-list-heading h1 { margin-bottom: 14px; font-size: 3.7rem; }
.project-list-heading > p:not(.eyebrow) { max-width: 760px; color: var(--ink-soft); }
.project-heading-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.project-heading-actions .button { min-height: 44px; }
.project-heading-actions a,
.project-product__facts h3 a,
.comparison-table td a { display: inline-flex; min-height: 44px; align-items: center; }
.project-list-section,
.project-quote-section { padding-block: 34px 54px; }
.project-compare-section { padding-block: 48px; border-block: 1px solid var(--line); background: var(--surface-soft); }
.project-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.project-section-heading h2 { margin: 0; font-size: 1.75rem; }
.project-section-heading > p { max-width: 650px; margin: 0; color: var(--ink-soft); }
.project-section-heading h2 span { color: var(--ink-soft); font-size: .9rem; }
.project-empty { margin: 0; padding: 28px; border: 1px dashed var(--line-strong); background: #fff; color: var(--ink-soft); }
.project-empty.is-hidden { display: none; }
.project-product-list { border-top: 1px solid var(--line); }
.project-product {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 120px auto;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.project-product[hidden] { display: none; }
.project-product__image { display: block; width: 96px; height: 96px; border: 1px solid var(--line); background: var(--surface-soft); }
.project-product__image img { width: 100%; height: 100%; padding: 7px; object-fit: contain; }
.project-product__facts { min-width: 0; }
.project-product__facts h3 { margin-bottom: 6px; font-size: 1.05rem; }
.project-product__facts p { margin: 3px 0; color: var(--ink-soft); font-size: .84rem; }
.project-quantity { font-size: .8rem; font-weight: 750; }
.project-quantity input { width: 100%; min-height: 44px; margin-top: 5px; }
.project-remove,
.comparison-table button { min-height: 44px; padding: 8px 10px; border: 0; background: transparent; color: #8a2f2f; font-weight: 750; text-decoration: underline; cursor: pointer; }
.comparison-scroll { max-width: 100%; overflow-x: auto; outline-offset: 4px; }
.comparison-table { width: 100%; min-width: 720px; border-collapse: collapse; background: #fff; }
.comparison-table th,
.comparison-table td { min-width: 160px; padding: 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.comparison-table th:first-child { min-width: 145px; width: 145px; background: var(--surface-soft); }
.comparison-table thead th { background: #fff; }
.comparison-table thead a { display: block; min-height: 44px; font-weight: 800; }
.comparison-table thead button { display: block; margin-top: 4px; padding-left: 0; }
.comparison-unavailable { color: var(--ink-soft); }
.project-notice { margin-bottom: 16px; padding: 18px 20px; border-left: 4px solid var(--green-700); background: var(--green-100); }
.project-notice--error { border-left-color: #9b3434; background: #fff0f0; }
.project-notice p { margin: 4px 0 0; }
.project-quote-form { max-width: 900px; padding: 28px; border: 1px solid var(--line); background: var(--surface-soft); }
.project-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.project-quote-form > label:not(.project-consent) { display: block; margin-top: 18px; }
.project-quote-form label { font-size: .86rem; font-weight: 750; }
.project-quote-form input:not([type="checkbox"]),
.project-quote-form textarea { width: 100%; min-height: 44px; margin-top: 6px; }
.project-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; font-weight: 500 !important; line-height: 1.55; }
.project-consent input { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 1px; }
.project-quote-form > .button { min-height: 48px; margin-top: 22px; }
.project-quote-form > .button:disabled { opacity: .55; cursor: not-allowed; }
.project-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.project-form-status { min-height: 1.5em; margin: 10px 0 0; }

.product-decision-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 4px; padding-block: 12px; border-block: 1px solid var(--line); color: var(--ink-soft); font-size: .84rem; }
.product-decision-facts span { display: inline-flex; gap: 5px; align-items: center; }
.product-decision-facts .stock { margin: 0; color: var(--green-700); font-weight: 800; }
.mobile-purchase-bar { display: none; }
.analytics-consent { position: fixed; z-index: 9999; right: 18px; bottom: 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; width: min(660px, calc(100% - 36px)); padding: 20px; border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; box-shadow: 0 18px 48px rgba(20, 32, 26, .2); }
.analytics-consent strong { display: block; margin-bottom: 4px; }
.analytics-consent p { margin: 0; color: var(--ink-soft); font-size: .86rem; }
.analytics-consent > div:last-child { display: flex; align-items: center; gap: 8px; }
.analytics-consent .button { min-height: 44px; white-space: nowrap; }
.analytics-consent.is-footer-visible { display: none; }

@media (max-width: 1080px) {
  :root { --shell: min(960px, calc(100% - 36px)); }
  .header-main { grid-template-columns: minmax(210px, .72fr) minmax(280px, 1.2fr) auto; gap: 16px; }
  .site-navigation ul { gap: 17px; }
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce ul.products.columns-2,
  .woocommerce ul.products.columns-3,
  .woocommerce ul.products.columns-4 { gap: 18px; }
  .woocommerce ul.products li.product a img,
  .woocommerce-page ul.products li.product a img { height: 235px !important; }
  .woocommerce div.product { grid-template-columns: minmax(0, 1fr) minmax(350px, .9fr); gap: 22px 38px; }
  .woocommerce div.product div.images .woocommerce-product-gallery__image img { height: 430px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-tile,
  .category-tile:last-child,
  .category-tile:nth-child(4),
  .category-tile:nth-child(5) { grid-column: auto; }
  .project-route-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-collection ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  :root { --shell: min(760px, calc(100% - 28px)); }
  .section-space { padding-block: 54px; }
  .header-main { grid-template-columns: 1fr auto auto; min-height: 70px; gap: 10px; padding-block: 10px; }
  .header-search { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .header-actions { display: flex; grid-column: 2; grid-row: 1; }
  .header-actions > a:not(.header-cart) { display: none; }
  .header-cart { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
  .nav-toggle { display: inline-flex; grid-column: 3; grid-row: 1; min-width: 64px; }
  .site-navigation { display: none; }
  .site-navigation.is-open { display: block; }
  .nav-inner, .site-navigation ul { display: block; }
  .site-navigation ul { padding-block: 8px; }
  .site-navigation li { border-bottom: 1px solid var(--line); }
  .site-navigation a { display: block; padding: 12px 2px; }
  .mobile-nav-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); }
  .mobile-nav-actions a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); background: var(--surface-soft); font-weight: 750; }
  .mobile-nav-actions span { min-width: 22px; padding: 2px 6px; border-radius: 999px; background: #fff; text-align: center; font-size: .75rem; }
  .nav-support { padding: 13px 0 17px !important; }
  .home-hero { min-height: 560px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-tile,
  .category-tile:last-child { min-height: 400px; }
  .catalogue-operations__layout { grid-template-columns: 1fr; gap: 38px; }
  .catalogue-filter-form { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
  .catalogue-filter-form .button { width: 100%; }
  .transaction-reassurance { grid-template-columns: 1fr 1fr; }
  .transaction-reassurance strong { grid-column: 1 / -1; }
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce ul.products.columns-2,
  .woocommerce ul.products.columns-3,
  .woocommerce ul.products.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .woocommerce ul.products li.product a img,
  .woocommerce-page ul.products li.product a img { height: 250px !important; }
  .woocommerce div.product { grid-template-columns: 1fr; grid-template-areas: "facts" "gallery" "purchase" "assurance" "specs" "care" "notice" "tabs" "related"; gap: 24px; padding-top: 22px; }
  .woocommerce div.product div.images .woocommerce-product-gallery__image img { height: min(70vw, 560px); }
  .buy-assurance { grid-template-columns: repeat(3, 1fr); }
  .buy-assurance > div { border-right: 1px solid var(--line); border-bottom: 0; }
  .buy-assurance > div:last-child { border-right: 0; }
  .woocommerce-checkout #customer_details { grid-template-columns: 1fr; gap: 10px; }
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content { float: none; width: 100%; }
  .woocommerce-account .woocommerce-MyAccount-navigation { margin-bottom: 28px; }
}

@media (max-width: 767px) {
  body.single-product { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  .mobile-purchase-bar { position: fixed; z-index: 1000; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 70px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-strong); background: #fff; box-shadow: 0 -8px 24px rgba(20, 32, 26, .14); transition: transform .18s ease; }
  .mobile-purchase-bar[hidden],
  .mobile-purchase-bar.is-original-visible,
  .mobile-purchase-bar.is-footer-visible,
  .mobile-purchase-bar.is-notice-visible { display: none; }
  .mobile-purchase-bar > div { min-width: 0; }
  .mobile-purchase-bar span { display: block; color: var(--ink-soft); font-size: .72rem; }
  .mobile-purchase-bar strong { display: block; overflow: hidden; font-size: 1rem; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-purchase-bar .button { min-height: 46px; white-space: nowrap; }
}

@media (max-width: 560px) {
  :root { --shell: min(520px, calc(100% - 24px)); }
  .header-main { width: calc(100% - 24px); max-width: calc(100vw - 24px); grid-template-columns: minmax(0, 1fr) auto auto; }
  .header-main > *,
  .header-search,
  .header-search input { min-width: 0; }
  .header-search { max-width: 100%; }
  .service-bar-benefits { gap: 8px; }
  .service-bar-benefits b:nth-of-type(2),
  .service-bar-benefits i:nth-of-type(2) { display: none; }
  .brand { gap: 9px; }
  .brand strong { font-size: .92rem; }
  .brand small { display: none; }
  .header-actions { gap: 8px; }
  .header-cart { font-size: .84rem !important; }
  .home-hero { min-height: 0; background-position: 59% center; }
  .hero-content { padding-block: 38px; }
  .hero-content h1 { font-size: 3.2rem; }
  .woocommerce .woocommerce-products-header__title,
  .shop-main > .page-title { font-size: 2.4rem; }
  .hero-actions .button { width: 100%; }
  .hero-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin-top: 24px; padding-top: 16px; }
  .category-grid { grid-template-columns: 1fr; }
  .category-tile,
  .category-tile:last-child { min-height: 0; }
  .category-media { height: 180px; }
  .category-content { min-height: 205px; }
  .category-action { align-items: flex-start; flex-direction: column; gap: 4px; }
  .project-route-grid { grid-template-columns: 1fr; }
  .project-route { grid-template-columns: minmax(112px, 36%) minmax(0, 1fr); grid-template-rows: 1fr; }
  .project-route__media { height: 100%; aspect-ratio: auto; }
  .project-route__image { padding: 10px; }
  .project-route__content { padding: 16px; }
  .project-route__content .category-index { margin-bottom: 7px; }
  .project-route__content p { margin-bottom: 12px; }
  .project-collection__heading { align-items: stretch; flex-direction: column; gap: 18px; }
  .project-collection__heading .button { align-self: flex-start; }
  .project-collection ul.products { grid-template-columns: 1fr; }
  .catalogue-operations__layout { gap: 30px; }
  .catalogue-operations__steps li { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
  .shop-category-nav { flex-wrap: nowrap; width: 100%; padding: 0 12px 6px; overflow-x: auto; scrollbar-width: thin; }
  .shop-category-nav a { flex: 0 0 auto; }
  .catalogue-filters { margin-top: 12px; margin-bottom: 14px; }
  .catalogue-filter-form { grid-template-columns: minmax(0, 1fr); gap: 11px; padding: 13px; }
  .catalogue-filter-form select,
  .catalogue-filter-form input[type="number"],
  .catalogue-filter-form .catalogue-filter-check,
  .catalogue-filter-form .button { min-height: 44px; }
  .catalogue-active-filters { align-items: stretch; }
  .catalogue-active-filters > strong { width: 100%; }
  .catalogue-active-filters ul { width: 100%; }
  .catalogue-active-filters li a,
  .catalogue-clear-filters { min-height: 44px; }
  .shop-toolbar { align-items: stretch; flex-direction: column; margin-top: 8px; margin-bottom: 24px; }
  .shop-toolbar .woocommerce-result-count,
  .shop-toolbar .woocommerce-ordering { width: 100%; }
  .shop-toolbar .woocommerce-ordering select { width: 100%; }
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce ul.products.columns-2,
  .woocommerce ul.products.columns-3,
  .woocommerce ul.products.columns-4 { grid-template-columns: 1fr; gap: 18px; padding-bottom: 54px; }
  .woocommerce ul.products li.product a img,
  .woocommerce-page ul.products li.product a img { height: 280px !important; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: auto; font-size: 1.06rem; }
  .woocommerce div.product .product_title { max-width: none; font-size: 2.2rem; }
  body.single-product { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  .mobile-purchase-bar { position: fixed; z-index: 1000; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 70px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-strong); background: #fff; box-shadow: 0 -8px 24px rgba(20, 32, 26, .14); transition: transform .18s ease; }
  .mobile-purchase-bar[hidden],
  .mobile-purchase-bar.is-original-visible,
  .mobile-purchase-bar.is-footer-visible,
  .mobile-purchase-bar.is-notice-visible { display: none; }
  .mobile-purchase-bar > div { min-width: 0; }
  .mobile-purchase-bar span { display: block; color: var(--ink-soft); font-size: .72rem; }
  .mobile-purchase-bar strong { display: block; overflow: hidden; font-size: 1rem; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-purchase-bar .button { min-height: 46px; white-space: nowrap; }
  .analytics-consent,
  body.single-product .analytics-consent { position: static; grid-template-columns: 1fr; gap: 14px; width: var(--shell); margin: 26px auto; padding: 16px; }
  .analytics-consent.is-footer-visible { display: grid; }
  .analytics-consent > div:last-child { align-items: stretch; flex-direction: column; }
  .analytics-consent .button { width: 100%; }
  .woocommerce div.product div.images .woocommerce-product-gallery__image img { height: calc(100vw - 48px); max-height: 460px; padding: 18px; }
  .woocommerce div.product div.images .woocommerce-product-gallery__image:not(:first-child) img { height: 86px; padding: 7px; }
  .buy-assurance { grid-template-columns: 1fr; }
  .buy-assurance > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .product-specifications table,
  .product-specifications tbody,
  .product-specifications tr,
  .product-specifications th,
  .product-specifications td { display: block; width: 100%; }
  .product-specifications th { border-bottom: 0; }
  .product-specifications td { margin-bottom: 10px; }
  .woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; overflow-x: auto; }
  .woocommerce div.product .woocommerce-tabs ul.tabs li { flex: 0 0 auto; }
  .woocommerce-cart .cart-collaterals .cart_totals,
  .woocommerce-checkout #order_review { padding: 18px; }
  .wc-block-cart__main { padding-right: 0 !important; }
  .wc-block-cart__sidebar { padding: 18px !important; }
  .wc-block-cart__submit-container--sticky { position: static !important; }
  .transaction-reassurance { grid-template-columns: 1fr; gap: 8px; padding: 16px; }
  .transaction-reassurance strong { grid-column: auto; }
  .jjcare-enquiry-form { padding: 20px; }
  .header-project { font-size: .8rem !important; }
  .header-project-count { min-width: 20px; min-height: 20px; }
  .header-actions .header-action-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .header-cart .header-action-label { position: static; width: auto; height: auto; padding: 0; margin: 0; overflow: visible; clip: auto; white-space: nowrap; }
  .project-list-heading { padding-block: 38px 24px; }
  .project-list-heading h1 { font-size: 2.5rem; }
  .project-heading-actions { align-items: stretch; flex-direction: column; }
  .project-heading-actions .button { width: 100%; }
  .project-section-heading { align-items: stretch; flex-direction: column; gap: 8px; }
  .project-product { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
  .project-product__image { width: 76px; height: 76px; }
  .project-quantity { grid-column: 1 / 2; }
  .project-remove { grid-column: 2; justify-self: start; }
  .project-form-grid { grid-template-columns: 1fr; gap: 13px; }
  .project-quote-form { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .woocommerce ul.products li.product { transform: none !important; }
  .category-tile-image { transform: none !important; }
}

.mobile-purchase-bar .amount,
.mobile-purchase-bar .woocommerce-Price-currencySymbol { display: inline !important; }
.mobile-purchase-bar .button { border-color: var(--green-700) !important; background: var(--green-700) !important; color: #fff !important; }

@media print {
  @page { size: landscape; margin: 12mm; }
  .service-bar,
  .site-header,
  .site-footer,
  .project-heading-actions,
  .project-remove,
  .comparison-table button,
  .project-quote-section { display: none !important; }
  .project-list-page { padding: 0; }
  .project-list-heading,
  .project-list-section,
  .project-compare-section { width: 100%; padding: 16px 0; }
  .comparison-scroll { overflow: visible; }
  .comparison-table { width: 100%; min-width: 0; table-layout: fixed; font-size: 8pt; }
  .comparison-table th,
  .comparison-table td { width: auto; min-width: 0; padding: 5px; white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
  .comparison-table th:first-child { width: 18%; min-width: 0; }
  .comparison-table thead a { min-height: 0; }
  .project-product { break-inside: avoid; }
}
