/* =========================================================
   Whisker & Petal — main stylesheet
   Change the tokens in :root to restyle the whole site.
   Mobile-first: base styles are for small screens,
   media queries add layout for larger screens.
   ========================================================= */

:root {
  /* Colour */
  --c-linen: #F5F0E6;      /* page background */
  --c-paper: #FBF8F1;      /* cards, fields, drawing sheet */
  --c-oat: #ECE4D4;        /* image backgrounds */
  --c-ink: #2A2B28;        /* charcoal text */
  --c-ink-soft: #575A51;   /* secondary text */
  --c-line: #DCD3C1;       /* hairlines and borders */
  --c-moss: #4C6447;       /* natural green */
  --c-moss-deep: #2F4230;  /* buttons, enquiry band */
  --c-moss-tint: #E2E6D6;  /* tinted sections */
  --c-rosehip: #9A4E4C;    /* dimensions + "to be confirmed" only */
  --c-focus: #2F4230;

  /* Type */
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  --fs-xl: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem);
  --fs-hero: clamp(2.7rem, 1.6rem + 4.8vw, 5.4rem);
  --lh-body: 1.6;
  --lh-tight: 1.02;

  /* Space */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4.5rem;
  --s-9: clamp(4rem, 3rem + 5vw, 7.5rem);

  /* Layout */
  --wrap: 72rem;
  --measure: 38rem;
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 18px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--c-linen);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 var(--s-4);
  text-wrap: balance;
}
h1 { font-size: var(--fs-xl); letter-spacing: -0.025em; }
h2 { font-size: var(--fs-lg); letter-spacing: -0.02em; }
h3 { font-size: var(--fs-md); }

p { margin: 0 0 var(--s-4); max-width: var(--measure); }

a {
  color: var(--c-moss-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--c-moss); }

:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -4rem;
  z-index: 100;
  background: var(--c-ink);
  color: var(--c-paper);
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-sm);
}
.skip-link:focus { top: var(--s-4); color: var(--c-paper); }

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

/* ---------- Layout helpers ---------- */

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.section { padding-block: var(--s-9); }
.section--tint { background: var(--c-moss-tint); }
.section--paper { background: var(--c-paper); }
.section--ruled { border-top: 1px solid var(--c-line); }

.section-head { margin-bottom: var(--s-7); }
.section-head p { color: var(--c-ink-soft); }

.lede {
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.5;
  color: var(--c-ink-soft);
}

.note { font-size: var(--fs-sm); color: var(--c-ink-soft); }

/* Clearly visible "fill this in" text */
.tbc {
  color: var(--c-rosehip);
  font-style: italic;
}

/* ---------- Header and navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-linen);
  background: color-mix(in srgb, var(--c-linen) 94%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2) var(--s-4);
  min-height: 4.25rem;
  padding-block: var(--s-2);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28em;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  text-decoration: none;
}
.brand:hover { color: var(--c-ink); }
.brand-amp { color: var(--c-moss); font-weight: 500; }

.nav-toggle { display: none; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--s-5);
}
.site-nav a {
  display: inline-block;
  padding: var(--s-2) 0;
  color: var(--c-ink);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-color: var(--c-line); color: var(--c-ink); }
.site-nav a[aria-current="page"] { border-color: var(--c-moss); }

/* Small screens with JavaScript: collapsible menu */
.js .nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 2.75rem;
  padding: 0 var(--s-4);
  font: inherit;
  font-weight: 600;
  color: var(--c-ink);
  background: transparent;
  border: 1.5px solid var(--c-ink);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.js .site-nav {
  display: none;
  position: absolute;
  inset: 100% 0 auto 0;
  background: var(--c-linen);
  border-bottom: 1px solid var(--c-line);
}
.js .site-nav.is-open { display: block; }
.js .site-nav ul {
  flex-direction: column;
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
  padding-block: var(--s-2) var(--s-5);
}
.js .site-nav a { font-size: 1.15rem; padding: var(--s-3) 0; }

@media (min-width: 48rem) {
  .js .nav-toggle { display: none; }
  .js .site-nav { display: block; position: static; background: none; border: 0; }
  .js .site-nav ul { flex-direction: row; width: auto; margin: 0; padding: 0; }
  .js .site-nav a { font-size: 1rem; padding: var(--s-2) 0; }
}

/* ---------- Buttons ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-5);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  color: var(--c-paper);
  background: var(--c-moss-deep);
  border: 1.5px solid var(--c-moss-deep);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-paper); }

.btn--quiet { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.btn--quiet:hover { background: var(--c-ink); color: var(--c-paper); }

.btn--light { background: var(--c-paper); color: var(--c-moss-deep); border-color: var(--c-paper); }
.btn--light:hover { background: var(--c-linen); border-color: var(--c-linen); color: var(--c-ink); }

.btn--small { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: 0.95rem; }

/* ---------- Photography and placeholders ---------- */

