/* ============================================================
   MIY product + category pages (Outdoor Blinds and the 3 PDPs)
   Uses the theme tokens; loaded only on those pages.
   ============================================================ */

/* Hero — uses the SAME navy as the nav (--ink #15465d) so there is no
   dark-navy-next-to-teal-navy seam under the header. */
.prod-hero { background: var(--ink); color: #fff; padding: 110px 22px 40px; }
.prod-hero__copy .eyebrow { display: block; margin-bottom: 14px; }
.prod-hero h1 { font-size: clamp(38px, 11vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.0; margin: 0; }
.prod-hero h1 em { font-style: normal; font-weight: 300; color: var(--accent); }
.prod-hero__lead { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.82); margin: 18px 0 0; max-width: 52ch; }
.prod-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.prod-hero__img { margin: 34px -22px 0; position: relative; }
.prod-hero__img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }

/* Hero slideshow: the dynamic, per-product image element. Multiple existing
   photos crossfade; the first paint reveals with a product-typed motion. */
.prod-hero__slides { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.prod-hero__slides img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.prod-hero__slides img.is-active { opacity: 1; }
@keyframes miy-kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
.prod-hero__slides img.is-active { animation: miy-kenburns 8s ease-out forwards; }
/* Gentle fade-in entrance (replaced the directional clip-path wipe that read as a glitch). */
@keyframes miy-reveal-fade { from { opacity: 0; } to { opacity: 1; } }
.prod-hero__img[data-reveal] .prod-hero__slides { animation: miy-reveal-fade .9s ease both; }
@media (prefers-reduced-motion: reduce) {
  .prod-hero__slides img { transition: none; }
  .prod-hero__slides img.is-active { animation: none; }
  .prod-hero__img[data-reveal] .prod-hero__slides { animation: none; }
}

/* Specs */
.prod-specs { background: var(--cream); }
.spec-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.spec-list li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.5; color: var(--ink-deep); }
.spec-list li::before {
  content: ''; position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px; border-radius: 999px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Photo band — mobile scroll rail, desktop seamless 3-up */
.photo-band { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.photo-band::-webkit-scrollbar { display: none; }
.photo-band__im { scroll-snap-align: start; aspect-ratio: 4/3; overflow: hidden; background: var(--cream-200); }
.photo-band__im img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Technical specs grid */
.prod-tech { background: var(--cream); }
.tech-grid { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.tech-cell { background: var(--cream-50); padding: 20px 18px; }
.tech-cell dt { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 8px; }
.tech-cell dd { margin: 0; font-size: 16px; font-weight: 700; color: var(--ink-deep); line-height: 1.3; letter-spacing: -0.01em; }

/* Materials (fabric + powdercoat) */
.prod-materials { background: var(--cream-50); padding: 68px 22px 76px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.prod-materials__grid { display: grid; gap: 22px; margin-top: 28px; }
.fabric-card, .finish-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 24px; }
.fabric-card h3, .finish-card h3 { margin: 0 0 14px; font-size: 20px; font-weight: 800; color: var(--ink-deep); letter-spacing: -0.01em; }
.fabric-card ul { margin: 0 0 14px; padding-left: 18px; display: grid; gap: 8px; font-size: 15px; color: var(--ink-muted); line-height: 1.5; }
.muted { font-size: 13.5px; color: var(--ink-faint); line-height: 1.5; margin: 0; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 18px 8px; margin-top: 20px; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 9px; font-size: 11px; color: var(--ink-muted); text-align: center; }
.swatch__dot { width: 42px; height: 42px; border-radius: 999px; border: 1px solid rgba(0,0,0,.12); }
.swatch__name { line-height: 1.2; }

/* Features & extras (component photo cards) */
.prod-features { background: var(--white); }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.feature-card { margin: 0; background: var(--cream-50); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.feature-card__im { aspect-ratio: 4/3; overflow: hidden; background: var(--cream-200); }
.feature-card__im img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-card figcaption { padding: 14px 14px 16px; }
.feature-card h3 { margin: 0 0 4px; font-size: 15px; font-weight: 800; color: var(--ink-deep); letter-spacing: -0.01em; }
.feature-card p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--ink-muted); }
.feature-card__im--contain { background: #fff; }
.feature-card__im--contain img { object-fit: contain; padding: 14px; }

/* Zipscreen wind-tunnel band */
.zip-windband { background: var(--ink-night); color: #fff; padding: 56px 22px; }
.zip-windband__inner { display: grid; gap: 22px; align-items: center; }
.zip-windband__num { font-size: clamp(84px, 28vw, 150px); font-weight: 800; letter-spacing: -0.05em; line-height: 0.82; color: var(--accent); }
.zip-windband__num span { display: inline-block; font-size: 0.26em; font-weight: 700; letter-spacing: 0; color: #fff; margin-left: 6px; vertical-align: super; }
.zip-windband .eyebrow { display: block; margin-bottom: 12px; }
.zip-windband h2 { font-size: clamp(28px, 8vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 0; color: #fff; }
.zip-windband h2 em { font-style: normal; font-weight: 300; color: var(--accent); }
.zip-windband p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.82); margin: 14px 0 0; }
.zip-windband__link { display: inline-block; margin-top: 18px; font-weight: 700; color: #fff; border-bottom: 1px solid var(--accent); padding-bottom: 3px; }
@media (min-width: 900px) { .zip-windband { padding: 88px 60px; } .zip-windband__inner { grid-template-columns: auto 1fr; gap: 56px; max-width: var(--max-w, 1280px); margin: 0 auto; } }

/* Zipscreen image-backed distributor CTA */
.zip-cta { background-size: cover; background-position: center; color: #fff; padding: 80px 22px; text-align: center; }
.zip-cta__inner { max-width: 640px; margin: 0 auto; }
.zip-cta .eyebrow { display: block; margin-bottom: 14px; }
.zip-cta h2 { font-size: clamp(34px, 10vw, 52px); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; margin: 0; color: #fff; }
.zip-cta h2 em { font-style: normal; font-weight: 300; color: var(--accent); }
.zip-cta p { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.9); margin: 18px 0 28px; }
.btn-lg { padding: 18px 30px; font-size: 16px; }
@media (min-width: 900px) { .zip-cta { padding: 120px 60px; } }

/* Distributors */
.dist-section { background: var(--cream); }
.dist-filters { display: grid; gap: 14px; margin-bottom: 24px; }
.dist-filters label { display: block; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 6px; }
.dist-filters input, .dist-filters select { width: 100%; padding: 13px 14px; background: #fff; border: 1px solid var(--border); border-radius: 4px; color: var(--ink-deep); font-family: inherit; font-size: 16px; }
.dist-seed-note { font-size: 12px; color: var(--ink-faint); margin: 0 0 18px; }
.dist-map { height: 320px; border-radius: var(--r-lg); background: var(--cream-200); display: grid; place-items: center; margin-bottom: 24px; color: var(--ink-faint); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid var(--border); overflow: hidden; position: relative; z-index: 0; }
.dist-map .leaflet-container { width: 100%; height: 100%; background: var(--cream-200); }
.dist-map .leaflet-popup-content { font-family: 'Inter', system-ui, sans-serif; font-size: 13px; line-height: 1.45; color: var(--ink-deep); text-transform: none; letter-spacing: 0; }
.dist-map__fallback { padding: 0 20px; text-align: center; }
.dist-grid { display: grid; gap: 16px; }
.dist-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px 22px 24px; }
.dist-card h3 { margin: 0 0 4px; font-size: 19px; font-weight: 800; color: var(--ink-deep); letter-spacing: -0.01em; }
.dist-card__loc { margin: 0 0 12px; font-size: 13px; color: var(--ink-muted); font-family: 'JetBrains Mono', monospace; letter-spacing: 0.04em; }
.dist-card__products { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dist-card__products li { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink); background: var(--cream-100); border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; }
.dist-card__contact { display: flex; gap: 16px; margin-bottom: 16px; }
.dist-card__contact a { font-size: 13px; font-weight: 700; color: var(--accent); border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.dist-card__cta { width: 100%; }
.dist-empty { text-align: center; color: var(--ink-muted); font-size: 15px; margin-top: 24px; }
.dist-empty[hidden] { display: none; }
@media (min-width: 760px) { .dist-filters { grid-template-columns: 1fr 1fr 1fr; max-width: var(--max-w, 1280px); margin-left: auto; margin-right: auto; } }
@media (min-width: 900px) {
  .dist-section { padding-left: 60px; padding-right: 60px; }
  .dist-grid { grid-template-columns: repeat(3, 1fr); max-width: var(--max-w, 1280px); margin: 0 auto; }
  .dist-map, .dist-seed-note, .dist-empty { max-width: var(--max-w, 1280px); margin-left: auto; margin-right: auto; }
  .dist-map { height: 300px; }
}

/* Alternating product blocks (awnings / roofs) */
.prod-block { padding: 52px 22px; border-top: 1px solid var(--rule); }
.prod-block__grid { display: grid; gap: 26px; }
.prod-block__im { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--cream-200); }
.prod-block__im img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prod-block .eyebrow { display: block; margin-bottom: 12px; }
.prod-block h2 { font-size: clamp(30px, 8vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.0; margin: 0; color: var(--ink-deep); }
.prod-block h2 em { font-style: normal; font-weight: 300; color: var(--accent); }
.prod-block__lead { font-size: 16px; line-height: 1.55; color: var(--ink-muted); margin: 16px 0 0; }
.prod-block .tech-grid { margin-top: 22px; }
.prod-block__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (min-width: 900px) {
  .prod-block { padding: 72px 60px; }
  .prod-block__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; max-width: var(--max-w, 1280px); margin: 0 auto; }
  .prod-block--flip .prod-block__im { order: 2; }
  .prod-block .tech-grid { grid-template-columns: 1fr 1fr; }
}

/* Downloads list (PDFs open in a new window) */
.prod-downloads { background: var(--cream); }
.downloads { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.downloads a { font-size: 15px; font-weight: 700; color: var(--ink-deep); border-bottom: 1px solid var(--accent); padding-bottom: 3px; }
.downloads a::before { content: '\2193  '; color: var(--accent); }
.downloads a:hover { color: var(--accent); }

/* Colour band (replaces the swatch dots) */
.colour-band { display: flex; height: 34px; border-radius: 6px; overflow: hidden; margin-top: 14px; border: 1px solid var(--border); }
.colour-band span { flex: 1; }
.colour-note { margin: 10px 0 0; font-size: 11.5px; color: var(--ink-faint); }

/* What's in the DIY kit */
.prod-kit { background: var(--cream-50); padding: 56px 22px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.kit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.kit-item { margin: 0; }
.kit-item__im { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--border); }
.kit-item__im img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kit-item--pack .kit-item__im { background: #fff; }
.kit-item--pack .kit-item__im img { object-fit: contain; padding: 10px; }
.kit-item figcaption { margin-top: 12px; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); text-align: center; }

/* Comparison: mobile cards (default) vs desktop table */
.blind-compare { display: none; }
.compare-cards { display: grid; gap: 16px; margin-top: 8px; }
.compare-card { background: var(--cream-50); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px 20px 22px; }
.compare-card h3 { margin: 0 0 14px; font-size: 19px; font-weight: 800; color: var(--ink-deep); letter-spacing: -0.01em; }
.compare-card dl { margin: 0; display: grid; gap: 11px; }
.compare-card dl > div { display: grid; grid-template-columns: 40% 1fr; gap: 12px; }
.compare-card dt { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); padding-top: 2px; }
.compare-card dd { margin: 0; font-size: 14px; color: var(--ink-deep); line-height: 1.4; }
.compare-card__cta { display: inline-block; margin-top: 16px; font-weight: 700; font-size: 13px; color: var(--accent); }
@media (min-width: 760px) {
  .blind-compare { display: table; min-width: 0; }
  .compare-cards { display: none; }
}

/* Product gallery */
.prod-gallery__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; grid-auto-flow: dense; }
.prod-gallery__grid .im { border-radius: var(--r-md); overflow: hidden; background: var(--cream-200); aspect-ratio: 1/1; }
.prod-gallery__grid .im img { width: 100%; height: 100%; object-fit: cover; }

/* Category cards: title + 1-liner stacked */
.pbody--stack { flex-direction: column; align-items: flex-start; gap: 12px; }
.pcard__desc { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-muted); }

/* What it is / Why choose */
.prod-why { background: var(--cream); padding: 56px 22px; }
.prod-why__grid { display: grid; gap: 30px; }
.prod-why__what .eyebrow,
.prod-why__benefits .eyebrow { display: block; margin-bottom: 12px; }
.prod-why__lead { font-size: 21px; line-height: 1.45; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-deep); margin: 0; }
.prod-why__bestfor { margin: 16px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-muted); }
.prod-why__bestfor strong { color: var(--ink-deep); }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.why-list li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.45; color: var(--ink-deep); }
.why-list li::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 999px;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(241,106,77,.16);
}

/* Comparison table */
.prod-compare { background: var(--white); }
.compare-wrap { margin-top: 28px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.blind-compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; }
.blind-compare th, .blind-compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.blind-compare thead th { font-size: 16px; font-weight: 800; color: var(--ink-deep); letter-spacing: -0.01em; border-bottom: 2px solid var(--ink-deep); }
.blind-compare thead th:first-child { border-bottom: none; }
.blind-compare tbody th { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); font-weight: 500; width: 22%; }
.blind-compare td { color: var(--ink-muted); }
.blind-compare .compare-cta td a { font-weight: 700; color: var(--accent); }
.blind-compare .compare-cta th, .blind-compare .compare-cta td { border-bottom: none; padding-top: 18px; }

