/* ============================================================
   Airdry — main stylesheet
   Palette: --orange #F09000 | --blue #245490 | --ink #2C3540
   Fonts: Fraunces (display) + Inter (body)
   ============================================================ */

/* fonts loaded via <link> in the page head */

/* ── Reset & tokens ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:  #F09000;
  --blue:    #245490;
  --ink:     #2C3540;
  --line:    rgba(24,48,96,.16);
  --bg:      #FAFAF8;
  --white:   #FFFFFF;
  --muted:   #6B7583;
  --success: #1C8045;
  --error:   #C0392B;
  --radius:  6px;
  --shadow:  0 2px 12px rgba(36,84,144,.10);
  --shadow-lg: 0 8px 32px rgba(36,84,144,.14);
  --max:     clamp(1100px, 92vw, 1720px);
  --gap:     clamp(16px, 2vw, 32px);
  --font-body: 'Inter', system-ui, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
  --text:           #2C3540;
  --text-secondary: #4A5568;
  --bg-alt:         #F5F7FA;
}

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.4em; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--blue);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gap); }

/* ── Skip link ──────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -48px; left: 12px;
  background: var(--blue); color: #fff; padding: .5em 1em;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: .875rem; z-index: 9999; transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  background: var(--blue);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}

.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  padding: .75rem var(--gap);
  max-width: var(--max); margin: 0 auto;
}

.site-logo {
  flex-shrink: 0; display: flex; align-items: center;
  text-decoration: none; line-height: 0;
}
.site-logo img {
  height: 44px; width: auto; display: block;
  filter: brightness(0) invert(1);
}
.site-logo:hover { opacity: .85; }
.site-logo span { display: none; }

.site-nav {
  display: flex; align-items: center; gap: .25rem;
  margin-left: auto;
  flex-wrap: wrap;
}

.site-nav a {
  color: rgba(255,255,255,.88);
  font-size: .9rem; font-weight: 500;
  padding: .45rem .8rem;
  border-radius: var(--radius);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a.active {
  background: rgba(255,255,255,.15);
  color: #fff;
  text-decoration: none;
}
.site-nav a.nav-specials { color: var(--orange); font-weight: 600; }

/* Cart icon */
.cart-link {
  position: relative; display: flex; align-items: center;
  color: #fff; padding: .4rem .6rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,.1);
  transition: background .15s;
  margin-left: .5rem;
}
.cart-link:hover { background: rgba(255,255,255,.2); text-decoration: none; }
.cart-link svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: -4px; right: -6px;
  background: var(--orange); color: #fff;
  font-size: .65rem; font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
  display: none;
}
.cart-count.has-items { display: flex; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  color: #fff; padding: .4rem;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* Search trigger */
.search-trigger {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.8);
  padding: .4rem .9rem;
  border-radius: 20px;
  font-size: .875rem;
  cursor: pointer;
  display: flex; align-items: center; gap: .4rem;
  white-space: nowrap;
  transition: background .15s;
}
.search-trigger:hover { background: rgba(255,255,255,.22); color: #fff; }
.search-trigger kbd {
  font-size: .7rem; opacity: .7;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 3px; padding: 0 .3em;
}

/* ── Search overlay ─────────────────────────────────────── */
.search-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 500;
  background: rgba(36,84,144,.75);
  backdrop-filter: blur(4px);
  align-items: flex-start; justify-content: center;
  padding-top: 80px;
}
.search-overlay.open { display: flex; }