.media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--c-oat);
  aspect-ratio: var(--ratio, 1 / 1);
}
.media--1x1 { --ratio: 1 / 1; }
.media--4x5 { --ratio: 4 / 5; }
.media--3x2 { --ratio: 3 / 2; }

.media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Shown automatically when the photo file doesn't exist yet */
.media.is-missing {
  background: repeating-linear-gradient(135deg, var(--c-oat) 0 14px, #E3D9C5 14px 15px);
}
.media.is-missing img { visibility: hidden; }
.media.is-missing::after {
  content: "Photo needed: " attr(data-ph-file) "\A" attr(data-ph-spec);
  white-space: pre-line;
  position: absolute;
  left: var(--s-3);
  right: var(--s-3);
  bottom: var(--s-3);
  padding: var(--s-2) var(--s-3);
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--c-ink-soft);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
}

/* ---------- Hero ---------- */

.hero { padding-block: var(--s-7) var(--s-9); }

.hero-grid { display: grid; gap: var(--s-7); align-items: end; }

.hero-title {
  font-size: var(--fs-hero);
  line-height: var(--lh-tight);
  letter-spacing: -0.035em;
  max-width: 11ch;
  margin-bottom: var(--s-5);
}

@media (min-width: 56rem) {
  .hero { padding-top: var(--s-8); }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: var(--s-8); }
}

/* ---------- Featured product ---------- */

.feature-grid { display: grid; gap: var(--s-6); }

@media (min-width: 56rem) {
  .feature-grid {
    grid-template-columns: 1.1fr 1fr;
    grid-template-areas:
      "media copy"
      "media drawing";
    column-gap: var(--s-8);
    row-gap: var(--s-6);
    align-items: start;
  }
  .feature-media { grid-area: media; }
  .feature-copy { grid-area: copy; }
  .feature-drawing { grid-area: drawing; }
}

.price-list {
  list-style: none;
  max-width: 26rem;
  margin: var(--s-5) 0 var(--s-4);
  padding: 0;
  border-top: 1px solid var(--c-line);
}
.price-list li {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--c-line);
}
.amount {
  font-family: var(--font-display);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ---------- Technical drawing ---------- */

.drawing {
  --grid: rgba(76, 100, 71, 0.09);
  margin: 0;
  padding: var(--s-5);
  background-color: var(--c-paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 20px 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
}
.drawing svg { width: 100%; max-width: 30rem; margin-inline: auto; }
.drawing figcaption {
  margin-top: var(--s-3);
  font-size: var(--fs-sm);
  color: var(--c-ink-soft);
}

.dwg-part { fill: none; stroke: var(--c-moss-deep); stroke-width: 2; stroke-linejoin: round; }
.dwg-centre { fill: none; stroke: var(--c-moss); stroke-width: 1; }
.dwg-ext { stroke: var(--c-rosehip); stroke-width: 0.75; }
.dwg-dim { stroke: var(--c-rosehip); stroke-width: 1; fill: none; }
.dwg-arrow { fill: var(--c-rosehip); }
.dwg-text {
  fill: var(--c-rosehip);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
}
.dwg-label {
  fill: var(--c-ink-soft);
  font-family: var(--font-body);
  font-size: 13px;
}

/* ---------- Categories ---------- */

.category-grid {
  display: grid;
  gap: var(--s-7) var(--s-5);
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.category { position: relative; }
.category h3 { margin: var(--s-4) 0 var(--s-1); }
.category h3 a { color: var(--c-ink); text-decoration: none; }
.category h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-md); }
.category h3 a:focus-visible { outline: none; }
.category h3 a:focus-visible::after { outline: 3px solid var(--c-focus); outline-offset: 4px; }
.category:hover h3 a { text-decoration: underline; }
.category p { margin: 0; font-size: 0.975rem; color: var(--c-ink-soft); }

.status {
  display: inline-block;
  margin-top: var(--s-2);
  padding: 0.15rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-moss-deep);
  background: var(--c-moss-tint);
  border-radius: 999px;
}

/* ---------- Two-column split ---------- */

.split { display: grid; gap: var(--s-6); align-items: center; }

@media (min-width: 56rem) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--s-8); }
  .split--reverse .split-media { order: 2; }
}

/* ---------- Process steps (a real sequence) ---------- */