/* DIY callout: deep near-black navy so it reads as a DISTINCT section from the
   teal-navy quote form that often follows it (Maddy 2026-06-05). */
.prod-diy { background: var(--ink-night); color: #fff; padding: 64px 22px; border-bottom: 1px solid rgba(255,255,255,.08); }
.prod-diy .eyebrow { display: block; margin-bottom: 14px; }
.prod-diy h2 { font-size: clamp(30px, 9vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.0; margin: 0; }
.prod-diy h2 em { font-style: normal; font-weight: 300; color: var(--accent); }
.prod-diy p { font-size: 16px; line-height: 1.55; margin: 14px 0 0; }

/* DIY conversion band: 2-column copy + benefit chips (Maddy 2026-06-05) */
.prod-diy__inner { max-width: var(--max-w, 1280px); margin: 0 auto; display: grid; gap: 32px; align-items: center; }
.prod-diy__copy p { color: rgba(255,255,255,.82); max-width: 52ch; }
.prod-diy__cta { margin-top: 26px; }
.prod-diy__chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.prod-diy__chips li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-lg); padding: 18px; transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease); }
.prod-diy__chips li:hover { border-color: var(--coral); background: rgba(238,117,88,.08); transform: translateY(-3px); }
.prod-diy__chips strong { display: block; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; color: #fff; }
.prod-diy__chips span { display: block; margin-top: 4px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.6); }
@media (min-width: 880px) { .prod-diy__inner { grid-template-columns: 1.05fr .95fr; gap: 56px; } }

