@charset "utf-8";
/* CSS Document */
/* ==========================================================================
   PLAASlik Raised Beds - Design Tokens
   ========================================================================== */

@font-face {
  font-family: 'Raleway';
  src: url('/fonts/Raleway-VariableFont_wght.woff') format('woff'),
       url('/fonts/Raleway-VariableFont_wght.ttf') format('truetype'),
       url('/fonts/Raleway-VariableFont_wght.otf') format('opentype');
  font-weight: 100 900;
  font-style: normal;
	font-display: swap;           
    ascent-override: 100%;
    descent-override: 20%;
}

@font-face {
  font-family: 'Raleway';
  src: url('/fonts/Raleway-Italic-VariableFont_wght.woff') format('woff'),
       url('/fonts/Raleway-Italic-VariableFont_wght.ttf') format('truetype');	
  font-weight: 100 900;
  font-style: italic;
}


:root {
  --green: #13804B;
  --green-deep: #0C5C37;
  --charcoal: #182019;
  --steel: #A9AFAF;
  --steel-light: #D8DBD9;
  --rust: #B5502C;
  --stone: #F3EFE2;
  --white: #FFFFFF;

  --font-display: "Raleway", sans-serif;
  --font-body: "Raleway", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "Raleway", sans-serif;

  --header-h: 84px;
  --header-h-mobile: 64px;
  --max-width: 1280px;
  --edge: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --radius: 10px;
  --radius-sm: 8px;

  --shadow-card: 0 10px 28px -16px rgba(24,32,25,0.22);
}


/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body, h1, p, ul { margin: 0; }
ul { list-style: none; padding: 0; }
a { text-decoration: none; color: inherit; }
button { font: inherit; background: none; border: none; cursor: pointer; padding: 0; color: inherit; }
img, video { max-width: 100%; display: block; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--stone);
  -webkit-font-smoothing: antialiased;
}

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

/* Visually hidden but still announced by screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: var(--gutter);
	padding: 0 var(--edge);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  height: var(--header-h-mobile);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 var(--edge);
  color: var(--white);
  background: linear-gradient(180deg, rgba(12,20,15,0.55), rgba(12,20,15,0));
  transition: background-color 0.35s var(--ease), height 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

@media (min-width: 760px) {
  .site-header { height: var(--header-h); }
}

.site-header.is-scrolled {
  background: var(--charcoal);
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
}

.site-header.is-scrolled::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
}

.wordmark {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

#navlogo {
  height: 34px;
  width: auto;
}

@media (min-width: 760px) {
  #navlogo { height: 40px; }
}

.main-nav {
  display: none;
  margin-left: auto;
}

@media (min-width: 760px) {
  .main-nav { display: block; }
  .main-nav ul { display: flex; gap: clamp(18px, 2.4vw, 36px); }
  .main-nav a {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    position: relative;
    padding: 6px 0;
    display: inline-block;
  }
  .main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--rust);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
  }
  .main-nav a:hover::after,
  .main-nav a:focus-visible::after { transform: scaleX(1); }
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

@media (min-width: 760px) {
  .header-right { margin-left: 20px; }
}

/* Contact already lives in the nav list on mobile, so only the cart
   pill needs to stay in the bar; keep it compact (icon + count only) */
@media (max-width: 959px) {
  .header-right .btn-outline { display: none; }
  .cart-pill span:not(.cart-count) { display: none; }
  .cart-pill { padding: 8px 10px; gap: 6px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.15s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-outline {
  padding: 10px 20px;
  font-size: 1rem;
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.cart-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.25s var(--ease);
	cursor: pointer;
}
.cart-pill:hover { background: rgba(255,255,255,0.18); }
.cart-pill svg { width: 17px; height: 17px; flex-shrink: 0; }

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 1rem;
  line-height: 1;
  font-weight: 500;
}

/* Nav toggle */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 1.4rem;
  line-height: 1;
  transition: color 0.2s var(--ease);
}

@media (min-width: 760px) {
  .nav-toggle { display: none; }
}

.nav-toggle:hover { color: var(--steel-light); }