.steps {
  list-style: none;
  margin: var(--s-6) 0;
  padding: 0;
  display: grid;
  gap: var(--s-6);
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  padding-top: var(--s-4);
  border-top: 2px solid var(--c-moss);
}
.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: var(--s-3);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--c-moss);
}
.steps h3 { font-size: 1.125rem; margin-bottom: var(--s-2); }
.steps p { margin: 0; color: var(--c-ink-soft); }

@media (min-width: 48rem) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
}

/* ---------- Enquiry band ---------- */

.cta-band {
  padding-block: var(--s-8);
  background: var(--c-moss-deep);
  color: var(--c-paper);
}
.cta-band h2 { color: var(--c-paper); }
.cta-band p { color: #D6DDCD; margin-bottom: 0; }
.cta-inner { display: grid; gap: var(--s-5); align-items: center; }

@media (min-width: 56rem) {
  .cta-inner { grid-template-columns: 1fr auto; gap: var(--s-8); }
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: var(--s-8) var(--s-5);
  font-size: 0.95rem;
  color: #CFCBC0;
  background: var(--c-ink);
}
.site-footer a { color: var(--c-paper); }
.site-footer p { margin-bottom: var(--s-2); }
.site-footer .tbc { color: #E7B2AE; }

.brand--footer { color: var(--c-paper); margin-bottom: var(--s-3); }
.brand--footer:hover { color: var(--c-paper); }
.brand--footer .brand-amp { color: #A9BFA0; }

.footer-grid { display: grid; gap: var(--s-6); }
@media (min-width: 48rem) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
}

.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; color: var(--c-paper); }

.footer-base {
  margin-top: var(--s-7);
  padding-top: var(--s-4);
  font-size: var(--fs-sm);
  border-top: 1px solid #46473F;
}

/* ---------- Inner pages ---------- */

.page-intro { padding-block: var(--s-8) var(--s-6); }
.page-intro h1 { max-width: 16ch; }

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin: 0 0 var(--s-5);
  padding: 0;
  font-size: var(--fs-sm);
  color: var(--c-ink-soft);
}
.breadcrumbs li + li::before { content: "/"; margin-right: var(--s-2); color: #B5AB97; }

.prose p { max-width: var(--measure); }

/* ---------- Product cards ---------- */

.product-grid {
  display: grid;
  gap: var(--s-7) var(--s-5);
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
}

.product-card { display: flex; flex-direction: column; }
.product-card .media { margin-bottom: var(--s-4); }
.product-card h3 { margin-bottom: var(--s-2); }
.product-card h3 a { color: inherit; text-decoration: none; }
.product-card h3 a:hover { text-decoration: underline; }
.product-card > p { font-size: 0.975rem; color: var(--c-ink-soft); }
.product-card .actions { margin-top: auto; }

.card-price {
  margin: 0 0 var(--s-1);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}
.card-price small {
  margin-left: 0.4em;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-ink-soft);
}

.meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-1) var(--s-4);
  margin: var(--s-3) 0 var(--s-5);
  padding-top: var(--s-3);
  font-size: 0.925rem;
  border-top: 1px solid var(--c-line);
}
.meta dt { color: var(--c-ink-soft); }
.meta dd { margin: 0; }

.catalogue-section + .catalogue-section { border-top: 1px solid var(--c-line); }
.catalogue-section { padding-block: var(--s-8); }

/* ---------- Product detail ---------- */

.product-layout { display: grid; gap: var(--s-7); padding-bottom: var(--s-9); }

@media (min-width: 56rem) {
  .product-layout { grid-template-columns: 1.1fr 1fr; gap: var(--s-8); align-items: start; }
  .gallery { position: sticky; top: 6rem; }
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
  margin-top: var(--s-3);
}
.gallery-thumb {
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  border: 2px solid transparent;
  border-radius: var(--r-md);
  cursor: pointer;
}
.gallery-thumb[aria-pressed="true"] { border-color: var(--c-moss); }
.gallery-thumb .media { display: block; border-radius: calc(var(--r-md) - 3px); }
.gallery-thumb .media.is-missing::after { display: none; }

.product-price {
  margin-bottom: var(--s-4);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 600;
}