/* DIY band with a photo: image in the right column, chips as a full-width row below (Maddy 2026-06-05) */
.prod-diy--img .prod-diy__inner { align-items: center; }
@media (min-width: 880px) { .prod-diy--img .prod-diy__inner { grid-template-columns: 1fr auto; gap: 44px; } }
.prod-diy__im { margin: 0; border-radius: var(--r-lg); overflow: hidden; width: 300px; max-width: 100%; aspect-ratio: 4 / 5; }
.prod-diy__im img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prod-diy__chips--row { margin-top: 34px; }
@media (min-width: 880px) { .prod-diy__chips--row { grid-template-columns: repeat(4, 1fr); } }

/* "The detail": specs on the left, a detail photo on the right (Maddy 2026-06-05) */
.prod-tech__split { display: grid; gap: 28px; align-items: start; max-width: var(--max-w, 1280px); margin: 28px auto 0; }
.prod-tech__split .tech-grid { margin: 0; }
.prod-tech__im { margin: 0; border-radius: var(--r-lg); overflow: hidden; }
.prod-tech__im img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 280px; }

/* Case study single: breathing room between the solution paragraph and spec bullets (Maddy 2026-06-05) */
.cs-single .prod-why__benefits .why-list { margin-top: 26px; }

/* DIY page (Maddy 2026-06-05) */
.diy-why__grid { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: var(--max-w, 1280px); margin: 32px auto 0; }
@media (min-width: 680px) { .diy-why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .diy-why__grid { grid-template-columns: repeat(3, 1fr); } }
.diy-why__card { background: var(--cream-50); border: 1px solid var(--border); border-left: 3px solid var(--coral); border-radius: var(--r-lg); padding: 22px 22px 24px; }
.diy-why__card h3 { margin: 0; font-size: 18px; font-weight: 800; color: var(--ink-deep); letter-spacing: -0.01em; }
.diy-why__card p { margin: 8px 0 0; font-size: 14px; line-height: 1.55; color: var(--ink-muted); }
.diy-videos { background: var(--ink-night); color: #fff; }
.diy-videos .eyebrow { color: var(--coral); }
.diy-videos .section-head h2 { color: #fff; }
.diy-videos .section-head h2 em { color: var(--coral); }
.diy-videos .section-head p { color: rgba(255,255,255,.8); }
.diy-videos__grid { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: var(--max-w, 1280px); margin: 32px auto 0; }
@media (min-width: 680px) { .diy-videos__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .diy-videos__grid { grid-template-columns: repeat(3, 1fr); } }
.diy-video { margin: 0; }
.diy-video figcaption { margin-top: 12px; }
.diy-video figcaption strong { display: block; font-size: 16px; font-weight: 800; }
.diy-video figcaption span { display: block; margin-top: 3px; font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.5; }
.diy-videos__more { text-align: center; margin-top: 34px; }
/* DIY ranges: image CTA cards */
.diy-rangecards { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: var(--max-w, 1280px); margin: 32px auto 0; }
@media (min-width: 760px) { .diy-rangecards { grid-template-columns: 1fr 1fr; } }
.diy-rangecard { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; }
.diy-rangecard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.diy-rangecard:hover img { transform: scale(1.05); }
.diy-rangecard__body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; background: linear-gradient(180deg, rgba(12,34,53,0) 38%, rgba(12,34,53,.86)); color: #fff; }
.diy-rangecard__title { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.diy-rangecard__sub { margin-top: 4px; font-size: 14px; color: rgba(255,255,255,.85); }
.diy-rangecard__go { margin-top: 14px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-bright); }
.diy-rangecard:hover .diy-rangecard__go { color: #fff; }
@media (min-width: 880px) {
  .prod-tech__split { grid-template-columns: 1.1fr 0.9fr; gap: 44px; }
  .prod-tech--split .tech-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  /* Full-bleed half hero: image column flush to the top + outer edge, ~64vh.
     min-height sits on the IMAGE ITEM so the grid row stretches to it; the
     image (or slideshow) then fills that cell absolutely. */
  .prod-hero {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch;
    padding: 0;
  }
  .prod-hero__copy { align-self: center; padding: 150px 56px 90px max(60px, calc((100% - 1280px) / 2)); }
  .prod-hero__img { position: relative; margin: 0; min-height: 64vh; overflow: hidden; }
  .prod-hero__img > img,
  .prod-hero__img .prod-hero__slides { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
  .prod-hero__img > img { object-fit: cover; }
  .prod-hero h1 { font-size: clamp(48px, 4.4vw, 64px); }

  .spec-list { grid-template-columns: 1fr 1fr; gap: 14px 40px; max-width: var(--max-w, 1280px); margin-left: auto; margin-right: auto; }
  .prod-specs .section-head { max-width: var(--max-w, 1280px); margin-left: auto; margin-right: auto; }

  .prod-materials { padding-left: 60px; padding-right: 60px; }
  .prod-materials .section-head,
  .prod-materials__grid { max-width: var(--max-w, 1280px); margin-left: auto; margin-right: auto; }
  .prod-materials__grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  .prod-gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }

  /* 3 product options spread evenly across the full width (not 3 of 4 columns) */
  .range--three { grid-template-columns: repeat(3, 1fr); }

  .photo-band { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; gap: 0; overflow: visible; }
  .features-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; max-width: var(--max-w, 1280px); margin-left: auto; margin-right: auto; }
  .prod-features { padding-left: 60px; padding-right: 60px; }
  .prod-features .section-head { max-width: var(--max-w, 1280px); margin-left: auto; margin-right: auto; }

  .prod-tech { padding-left: 60px; padding-right: 60px; }
  .prod-tech .section-head { max-width: var(--max-w, 1280px); margin-left: auto; margin-right: auto; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); max-width: var(--max-w, 1280px); margin-left: auto; margin-right: auto; }

  .prod-why { padding: 80px 60px; }
  .prod-why__grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; max-width: var(--max-w, 1280px); margin: 0 auto; }
  .prod-why__lead { font-size: 24px; }

  .prod-compare .section-head,
  .compare-wrap { max-width: var(--max-w, 1280px); margin-left: auto; margin-right: auto; }
  .blind-compare { min-width: 0; }

  .prod-diy { padding: 88px 60px; }
  .prod-diy .section-head { max-width: var(--max-w, 1280px); margin: 0 auto; }
}