/* Mobile nav panel */
@media (max-width: 759px) {
  .main-nav {
    display: block;
    position: fixed;
    top: var(--header-h-mobile);
    left: 0;
    width: 100%;
    background: var(--charcoal);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
  }
  .main-nav.is-open { max-height: 560px; }
  .main-nav ul { display: flex; flex-direction: column; padding: 8px var(--edge) 12px; }
  .main-nav li { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .main-nav a { display: block; padding: 16px 0; font-size: 1.125rem; font-weight: 600; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

/* Solid colour + texture shown behind the video at all times; visible on
   its own if the video errors out (index.php hides <video> on error) */
.hero-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 90% at 50% 20%, rgba(19,128,75,0.35), transparent 60%),
    repeating-linear-gradient(100deg, #10331F 0px, #10331F 26px, #16452A 26px, #16452A 52px);
}

/* Faint corrugated ridge pass over the video/fallback for material texture */
.hero-corrugation {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: repeating-linear-gradient(90deg, var(--white) 0px, var(--white) 2px, transparent 2px, transparent 14px);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(12,20,15,0.65) 0%, rgba(12,20,15,0.55) 38%, rgba(12,20,15,0.65) 100%),
    linear-gradient(0deg, rgba(19,128,75,0.35), transparent 100%)
}

/* Subtle plant-silhouette wash along the base of the hero */
.hero-leaves {
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  z-index: 1;
  opacity: 0.16;
  background-image: radial-gradient(ellipse at bottom, var(--green) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: calc(var(--header-h-mobile) + 32px) var(--edge) 60px;
  text-align: center;
  color: var(--white);
}

.hero-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-light);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  line-height: 0.95;
  font-size: clamp(2.6rem, 15vw, 5rem);
  letter-spacing: 0.01em;
}

.hero-pagetitle {
	font-weight: 200;
	letter-spacing: -0.03em;
}

.hero-title .plaas { color: var(--white); }
.hero-title .lik { color: var(--green); }

.hero-sub {
  margin: 26px auto 0;
  max-width: 46ch;
  font-size: clamp(1.125rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.88);
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-deep); }

.btn-ghost-light {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.hero-scrollcue {
  position: absolute;
  bottom: 42px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  animation: cue-bob 2.2s ease-in-out infinite;
}

.hero-scrollcue span:first-child {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-scrollcue .line {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.5);
}

@keyframes cue-bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scrollcue { animation: none; }
}

/* Corrugated-metal wave along the hero's bottom edge - the page's signature
   seam, drawn with a CSS mask so no extra markup is needed */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 150%;
  height: 40px;
  z-index: 2;
  background: var(--stone);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0,26 Q25,4 50,26 T100,26 T150,26 T200,26 T250,26 T300,26 T350,26 T400,26 T450,26 T500,26 T550,26 T600,26 T650,26 T700,26 T750,26 T800,26 T850,26 T900,26 T950,26 T1000,26 T1050,26 T1100,26 T1150,26 T1200,26 L1200,40 L0,40 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0,26 Q25,4 50,26 T100,26 T150,26 T200,26 T250,26 T300,26 T350,26 T400,26 T450,26 T500,26 T550,26 T600,26 T650,26 T700,26 T750,26 T800,26 T850,26 T900,26 T950,26 T1000,26 T1050,26 T1100,26 T1150,26 T1200,26 L1200,40 L0,40 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

@media (min-width: 860px) {
  .hero::after { height: 56px;
	width: 100%;}
}

/* ==========================================================================
   Configurator
   ========================================================================== */

.configurator {
  position: relative;
  background: var(--stone);
  padding: 88px var(--edge) 100px;
  scroll-margin-top: var(--header-h-mobile);
}

@media (min-width: 760px) {
  .configurator { scroll-margin-top: var(--header-h); }
}

.configurator-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.configurator-head {
  max-width: 60ch;
  margin-bottom: 48px;
}

.section-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1;
  color: var(--charcoal);
  margin: 0 0 16px;
}

/* Reusable heading block: small eyebrow, big bold title, short lead-in.
   Used by every content section below the configurator so the page reads
   as one system rather than a stack of one-off designs. */
.section-head { max-width: 640px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .section-sub { margin-inline: auto; }
.section-head.split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  max-width: none;
}

/* Light text on the sections that sit on a dark or saturated background
   (Inspiration, Coming Soon, Questions) */
.section-head.on-dark .section-eyebrow,
.section-head.on-dark .section-title { color: var(--white); }
.section-head.on-dark .section-sub { color: rgba(255,255,255,0.9); }

.section-sub {
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(24,32,25,0.72);
}

