/*
Theme Name: Mirror Edge Storefront
Theme URI: https://www.mirroredgenetworks.com/
Author: Mirror Edge Networks
Description: A modern, quote-led WooCommerce theme for luxury home cinema, hi-fi and design services.
Version: 1.0.18
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: mirror-edge
*/

:root {
  --ink: #0b0d0e;
  --ink-soft: #151819;
  --paper: #f4f0e7;
  --paper-bright: #f8f7f3;
  --white: #fff;
  --muted: #a8aaa7;
  --muted-dark: #656966;
  --rule: #2a2d2f;
  --yellow: #ffd400;
  --yellow-dark: #d5b200;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --content: 1240px;
  --pad: clamp(1.25rem, 4vw, 4rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-bright);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.site-shell { min-height: 100vh; }
.site-width { width: min(100%, var(--content)); margin-inline: auto; padding-inline: var(--pad); }
.eyebrow { margin: 0 0 1rem; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow--yellow { color: var(--yellow); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; line-height: .98; }
h1 { font-size: clamp(3.3rem, 8.5vw, 8rem); }
h2 { font-size: clamp(2.6rem, 5.5vw, 5.4rem); }
h3 { line-height: 1.2; }

.site-header {
  position: relative; z-index: 20; color: var(--paper); background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.site-header--solid { position: relative; color: var(--paper); background: var(--ink); }
.header-inner.site-width { width: min(100%, 1680px); }
.header-inner { height: 104px; display: grid; grid-template-columns: max-content minmax(0, 1fr) 250px; align-items: center; gap: 1.1rem; }
.brand { display: inline-flex; min-width: max-content; align-items: center; flex-shrink: 0; gap: .8rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand-copy { display: grid; min-width: max-content; line-height: 1.05; font-size: .9rem; text-transform: uppercase; white-space: nowrap; }
.brand-copy small { margin-top: .26rem; color: var(--muted); font-size: .58rem; letter-spacing: .18em; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(.75rem, 1.45vw, 1.5rem); }
.primary-nav a { display: flex; min-height: 48px; align-items: center; justify-content: center; font-size: .78rem; font-weight: 650; letter-spacing: .08em; line-height: 1.35; text-align: center; text-transform: uppercase; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--yellow); }
.header-actions { display: grid; grid-template-columns: minmax(0, 1fr) 36px; grid-template-areas: "quote cart" "search search"; gap: .38rem; align-items: stretch; }
.header-quote { grid-area: quote; }
.header-cart { position: relative; grid-area: cart; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 3px; color: var(--paper); }
.header-cart:hover, .header-cart:focus-visible { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }
.header-cart svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { position: absolute; top: -7px; right: -7px; display: grid; min-width: 20px; height: 20px; place-items: center; padding: 0 4px; border: 2px solid var(--ink); border-radius: 99px; color: #fff; background: #d62424; font-size: .62rem; font-weight: 800; line-height: 1; }
.header-search { position: relative; grid-area: search; display: grid; grid-template-columns: minmax(0, 1fr) 34px; height: 30px; margin: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 3px; background: rgba(255,255,255,.06); }
.header-search input[type="search"] { min-width: 0; padding: 0 .65rem; border: 0; outline: 0; color: var(--paper); background: transparent; font-size: .68rem; }
.header-search input[type="search"]::placeholder { color: #aaa8a1; }
.header-search input[type="search"]:focus { box-shadow: inset 0 -2px var(--yellow); }
.site-header .header-search button,
.woocommerce .site-header .header-search button {
  width: 34px !important; height: 30px !important; min-height: 30px !important;
  padding: 0 !important; border: 0; border-left: 1px solid rgba(255,255,255,.22);
  border-radius: 0; color: var(--paper); background: transparent;
  font-size: 1rem; letter-spacing: 0;
}
.header-search button:hover { color: var(--ink); background: var(--yellow); transform: none; }
.site-header .header-actions > .button,
.woocommerce .site-header .header-actions > .button {
  display: flex !important; align-items: center !important; justify-content: center !important;
  height: 36px !important; min-height: 36px !important; margin: 0 !important;
  padding: 0 .8rem !important; border-color: var(--yellow) !important;
  color: var(--ink) !important; background: var(--yellow) !important;
  font-size: .62rem !important; letter-spacing: .1em !important; line-height: 1 !important; white-space: nowrap;
}
.header-search-results {
  position: absolute; top: calc(100% + 7px); right: -1px; z-index: 40;
  width: min(360px, calc(100vw - 2.5rem)); padding: .35rem;
  border: 1px solid #d4d1c9; border-radius: 3px; color: var(--ink);
  background: var(--paper-bright); box-shadow: 0 18px 42px rgba(0,0,0,.24);
}
.header-search-results[hidden] { display: none; }
.header-search-result { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: .7rem; align-items: center; padding: .5rem; border-radius: 2px; }
.header-search-result + .header-search-result { border-top: 1px solid #dedbd3; }
.header-search-result:hover, .header-search-result.is-active, .header-search-result:focus-visible { background: #ece9e1; outline: none; }
.header-search-result img { width: 48px; height: 48px; padding: 4px; object-fit: contain; background: #fff; }
.header-search-result strong { display: block; font-family: var(--serif); font-size: .92rem; font-weight: 400; line-height: 1.15; }
.header-search-result small { display: block; margin-top: .18rem; color: var(--muted-dark); font-size: .61rem; line-height: 1.2; }
.header-search-message { margin: 0; padding: .65rem .7rem; color: var(--muted-dark); font-size: .7rem; }
.site-header .header-actions > .button:hover,
.woocommerce .site-header .header-actions > .button:hover {
  border-color: var(--paper) !important; background: var(--paper) !important;
}
.menu-toggle { grid-area: menu; display: none; width: 44px; height: 44px; color: inherit; border: 1px solid currentColor; background: transparent; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: block; width: 18px; height: 1px; margin: 5px auto; background: currentColor; content: ""; }
.button, .wp-element-button, button[type="submit"], input[type="submit"] {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center;
  padding: .78rem 1.25rem; border: 1px solid var(--yellow); border-radius: 3px;
  color: var(--ink); background: var(--yellow); font-size: .73rem; font-weight: 750;
  letter-spacing: .12em; line-height: 1; text-transform: uppercase; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.button:hover, button[type="submit"]:hover { background: var(--paper); border-color: var(--paper); transform: translateY(-1px); }
.button--ghost { color: var(--paper); background: transparent; border-color: rgba(255,255,255,.45); }
.button--ghost:hover { color: var(--ink); }
.text-link { display: inline-flex; gap: .65rem; align-items: center; padding-bottom: .2rem; border-bottom: 1px solid currentColor; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.text-link::after { content: "↗"; color: var(--yellow-dark); }

.hero { position: relative; min-height: min(900px, 100vh); color: var(--paper); background: var(--ink); overflow: hidden; }
.hero::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,7,8,.92) 0%, rgba(5,7,8,.62) 43%, rgba(5,7,8,.14) 78%); content: ""; }
.hero-media { position: absolute; inset: 0 0 0 42%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.05); }
.hero-inner { position: relative; z-index: 2; min-height: min(900px, 100vh); display: flex; align-items: flex-end; padding-top: 150px; padding-bottom: clamp(4rem, 9vh, 7rem); }
.hero-copy { max-width: 880px; }
.hero h1 { max-width: 980px; margin-bottom: 1.5rem; }
.hero-deck { max-width: 580px; margin-bottom: 2rem; color: #d3d0c8; font-size: clamp(1rem, 1.5vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-note { position: absolute; right: var(--pad); bottom: 2rem; z-index: 3; color: #d3d0c8; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; writing-mode: vertical-rl; }

.section { padding-block: clamp(5rem, 9vw, 9rem); }
.section--dark { color: var(--paper); background: var(--ink); }
.section--paper { background: var(--paper-bright); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 390px); gap: 3rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-heading h2 { margin-bottom: 0; }
.section-heading p { margin-bottom: .5rem; color: var(--muted-dark); }
.section--dark .section-heading p { color: var(--muted); }

.category-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.category-tile { position: relative; min-height: 480px; padding: 2rem; overflow: hidden; border-right: 1px solid var(--rule); }
.category-tile:last-child { border-right: 0; }
.category-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; filter: grayscale(.15); transition: transform .55s ease, opacity .3s ease; }
.category-art { position: absolute; inset: 0; overflow: hidden; background: var(--ink-soft); }
.category-art::before, .category-art::after { position: absolute; content: ""; }
.category-art::before { width: 72%; aspect-ratio: 1; left: 14%; top: 10%; border: 1px solid rgba(255,212,0,.38); border-radius: 50%; }
.category-art::after { width: 1px; height: 74%; left: 50%; top: 5%; background: linear-gradient(var(--yellow), transparent); transform: rotate(34deg); transform-origin: bottom; }
.category-art span { position: absolute; top: 1.6rem; right: 1.8rem; color: rgba(255,255,255,.18); font-family: var(--serif); font-size: 5rem; line-height: 1; }
.category-tile--design .category-art { background: linear-gradient(145deg, #25292a, #0b0d0e 62%); }
.category-tile--design .category-art::before { width: 55%; left: 23%; top: 16%; border-radius: 0; transform: rotate(45deg); }
.category-tile--design .category-art::after { width: 80%; height: 1px; left: 10%; top: 48%; background: linear-gradient(90deg, transparent, var(--yellow), transparent); transform: none; }
.category-tile::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.88)); content: ""; }
.category-tile:hover img { transform: scale(1.035); opacity: .72; }
.category-copy { position: absolute; z-index: 2; inset: auto 2rem 2rem; }
.category-copy h3 { max-width: 280px; margin-bottom: .6rem; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.5rem); font-weight: 400; }
.category-copy p { margin: 0; color: #c9c7c0; }

.product-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #d4d1c9; }
.product-card { padding: 1.5rem 1.25rem 1.5rem 0; border-right: 1px solid #d4d1c9; }
.product-card + .product-card { padding-left: 1.25rem; }
.product-card:last-child { border-right: 0; }
.product-media { display: grid; min-height: 260px; place-items: center; margin-bottom: 1.4rem; background: #efede7; overflow: hidden; }
.product-media img { max-height: 210px; object-fit: contain; mix-blend-mode: multiply; }
.product-placeholder { width: 72%; aspect-ratio: 1.8; border-radius: 4px; background: linear-gradient(145deg, #202426, #080a0b); box-shadow: 0 24px 40px rgba(20,20,20,.18); }
.product-card .brand-label { margin-bottom: .55rem; color: var(--muted-dark); font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.product-card h3 { min-height: 2.4em; margin-bottom: .65rem; font-size: 1.05rem; }
.product-card .treatment { color: var(--muted-dark); font-size: .78rem; }
.product-card .text-link { margin-top: 1.1rem; }

.service-split { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 680px; }
.service-visual { position: relative; display: grid; min-height: 680px; place-items: center; overflow: hidden; color: var(--paper); background: radial-gradient(circle at 50% 42%, #222728 0, #111415 38%, #080a0b 72%); }
.service-visual::before, .service-visual::after { position: absolute; content: ""; }
.service-visual::before { width: min(64%, 520px); aspect-ratio: 1; border: 1px solid rgba(255,212,0,.44); border-radius: 50%; box-shadow: 0 0 0 38px rgba(255,255,255,.025), 0 0 0 96px rgba(255,255,255,.018); }
.service-visual::after { inset: 7%; border: 1px solid rgba(255,255,255,.08); }
.service-mark { position: relative; z-index: 1; display: grid; width: min(68%, 480px); }
.service-mark__label, .service-mark__caption { font-size: .67rem; font-weight: 700; letter-spacing: .18em; line-height: 1.7; text-transform: uppercase; }
.service-mark strong { margin: 1rem 0; color: var(--yellow); font-family: var(--serif); font-size: clamp(6rem, 14vw, 12rem); font-weight: 400; letter-spacing: -.08em; line-height: .8; }
.service-mark__line { width: 100%; height: 1px; margin: 1.4rem 0; background: linear-gradient(90deg, var(--yellow), rgba(255,212,0,0)); }
.service-mark__caption { color: var(--muted); }
.service-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 7vw, 7rem); background: var(--yellow); }
.service-copy h2 { max-width: 620px; }
.service-copy p { max-width: 540px; }
.service-copy .text-link::after { color: var(--ink); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 4rem; border-top: 1px solid var(--rule); }
.process-step { padding: 1.5rem 1.5rem 0 0; border-right: 1px solid var(--rule); }
.process-step + .process-step { padding-left: 1.5rem; }
.process-step:last-child { border-right: 0; }
.process-step span { display: block; margin-bottom: 2.4rem; color: var(--yellow); font-family: var(--serif); font-size: 2rem; }
.process-step h3 { font-size: .92rem; text-transform: uppercase; letter-spacing: .08em; }
.process-step p { color: var(--muted); font-size: .84rem; }

.store-hero { display: grid; min-height: 420px; align-items: center; padding: 4rem 0; color: var(--paper); background: var(--ink); }
.store-hero h1 { max-width: 1100px; margin-bottom: 1.25rem; font-size: clamp(3rem, 6vw, 5.8rem); }
.store-hero p { max-width: 620px; color: var(--muted); }
.woocommerce-breadcrumb { margin: 0 0 2rem !important; color: var(--muted) !important; font-size: .72rem !important; letter-spacing: .1em; text-transform: uppercase; }
.shop-shell { padding-block: 4rem 7rem; }
.shop-shell .woocommerce-products-header { display: none !important; }
.shop-toolbar { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 3rem; padding-bottom: 1.25rem; border-bottom: 1px solid #d4d1c9; }
.shop-toolbar select, .woocommerce-ordering select { min-height: 46px; padding: .7rem 2.5rem .7rem .8rem; border: 1px solid #c8c5be; background: var(--white); }
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 !important; margin: 0 !important; border-top: 1px solid #d4d1c9; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; padding: 1.5rem !important; border-right: 1px solid #d4d1c9; border-bottom: 1px solid #d4d1c9; }
.woocommerce ul.products li.product:nth-child(3n) { border-right: 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 2.6em; color: var(--ink); font-size: 1rem !important; line-height: 1.3; }
.woocommerce ul.products li.product img { aspect-ratio: 1.25; object-fit: contain; padding: 1.5rem; background: #efede7; }
.woocommerce ul.products li.product .price { color: var(--ink) !important; font-size: .9rem !important; }
.woocommerce ul.products li.product .button { margin-top: 1rem !important; }
.mirror-treatment { margin: .55rem 0 0; color: var(--muted-dark); font-size: .75rem; }

.product-detail { padding-block: clamp(4rem, 8vw, 8rem); }
.product-detail > .product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); gap: clamp(2.5rem, 6vw, 7rem); }
.product-detail .woocommerce-product-gallery { width: 100% !important; float: none !important; }
.product-detail .summary { width: 100% !important; float: none !important; margin: 0 !important; }
.product-detail .product_title { margin-bottom: 1rem; font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 5.2rem); font-weight: 400; line-height: 1; }
.quote-panel { margin: 2rem 0; padding: 1.5rem; border-left: 4px solid var(--yellow); background: #efede7; }
.quote-panel strong { display: block; margin-bottom: .4rem; }
.quote-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.25rem; }
.quote-actions .button--dark { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.quote-actions .button--dark:hover { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }

.quote-page { padding-block: clamp(4rem, 9vw, 8rem); }
.quote-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(360px, 1.2fr); gap: clamp(3rem, 8vw, 8rem); }
.quote-intro h1 { font-size: clamp(3rem, 6vw, 6.5rem); }
.quote-intro p { max-width: 490px; color: var(--muted-dark); }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.quote-form .field--full { grid-column: 1 / -1; }
.quote-form label { display: block; margin-bottom: .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.quote-form input, .quote-form textarea, .quote-form select { width: 100%; min-height: 52px; padding: .8rem 1rem; border: 1px solid #bdbab2; border-radius: 2px; background: var(--white); }
.quote-form textarea { min-height: 150px; resize: vertical; }
.form-notice { grid-column: 1 / -1; padding: 1rem; border-left: 4px solid var(--yellow); background: #ece9e1; }

.site-footer { padding: 5rem 0 2rem; color: var(--paper); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 3rem; }
.footer-brand p { max-width: 360px; color: var(--muted); }
.footer-col h3 { margin-bottom: 1rem; color: var(--yellow); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; }
.footer-col a { display: block; margin-bottom: .55rem; color: #d0cec8; font-size: .84rem; }
.store-identity { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .76rem; line-height: 1.65; }
.store-identity p { margin: 0; }
.store-identity strong { color: var(--paper); }
.store-identity a { color: #d0cec8; }
.store-identity .payment-provider { margin-top: .7rem; color: var(--paper); }
.footer-base { display: flex; justify-content: space-between; gap: 2rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .7rem; }

@media (max-width: 1440px) {
  .header-actions { grid-template-columns: minmax(0, 1fr) 36px 36px; grid-template-areas: "quote cart menu" "search search search"; }
  .primary-nav { display: none; position: fixed; inset: 104px 0 0; padding: 3rem var(--pad); flex-direction: column; align-items: flex-start; justify-content: flex-start; background: var(--ink); }
  .menu-open .primary-nav { display: flex; }
  .primary-nav a { min-height: 0; font-family: var(--serif); font-size: 2.2rem; font-weight: 400; text-align: left; text-transform: none; }
  .menu-toggle { display: block; width: 36px; height: 36px; padding: 0; }
  .category-rail { grid-template-columns: 1fr; }
  .category-tile { min-height: 390px; border-right: 0; border-bottom: 1px solid var(--rule); }
  .product-rail { grid-template-columns: repeat(2, 1fr); }
  .product-card:nth-child(2) { border-right: 0; }
  .product-card:nth-child(3) { padding-left: 0; border-top: 1px solid #d4d1c9; }
  .product-card:nth-child(4) { border-top: 1px solid #d4d1c9; }
  .service-split, .product-detail > .product, .quote-grid { grid-template-columns: 1fr; }
  .service-visual { min-height: 460px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
  .woocommerce ul.products li.product:nth-child(3n) { border-right: 1px solid #d4d1c9; }
  .woocommerce ul.products li.product:nth-child(2n) { border-right: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .header-inner { height: 104px; grid-template-columns: max-content minmax(0, 1fr); gap: .7rem; }
  .brand-copy { display: none; }
  .header-actions { grid-template-columns: minmax(0, 1fr) 44px; grid-template-areas: "cart menu" "search search"; }
  .header-quote { display: none !important; }
  .header-search { grid-template-columns: minmax(90px, 1fr) 38px; }
  .header-search input[type="search"] { padding-inline: .55rem; }
  .primary-nav { top: 104px; }
  .store-hero { min-height: 340px; padding: 3rem 0; }
  .hero { min-height: 760px; }
  .hero-media { inset: 0; opacity: .64; }
  .hero::after { background: linear-gradient(180deg, rgba(5,7,8,.36), rgba(5,7,8,.94) 72%); }
  .hero-inner { min-height: 760px; padding-top: 130px; }
  .hero-note { display: none; }
  .hero h1 { font-size: clamp(3.2rem, 16vw, 5.1rem); }
  .section-heading { grid-template-columns: 1fr; gap: 1.25rem; }
  .product-rail, .process-steps, .woocommerce ul.products { grid-template-columns: 1fr; }
  .product-card, .product-card + .product-card, .woocommerce ul.products li.product { padding: 1.5rem 0 !important; border-right: 0 !important; border-bottom: 1px solid #d4d1c9; }
  .service-visual { min-height: 340px; }
  .service-mark { width: min(72%, 360px); }
  .service-mark strong { font-size: clamp(5.2rem, 29vw, 8rem); }
  .quote-form { grid-template-columns: 1fr; }
  .quote-form > * { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Brand directory and balanced catalogue grid */
.brand-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 3rem;
  background: #d4d1c9;
  border: 1px solid #d4d1c9;
}
.brand-directory-card {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: clamp(1.1rem, 2vw, 1.75rem);
  color: var(--ink);
  background: var(--paper-bright);
  transition: color .2s ease, background .2s ease;
}
.brand-directory-card span {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.55vw, 1.75rem);
  letter-spacing: -.02em;
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.brand-directory-card small {
  color: var(--muted-dark);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.brand-directory-card:hover,
.brand-directory-card:focus-visible {
  color: var(--ink);
  background: var(--yellow);
}
.brand-directory-card:hover small,
.brand-directory-card:focus-visible small { color: var(--ink); }

/* About page */
.about-intro { max-width: 980px; }
.about-intro h2, .about-heading h2, .about-commerce h2, .about-operator h2, .about-cta h2 {
  margin-bottom: 1.4rem; font-size: clamp(2.5rem, 4.5vw, 4.7rem); line-height: 1;
}
.about-lead { max-width: 850px; font-size: clamp(1.12rem, 1.8vw, 1.4rem); line-height: 1.55; }
.about-intro > p:last-child { max-width: 800px; color: var(--muted-dark); }
.about-section { margin-top: clamp(5rem, 9vw, 8rem); padding-top: 2rem; border-top: 1px solid #d4d1c9; }
.about-heading { display: grid; grid-template-columns: minmax(180px, .35fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.about-heading .eyebrow { padding-top: .45rem; }
.about-two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 6rem); margin-left: calc(35% + 1.3rem); color: var(--muted-dark); }
.about-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 3rem; border-top: 1px solid #d4d1c9; }
.about-pillars article { min-height: 300px; padding: 1.5rem 1.5rem 1.5rem 0; border-right: 1px solid #d4d1c9; }
.about-pillars article + article { padding-left: 1.5rem; }
.about-pillars article:last-child { border-right: 0; }
.about-pillars span { color: var(--yellow-dark); font-family: var(--serif); font-size: 2rem; }
.about-pillars h3 { margin-top: 4rem; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; }
.about-pillars p { color: var(--muted-dark); font-size: .88rem; }
.about-commerce, .about-operator { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr); gap: clamp(3rem, 8vw, 8rem); }
.about-commerce > div:last-child, .about-operator-details { padding-top: .55rem; color: var(--muted-dark); }
.about-operator { padding: clamp(2rem, 5vw, 4rem); color: var(--paper); background: var(--ink); border-top: 4px solid var(--yellow); }
.about-operator a, .about-operator strong { color: var(--paper); }
.about-operator .eyebrow { color: var(--yellow); }
.about-operator-details p { color: #cfcdc7; }
.about-cta { display: flex; gap: 3rem; align-items: flex-end; justify-content: space-between; margin-top: clamp(5rem, 9vw, 8rem); padding: clamp(2rem, 5vw, 4rem); background: var(--yellow); }
.about-cta > div:first-child { max-width: 750px; }
.about-cta p { max-width: 620px; }
.about-cta-actions { display: flex; min-width: 220px; flex-direction: column; gap: 1rem; align-items: stretch; }
.about-cta .button { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.about-cta .text-link { justify-content: space-between; }

@media (min-width: 981px) {
  .woocommerce ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .woocommerce ul.products li.product:nth-child(3n) { border-right: 1px solid #d4d1c9; }
  .woocommerce ul.products li.product:nth-child(4n) { border-right: 0; }
}
@media (max-width: 980px) {
  .brand-directory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-heading, .about-commerce, .about-operator { grid-template-columns: 1fr; }
  .about-two-column { margin-left: 0; }
  .about-cta { align-items: stretch; flex-direction: column; }
}
@media (max-width: 640px) {
  .brand-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-two-column, .about-pillars { grid-template-columns: 1fr; }
  .about-pillars article { min-height: 0; padding: 1.5rem 0 !important; border-right: 0; border-bottom: 1px solid #d4d1c9; }
  .about-pillars h3 { margin-top: 2rem; }
}

/* Refined related-product presentation */
.single-product .related.products { margin-top: clamp(4rem, 8vw, 7rem); padding-top: 3rem; border-top: 1px solid #d4d1c9; }
.single-product .related.products > h2 { margin-bottom: 2.5rem; font-size: clamp(2.4rem, 4.5vw, 4.5rem); line-height: 1; }
.single-product .related.products ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.single-product .related.products li.product { display: flex; min-width: 0; flex-direction: column; }
.single-product .related.products li.product img { width: 100%; height: 220px; aspect-ratio: auto; object-fit: contain; padding: 1.25rem; }
.single-product .related.products .woocommerce-loop-product__title { min-height: 0 !important; margin-bottom: .75rem !important; font-size: 1.05rem !important; overflow-wrap: anywhere; }
.single-product .related.products .mirror-treatment { margin-top: auto; }
.single-product .related.products .button { width: 100%; min-height: 44px; padding: .7rem .8rem !important; font-size: .68rem; line-height: 1.2; text-align: center; white-space: normal; }

@media (max-width: 900px) {
  .single-product .related.products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 560px) {
  .single-product .related.products ul.products { grid-template-columns: 1fr !important; }
}


/* Responsive header alignment correction — 2026-08-31 */
@media (max-width: 640px) {
  .header-inner {
    height: auto;
    min-height: 104px;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    gap: .7rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 54px;
    height: 54px;
  }

  .header-actions {
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) 36px 36px;
    grid-template-areas:
      "quote cart menu"
      "search search search";
    gap: .38rem;
    align-items: stretch;
  }

  .site-header .header-actions > .header-quote,
  .woocommerce .site-header .header-actions > .header-quote {
    display: flex !important;
    width: auto;
    min-width: 0;
    height: 36px;
    padding: .45rem .55rem !important;
    justify-content: center;
    font-size: .6rem;
    line-height: 1;
    white-space: nowrap;
  }

  .header-cart,
  .menu-toggle {
    width: 36px;
    height: 36px;
  }

  .header-search {
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(90px, 1fr) 38px;
  }

  .primary-nav {
    top: 104px;
  }
}

@media (max-width: 420px) {
  .header-inner {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: .55rem;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .site-header .header-actions > .header-quote,
  .woocommerce .site-header .header-actions > .header-quote {
    padding-inline: .35rem !important;
    font-size: .56rem;
    letter-spacing: .1em;
  }
}



/* Clean product-brand archives */
.store-hero--brand {
  min-height: 460px;
  overflow: hidden;
}
.brand-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}
.brand-hero-copy { position: relative; z-index: 1; }
.brand-hero-copy h1 { max-width: 780px; }
.brand-hero-visual {
  position: relative;
  display: grid;
  min-height: 330px;
  place-items: center;
  margin: 0;
}
.brand-hero-visual::before {
  position: absolute;
  inset: 6% 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 211, 0, .2), rgba(255, 211, 0, 0) 68%);
  content: '';
}
.brand-hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, .45));
}

@media (max-width: 820px) {
  .store-hero--brand { min-height: 0; }
  .brand-hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .brand-hero-visual { min-height: 220px; }
  .brand-hero-visual img { max-height: 250px; }
}

@media (max-width: 560px) {
  .brand-hero-visual { min-height: 180px; }
  .brand-hero-visual img { max-height: 210px; }
}


/* Compact, balanced mobile header — 2026-09-01 */
@media (max-width: 640px) {
  .header-inner {
    height: auto;
    min-height: 0;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    grid-template-areas:
      "menu brand cart"
      "search search search";
    gap: .65rem .75rem;
    padding-top: .7rem;
    padding-bottom: .7rem;
  }

  .brand {
    grid-area: brand;
    min-width: 0;
    justify-self: center;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .header-actions {
    display: contents;
  }

  .header-quote {
    display: none !important;
  }

  .menu-toggle {
    grid-area: menu;
    width: 44px;
    height: 44px;
    justify-self: start;
  }

  .header-cart {
    grid-area: cart;
    width: 44px;
    height: 44px;
    justify-self: end;
  }

  .header-search {
    grid-area: search;
    width: 100%;
    height: 40px;
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .site-header .header-search button,
  .woocommerce .site-header .header-search button {
    width: 44px !important;
    height: 40px !important;
    min-height: 40px !important;
  }

  .primary-nav {
    top: 116px;
  }

  body.admin-bar .primary-nav {
    top: 162px;
  }
}


/* Keep the compact mobile header free of the desktop quote control. */
@media (max-width: 640px) {
  .site-header .header-actions > .header-quote,
  .woocommerce .site-header .header-actions > .header-quote {
    display: none !important;
  }
}


/* Product context shown on quote enquiries. */
.quote-product-context { margin-top: .65rem; padding: .85rem 1rem; border-left: 3px solid var(--yellow); color: var(--muted-dark); background: #efede7; font-size: .78rem; line-height: 1.5; }
.quote-product-context strong { display: block; color: var(--ink); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.quote-product-context p { margin: .4rem 0 0; }


/* Quote-only products remain available for specification even when WooCommerce has no purchasable variation. */
.single-product .summary:has(a[href*="/request-a-quote/"]) .stock.out-of-stock {
  display: none !important;
}

.eyebrow { margin: 0 0 1rem; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow--yellow { color: var(--yellow); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; line-height: .98; }
h1 { font-size: clamp(3.3rem, 8.5vw, 8rem); }
h2 { font-size: clamp(2.6rem, 5.5vw, 5.4rem); }
h3 { line-height: 1.2; }

.site-header {
  position: relative; z-index: 20; color: var(--paper); background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.site-header--solid { position: relative; color: var(--paper); background: var(--ink); }
.header-inner.site-width { width: min(100%, 1680px); }
.header-inner { height: 104px; display: grid; grid-template-columns: max-content minmax(0, 1fr) 250px; align-items: center; gap: 1.1rem; }
.brand { display: inline-flex; min-width: max-content; align-items: center; flex-shrink: 0; gap: .8rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand-copy { display: grid; min-width: max-content; line-height: 1.05; font-size: .9rem; text-transform: uppercase; white-space: nowrap; }
.brand-copy small { margin-top: .26rem; color: var(--muted); font-size: .58rem; letter-spacing: .18em; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(.75rem, 1.45vw, 1.5rem); }
.primary-nav a { display: flex; min-height: 48px; align-items: center; justify-content: center; font-size: .78rem; font-weight: 650; letter-spacing: .08em; line-height: 1.35; text-align: center; text-transform: uppercase; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--yellow); }
.header-actions { display: grid; grid-template-columns: minmax(0, 1fr) 36px; grid-template-areas: "quote cart" "search search"; gap: .38rem; align-items: stretch; }
.header-quote { grid-area: quote; }
.header-cart { position: relative; grid-area: cart; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 3px; color: var(--paper); }
.header-cart:hover, .header-cart:focus-visible { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }
.header-cart svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { position: absolute; top: -7px; right: -7px; display: grid; min-width: 20px; height: 20px; place-items: center; padding: 0 4px; border: 2px solid var(--ink); border-radius: 99px; color: #fff; background: #d62424; font-size: .62rem; font-weight: 800; line-height: 1; }
.header-search { position: relative; grid-area: search; display: grid; grid-template-columns: minmax(0, 1fr) 34px; height: 30px; margin: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 3px; background: rgba(255,255,255,.06); }
.header-search input[type="search"] { min-width: 0; padding: 0 .65rem; border: 0; outline: 0; color: var(--paper); background: transparent; font-size: .68rem; }
.header-search input[type="search"]::placeholder { color: #aaa8a1; }
.header-search input[type="search"]:focus { box-shadow: inset 0 -2px var(--yellow); }
.site-header .header-search button,
.woocommerce .site-header .header-search button {
  width: 34px !important; height: 30px !important; min-height: 30px !important;
  padding: 0 !important; border: 0; border-left: 1px solid rgba(255,255,255,.22);
  border-radius: 0; color: var(--paper); background: transparent;
  font-size: 1rem; letter-spacing: 0;
}
.header-search button:hover { color: var(--ink); background: var(--yellow); transform: none; }
.site-header .header-actions > .button,
.woocommerce .site-header .header-actions > .button {
  display: flex !important; align-items: center !important; justify-content: center !important;
  height: 36px !important; min-height: 36px !important; margin: 0 !important;
  padding: 0 .8rem !important; border-color: var(--yellow) !important;
  color: var(--ink) !important; background: var(--yellow) !important;
  font-size: .62rem !important; letter-spacing: .1em !important; line-height: 1 !important; white-space: nowrap;
}
.header-search-results {
  position: absolute; top: calc(100% + 7px); right: -1px; z-index: 40;
  width: min(360px, calc(100vw - 2.5rem)); padding: .35rem;
  border: 1px solid #d4d1c9; border-radius: 3px; color: var(--ink);
  background: var(--paper-bright); box-shadow: 0 18px 42px rgba(0,0,0,.24);
}
.header-search-results[hidden] { display: none; }
.header-search-result { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: .7rem; align-items: center; padding: .5rem; border-radius: 2px; }
.header-search-result + .header-search-result { border-top: 1px solid #dedbd3; }
.header-search-result:hover, .header-search-result.is-active, .header-search-result:focus-visible { background: #ece9e1; outline: none; }
.header-search-result img { width: 48px; height: 48px; padding: 4px; object-fit: contain; background: #fff; }
.header-search-result strong { display: block; font-family: var(--serif); font-size: .92rem; font-weight: 400; line-height: 1.15; }
.header-search-result small { display: block; margin-top: .18rem; color: var(--muted-dark); font-size: .61rem; line-height: 1.2; }
.header-search-message { margin: 0; padding: .65rem .7rem; color: var(--muted-dark); font-size: .7rem; }
.site-header .header-actions > .button:hover,
.woocommerce .site-header .header-actions > .button:hover {
  border-color: var(--paper) !important; background: var(--paper) !important;
}
.menu-toggle { grid-area: menu; display: none; width: 44px; height: 44px; color: inherit; border: 1px solid currentColor; background: transparent; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: block; width: 18px; height: 1px; margin: 5px auto; background: currentColor; content: ""; }
.button, .wp-element-button, button[type="submit"], input[type="submit"] {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center;
  padding: .78rem 1.25rem; border: 1px solid var(--yellow); border-radius: 3px;
  color: var(--ink); background: var(--yellow); font-size: .73rem; font-weight: 750;
  letter-spacing: .12em; line-height: 1; text-transform: uppercase; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.button:hover, button[type="submit"]:hover { background: var(--paper); border-color: var(--paper); transform: translateY(-1px); }
.button--ghost { color: var(--paper); background: transparent; border-color: rgba(255,255,255,.45); }
.button--ghost:hover { color: var(--ink); }
.text-link { display: inline-flex; gap: .65rem; align-items: center; padding-bottom: .2rem; border-bottom: 1px solid currentColor; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.text-link::after { content: "↗"; color: var(--yellow-dark); }

.hero { position: relative; min-height: min(900px, 100vh); color: var(--paper); background: var(--ink); overflow: hidden; }
.hero::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,7,8,.92) 0%, rgba(5,7,8,.62) 43%, rgba(5,7,8,.14) 78%); content: ""; }
.hero-media { position: absolute; inset: 0 0 0 42%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.05); }
.hero-inner { position: relative; z-index: 2; min-height: min(900px, 100vh); display: flex; align-items: flex-end; padding-top: 150px; padding-bottom: clamp(4rem, 9vh, 7rem); }
.hero-copy { max-width: 880px; }
.hero h1 { max-width: 980px; margin-bottom: 1.5rem; }
.hero-deck { max-width: 580px; margin-bottom: 2rem; color: #d3d0c8; font-size: clamp(1rem, 1.5vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-note { position: absolute; right: var(--pad); bottom: 2rem; z-index: 3; color: #d3d0c8; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; writing-mode: vertical-rl; }

.section { padding-block: clamp(5rem, 9vw, 9rem); }
.section--dark { color: var(--paper); background: var(--ink); }
.section--paper { background: var(--paper-bright); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 390px); gap: 3rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-heading h2 { margin-bottom: 0; }
.section-heading p { margin-bottom: .5rem; color: var(--muted-dark); }
.section--dark .section-heading p { color: var(--muted); }

.category-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.category-tile { position: relative; min-height: 480px; padding: 2rem; overflow: hidden; border-right: 1px solid var(--rule); }
.category-tile:last-child { border-right: 0; }
.category-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; filter: grayscale(.15); transition: transform .55s ease, opacity .3s ease; }
.category-art { position: absolute; inset: 0; overflow: hidden; background: var(--ink-soft); }
.category-art::before, .category-art::after { position: absolute; content: ""; }
.category-art::before { width: 72%; aspect-ratio: 1; left: 14%; top: 10%; border: 1px solid rgba(255,212,0,.38); border-radius: 50%; }
.category-art::after { width: 1px; height: 74%; left: 50%; top: 5%; background: linear-gradient(var(--yellow), transparent); transform: rotate(34deg); transform-origin: bottom; }
.category-art span { position: absolute; top: 1.6rem; right: 1.8rem; color: rgba(255,255,255,.18); font-family: var(--serif); font-size: 5rem; line-height: 1; }
.category-tile--design .category-art { background: linear-gradient(145deg, #25292a, #0b0d0e 62%); }
.category-tile--design .category-art::before { width: 55%; left: 23%; top: 16%; border-radius: 0; transform: rotate(45deg); }
.category-tile--design .category-art::after { width: 80%; height: 1px; left: 10%; top: 48%; background: linear-gradient(90deg, transparent, var(--yellow), transparent); transform: none; }
.category-tile::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.88)); content: ""; }
.category-tile:hover img { transform: scale(1.035); opacity: .72; }
.category-copy { position: absolute; z-index: 2; inset: auto 2rem 2rem; }
.category-copy h3 { max-width: 280px; margin-bottom: .6rem; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.5rem); font-weight: 400; }
.category-copy p { margin: 0; color: #c9c7c0; }

.product-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #d4d1c9; }
.product-card { padding: 1.5rem 1.25rem 1.5rem 0; border-right: 1px solid #d4d1c9; }
.product-card + .product-card { padding-left: 1.25rem; }
.product-card:last-child { border-right: 0; }
.product-media { display: grid; min-height: 260px; place-items: center; margin-bottom: 1.4rem; background: #efede7; overflow: hidden; }
.product-media img { max-height: 210px; object-fit: contain; mix-blend-mode: multiply; }
.product-placeholder { width: 72%; aspect-ratio: 1.8; border-radius: 4px; background: linear-gradient(145deg, #202426, #080a0b); box-shadow: 0 24px 40px rgba(20,20,20,.18); }
.product-card .brand-label { margin-bottom: .55rem; color: var(--muted-dark); font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.product-card h3 { min-height: 2.4em; margin-bottom: .65rem; font-size: 1.05rem; }
.product-card .treatment { color: var(--muted-dark); font-size: .78rem; }
.product-card .text-link { margin-top: 1.1rem; }

.service-split { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 680px; }
.service-visual { position: relative; display: grid; min-height: 680px; place-items: center; overflow: hidden; color: var(--paper); background: radial-gradient(circle at 50% 42%, #222728 0, #111415 38%, #080a0b 72%); }
.service-visual::before, .service-visual::after { position: absolute; content: ""; }
.service-visual::before { width: min(64%, 520px); aspect-ratio: 1; border: 1px solid rgba(255,212,0,.44); border-radius: 50%; box-shadow: 0 0 0 38px rgba(255,255,255,.025), 0 0 0 96px rgba(255,255,255,.018); }
.service-visual::after { inset: 7%; border: 1px solid rgba(255,255,255,.08); }
.service-mark { position: relative; z-index: 1; display: grid; width: min(68%, 480px); }
.service-mark__label, .service-mark__caption { font-size: .67rem; font-weight: 700; letter-spacing: .18em; line-height: 1.7; text-transform: uppercase; }
.service-mark strong { margin: 1rem 0; color: var(--yellow); font-family: var(--serif); font-size: clamp(6rem, 14vw, 12rem); font-weight: 400; letter-spacing: -.08em; line-height: .8; }
.service-mark__line { width: 100%; height: 1px; margin: 1.4rem 0; background: linear-gradient(90deg, var(--yellow), rgba(255,212,0,0)); }
.service-mark__caption { color: var(--muted); }
.service-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 7vw, 7rem); background: var(--yellow); }
.service-copy h2 { max-width: 620px; }
.service-copy p { max-width: 540px; }
.service-copy .text-link::after { color: var(--ink); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 4rem; border-top: 1px solid var(--rule); }
.process-step { padding: 1.5rem 1.5rem 0 0; border-right: 1px solid var(--rule); }
.process-step + .process-step { padding-left: 1.5rem; }
.process-step:last-child { border-right: 0; }
.process-step span { display: block; margin-bottom: 2.4rem; color: var(--yellow); font-family: var(--serif); font-size: 2rem; }
.process-step h3 { font-size: .92rem; text-transform: uppercase; letter-spacing: .08em; }
.process-step p { color: var(--muted); font-size: .84rem; }

.store-hero { display: grid; min-height: 420px; align-items: center; padding: 4rem 0; color: var(--paper); background: var(--ink); }
.store-hero h1 { max-width: 1100px; margin-bottom: 1.25rem; font-size: clamp(3rem, 6vw, 5.8rem); }
.store-hero p { max-width: 620px; color: var(--muted); }
.woocommerce-breadcrumb { margin: 0 0 2rem !important; color: var(--muted) !important; font-size: .72rem !important; letter-spacing: .1em; text-transform: uppercase; }
.shop-shell { padding-block: 4rem 7rem; }
.shop-shell .woocommerce-products-header { display: none !important; }
.shop-toolbar { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 3rem; padding-bottom: 1.25rem; border-bottom: 1px solid #d4d1c9; }
.shop-toolbar select, .woocommerce-ordering select { min-height: 46px; padding: .7rem 2.5rem .7rem .8rem; border: 1px solid #c8c5be; background: var(--white); }
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 !important; margin: 0 !important; border-top: 1px solid #d4d1c9; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; padding: 1.5rem !important; border-right: 1px solid #d4d1c9; border-bottom: 1px solid #d4d1c9; }
.woocommerce ul.products li.product:nth-child(3n) { border-right: 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 2.6em; color: var(--ink); font-size: 1rem !important; line-height: 1.3; }
.woocommerce ul.products li.product img { aspect-ratio: 1.25; object-fit: contain; padding: 1.5rem; background: #efede7; }
.woocommerce ul.products li.product .price { color: var(--ink) !important; font-size: .9rem !important; }
.woocommerce ul.products li.product .button { margin-top: 1rem !important; }
.mirror-treatment { margin: .55rem 0 0; color: var(--muted-dark); font-size: .75rem; }

.product-detail { padding-block: clamp(4rem, 8vw, 8rem); }
.product-detail > .product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); gap: clamp(2.5rem, 6vw, 7rem); }
.product-detail .woocommerce-product-gallery { width: 100% !important; float: none !important; }
.product-detail .summary { width: 100% !important; float: none !important; margin: 0 !important; }
.product-detail .product_title { margin-bottom: 1rem; font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 5.2rem); font-weight: 400; line-height: 1; }
.quote-panel { margin: 2rem 0; padding: 1.5rem; border-left: 4px solid var(--yellow); background: #efede7; }
.quote-panel strong { display: block; margin-bottom: .4rem; }
.quote-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.25rem; }
.quote-actions .button--dark { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.quote-actions .button--dark:hover { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }

.quote-page { padding-block: clamp(4rem, 9vw, 8rem); }
.quote-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(360px, 1.2fr); gap: clamp(3rem, 8vw, 8rem); }
.quote-intro h1 { font-size: clamp(3rem, 6vw, 6.5rem); }
.quote-intro p { max-width: 490px; color: var(--muted-dark); }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.quote-form .field--full { grid-column: 1 / -1; }
.quote-form label { display: block; margin-bottom: .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.quote-form input, .quote-form textarea, .quote-form select { width: 100%; min-height: 52px; padding: .8rem 1rem; border: 1px solid #bdbab2; border-radius: 2px; background: var(--white); }
.quote-form textarea { min-height: 150px; resize: vertical; }
.form-notice { grid-column: 1 / -1; padding: 1rem; border-left: 4px solid var(--yellow); background: #ece9e1; }

.site-footer { padding: 5rem 0 2rem; color: var(--paper); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 3rem; }
.footer-brand p { max-width: 360px; color: var(--muted); }
.footer-col h3 { margin-bottom: 1rem; color: var(--yellow); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; }
.footer-col a { display: block; margin-bottom: .55rem; color: #d0cec8; font-size: .84rem; }
.store-identity { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .76rem; line-height: 1.65; }
.store-identity p { margin: 0; }
.store-identity strong { color: var(--paper); }
.store-identity a { color: #d0cec8; }
.store-identity .payment-provider { margin-top: .7rem; color: var(--paper); }
.footer-base { display: flex; justify-content: space-between; gap: 2rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .7rem; }

@media (max-width: 1440px) {
  .header-actions { grid-template-columns: minmax(0, 1fr) 36px 36px; grid-template-areas: "quote cart menu" "search search search"; }
  .primary-nav { display: none; position: fixed; inset: 104px 0 0; padding: 3rem var(--pad); flex-direction: column; align-items: flex-start; justify-content: flex-start; background: var(--ink); }
  .menu-open .primary-nav { display: flex; }
  .primary-nav a { min-height: 0; font-family: var(--serif); font-size: 2.2rem; font-weight: 400; text-align: left; text-transform: none; }
  .menu-toggle { display: block; width: 36px; height: 36px; padding: 0; }
  .category-rail { grid-template-columns: 1fr; }
  .category-tile { min-height: 390px; border-right: 0; border-bottom: 1px solid var(--rule); }
  .product-rail { grid-template-columns: repeat(2, 1fr); }
  .product-card:nth-child(2) { border-right: 0; }
  .product-card:nth-child(3) { padding-left: 0; border-top: 1px solid #d4d1c9; }
  .product-card:nth-child(4) { border-top: 1px solid #d4d1c9; }
  .service-split, .product-detail > .product, .quote-grid { grid-template-columns: 1fr; }
  .service-visual { min-height: 460px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
  .woocommerce ul.products li.product:nth-child(3n) { border-right: 1px solid #d4d1c9; }
  .woocommerce ul.products li.product:nth-child(2n) { border-right: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .header-inner { height: 104px; grid-template-columns: max-content minmax(0, 1fr); gap: .7rem; }
  .brand-copy { display: none; }
  .header-actions { grid-template-columns: minmax(0, 1fr) 44px; grid-template-areas: "cart menu" "search search"; }
  .header-quote { display: none !important; }
  .header-search { grid-template-columns: minmax(90px, 1fr) 38px; }
  .header-search input[type="search"] { padding-inline: .55rem; }
  .primary-nav { top: 104px; }
  .store-hero { min-height: 340px; padding: 3rem 0; }
  .hero { min-height: 760px; }
  .hero-media { inset: 0; opacity: .64; }
  .hero::after { background: linear-gradient(180deg, rgba(5,7,8,.36), rgba(5,7,8,.94) 72%); }
  .hero-inner { min-height: 760px; padding-top: 130px; }
  .hero-note { display: none; }
  .hero h1 { font-size: clamp(3.2rem, 16vw, 5.1rem); }
  .section-heading { grid-template-columns: 1fr; gap: 1.25rem; }
  .product-rail, .process-steps, .woocommerce ul.products { grid-template-columns: 1fr; }
  .product-card, .product-card + .product-card, .woocommerce ul.products li.product { padding: 1.5rem 0 !important; border-right: 0 !important; border-bottom: 1px solid #d4d1c9; }
  .service-visual { min-height: 340px; }
  .service-mark { width: min(72%, 360px); }
  .service-mark strong { font-size: clamp(5.2rem, 29vw, 8rem); }
  .quote-form { grid-template-columns: 1fr; }
  .quote-form > * { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Brand directory and balanced catalogue grid */
.brand-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 3rem;
  background: #d4d1c9;
  border: 1px solid #d4d1c9;
}
.brand-directory-card {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: clamp(1.1rem, 2vw, 1.75rem);
  color: var(--ink);
  background: var(--paper-bright);
  transition: color .2s ease, background .2s ease;
}
.brand-directory-card span {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.55vw, 1.75rem);
  letter-spacing: -.02em;
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.brand-directory-card small {
  color: var(--muted-dark);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.brand-directory-card:hover,
.brand-directory-card:focus-visible {
  color: var(--ink);
  background: var(--yellow);
}
.brand-directory-card:hover small,
.brand-directory-card:focus-visible small { color: var(--ink); }

/* About page */
.about-intro { max-width: 980px; }
.about-intro h2, .about-heading h2, .about-commerce h2, .about-operator h2, .about-cta h2 {
  margin-bottom: 1.4rem; font-size: clamp(2.5rem, 4.5vw, 4.7rem); line-height: 1;
}
.about-lead { max-width: 850px; font-size: clamp(1.12rem, 1.8vw, 1.4rem); line-height: 1.55; }
.about-intro > p:last-child { max-width: 800px; color: var(--muted-dark); }
.about-section { margin-top: clamp(5rem, 9vw, 8rem); padding-top: 2rem; border-top: 1px solid #d4d1c9; }
.about-heading { display: grid; grid-template-columns: minmax(180px, .35fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.about-heading .eyebrow { padding-top: .45rem; }
.about-two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 6rem); margin-left: calc(35% + 1.3rem); color: var(--muted-dark); }
.about-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 3rem; border-top: 1px solid #d4d1c9; }
.about-pillars article { min-height: 300px; padding: 1.5rem 1.5rem 1.5rem 0; border-right: 1px solid #d4d1c9; }
.about-pillars article + article { padding-left: 1.5rem; }
.about-pillars article:last-child { border-right: 0; }
.about-pillars span { color: var(--yellow-dark); font-family: var(--serif); font-size: 2rem; }
.about-pillars h3 { margin-top: 4rem; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; }
.about-pillars p { color: var(--muted-dark); font-size: .88rem; }
.about-commerce, .about-operator { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr); gap: clamp(3rem, 8vw, 8rem); }
.about-commerce > div:last-child, .about-operator-details { padding-top: .55rem; color: var(--muted-dark); }
.about-operator { padding: clamp(2rem, 5vw, 4rem); color: var(--paper); background: var(--ink); border-top: 4px solid var(--yellow); }
.about-operator a, .about-operator strong { color: var(--paper); }
.about-operator .eyebrow { color: var(--yellow); }
.about-operator-details p { color: #cfcdc7; }
.about-cta { display: flex; gap: 3rem; align-items: flex-end; justify-content: space-between; margin-top: clamp(5rem, 9vw, 8rem); padding: clamp(2rem, 5vw, 4rem); background: var(--yellow); }
.about-cta > div:first-child { max-width: 750px; }
.about-cta p { max-width: 620px; }
.about-cta-actions { display: flex; min-width: 220px; flex-direction: column; gap: 1rem; align-items: stretch; }
.about-cta .button { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.about-cta .text-link { justify-content: space-between; }

@media (min-width: 981px) {
  .woocommerce ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .woocommerce ul.products li.product:nth-child(3n) { border-right: 1px solid #d4d1c9; }
  .woocommerce ul.products li.product:nth-child(4n) { border-right: 0; }
}
@media (max-width: 980px) {
  .brand-directory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-heading, .about-commerce, .about-operator { grid-template-columns: 1fr; }
  .about-two-column { margin-left: 0; }
  .about-cta { align-items: stretch; flex-direction: column; }
}
@media (max-width: 640px) {
  .brand-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-two-column, .about-pillars { grid-template-columns: 1fr; }
  .about-pillars article { min-height: 0; padding: 1.5rem 0 !important; border-right: 0; border-bottom: 1px solid #d4d1c9; }
  .about-pillars h3 { margin-top: 2rem; }
}

/* Refined related-product presentation */
.single-product .related.products { margin-top: clamp(4rem, 8vw, 7rem); padding-top: 3rem; border-top: 1px solid #d4d1c9; }
.single-product .related.products > h2 { margin-bottom: 2.5rem; font-size: clamp(2.4rem, 4.5vw, 4.5rem); line-height: 1; }
.single-product .related.products ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.single-product .related.products li.product { display: flex; min-width: 0; flex-direction: column; }
.single-product .related.products li.product img { width: 100%; height: 220px; aspect-ratio: auto; object-fit: contain; padding: 1.25rem; }
.single-product .related.products .woocommerce-loop-product__title { min-height: 0 !important; margin-bottom: .75rem !important; font-size: 1.05rem !important; overflow-wrap: anywhere; }
.single-product .related.products .mirror-treatment { margin-top: auto; }
.single-product .related.products .button { width: 100%; min-height: 44px; padding: .7rem .8rem !important; font-size: .68rem; line-height: 1.2; text-align: center; white-space: normal; }

@media (max-width: 900px) {
  .single-product .related.products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 560px) {
  .single-product .related.products ul.products { grid-template-columns: 1fr !important; }
}


/* Responsive header alignment correction — 2026-08-31 */
@media (max-width: 640px) {
  .header-inner {
    height: auto;
    min-height: 104px;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    gap: .7rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 54px;
    height: 54px;
  }

  .header-actions {
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) 36px 36px;
    grid-template-areas:
      "quote cart menu"
      "search search search";
    gap: .38rem;
    align-items: stretch;
  }

  .site-header .header-actions > .header-quote,
  .woocommerce .site-header .header-actions > .header-quote {
    display: flex !important;
    width: auto;
    min-width: 0;
    height: 36px;
    padding: .45rem .55rem !important;
    justify-content: center;
    font-size: .6rem;
    line-height: 1;
    white-space: nowrap;
  }

  .header-cart,
  .menu-toggle {
    width: 36px;
    height: 36px;
  }

  .header-search {
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(90px, 1fr) 38px;
  }

  .primary-nav {
    top: 104px;
  }
}

@media (max-width: 420px) {
  .header-inner {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: .55rem;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .site-header .header-actions > .header-quote,
  .woocommerce .site-header .header-actions > .header-quote {
    padding-inline: .35rem !important;
    font-size: .56rem;
    letter-spacing: .1em;
  }
}



/* Clean product-brand archives */
.store-hero--brand {
  min-height: 460px;
  overflow: hidden;
}
.brand-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}
.brand-hero-copy { position: relative; z-index: 1; }
.brand-hero-copy h1 { max-width: 780px; }
.brand-hero-visual {
  position: relative;
  display: grid;
  min-height: 330px;
  place-items: center;
  margin: 0;
}
.brand-hero-visual::before {
  position: absolute;
  inset: 6% 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 211, 0, .2), rgba(255, 211, 0, 0) 68%);
  content: '';
}
.brand-hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, .45));
}

@media (max-width: 820px) {
  .store-hero--brand { min-height: 0; }
  .brand-hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .brand-hero-visual { min-height: 220px; }
  .brand-hero-visual img { max-height: 250px; }
}

@media (max-width: 560px) {
  .brand-hero-visual { min-height: 180px; }
  .brand-hero-visual img { max-height: 210px; }
}


/* Compact, balanced mobile header — 2026-09-01 */
@media (max-width: 640px) {
  .header-inner {
    height: auto;
    min-height: 0;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    grid-template-areas:
      "menu brand cart"
      "search search search";
    gap: .65rem .75rem;
    padding-top: .7rem;
    padding-bottom: .7rem;
  }

  .brand {
    grid-area: brand;
    min-width: 0;
    justify-self: center;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .header-actions {
    display: contents;
  }

  .header-quote {
    display: none !important;
  }

  .menu-toggle {
    grid-area: menu;
    width: 44px;
    height: 44px;
    justify-self: start;
  }

  .header-cart {
    grid-area: cart;
    width: 44px;
    height: 44px;
    justify-self: end;
  }

  .header-search {
    grid-area: search;
    width: 100%;
    height: 40px;
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .site-header .header-search button,
  .woocommerce .site-header .header-search button {
    width: 44px !important;
    height: 40px !important;
    min-height: 40px !important;
  }

  .primary-nav {
    top: 116px;
  }

  body.admin-bar .primary-nav {
    top: 162px;
  }
}


/* Keep the compact mobile header free of the desktop quote control. */
@media (max-width: 640px) {
  .site-header .header-actions > .header-quote,
  .woocommerce .site-header .header-actions > .header-quote {
    display: none !important;
  }
}


/* Product context shown on quote enquiries. */
.quote-product-context { margin-top: .65rem; padding: .85rem 1rem; border-left: 3px solid var(--yellow); color: var(--muted-dark); background: #efede7; font-size: .78rem; line-height: 1.5; }
.quote-product-context strong { display: block; color: var(--ink); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.quote-product-context p { margin: .4rem 0 0; }