.search-box {
  background: #fff; border-radius: 12px;
  width: min(680px, 94vw);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.search-input-wrap {
  display: flex; align-items: center;
  padding: .75rem 1rem; gap: .75rem;
  border-bottom: 1px solid var(--line);
}
.search-input-wrap svg { color: var(--muted); flex-shrink: 0; }
#search-input {
  flex: 1; border: none; outline: none;
  font-size: 1.1rem; color: var(--ink);
  background: none;
  font-family: var(--font-body);
}
#search-input::placeholder { color: var(--muted); }
.search-close {
  background: none; border: none; cursor: pointer;
  color: var(--muted); padding: .25rem;
  border-radius: var(--radius);
}
.search-close:hover { color: var(--ink); background: #f0f0ee; }

#search-results {
  max-height: 480px; overflow-y: auto;
  padding: .5rem 0;
}
.search-result-item {
  display: flex; align-items: center; gap: 1rem;
  padding: .6rem 1rem;
  cursor: pointer;
  transition: background .1s;
}
.search-result-item:hover { background: #f5f5f2; }
.search-result-img {
  width: 48px; height: 48px;
  object-fit: contain; border-radius: 4px;
  border: 1px solid var(--line); flex-shrink: 0;
  background: #f5f5f2;
}
.search-result-name { font-size: .9rem; font-weight: 500; color: var(--ink); }
.search-result-price { font-size: .8rem; color: var(--blue); font-weight: 600; }
.search-result-cat { font-size: .75rem; color: var(--muted); }
.search-no-results { padding: 2rem 1rem; text-align: center; color: var(--muted); }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, #1a3d6e 100%);
  color: #fff;
  padding: clamp(48px, 8vw, 96px) var(--gap);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner { position: relative; max-width: 760px; margin: 0 auto; }
.hero h1 { color: #fff; margin-bottom: .75rem; }
.hero p { font-size: clamp(1rem, 1.5vw, 1.2rem); opacity: .88; margin-bottom: 1.75rem; }

.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1.4rem;
  border-radius: var(--radius);
  font-size: .95rem; font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer; transition: all .15s;
  text-decoration: none; white-space: nowrap;
  font-family: var(--font-body);
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--orange); color: #fff;
  border-color: var(--orange);
}
.btn-primary:hover { background: #d47e00; border-color: #d47e00; color: #fff; }

.btn-secondary {
  background: transparent; color: var(--blue);
  border-color: var(--blue);
}
.btn-secondary:hover { background: var(--blue); color: #fff; }

.btn-ghost {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn-ghost:hover { background: rgba(255,255,255,.15); color: #fff; }

.btn-sm { padding: .4rem 1rem; font-size: .875rem; }
.btn-lg { padding: .85rem 2rem; font-size: 1.05rem; }

.btn-atc {
  background: var(--orange); color: #fff;
  border: none; padding: .6rem 1.2rem;
  border-radius: var(--radius);
  font-size: .875rem; font-weight: 600;
  cursor: pointer; transition: background .15s;
  font-family: var(--font-body);
  display: inline-flex; align-items: center; gap: .4rem;
  width: 100%;
  justify-content: center;
}
.btn-atc:hover { background: #d47e00; }
.btn-atc:disabled { background: #ccc; cursor: not-allowed; }

.btn-enquire {
  background: var(--blue); color: #fff;
  border: none; padding: .6rem 1.2rem;
  border-radius: var(--radius);
  font-size: .875rem; font-weight: 600;
  cursor: pointer; transition: background .15s;
  font-family: var(--font-body);
  display: inline-flex; align-items: center; gap: .4rem;
  width: 100%;
  justify-content: center;
  text-decoration: none;
}
.btn-enquire:hover { background: #1b3e6b; text-decoration: none; color: #fff; }

/* ── Category cards ─────────────────────────────────────── */
.section { padding: clamp(32px, 5vw, 64px) var(--gap); }
.section-title { text-align: center; margin-bottom: clamp(24px, 3vw, 40px); }
.section-title p { color: var(--muted); margin-top: .5rem; font-size: 1.05rem; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--gap);
  max-width: var(--max); margin: 0 auto;
}

.cat-card {
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  text-decoration: none;
  display: flex; flex-direction: column;
}
.cat-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  text-decoration: none;
}
.cat-card-img {
  width: 100%; aspect-ratio: 3/2;
  object-fit: cover;
  background: #f0f0ee;
}
.cat-card-body { padding: 1rem 1.1rem 1.1rem; flex: 1; display: flex; flex-direction: column; }
.cat-card-body h3 { color: var(--blue); margin-bottom: .3rem; font-size: 1rem; }
.cat-card-body p { color: var(--muted); font-size: .85rem; flex: 1; }
.cat-card-arrow {
  color: var(--orange); font-size: .85rem; font-weight: 600;
  margin-top: .75rem; display: flex; align-items: center; gap: .3rem;
}

/* ── Product grid ───────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--gap);
}

.product-card {
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  display: flex; flex-direction: column;
  position: relative;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.product-card-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f5f5f2;
}
.product-card-img-wrap a { display: block; height: 100%; }
.product-card-img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: .75rem;
  transition: transform .3s;
}
.product-card:hover .product-card-img { transform: scale(1.03); }

.badge-sale {
  position: absolute; top: .5rem; left: .5rem;
  background: var(--orange); color: #fff;
  font-size: .7rem; font-weight: 700;
  padding: .2em .5em;
  border-radius: 3px;
  text-transform: uppercase; letter-spacing: .04em;
}
.badge-oos {
  position: absolute; top: .5rem; left: .5rem;
  background: var(--muted); color: #fff;
  font-size: .7rem; font-weight: 700;
  padding: .2em .5em;
  border-radius: 3px;
  text-transform: uppercase; letter-spacing: .04em;
}

.product-card-body {
  padding: .9rem 1rem 1rem;
  display: flex; flex-direction: column; flex: 1;
}
.product-card-cat {
  font-size: .72rem; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted); margin-bottom: .3rem;
}
.product-card-name {
  font-size: .95rem; font-weight: 600; color: var(--ink);
  margin-bottom: auto; line-height: 1.3;
}
.product-card-name a { color: var(--ink); }
.product-card-name a:hover { color: var(--blue); text-decoration: none; }

.product-card-price {
  margin-top: .75rem; margin-bottom: .75rem;
  display: flex; align-items: baseline; gap: .5rem;
}
.price-current {
  font-size: 1.1rem; font-weight: 700; color: var(--blue);
  font-family: var(--font-display);
}
.price-was {
  font-size: .85rem; color: var(--muted);
  text-decoration: line-through;
}
.price-save {
  font-size: .75rem; color: var(--orange); font-weight: 600;
}

.product-card-actions { display: flex; gap: .5rem; }
.product-card-actions .btn-atc { flex: 1; }
.product-card-actions .btn-enquire { flex: 1; }

/* ── Listing page ───────────────────────────────────────── */
.listing-header {
  background: var(--blue); color: #fff;
  padding: clamp(32px, 5vw, 56px) var(--gap);
}
.listing-header h1 { color: #fff; }
.listing-header p { opacity: .85; margin-top: .5rem; max-width: 640px; }
.listing-meta {
  font-size: .85rem; opacity: .7; margin-top: .75rem;
}

.listing-controls {
  display: flex; gap: 1rem; align-items: center;
  flex-wrap: wrap;
  padding: 1rem var(--gap);
  background: #fff; border-bottom: 1px solid var(--line);
  max-width: 100%; overflow-x: auto;
  position: sticky; top: 60px; z-index: 100;
}

.filter-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  background: #f5f5f2;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: .35rem .9rem;
  font-size: .85rem; cursor: pointer;
  transition: all .15s; white-space: nowrap;
  font-family: var(--font-body);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--blue); color: #fff; border-color: var(--blue);
}

.sort-select {
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .35rem .7rem;
  font-size: .85rem; color: var(--ink);
  cursor: pointer; background: #fff;
  font-family: var(--font-body);
}

.listing-count {
  font-size: .85rem; color: var(--muted);
}

.listing-body {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(24px, 3vw, 40px) var(--gap);
}

/* ── Product page ───────────────────────────────────────── */
.product-page {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(24px, 3vw, 48px) var(--gap);
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.product-images { position: sticky; top: 80px; }

.product-main-img-wrap {
  background: #fff; border-radius: 10px;
  border: 1px solid var(--line);
  padding: 1.5rem;
  margin-bottom: 1rem;
  cursor: zoom-in;
  overflow: hidden;
}
.product-main-img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: contain;
  transition: transform .3s;
}
.product-main-img-wrap:hover .product-main-img { transform: scale(1.08); }

.product-thumbs {
  display: flex; gap: .5rem; flex-wrap: wrap;
}
.product-thumb {
  width: 72px; height: 72px;
  border-radius: 6px; border: 2px solid var(--line);
  cursor: pointer; object-fit: contain; padding: 4px;
  background: #fff;
  transition: border-color .15s;
}
.product-thumb:hover,
.product-thumb.active { border-color: var(--orange); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 900;
  background: rgba(0,0,0,.92);
  align-items: center; justify-content: center;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 90vh; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 1rem; right: 1.5rem;
  color: #fff; font-size: 2rem; cursor: pointer;
  background: none; border: none;
  line-height: 1;
}

.product-info h1 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: .5rem;
}

.product-sku { font-size: .8rem; color: var(--muted); margin-bottom: 1rem; }

.product-price-block {
  margin-bottom: 1.25rem;
  display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap;
}
.product-price-block .price-current { font-size: 1.6rem; }
.product-price-block .price-was { font-size: 1rem; }
.gst-note { font-size: .78rem; color: var(--muted); margin-top: .25rem; }

.product-stock {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .85rem; font-weight: 600;
  margin-bottom: 1.25rem;
}
.product-stock.in-stock { color: var(--success); }
.product-stock.out-of-stock { color: var(--error); }
.stock-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: currentColor; flex-shrink: 0;
}

.product-actions {
  display: flex; flex-direction: column; gap: .75rem;
  margin-bottom: 1.5rem;
}
.qty-row {
  display: flex; align-items: center; gap: .75rem;
}
.qty-label { font-size: .875rem; color: var(--muted); }
.qty-control {
  display: flex; align-items: center; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  background: #fff;
}
.qty-btn {
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer;
  font-size: 1.1rem; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: background .1s;
}
.qty-btn:hover { background: #f5f5f2; }
.qty-input {
  width: 48px; text-align: center;
  border: none; outline: none;
  font-size: .95rem; color: var(--ink);
  font-family: var(--font-body);
}

.product-atc-row {
  display: flex; gap: .75rem;
}
.product-atc-row .btn-atc { flex: 1; padding: .8rem; font-size: 1rem; }
.product-atc-row .btn-enquire { flex: 0 0 auto; padding: .8rem 1.4rem; font-size: .95rem; text-decoration: none; }

.freight-note {
  font-size: .82rem; color: var(--muted);
  background: #f5f5f2; border-radius: var(--radius);
  padding: .6rem .9rem;
  display: flex; align-items: flex-start; gap: .5rem;
}
.freight-note svg { flex-shrink: 0; margin-top: 1px; color: var(--success); }

.product-tabs { margin-top: 2.5rem; }
.tab-nav {
  display: flex; gap: 0;
  border-bottom: 2px solid var(--line);
  overflow-x: auto;
}
.tab-btn {
  padding: .7rem 1.2rem;
  background: none; border: none; cursor: pointer;
  font-size: .9rem; font-weight: 500; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  white-space: nowrap; transition: color .15s;
  font-family: var(--font-body);
}
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { color: var(--blue); border-bottom-color: var(--orange); }

.tab-panel { display: none; padding: 1.5rem 0; }
.tab-panel.active { display: block; }
.tab-panel p { color: var(--ink); }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.spec-table th,
.spec-table td {
  padding: .6rem .8rem;
  border: 1px solid var(--line);
  text-align: left;
}
.spec-table th {
  background: #f5f5f2;
  font-weight: 600;
  color: var(--blue);
  width: 40%;
}

.product-breadcrumb { margin-bottom: 1.5rem; }

/* ── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb {
  font-size: .8rem; color: var(--muted);
  display: flex; gap: .4rem; align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { opacity: .6; }

/* ── Brand strip ────────────────────────────────────────── */
.brand-strip {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(24px, 3vw, 40px) var(--gap);
}
.brand-strip h2 { text-align: center; margin-bottom: 1.5rem; font-size: 1.1rem; color: var(--muted); font-family: var(--font-body); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.brand-logos {
  display: flex; gap: 2rem; align-items: center; justify-content: center;
  flex-wrap: wrap;
}
.brand-logo {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
  color: var(--muted); opacity: .7; transition: opacity .15s;
  padding: .5rem 1rem;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.brand-logo:hover { opacity: 1; color: var(--blue); text-decoration: none; }

/* ── Specials strip ─────────────────────────────────────── */
.specials-strip {
  background: linear-gradient(90deg, #1a3d6e 0%, var(--blue) 100%);
  padding: clamp(24px, 3vw, 40px) var(--gap);
  color: #fff;
}
.specials-strip h2 { color: #fff; text-align: center; margin-bottom: 1.5rem; }
.specials-strip .product-card { max-width: 300px; }
.specials-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--gap);
}
.specials-strip .view-all {
  text-align: center; margin-top: 1.5rem;
}
.specials-strip .view-all a {
  color: var(--orange); font-weight: 600;
}

/* ── Cart page ──────────────────────────────────────────── */
.cart-page {
  max-width: 880px; margin: 0 auto;
  padding: clamp(24px, 3vw, 48px) var(--gap);
}
.cart-page h1 { margin-bottom: 1.5rem; }

.cart-table {
  width: 100%; border-collapse: collapse;
  margin-bottom: 1.5rem;
}
.cart-table th {
  font-size: .8rem; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted);
  padding: .6rem .75rem; border-bottom: 2px solid var(--line);
  text-align: left;
}
.cart-table td { padding: .9rem .75rem; border-bottom: 1px solid var(--line); vertical-align: middle; }

.cart-item-img {
  width: 64px; height: 64px; object-fit: contain;
  border-radius: 4px; border: 1px solid var(--line); background: #f5f5f2;
}
.cart-item-name { font-weight: 600; color: var(--ink); font-size: .95rem; }
.cart-item-sku { font-size: .75rem; color: var(--muted); }
.cart-remove {
  background: none; border: none; cursor: pointer;
  color: var(--muted); padding: .25rem;
  border-radius: 3px; transition: color .15s;
}
.cart-remove:hover { color: var(--error); }

.cart-qty {
  display: flex; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; width: fit-content;
}
.cart-qty-btn {
  width: 30px; height: 30px;
  background: none; border: none; cursor: pointer;
  font-size: 1rem; transition: background .1s;
}
.cart-qty-btn:hover { background: #f0f0ee; }
.cart-qty-input {
  width: 40px; text-align: center;
  border: none; outline: none;
  font-size: .9rem; font-family: var(--font-body);
}

.cart-summary {
  background: #fff; border-radius: 10px;
  border: 1px solid var(--line);
  padding: 1.25rem 1.5rem;
  max-width: 360px; margin-left: auto;
}
.cart-summary-row {
  display: flex; justify-content: space-between;
  padding: .45rem 0; font-size: .9rem;
}
.cart-summary-row.total {
  border-top: 2px solid var(--line); margin-top: .5rem;
  padding-top: .75rem; font-weight: 700;
  font-size: 1.1rem; color: var(--blue);
}
.cart-gst-note { font-size: .78rem; color: var(--muted); text-align: right; margin-top: .4rem; }

.cart-empty { text-align: center; padding: 4rem 1rem; }
.cart-empty svg { color: var(--muted); margin: 0 auto 1rem; }
.cart-empty p { color: var(--muted); }

/* ── Checkout page ──────────────────────────────────────── */
.checkout-page {
  max-width: 960px; margin: 0 auto;
  padding: clamp(24px, 3vw, 48px) var(--gap);
}
.checkout-page h1 { margin-bottom: 1.5rem; }

.checkout-layout {
  display: grid; grid-template-columns: 1fr 380px;
  gap: 2rem; align-items: start;
}

.checkout-form-section h2 {
  font-size: 1.1rem; margin-bottom: 1rem;
  padding-bottom: .5rem; border-bottom: 1px solid var(--line);
}

.form-row {
  display: flex; gap: 1rem;
  margin-bottom: .9rem;
}
.form-field {
  flex: 1; display: flex; flex-direction: column; gap: .3rem;
  margin-bottom: .9rem;
}
.form-label { font-size: .85rem; font-weight: 500; color: var(--ink); }
.form-input,
.form-textarea,
.form-select {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .6rem .8rem;
  font-size: .9rem; color: var(--ink);
  background: #fff; width: 100%;
  font-family: var(--font-body);
  transition: border-color .15s;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(36,84,144,.12);
}
.form-textarea { resize: vertical; min-height: 100px; }

.form-error {
  font-size: .78rem; color: var(--error); margin-top: .2rem;
}

#square-card-element {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .75rem;
  min-height: 60px;
  background: #fff;
}
.payment-note {
  font-size: .78rem; color: var(--muted);
  display: flex; align-items: center; gap: .4rem;
  margin-top: .5rem;
}

.checkout-summary {
  background: #fff; border-radius: 10px;
  border: 1px solid var(--line);
  padding: 1.25rem;
  position: sticky; top: 80px;
}
.checkout-summary h2 { font-size: 1rem; margin-bottom: 1rem; }
.checkout-item-row {
  display: flex; gap: .75rem; align-items: center;
  margin-bottom: .75rem;
}
.checkout-item-img {
  width: 48px; height: 48px; object-fit: contain;
  border-radius: 4px; border: 1px solid var(--line); background: #f5f5f2;
  flex-shrink: 0;
}
.checkout-item-info { flex: 1; min-width: 0; }
.checkout-item-name { font-size: .85rem; font-weight: 600; color: var(--ink); }
.checkout-item-qty { font-size: .78rem; color: var(--muted); }
.checkout-item-price { font-size: .9rem; font-weight: 600; color: var(--blue); white-space: nowrap; }

/* ── Advice / enquiry form ──────────────────────────────── */
.advice-page {
  max-width: 760px; margin: 0 auto;
  padding: clamp(24px, 3vw, 48px) var(--gap);
}
.advice-intro { margin-bottom: 2rem; }
.advice-contact-bar {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  background: var(--blue); color: #fff;
  border-radius: 10px; padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.advice-contact-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .9rem;
}
.advice-contact-item a { color: var(--orange); font-weight: 600; }
.advice-contact-item svg { flex-shrink: 0; }

/* ── Content / static pages ─────────────────────────────── */
.content-page {
  max-width: 760px; margin: 0 auto;
  padding: clamp(24px, 3vw, 48px) var(--gap);
}
.content-page h1 { margin-bottom: 1.5rem; }
.content-page h2 { margin-top: 2rem; margin-bottom: 1rem; font-size: 1.3rem; }
.content-page h3 { margin-top: 1.5rem; margin-bottom: .75rem; font-size: 1.1rem; }
.content-page ul, .content-page ol { margin-bottom: 1em; }
.content-page li { margin-bottom: .4em; }

/* ── City / landing pages ───────────────────────────────── */
.city-hero {
  background: linear-gradient(135deg, var(--blue) 0%, #1a3d6e 100%);
  color: #fff; padding: clamp(40px, 6vw, 72px) var(--gap);
}
.city-hero h1 { color: #fff; }
.city-hero p { opacity: .85; max-width: 640px; margin-top: .75rem; }

.local-cta {
  background: #fff; border-radius: 10px;
  border: 1px solid var(--line);
  padding: 1.5rem; text-align: center;
  margin: 2rem 0;
}
.local-cta h2 { font-size: 1.3rem; margin-bottom: .75rem; }

/* ── Guides / pillar pages ──────────────────────────────── */
.guide-hero {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: clamp(32px, 5vw, 56px) var(--gap);
}
.guide-hero .wrap { max-width: 800px; }

.guide-body {
  max-width: 800px; margin: 0 auto;
  padding: clamp(24px, 3vw, 48px) var(--gap);
}
.guide-body h2 { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.guide-body h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }

.faq-item { margin-bottom: 1.25rem; }
.faq-q {
  font-family: var(--font-display);
  font-weight: 600; color: var(--blue);
  font-size: 1rem; margin-bottom: .4rem;
}
.faq-a { color: var(--ink); }
.faq-source { font-size: .75rem; color: var(--muted); }

/* ── Specials page ──────────────────────────────────────── */
.specials-page {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(24px, 3vw, 40px) var(--gap);
}
.specials-hero {
  background: linear-gradient(90deg, var(--orange) 0%, #d47e00 100%);
  color: #fff; padding: clamp(32px, 5vw, 56px) var(--gap);
  text-align: center;
}
.specials-hero h1 { color: #fff; }
.specials-hero p { opacity: .9; margin-top: .5rem; }

/* ── Thank you page ─────────────────────────────────────── */
.thankyou-page {
  max-width: 640px; margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) var(--gap);
  text-align: center;
}
.thankyou-icon {
  width: 80px; height: 80px;
  background: var(--success); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; font-size: 2.5rem;
}
.thankyou-page h1 { margin-bottom: 1rem; }
.thankyou-page p { color: var(--muted); margin-bottom: 1.5rem; }

/* ── 404 page ───────────────────────────────────────────── */
.notfound-page {
  max-width: 580px; margin: 0 auto;
  padding: clamp(48px, 10vw, 120px) var(--gap);
  text-align: center;
}
.notfound-code {
  font-family: var(--font-display);
  font-size: 7rem; font-weight: 700; color: var(--line);
  line-height: 1; margin-bottom: .5rem;
}
.notfound-page h1 { font-size: 1.5rem; margin-bottom: .75rem; }
.notfound-page p { color: var(--muted); margin-bottom: 1.5rem; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: #1a2535; color: rgba(255,255,255,.7);
  padding: clamp(40px, 5vw, 64px) var(--gap) 2rem;
  margin-top: 4rem;
}
.footer-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  margin-bottom: 2.5rem;
}
.footer-brand { }
.footer-brand .site-logo { font-size: 1.3rem; margin-bottom: .75rem; display: inline-flex; }
.footer-brand p { font-size: .875rem; line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  color: #fff; font-size: .85rem; font-family: var(--font-body);
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: .5rem; }
.footer-col a {
  color: rgba(255,255,255,.65); font-size: .875rem;
  transition: color .15s;
}
.footer-col a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
  max-width: var(--max); margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; gap: 1rem; align-items: center;
  flex-wrap: wrap; justify-content: space-between;
  font-size: .8rem; color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: #fff; }

/* ── Toast notifications ────────────────────────────────── */
#toast-container {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  z-index: 800; display: flex; flex-direction: column; gap: .5rem;
  pointer-events: none;
}
.toast {
  background: var(--blue); color: #fff;
  padding: .75rem 1.1rem;
  border-radius: 8px; font-size: .875rem; font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: .75rem;
  pointer-events: auto;
  animation: slideIn .2s ease;
  min-width: 240px; max-width: 360px;
}
.toast.success { background: var(--success); }
.toast.error { background: var(--error); }
.toast svg { flex-shrink: 0; }

@keyframes slideIn {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes fadeOut {
  to { opacity: 0; transform: translateX(120%); }
}
.toast.removing { animation: fadeOut .2s ease forwards; }

/* ── Utility ────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none !important; }

.page-header {
  background: var(--blue); color: #fff;
  padding: clamp(32px, 5vw, 56px) var(--gap);
}
.page-header h1 { color: #fff; }
.page-header p { opacity: .85; max-width: 640px; margin-top: .5rem; }

/* ── Consent banner ─────────────────────────────────────── */
#consent-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #1a2535; color: rgba(255,255,255,.88);
  padding: 1rem var(--gap);
  z-index: 700;
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
  justify-content: space-between;
  box-shadow: 0 -4px 20px rgba(0,0,0,.3);
  font-size: .875rem;
}
#consent-banner a { color: var(--orange); }
.consent-btns { display: flex; gap: .75rem; }
.consent-accept {
  background: var(--orange); color: #fff; border: none;
  padding: .5rem 1.2rem; border-radius: var(--radius);
  font-size: .875rem; font-weight: 600; cursor: pointer;
  font-family: var(--font-body);
}
.consent-decline {
  background: none; color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.3);
  padding: .5rem 1rem; border-radius: var(--radius);
  font-size: .875rem; cursor: pointer;
  font-family: var(--font-body);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-images { position: static; }
  .cart-table th:nth-child(4),
  .cart-table td:nth-child(4) { display: none; }
}

@media (max-width: 680px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .site-nav.mobile-open { display: flex; flex-direction: column; width: 100%; }
  .nav-toggle { display: block; }
  .header-inner { flex-wrap: wrap; }
  .product-atc-row { flex-direction: column; }
  .form-row { flex-direction: column; }
  .cart-table th:nth-child(3),
  .cart-table td:nth-child(3) { display: none; }
}

@media (max-width: 360px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ── Print / PDF spec sheet ─────────────────────────────── */
@media print {
  .site-header, .site-footer, .product-thumbs,
  .product-actions, .product-card-actions,
  .listing-controls, #toast-container,
  #consent-banner, .search-overlay { display: none !important; }
  body { background: #fff; }
  .product-layout { grid-template-columns: 1fr 1fr; }
  .product-page { padding: 1rem; }
  a[href]::after { content: none; }
  .print-header {
    display: flex !important;
    justify-content: space-between; align-items: center;
    padding-bottom: 1rem; margin-bottom: 1rem;
    border-bottom: 2px solid var(--blue);
  }
}
.print-header { display: none; }

/* ── RRP label ──────────────────────────────────────────── */
.rrp-label {
  font-size: .75em;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-weight: 600;
  opacity: .8;
}

/* ── Quick contact CTA ─────────────────────────────────── */
.quick-contact-cta {
  background: var(--blue);
  color: #fff;
  padding: 2.5rem 0;
}
.qc-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.qc-text h2 { color: #fff; margin-bottom: .35rem; font-size: 1.4rem; }
.qc-text p  { opacity: .9; margin: 0; }
.qc-actions { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.qc-actions .btn-ghost {
  border-color: rgba(255,255,255,.6);
  color: #fff;
}
.qc-actions .btn-ghost:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
}

/* ── Video grid ─────────────────────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 1rem 0 1.5rem;
}
.video-embed-wrap {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.video-embed {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  border-radius: 8px;
  border: none;
}
.video-caption {
  font-size: .85rem;
  color: var(--muted);
  margin: 0;
}

/* ── FAQ page ───────────────────────────────────────────── */
.faq-page .faq-intro {
  margin-bottom: 1.5rem;
  padding: 1rem 1.5rem;
  background: var(--bg-alt, #f5f7fa);
  border-radius: 8px;
}
.faq-brand-heading {
  margin-top: 2rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--blue);
  color: var(--blue);
}
.faq-page .faq-item {
  border-bottom: 1px solid var(--line);
  padding: .9rem 0;
}
.faq-page .faq-q {
  font-weight: 600;
  margin-bottom: .4rem;
}
.faq-page .faq-a {
  color: var(--text-secondary, #555);
  line-height: 1.6;
}

/* ── Quiz page ──────────────────────────────────────────── */
.quiz-page { max-width: 700px; margin: 0 auto; }
.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-progress { margin-bottom: 1.5rem; }
.quiz-step-num { font-size: .85rem; color: var(--muted); display: block; margin-bottom: .4rem; }
.quiz-bar { background: var(--line); border-radius: 99px; height: 6px; }
.quiz-bar-fill { background: var(--blue); border-radius: 99px; height: 6px; transition: width .3s ease; }
.quiz-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.quiz-opt {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 1.1rem 1.25rem;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s, background .15s;
}
.quiz-opt:hover, .quiz-opt:focus {
  border-color: var(--blue);
  background: #f0f7ff;
  outline: none;
}
.quiz-opt-icon { font-size: 1.6rem; line-height: 1; }
.quiz-opt strong { font-size: 1rem; color: var(--ink); }
.quiz-opt span { font-size: .85rem; color: var(--muted); }
.quiz-result {
  padding: 1.5rem;
  background: #f0f7ff;
  border: 2px solid var(--blue);
  border-radius: 10px;
}
.quiz-result-cta {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 640px) {
  .qc-inner { flex-direction: column; text-align: center; }
  .qc-actions { justify-content: center; }
  .quiz-options { grid-template-columns: 1fr; }
}

/* ============================================================
   Airdry — Oct 2026 additions (ticker, header, hero, Ask Airdry,
   contact form, calculators, news, product extras)
   ============================================================ */
:root { --navy: #1C3060; --orange-deep: #E08600; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Ticker ─────────────────────────────────────────────── */
.ticker { background: var(--navy); color: #fff; overflow: hidden; font-size: .85rem; position: relative; z-index: 201; }
.ticker-track { display: flex; width: max-content; animation: ticker 55s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-list { display: flex; list-style: none; margin: 0; padding: .45rem 0; }
.ticker-list li { white-space: nowrap; padding: 0 2.2rem; position: relative; }
.ticker-list li::after { content: '•'; position: absolute; right: -.15rem; color: var(--orange); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } .ticker-list[aria-hidden] { display: none; } .ticker-list { flex-wrap: wrap; justify-content: center; } }

/* ── Header: white bar so the logo shows its true colours ── */
.site-header { background: #fff; box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(28,48,96,.06); }
.site-logo img { filter: none; height: 48px; }
.site-nav a { color: var(--ink); }
.site-nav a:hover, .site-nav a.active { background: rgba(36,84,144,.08); color: var(--blue); }
.site-nav a.nav-specials { color: var(--orange-deep); }
.cart-link { color: var(--blue); background: rgba(36,84,144,.08); }
.cart-link:hover { background: rgba(36,84,144,.16); }
.nav-toggle { color: var(--blue); }
.search-trigger { background: var(--bg-alt); border-color: var(--line); color: var(--ink); }
.search-trigger:hover { background: #e9eef5; color: var(--blue); }
.search-trigger kbd { border-color: var(--line); }
@media (max-width: 900px) { .site-nav.mobile-open { background: #fff; } }

/* ── Hero with blended, shaded image ────────────────────── */
.hero {
  background:
    linear-gradient(100deg, rgba(28,48,96,.97) 0%, rgba(28,48,96,.88) 38%, rgba(28,48,96,.45) 70%, rgba(28,48,96,.25) 100%),
    url("../img/hero-cowl.webp") right center / cover no-repeat,
    var(--navy);
  text-align: left;
  padding: clamp(56px, 9vw, 120px) var(--gap);
}
.hero::before { opacity: .5; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--orange), transparent 70%); }
.hero-inner { max-width: var(--max); margin: 0 auto; }
.hero-inner > * { max-width: 640px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero-cta { justify-content: flex-start; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; padding: 0; list-style: none; }
.hero-badges li { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); padding: .3rem .75rem; border-radius: 999px; font-size: .85rem; backdrop-filter: blur(4px); }
@media (max-width: 700px) { .hero { background: linear-gradient(180deg, rgba(28,48,96,.92), rgba(28,48,96,.85)), url("../img/hero-cowl.webp") center / cover no-repeat, var(--navy); } }

/* ── Ask Airdry ─────────────────────────────────────────── */
.ask { position: fixed; right: 18px; bottom: 18px; z-index: 450; font-size: .95rem; }
.ask-launch { display: flex; align-items: center; gap: .55rem; border: 0; cursor: pointer; padding: .7rem 1.1rem .7rem .8rem; border-radius: 999px;
  background: var(--navy); color: #fff; box-shadow: 0 10px 30px rgba(28,48,96,.35); font: inherit; transition: transform .15s, box-shadow .15s; }
.ask-launch:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(28,48,96,.42); }
.ask-launch strong { color: var(--orange); }
.ask-launch-icon { font-size: 1.25rem; line-height: 1; }
.ask.is-open .ask-launch { display: none; }
.ask-panel { position: absolute; right: 0; bottom: 0; width: min(390px, calc(100vw - 24px)); height: min(560px, calc(100vh - 110px));
  background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(20,30,60,.28); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
.ask-panel[hidden] { display: none; }
.ask-head { display: flex; justify-content: space-between; align-items: center; padding: .9rem 1rem; background: linear-gradient(120deg, var(--navy), var(--blue)); color: #fff; }
.ask-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.ask-sub { font-size: .78rem; opacity: .8; }
.ask-close { background: rgba(255,255,255,.15); color: #fff; border: 0; width: 32px; height: 32px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; }
.ask-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; background: var(--bg-alt); }
.ask-msg { max-width: 88%; padding: .65rem .85rem; border-radius: 14px; line-height: 1.45; font-size: .9rem; }
.ask-msg p { margin: 0 0 .45rem; } .ask-msg p:last-child { margin: 0; }
.ask-msg.bot { background: #fff; border: 1px solid var(--line); border-top-left-radius: 4px; align-self: flex-start; }
.ask-msg.me { background: var(--blue); color: #fff; border-top-right-radius: 4px; align-self: flex-end; }
.ask-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .3rem; }
.ask-chip { border: 1px solid var(--line); background: var(--bg-alt); color: var(--blue); padding: .35rem .65rem; border-radius: 999px; font-size: .8rem; cursor: pointer; text-align: left; }
.ask-chip:hover { background: #e7edf6; }
.ask-prod { padding: .4rem 0; border-bottom: 1px dashed var(--line); } .ask-prod:last-of-type { border: 0; }
.ask-prod p { font-size: .82rem; color: var(--text-secondary); margin: .2rem 0 0; }
.ask-more, .ask-related { font-size: .8rem; margin-top: .4rem; color: var(--muted); }
.ask-cta { font-weight: 600; }
.ask-form { display: flex; gap: .4rem; padding: .7rem; border-top: 1px solid var(--line); background: #fff; }
.ask-input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: .6rem .9rem; font: inherit; font-size: .9rem; }
.ask-input:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.ask-send { width: 40px; border: 0; border-radius: 50%; background: var(--orange); color: #fff; cursor: pointer; font-size: 1rem; }
.ask-foot { font-size: .75rem; color: var(--muted); padding: 0 1rem .7rem; background: #fff; }
.ask-dots i { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: var(--muted); animation: askdot 1s infinite; }
.ask-dots i:nth-child(2) { animation-delay: .15s; } .ask-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes askdot { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@media print { .ask, .ticker { display: none !important; } }

/* ── Contact page ───────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: clamp(20px, 3vw, 48px); padding-top: 2rem; padding-bottom: 3rem; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; box-shadow: var(--shadow); position: sticky; top: 110px; }
.contact-card h2 { font-size: 1.25rem; margin-bottom: .8rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .55rem; }
.contact-tip { font-size: .88rem; background: var(--bg-alt); padding: .7rem .8rem; border-radius: 10px; }
.link-btn { background: none; border: 0; color: var(--blue); font: inherit; font-weight: 600; cursor: pointer; padding: 0; text-decoration: underline; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: clamp(1rem, 2.5vw, 2rem); box-shadow: var(--shadow); }
.form-row.three { grid-template-columns: repeat(3, 1fr); }
.form-privacy { font-size: .82rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
select.form-input { appearance: auto; }
@media (max-width: 800px) { .contact-layout { grid-template-columns: 1fr; } .contact-card { position: static; } .form-row.three { grid-template-columns: 1fr 1fr; } }

/* ── Tiles (calculators hub / information) ──────────────── */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; padding-top: 2rem; padding-bottom: 2.5rem; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem; color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; display: block; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--orange); text-decoration: none; }
.tile-icon { font-size: 1.8rem; display: block; margin-bottom: .4rem; }
.tile h2 { font-size: 1.15rem; margin-bottom: .3rem; }
.tile p { font-size: .9rem; color: var(--text-secondary); margin: 0; }

/* ── Calculators ────────────────────────────────────────── */
.calc { padding-top: 2rem; padding-bottom: 3rem; display: grid; gap: 1.5rem; }
.calc-form fieldset { border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem 1.2rem; margin-bottom: 1rem; background: #fff; }
.calc-form legend { font-weight: 600; color: var(--blue); padding: 0 .4rem; }
.check { display: flex; gap: .5rem; align-items: center; font-size: .92rem; margin-top: .5rem; }
.calc-result { background: linear-gradient(120deg, var(--navy), var(--blue)); color: #fff; border-radius: 16px; padding: 1.4rem 1.6rem; }
.calc-result p { margin: .4rem 0 0; opacity: .95; }
.calc-result strong { color: #fff; }
.calc-big { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.calc-big strong { color: var(--orange) !important; }
.calc-warn { background: #fff7e6; color: #7a4b00; border: 1px solid #ffd99a; padding: .7rem .9rem; border-radius: 10px; }
.calc-result .calc-warn { margin-top: .8rem; }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-top: .8rem; }
.calc-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .8rem; display: flex; flex-direction: column; gap: .3rem; color: var(--ink); }
.calc-card:hover { border-color: var(--orange); text-decoration: none; box-shadow: var(--shadow); }
.calc-card img { width: 100%; height: 140px; object-fit: contain; background: #fff; }
.calc-card-name { font-weight: 600; font-size: .88rem; line-height: 1.3; }
.calc-card-meta { font-size: .8rem; color: var(--muted); }
.calc-card-price { font-weight: 700; color: var(--blue); }
.calc-fan-count { font-family: var(--font-display); font-size: 2.4rem; color: var(--orange); line-height: 1; }
.calc-note { font-size: .9rem; color: var(--text-secondary); margin-top: .8rem; }
.calc-how { font-size: .9rem; color: var(--text-secondary); } .calc-how summary { cursor: pointer; color: var(--blue); font-weight: 600; }

/* ── News ───────────────────────────────────────────────── */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; padding-top: 2rem; padding-bottom: 3rem; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem; color: var(--ink); display: flex; flex-direction: column; gap: .35rem; }
.news-card:hover { border-color: var(--orange); box-shadow: var(--shadow-lg); text-decoration: none; }
.news-emoji { font-size: 2rem; }
.news-card time, .news-post time { font-size: .8rem; color: var(--muted); }
.news-card h2 { font-size: 1.2rem; }
.news-card p { font-size: .92rem; color: var(--text-secondary); margin: 0; }
.news-more { margin-top: auto; color: var(--blue); font-weight: 600; font-size: .9rem; }
.news-post { max-width: 760px; padding-top: 2rem; padding-bottom: 3rem; }
.news-post h1 { margin: .3rem 0 .2rem; }
.news-post time { display: block; margin-bottom: 1.2rem; }
.news-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.5rem; }
.btn-ghost-dark { border: 1px solid var(--blue); color: var(--blue); background: transparent; }

/* ── Product page extras ────────────────────────────────── */
.btn-pdf { display: inline-flex; align-items: center; gap: .4rem; margin: .9rem 0 .2rem; padding: .55rem .95rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-alt); color: var(--blue); font-weight: 600; font-size: .9rem; }
.btn-pdf:hover { background: #e7edf6; text-decoration: none; }
.ymal { max-width: var(--max); margin: 1rem auto 3rem; padding: 0 var(--gap); }
.ymal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .8rem; }
.ymal-arrows button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--blue); font-size: 1.4rem; cursor: pointer; }
.ymal-arrows button:hover { border-color: var(--orange); }
.ymal-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 230px); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: .6rem; scrollbar-width: thin; }
.ymal-card { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .8rem; display: flex; flex-direction: column; gap: .35rem; color: var(--ink); }
.ymal-card:hover { border-color: var(--orange); box-shadow: var(--shadow); text-decoration: none; }
.ymal-card img { width: 100%; height: 150px; object-fit: contain; }
.ymal-name { font-size: .86rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ymal-price { font-weight: 700; color: var(--blue); font-size: .95rem; margin-top: auto; }
.ymal-was { font-weight: 400; color: var(--muted); font-size: .78rem; text-decoration: line-through; margin-left: .25rem; }
/* Keep Ask Airdry clear of the cookie banner while it's showing */
#consent-banner[style*="flex"] ~ #ask-airdry { bottom: 96px; }
@media (max-width: 600px) { #consent-banner[style*="flex"] ~ #ask-airdry { bottom: 150px; } .ask-launch-text { display: none; } .ask-launch { padding: .8rem; } }
/* Footer logo keeps its colours on a white badge */
.site-footer .site-logo { background: #fff; border-radius: 12px; padding: .45rem .7rem; line-height: 0; }
.site-footer .site-logo img { filter: none; height: 40px; }

/* ── 404 "blown away" ── */
.nf { max-width: 720px; margin: 0 auto; padding: clamp(40px, 8vw, 90px) var(--gap); text-align: center; }
.nf-swirl { font-size: clamp(4rem, 12vw, 7rem); display: inline-block; animation: nfspin 2.4s ease-in-out infinite; }
@keyframes nfspin { 0% { transform: rotate(0) translateX(0); } 50% { transform: rotate(-12deg) translateX(18px); } 100% { transform: rotate(0) translateX(0); } }
@media (prefers-reduced-motion: reduce) { .nf-swirl { animation: none; } }
.nf h1 { margin: .5rem 0 .75rem; }
.nf-lead { font-size: 1.15rem; color: var(--text-secondary); }
.nf-count { font-weight: 600; color: var(--blue); }
.nf-count strong { color: var(--orange); font-size: 1.3em; }
.nf-btns { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin: 1.5rem 0; }
.nf-guess { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.4rem; margin: 1rem auto; }
.nf-guess h2 { font-size: 1.1rem; margin-bottom: .5rem; }
.nf-small { font-size: .9rem; color: var(--muted); }