.configurator-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 980px) {
  .configurator-grid { grid-template-columns: 1.15fr 0.85fr; gap: 56px; }
}

/* ---------- Stage ---------- */

.configurator-stage {
  position: static;
}

@media (min-width: 980px) {
  .configurator-stage {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

.planter-visual {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, rgba(216,219,217,0) 65%);
  border: 1px solid rgba(24,32,25,0.06);
  border-radius: var(--radius);
  padding: 48px clamp(8px, 3vw, 32px) 24px;
  overflow: visible;
}

/* Keep the artwork at a constant size regardless of selected length -
   only the dimension bracket below should communicate the size change.
   !important overrides the inline width the size-selection script sets
   on this element. */
.planter-frame {
  position: relative;
  width: 88% !important;
  margin: 0 auto;
}

/* Fixed-ratio box the front photo sits inside, so it (and the dimension
   bracket beneath it) scale together as bed length changes -- see
   .planter-frame's width and renderSize() in configurator.js. Ratio
   matches the colour photos' own crop (1500 / 1100); if those are ever
   re-cropped, update this to match or the render will letterbox. */
.planter-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 1500 / 1100;
}

.planter-front {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

/* #frontImg's src is swapped between swatches -- 14 separate photos, one
   per colour (see COLORS in configurator.js) -- all identical dimensions,
   so there's no layout shift on swap. The opacity dip here is the
   crossfade: swapFrontPhoto() in configurator.js adds .is-swapping, waits
   SWATCH_FADE_MS (must match the transition-duration below), swaps src
   while invisible, then removes the class. */
.planter-front img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.15s var(--ease);
}

.planter-front img.is-swapping {
  opacity: 0;
}

.planter-dims {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-bottom: 8px;
}

.dim-bracket {
  position: relative;
  height: 10px;
  width: var(--dim-width, 70%);
  border-left: 1px solid var(--charcoal);
  border-right: 1px solid var(--charcoal);
  border-bottom: 1px solid var(--charcoal);
  transition: width 0.4s var(--ease);
}

.dim-label {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: rgba(24,32,25,0.65);
}

/* ---------- Panel ---------- */

.configurator-panel {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.panel-block {
  background: var(--white);
  border: 1px solid rgba(24,32,25,0.08);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.panel-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(24,32,25,0.55);
  margin: 0 0 16px;
}

.panel-value {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--charcoal);
}

/* Swatches */

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
  gap: 10px;
}

.swatch {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(24,32,25,0.12);
  cursor: pointer;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.swatch:hover { transform: translateY(-2px); }

.swatch.is-active {
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--charcoal);
}

/* Size buttons */

.size-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.size-btn {
  padding: 14px 10px;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 700;
  border: 1.5px solid rgba(24,32,25,0.15);
  border-radius: var(--radius-sm);
  color: var(--charcoal);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.size-btn:hover { border-color: var(--green); }

.size-btn.is-active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

/* Fill info */

.fill-stats {
  display: flex;
  gap: 28px;
  margin: 0 0 14px;
}

.fill-stats dt {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(24,32,25,0.5);
  margin-bottom: 4px;
}

.fill-stats dd {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
}

.fill-tip {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.5;
  color: rgba(24,32,25,0.62);
}

/* Price + add - the primary action on the page, so it gets a touch more
   visual weight than the informational panels around it */

.price-block {
  background: linear-gradient(165deg, var(--white) 0%, var(--stone) 130%);
  border-color: rgba(19,128,75,0.18);
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}

.price-label {
  font-size: 1rem;
  color: rgba(24,32,25,0.6);
}

.price-value {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--green-deep);
}

.qty-add-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid rgba(24,32,25,0.15);
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.qty-btn {
  width: 38px;
  height: 100%;
  min-height: 48px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  transition: background-color 0.2s var(--ease);
}

.qty-btn:hover { background: var(--stone); }

.qty-value {
  min-width: 28px;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 500;
}

.qty-add-row .btn {
  flex: 1;
  padding: 12px 20px;
}

/* Cart list */

.cart-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 4px;
}

.cart-empty {
  font-size: 1.125rem;
  color: rgba(24,32,25,0.5);
  font-style: italic;
}

.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: var(--stone);
  border-radius: var(--radius-sm);
}

.cart-item-swatch {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(24,32,25,0.15);
}