.detail-block { margin-top: var(--s-7); }
.detail-block h2 { font-size: var(--fs-md); margin-bottom: var(--s-3); }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.975rem;
}
.spec-table th,
.spec-table td {
  padding: var(--s-3) 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--c-line);
}
.spec-table th { width: 42%; padding-right: var(--s-4); font-weight: 500; color: var(--c-ink-soft); }
.spec-table td.num {
  text-align: right;
  font-family: var(--font-display);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.features { padding-left: 1.1em; margin: 0; }
.features li { margin-bottom: var(--s-2); }
.features li::marker { color: var(--c-moss); }

/* ---------- Forms ---------- */

.form { display: grid; gap: var(--s-5); max-width: 40rem; }

.field { display: grid; gap: var(--s-2); }
.field label { font-weight: 600; }
.optional, .hint { font-weight: 400; color: var(--c-ink-soft); }
.hint { font-size: var(--fs-sm); margin: 0; }

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--c-ink);
  background: var(--c-paper);
  border: 1.5px solid #B9AE98;
  border-radius: var(--r-sm);
}
textarea { min-height: 9rem; resize: vertical; }
select {
  appearance: none;
  padding-right: 2.5rem;
  background: var(--c-paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232A2B28' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 0.9rem center / 12px 8px;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 1px;
  border-color: var(--c-moss-deep);
}
input[type="file"] { font: inherit; font-size: 0.95rem; }

.form-note { font-size: var(--fs-sm); color: var(--c-ink-soft); margin: 0; }

.product-note {
  margin: 0;
  padding: var(--s-3) var(--s-4);
  background: var(--c-moss-tint);
  border-radius: var(--r-sm);
}

.contact-layout { display: grid; gap: var(--s-8); padding-bottom: var(--s-9); }
@media (min-width: 56rem) {
  .contact-layout { grid-template-columns: 1.5fr 1fr; align-items: start; }
}

.aside-card {
  padding: var(--s-6);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
}
.aside-card h2 { font-size: var(--fs-md); }
.aside-card dl { margin: 0; display: grid; gap: var(--s-4); }
.aside-card dt { font-weight: 600; }
.aside-card dd { margin: 0; color: var(--c-ink-soft); }

/* ---------- About ---------- */

.principles { display: grid; gap: var(--s-6); margin-top: var(--s-7); }
.principles h3 { font-size: 1.15rem; margin-bottom: var(--s-2); }
.principles p { margin: 0; color: var(--c-ink-soft); }

@media (min-width: 48rem) {
  .principles { grid-template-columns: repeat(2, 1fr); gap: var(--s-7) var(--s-8); }
}

.examples { padding-left: 1.1em; }
.examples li { margin-bottom: var(--s-2); }
.examples li::marker { color: var(--c-moss); }

/* =========================================================
   Products page layout
   Mobile: one column.
   Tablet: product images sit beside their details.
   Desktop: featured medal display (2/3) beside cycling (1/3),
   plants in a row of three, custom designs as a wide panel.
   ========================================================= */

.catalogue-lead { display: grid; gap: var(--s-8); }

.product-feature { display: grid; gap: var(--s-4); }
.product-feature h3 { margin-bottom: var(--s-2); }
.product-feature h3 a { color: inherit; text-decoration: none; }
.product-feature h3 a:hover { text-decoration: underline; }
.product-feature__body > p { font-size: 0.975rem; color: var(--c-ink-soft); }
.product-feature .price-list { margin-top: var(--s-4); }
.product-feature .actions { margin-top: var(--s-4); }

.catalogue-main .product-feature__body h3 { font-size: var(--fs-lg); }

.product-grid--three { grid-template-columns: 1fr; margin-top: var(--s-6); }

.custom-panel {
  display: grid;
  gap: var(--s-6);
  align-items: center;
  padding: var(--s-4);
  background: var(--c-moss-tint);
  border-radius: var(--r-lg);
}
.custom-panel__body { padding: 0 var(--s-2) var(--s-4); }
.custom-panel__body > p:first-of-type { color: var(--c-ink-soft); }
.custom-panel .card-price { margin-top: var(--s-4); }

@media (min-width: 40rem) {
  .product-feature {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-6);
    align-items: start;
  }
  .product-grid--three { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 48rem) {
  .custom-panel {
    grid-template-columns: 1.15fr 1fr;
    gap: var(--s-7);
    padding: var(--s-5);
  }
  .custom-panel__body { padding: var(--s-4) var(--s-5) var(--s-4) 0; }
}

@media (min-width: 64rem) {
  .catalogue-lead {
    grid-template-columns: 1.7fr 1fr;
    gap: var(--s-7);
    align-items: start;
  }
  .catalogue-side {
    padding-left: var(--s-6);
    border-left: 1px solid var(--c-line);
  }
  /* Narrow column: stack image above details */
  .catalogue-side .product-feature { grid-template-columns: 1fr; gap: var(--s-4); }

  .product-grid--three { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }

  .custom-panel__body { padding-right: var(--s-7); }
}

/* Status pill keeps its natural width inside stacked cards */
.product-card .status { align-self: flex-start; margin: var(--s-1) 0 var(--s-2); }
@media (min-width: 40rem) {
  .catalogue-main .product-feature { grid-template-columns: 1.1fr 1fr; }
}