.cart-item-label {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cart-item-name {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

.cart-item-name .qty {
  font-family: var(--font-mono);
  font-weight: 500;
  color: rgba(24,32,25,0.6);
  margin-right: 4px;
}

.cart-item-size {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: rgba(24,32,25,0.55);
}

.cart-item-remove {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  line-height: 1;
  color: rgba(24,32,25,0.4);
  border-radius: 50%;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.cart-item-remove:hover { background: rgba(24,32,25,0.08); color: var(--rust); }

.cart-item-price {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--green-deep);
  white-space: nowrap;
  flex-shrink: 0;
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  margin-top: 10px;
  border-top: 1px solid rgba(24,32,25,0.1);
  font-weight: 700;
}

.cart-subtotal span:last-child {
  font-family: var(--font-mono);
  color: var(--green-deep);
}

/* ==========================================================================
   Cart count bump - a small acknowledgement in the header when the bed
   list changes, wherever the change came from (configurator or modal)
   ========================================================================== */

@keyframes cart-count-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.cart-count.is-bumped {
  animation: cart-count-bump 0.4s var(--ease);
}

/* ==========================================================================
   Cart modal - popup opened from the header's "Bed list" button. Built on
   native <dialog> for free focus-trapping, Escape-to-close and a ::backdrop;
   js/cart.js only calls .showModal()/.close() and toggles data.
   ========================================================================== */

.cart-modal {
  padding: 0;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  background: var(--white);
  color: var(--charcoal);
  width: min(480px, calc(100vw - 32px));
  max-height: min(640px, calc(100vh - 64px));
}

.cart-modal::backdrop {
  background: rgba(24, 32, 25, 0.55);
}

.cart-modal[open] {
  display: flex;
}

@media (prefers-reduced-motion: no-preference) {
  .cart-modal[open] {
    animation: cart-modal-in 0.25s var(--ease);
  }
  .cart-modal::backdrop {
    animation: cart-modal-backdrop-in 0.25s var(--ease);
  }
}

@keyframes cart-modal-in {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cart-modal-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cart-modal-inner {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: inherit;
  width: 100%;
}

.cart-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(24,32,25,0.1);
  flex-shrink: 0;
}

.cart-modal-head h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

.cart-modal-close {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.125rem;
  color: rgba(24,32,25,0.55);
  flex-shrink: 0;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.cart-modal-close:hover { background: rgba(24,32,25,0.08); color: var(--charcoal); }

.cart-modal-list {
  list-style: none;
  margin: 0;
  padding: 16px 22px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  min-height: 0;
}

.cart-modal-list .cart-empty {
  font-size: 1.0625rem;
  color: rgba(24,32,25,0.5);
  font-style: italic;
  padding: 28px 4px;
  text-align: center;
}

.cart-modal-foot {
  padding: 18px 22px 22px;
  border-top: 1px solid rgba(24,32,25,0.1);
  flex-shrink: 0;
}

.cart-modal-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1.0625rem;
  margin-bottom: 16px;
}

.cart-modal-total span:first-child { color: rgba(24,32,25,0.6); }

.cart-modal-total span:last-child {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--green-deep);
}

.cart-modal-actions {
  display: flex;
  gap: 12px;
}

.cart-modal-actions .btn {
  flex: 1;
  padding: 13px 18px;
  font-size: 1rem;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(24,32,25,0.18);
  color: var(--charcoal);
}
.btn-ghost:hover:not(:disabled) { border-color: rgba(24,32,25,0.35); background: rgba(24,32,25,0.04); }
.btn-ghost:disabled { opacity: 0.45; cursor: not-allowed; }

.cart-modal-checkout.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

@media (min-width: 560px) {
  .cart-modal-list { max-height: 420px; }
}

/* ==========================================================================
   Section shell - shared padding for every full-width content section
   below the configurator
   ========================================================================== */

.why, .filling, .inspiration, .accessories, .faq-teaser {
  padding: 88px 0;
  scroll-margin-top: var(--header-h-mobile);
}

@media (min-width: 760px) {
  .why, .filling, .inspiration, .accessories, .faq-teaser {
    scroll-margin-top: var(--header-h);
  }
}

/* ==========================================================================
   Why Raised Beds
   ========================================================================== */

.why { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.why-card {
  background: var(--stone);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
}

.why-icon svg { width: 24px; height: 24px; }

.why-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 20px 0 0;
}

.why-card p {
  margin: 10px 0 0;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(24,32,25,0.7);
}

/* ==========================================================================
   How To Fill Your Bed
   ========================================================================== */

.filling { background: var(--steel-light); }

.filling-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 48px;
  align-items: start;
}

@media (min-width: 860px) {
  .filling-layout { grid-template-columns: 1.1fr 0.9fr; }
}

.layer-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

/* Each layer is a label wrapping a visually-hidden radio, so selecting
   one is a single click/tap and needs no JavaScript. */
.layer {
  --accent: var(--green);
  position: relative;
  display: block;
  cursor: pointer;
  background: var(--white);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 20px 52px 20px 24px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.layer:hover { background: var(--stone); }

.layer-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  opacity: 0;
}

/* Selection dot, top-right of each card */
.layer::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  border: 1.5px solid rgba(24,32,25,0.22);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.layer:has(.layer-radio:checked) {
  border-left-width: 6px;
  background: var(--stone);
}

.layer:has(.layer-radio:checked)::after {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 3px var(--white);
}

.layer:has(.layer-radio:focus-visible) {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
}

.layer-middle { --accent: var(--charcoal); }
.layer-bottom { --accent: var(--rust); }

.layer-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(24,32,25,0.5);
}

.layer-copy h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 6px 0 0;
}

.layer-copy p {
  margin: 6px 0 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: rgba(24,32,25,0.7);
}

.filling-media { display: flex; flex-direction: column; gap: 20px; }

/* Only the detail panel matching the checked radio is shown - pure CSS,
   driven by :has() on the shared ancestor. */
.layer-detail {
  display: none;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  animation: detail-in 0.25s var(--ease);
}

.filling-layout:has(#layer-top:checked) .layer-detail[data-for="top"],
.filling-layout:has(#layer-middle:checked) .layer-detail[data-for="middle"],
.filling-layout:has(#layer-bottom:checked) .layer-detail[data-for="bottom"] {
  display: block;
}

@keyframes detail-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.layer-detail-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(24,32,25,0.5);
  margin-bottom: 8px;
}

.layer-detail h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  margin: 0 0 14px;
}

.layer-detail > p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(24,32,25,0.75);
  margin: 0 0 24px;
}

.detail-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.detail-cols h5 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin: 0 0 10px;
}

.detail-cols div:last-child h5 { color: var(--rust); }

.detail-cols ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.detail-cols li {
  position: relative;
  padding-left: 15px;
  font-size: 0.92rem;
  line-height: 1.4;
  color: rgba(24,32,25,0.72);
}

.detail-cols li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
}

.filling-tip {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(24,32,25,0.65);
}

/* ==========================================================================
   Planting Inspiration
   ========================================================================== */

.inspiration { background: var(--green-deep); }

.inspiration .section-sub { margin-top: 14px; max-width: 60ch; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* Wraps each teaser photo through to the full gallery page - the whole
   card is clickable, with a quiet zoom on hover/focus to hint at it. */
.gallery-item-link {
  display: block;
  height: 100%;
  border-radius: var(--radius);
}

.gallery-item-link img { transition: transform 0.4s var(--ease); }

.gallery-item-link:hover img,
.gallery-item-link:focus-visible img {
  transform: scale(1.05);
}

.gallery-placeholder { width: 46px; height: 46px; color: rgba(255,255,255,0.5); }

.gallery-item figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--white);
  background: rgba(12,20,15,0.55);
  padding: 0.4em 0.9em;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.gallery-item--a { background: linear-gradient(150deg, #3E5266, #16452A); }
.gallery-item--b { background: linear-gradient(150deg, var(--rust), #5B2C17); }
.gallery-item--c { background: linear-gradient(150deg, #6B7A3D, #16452A); }

/* ==========================================================================
   Coming Soon (accessories)
   ========================================================================== */

.accessories { background: var(--green); }

.accessory-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.accessory-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 18px;
  text-align: center;
}

.accessory-icon {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto;
  color: var(--green-deep);
}

.accessory-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  margin: 16px 0 0;
}

.accessory-badge {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rust);
  border: 1px solid var(--rust);
  border-radius: 999px;
  padding: 0.35em 0.85em;
}

/* ==========================================================================
   Questions (FAQ teaser)
   ========================================================================== */

.faq-teaser { background: var(--rust); }

.faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 4px 24px;
}

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-weight: 700;
  color: var(--charcoal);
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-plus {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--rust);
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}

.faq-item[open] .faq-plus { transform: rotate(45deg); }

.faq-item p {
  margin: -8px 0 20px;
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 60ch;
  color: rgba(24,32,25,0.72);
}

.faq-teaser .btn-primary { flex-shrink: 0; }


/* ==========================================================================
   Gallery Page (gallery.php)
   ========================================================================== */

/* ---------- Masthead ---------- */

.gallery-hero {
  position: relative;
  background: var(--green-deep);
  padding: calc(var(--header-h-mobile) + 48px) 0 84px;
  overflow: hidden;
}

@media (min-width: 760px) {
  .gallery-hero { padding: calc(var(--header-h) + 64px) 0 104px; }
}

.gallery-hero .section-sub { margin-top: 14px; max-width: 58ch; }

/* Faint corrugation pass, echoing the homepage hero's material texture */
.gallery-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: repeating-linear-gradient(90deg, var(--white) 0px, var(--white) 2px, transparent 2px, transparent 14px);
  pointer-events: none;
}

/* Corrugated-metal wave seam into the showcase section below - the same
   mask technique as the homepage hero's signature seam, so arriving here
   from "View Full Gallery" feels like a continuation, not a new place. */
.gallery-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 150%;
  height: 34px;
  background: var(--white);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0,26 Q25,4 50,26 T100,26 T150,26 T200,26 T250,26 T300,26 T350,26 T400,26 T450,26 T500,26 T550,26 T600,26 T650,26 T700,26 T750,26 T800,26 T850,26 T900,26 T950,26 T1000,26 T1050,26 T1100,26 T1150,26 T1200,26 L1200,40 L0,40 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0,26 Q25,4 50,26 T100,26 T150,26 T200,26 T250,26 T300,26 T350,26 T400,26 T450,26 T500,26 T550,26 T600,26 T650,26 T700,26 T750,26 T800,26 T850,26 T900,26 T950,26 T1000,26 T1050,26 T1100,26 T1150,26 T1200,26 L1200,40 L0,40 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

@media (min-width: 860px) {
  .gallery-hero::after { height: 48px; width: 100%; }
}

/* ---------- Showcase: toolbar + grid ---------- */

.gallery-showcase {
  background: var(--white);
  padding: 56px 0 96px;
  scroll-margin-top: var(--header-h-mobile);
}

@media (min-width: 760px) {
  .gallery-showcase { scroll-margin-top: var(--header-h); }
}

.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

.gallery-filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  background: var(--stone);
  border: 1px solid rgba(24,32,25,0.08);
  border-radius: 999px;
}

.filter-pill {
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  color: rgba(24,32,25,0.72);
  white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.filter-pill:hover { color: var(--charcoal); }

.filter-pill.is-active {
  background: var(--green);
  color: var(--white);
}

.gallery-count {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: rgba(24,32,25,0.72);
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.gallery-card {
  margin: 0;
  animation: gallery-card-in 0.6s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 0.12s);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.gallery-card.is-hidden { opacity: 0; transform: scale(0.94); }
.gallery-card[hidden] { display: none; }

@keyframes gallery-card-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.gallery-card-trigger {
  position: relative;
  display: block;
  border-radius: var(--radius);
}

.card-media {
  position: relative;
  z-index: 1;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--stone);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-card-trigger:hover .card-media img,
.gallery-card-trigger:focus-visible .card-media img {
  transform: scale(1.06);
}

.card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12,20,15,0.78) 0%, rgba(12,20,15,0.05) 55%, transparent 75%);
}

.card-expand {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(12,20,15,0.5);
  color: var(--white);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.card-expand svg { width: 16px; height: 16px; }

.gallery-card-trigger:hover .card-expand,
.gallery-card-trigger:focus-visible .card-expand {
  opacity: 1;
  transform: translateY(0);
}

.card-caption {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--white);
}

.card-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(12,20,15,0.55);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.4em 0.85em;
  border-radius: 999px;
}

.card-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}

/* ---------- Lightbox ---------- */

.lightbox-modal {
  padding: 0;
  border: none;
  border-radius: var(--radius);
  background: var(--charcoal);
  color: var(--white);
  width: min(1100px, calc(100vw - 32px));
  max-height: calc(100vh - 56px);
}

.lightbox-modal::backdrop { background: rgba(12,20,15,0.86); }

.lightbox-modal[open] { display: flex; }

@media (prefers-reduced-motion: no-preference) {
  .lightbox-modal[open] { animation: cart-modal-in 0.25s var(--ease); }
  .lightbox-modal::backdrop { animation: cart-modal-backdrop-in 0.25s var(--ease); }
}

.lightbox-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 52px 16px 24px;
}

@media (min-width: 640px) {
  .lightbox-inner { padding: 60px 64px 32px; }
}

.lightbox-figure {
  margin: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
}

.lightbox-figure img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 190px);
  width: auto;
  height: auto;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

@media (min-width: 640px) {
  .lightbox-figure img { max-height: calc(100vh - 220px); }
}

.lightbox-figure figcaption {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.lightbox-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.4em 0.85em;
  border-radius: 999px;
}

.lightbox-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.3rem;
}

.lightbox-count {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--white);
  transition: background-color 0.2s var(--ease);
}

.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255,255,255,0.22); }

.lightbox-close {
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  z-index: 3;
}

.lightbox-close svg { width: 16px; height: 16px; }

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  z-index: 3;
}

.lightbox-nav svg { width: 20px; height: 20px; }
.lightbox-nav[hidden] { display: none; }
.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }

@media (min-width: 640px) {
  .lightbox-prev { left: 16px; }
  .lightbox-next { right: 16px; }
}

/* ---------- Share Your Garden CTA ---------- */

.gallery-cta {
  background: var(--rust);
  padding: 72px 0;
  scroll-margin-top: var(--header-h-mobile);
}

@media (min-width: 760px) {
  .gallery-cta { scroll-margin-top: var(--header-h); }
}

.gallery-cta .btn-primary { flex-shrink: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ background:var(--charcoal); color:rgba(255,255,255,.85); padding-block:4rem 2rem; padding-bottom: 0; }
.footer-grid{ display:grid; grid-template-columns:1.4fr repeat(4, 1fr); gap:2.5rem; }
.footer-grid h5{ font-family: var(--font-mono);
    font-size: 16px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 20px; }
.footer-grid ul{ display:flex; flex-direction:column; gap:10px; font-size:18px; }
.footer-grid a{ transition: color 0.2s var(--ease); }
.footer-grid a:hover{ color:var(--steel-light); }
.footer-about p{ color: rgba(255, 255, 255, .65);
    margin-top: 20px;
    line-height: 24px;
    font-size: 16px;
    letter-spacing: .1em;
    max-width: 180px;
    padding-top: 5px; }
.footer-bottom{ margin-top:3.5rem; padding-top:1.6rem; border-top:1px solid rgba(255,255,255,.12); display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px 20px; font-size:16px; color:rgba(255,255,255,.5); }

/* Terms / Privacy / Shipping / Returns - surfaced on every page so the
   legal pages are actually reachable, and crawlable, from the whole site. */
.footer-legal-links{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px 22px;
  font-size:15px;
}
.footer-legal-links a{ color:rgba(255,255,255,.6); transition:color 0.2s var(--ease); }
.footer-legal-links a:hover{ color:var(--steel-light); }
.footer-credits {
  background: #101611; /* Darker sub-footer background (or use var(--green-deep)) */
  padding: 14px 0;
  margin-top: 2rem;
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-credits a {
  color: var(--steel-light);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s var(--ease);
}

.footer-credits a:hover {
  color: var(--steel-light);
}


/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px){
  .footer-grid{ grid-template-columns:1fr 1fr 1fr; }
  .why-grid{ grid-template-columns:1fr 1fr; }
  .accessory-grid{ grid-template-columns:repeat(3, 1fr); }
  .gallery-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 720px){
  .footer-grid { grid-template-columns:1fr 1fr; }
  .specs-strip ul{ grid-template-columns:1fr 1fr; }
  .hero-title{ font-size:clamp(2.4rem, 13vw, 4rem); }
  .why-grid{ grid-template-columns:1fr; }
  .accessory-grid{ grid-template-columns:1fr 1fr; }
  .gallery-grid{ grid-template-columns:1fr; }
  .section-head.split{ align-items:flex-start; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; gap:14px; }
}
@media (max-width: 480px){
  .footer-grid { grid-template-columns:1fr; }
  .accessory-grid{ grid-template-columns:1fr; }
  .faq-item summary{ font-size:0.95rem; }
}