/* ============================================================
   KITCHEN DETAIL PAGE — kitchen-detail.css
   ============================================================
   Canonical section order (kitchen tabs: linea, natura, seta):
     .kd-hero → .kd-intro → .kd-details (about only) → .kd-gallery → .kd-explore → .kd-cta
   kitchens.html: .living-collections grid (living.css) follows the hero block.

   Gallery: bento grid on 12 columns, row-unit based (mix of landscape +
   portrait tiles). Images fill their tile edge-to-edge (object-fit: cover),
   sharp corners, no visible frame. Match image orientation to cell shape
   with .kd-img--landscape / --portrait / --wide / --square when needed.
   ============================================================ */
.nav { opacity: 1; }

/* ============================================================
   HERO
   ============================================================ */
.kd-hero {
  position: relative;
  padding: 10rem 4rem 5rem;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.kd-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.kd-hero:hover .kd-hero-img { transform: none; }

.kd-hero-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(14,13,12,0.82) 0%,
    rgba(14,13,12,0.34) 55%,
    rgba(14,13,12,0.18) 100%
  );
}

.kd-hero-body {
  position: relative;
  width: min(1200px, 100%);
  margin: 0;
  padding: 0;
  color: #f7f5f2;
  z-index: 1;
  /* Align supporting lines to the title's visual left edge */
  --kd-title-left-align: 0.05em;
}

.kd-hero-num {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(247,245,242,0.72);
  margin-bottom: 1rem;
  margin-left: var(--kd-title-left-align);
}

.kd-hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 1rem 0 1.5rem;
  max-width: 800px;
}

.kd-hero-title em {
  font-style: italic;
  color: rgba(247,245,242,0.84);
}

.kd-hero-sub {
  font-size: 1.05rem;
  color: rgba(247,245,242,0.9);
  max-width: 520px;
  line-height: 1.75;
  margin-left: var(--kd-title-left-align);
}

/* ============================================================
   INTRO STRIP
   ============================================================ */
.kd-intro {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.kd-intro-item {
  padding: 1.75rem 2.25rem;
  border-right: 1px solid var(--border);
  text-align: center;
}

.kd-intro-item:last-child { border-right: none; }

.kd-intro-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.kd-intro-value {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
}

/* ============================================================
   GALLERY
   ============================================================ */
.kd-gallery {
  padding: 2.5rem 4rem 1.25rem;
  max-width: 1400px;
  margin: 0 auto;
  --kd-gallery-gap: 10px;
}

.kd-gallery-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.kd-gallery-header h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Bento gallery — sharp edges, mixed portrait/landscape tiles.
   12-column grid, row unit = 1 "track" (~150px). Tiles span multiple rows:
   • landscape cells use landscape-friendly spans (8×2, 12×2)
   • portrait cells use tall narrow spans (4×3) */
.kd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(130px, 14vw, 170px);
  gap: var(--kd-gallery-gap);
}

/* 6 images: hero left (landscape) · portrait stack right · landscape wide · two portraits */
.kd-gallery-grid .kd-img:nth-child(1) { grid-column: span 8; grid-row: span 2; }
.kd-gallery-grid .kd-img:nth-child(2) { grid-column: span 4; grid-row: span 3; }
.kd-gallery-grid .kd-img:nth-child(3) { grid-column: span 8; grid-row: span 2; }
.kd-gallery-grid .kd-img:nth-child(4) { grid-column: span 6; grid-row: span 3; }
.kd-gallery-grid .kd-img:nth-child(5) { grid-column: span 6; grid-row: span 3; }
.kd-gallery-grid .kd-img:nth-child(6) { grid-column: span 12; grid-row: span 2; }

/* 5 images — same top pattern, then full-width finisher */
.kd-gallery-grid--5 .kd-img:nth-child(1) { grid-column: span 8; grid-row: span 2; }
.kd-gallery-grid--5 .kd-img:nth-child(2) { grid-column: span 4; grid-row: span 3; }
.kd-gallery-grid--5 .kd-img:nth-child(3) { grid-column: span 8; grid-row: span 2; }
.kd-gallery-grid--5 .kd-img:nth-child(4) { grid-column: span 6; grid-row: span 3; }
.kd-gallery-grid--5 .kd-img:nth-child(5) { grid-column: span 6; grid-row: span 3; }

/* 4 images — landscape hero + tall portrait, landscape, full-width panorama */
.kd-gallery-grid--4 .kd-img:nth-child(1) { grid-column: span 8;  grid-row: span 2; }
.kd-gallery-grid--4 .kd-img:nth-child(2) { grid-column: span 4;  grid-row: span 4; }
.kd-gallery-grid--4 .kd-img:nth-child(3) { grid-column: span 8;  grid-row: span 2; }
.kd-gallery-grid--4 .kd-img:nth-child(4) { grid-column: span 12; grid-row: span 2; }

/* Lumina custom 4-image bento layout: balanced hero + side portrait, dual landscape */
.kd-gallery-grid--4-lumina .kd-img:nth-child(1) { grid-column: span 8;  grid-row: span 3; }
.kd-gallery-grid--4-lumina .kd-img:nth-child(2) { grid-column: span 4;  grid-row: span 3; }
.kd-gallery-grid--4-lumina .kd-img:nth-child(3) { grid-column: span 6;  grid-row: span 2; }
.kd-gallery-grid--4-lumina .kd-img:nth-child(4) { grid-column: span 6;  grid-row: span 2; }

/* 3 images on a 4-layout grid (e.g. Verde) — full-width hero top, landscape + tall portrait below */
.kd-gallery-grid--4 .kd-img:nth-child(1):nth-last-child(3) {
  grid-column: 1 / -1;
  grid-row: 1 / span 4;
}
.kd-gallery-grid--4 .kd-img:nth-child(1):nth-last-child(3) img {
  object-position: center 40%;
}
.kd-gallery-grid--4 .kd-img:nth-child(2):nth-last-child(2) {
  grid-column: span 8;
  grid-row: 5 / span 4;
}
.kd-gallery-grid--4 .kd-img:nth-child(2):nth-last-child(2) img {
  object-position: center center;
}
.kd-gallery-grid--4 .kd-img:nth-child(3):last-child {
  grid-column: span 4;
  grid-row: 5 / span 4;
}
.kd-gallery-grid--4 .kd-img:nth-child(3):last-child img {
  object-position: center center;
}

/* 3 images — top row min-content (landscape uses full width, no side letterboxing); bottom pair flush left/right */
.kd-gallery-grid--3 {
  grid-template-rows: min-content;
  grid-auto-rows: clamp(110px, 12vw, 150px);
  row-gap: var(--kd-gallery-gap);
  column-gap: var(--kd-gallery-gap);
}
.kd-gallery-grid--3 .kd-img:nth-child(1) {
  grid-column: span 12;
  grid-row: 1;
  align-self: start;
}
.kd-gallery-grid--3 .kd-img:nth-child(2),
.kd-gallery-grid--3 .kd-img:nth-child(3) {
  grid-column: span 6;
  grid-row: 2 / span 5;
}
.kd-gallery-grid--3 .kd-img {
  background: #f7f5f2;
}
.kd-gallery-grid--3 .kd-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.kd-gallery-grid--3 .kd-img:nth-child(1) img {
  height: auto;
  max-height: none;
  object-position: center top;
}
.kd-gallery-grid--3 .kd-img:nth-child(2) img {
  object-position: left center;
}
.kd-gallery-grid--3 .kd-img:nth-child(3) img {
  object-position: right center;
}

/* 2 images — equal split */
.kd-gallery-grid--2 .kd-img:nth-child(1),
.kd-gallery-grid--2 .kd-img:nth-child(2) { grid-column: span 6; grid-row: span 3; }

/* Indigo desktop split: first row 70/30, second row 30/70 */
.kd-gallery-grid.kd-gallery-grid--indigo-split {
  grid-template-columns: repeat(10, minmax(0, 1fr));
}
.kd-gallery-grid.kd-gallery-grid--indigo-split .kd-img:nth-child(1) {
  grid-column: 1 / span 7;
  grid-row: 1 / span 3;
}
.kd-gallery-grid.kd-gallery-grid--indigo-split .kd-img:nth-child(2) {
  grid-column: 8 / span 3;
  grid-row: 1 / span 3;
}
.kd-gallery-grid.kd-gallery-grid--indigo-split .kd-img:nth-child(3) {
  grid-column: 1 / span 3;
  grid-row: 4 / span 3;
}
.kd-gallery-grid.kd-gallery-grid--indigo-split .kd-img:nth-child(4) {
  grid-column: 4 / span 7;
  grid-row: 4 / span 3;
}

/* Amber desktop split: landscape dominant (70/30) */
.kd-gallery-grid.kd-gallery-grid--amber-mobile-fix {
  grid-template-columns: repeat(10, minmax(0, 1fr));
}
.kd-gallery-grid.kd-gallery-grid--amber-mobile-fix .kd-img:nth-child(1) {
  grid-column: 1 / span 7;
  grid-row: 1 / span 3;
}
.kd-gallery-grid.kd-gallery-grid--amber-mobile-fix .kd-img:nth-child(2) {
  grid-column: 8 / span 3;
  grid-row: 1 / span 3;
}
.kd-gallery-grid.kd-gallery-grid--amber-mobile-fix .kd-img:nth-child(3) {
  grid-column: 1 / span 3;
  grid-row: 4 / span 3;
}
.kd-gallery-grid.kd-gallery-grid--amber-mobile-fix .kd-img:nth-child(4) {
  grid-column: 4 / span 7;
  grid-row: 4 / span 3;
}

/* 2 images — stacked full-width: shorter tiles, same column width; contain shows full photo (no thin “slice” crops) */
.kd-gallery-grid--2-stacked {
  grid-auto-rows: clamp(110px, 12vw, 150px);
}
.kd-gallery-grid--2-stacked .kd-img:nth-child(1),
.kd-gallery-grid--2-stacked .kd-img:nth-child(2) {
  grid-column: span 12;
  grid-row: span 3;
}
.kd-gallery-grid--2-stacked .kd-img {
  background: #f7f5f2;
}
.kd-gallery-grid--2-stacked .kd-img img {
  object-fit: contain;
  object-position: center;
}

/* Artisan/Siena stacked pair: keep both images exactly same width */
.kd-gallery-grid--2-stacked.kd-gallery-grid--siena-mobile-fix {
  grid-auto-rows: auto;
}
.kd-gallery-grid--2-stacked.kd-gallery-grid--siena-mobile-fix .kd-img {
  grid-row: span 1;
  min-height: 0;
  height: auto;
  display: block;
}
.kd-gallery-grid--2-stacked.kd-gallery-grid--siena-mobile-fix .kd-img img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* Indigo modifier: keep both images same visual width, allow different heights */
.kd-gallery-grid--2-stacked.kd-gallery-grid--2-equal {
  grid-auto-rows: auto;
}
.kd-gallery-grid--2-stacked.kd-gallery-grid--2-equal .kd-img:nth-child(1),
.kd-gallery-grid--2-stacked.kd-gallery-grid--2-equal .kd-img:nth-child(2) {
  grid-column: span 12;
  grid-row: span 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.kd-gallery-grid--2-stacked.kd-gallery-grid--2-equal .kd-img img {
  width: 88%;
  height: auto;
  max-width: 88%;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

/* Utility classes you can add per-image if a specific shot needs a different span */
.kd-img--landscape { grid-column: span 8; grid-row: span 2; }
.kd-img--portrait  { grid-column: span 4; grid-row: span 3; }
.kd-img--wide      { grid-column: span 12; grid-row: span 2; }
.kd-img--square    { grid-column: span 4; grid-row: span 2; }

.kd-img {
  position: relative;
  overflow: hidden;
  cursor: default;
  background: transparent;
  min-height: 0;
}

.kd-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  cursor: default;
}

/* Placeholder gradient for missing images */
.kd-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.3);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(14,13,12,0.96);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 2px;
}

.lightbox-close {
  position: absolute;
  top: 1.8rem;
  right: 2rem;
  background: none;
  border: none;
  color: rgba(245,242,238,0.6);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.lightbox-close:hover { color: #f5f2ee; }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(245,242,238,0.2);
  color: rgba(245,242,238,0.7);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}

.lightbox-nav:hover { border-color: #f5f2ee; color: #f5f2ee; }
.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }

/* ============================================================
   DETAILS — about copy (single column)
   ============================================================ */
.kd-details {
  border-top: 1px solid var(--border);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
}

.kd-desc {
  padding: 4rem 0;
  max-width: 760px;
  margin: 0;
}

.kd-desc h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 1rem 0 2rem;
  line-height: 1.15;
}

.kd-desc p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.2rem;
  max-width: 38rem;
}

.kd-desc.kd-desc--page-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.kd-desc.kd-desc--page-center .section-label,
.kd-desc.kd-desc--page-center h2,
.kd-desc.kd-desc--page-center p {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   EXPLORE MORE — single-slide carousel (same width as the gallery
   above). Arrow buttons sit on the image itself, white tint.
   ============================================================ */
.kd-explore {
  max-width: 1400px;
  margin: 0 auto;
  padding: 5.5rem 4rem 3.25rem;
}

.kd-explore-label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.kd-explore-slider {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 5.5;
  background: rgba(14, 13, 12, 0.06);
  user-select: none;
}

.kd-explore-track {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
}

.kd-explore-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  text-decoration: none;
  color: #fff;
  display: block;
  overflow: hidden;
}

.kd-explore-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.kd-explore-slide:hover img {
  transform: scale(1.015);
}

/* Name label floating over the image */
.kd-explore-slide .kd-explore-name {
  position: absolute;
  left: 2rem;
  bottom: 1.75rem;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
  z-index: 2;
  pointer-events: none;
}

/* Arrow buttons */
.kd-explore-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  padding: 0;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.kd-explore-btn:hover {
  background: rgba(0, 0, 0, 0.42);
  border-color: #fff;
}

.kd-explore-btn:active {
  transform: translateY(-50%) scale(0.94);
}

.kd-explore-btn svg {
  width: 22px;
  height: 22px;
  display: block;
  stroke: currentColor;
}

.kd-explore-btn--prev { left: 1.25rem; }
.kd-explore-btn--next { right: 1.25rem; }

.kd-explore-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ============================================================
   CTA
   ============================================================ */
.kd-cta {
  background: var(--dark);
  padding: 5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.kd-cta-text h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #f5f2ee;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.kd-cta-text h2 em {
  font-style: italic;
  color: rgba(245,242,238,0.5);
}

.kd-cta-text p {
  font-size: 0.9rem;
  color: rgba(245,242,238,0.5);
  max-width: 360px;
  line-height: 1.7;
}

.kd-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
}

.btn-solid {
  display: inline-block;
  padding: 1rem 2.4rem;
  background: #c0392b;
  color: #f5f2ee;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s;
  white-space: nowrap;
}

.btn-solid:hover { background: #a93226; }

.btn-ghost {
  display: inline-block;
  padding: 1rem 2.4rem;
  border: 1px solid rgba(245,242,238,0.25);
  color: rgba(245,242,238,0.7);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.3s, color 0.3s;
  text-align: center;
  white-space: nowrap;
}

.btn-ghost:hover { border-color: rgba(245,242,238,0.7); color: #f5f2ee; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .kd-hero {
    height: 78vh;
    min-height: 520px;
    overflow: hidden;
    padding: 0;
  }
  .kd-hero-img {
    object-position: center;
  }
  .kd-hero-tint {
    background: linear-gradient(to top, rgba(14,13,12,0.76) 0%, rgba(14,13,12,0.18) 62%);
  }
  .kd-hero-body {
    position: absolute;
    left: 0;
    bottom: 0;
    width: auto;
    max-width: 100%;
    padding: 2rem 1.4rem;
    --kd-title-left-align: 0.03em;
  }
  .kd-hero-title { font-size: clamp(3rem, 14vw, 6rem); }
  .kd-intro { grid-template-columns: 1fr; }
  .kd-intro-item { border-right: none; border-bottom: 1px solid var(--border); padding: 1.6rem 1.4rem; }
  .kd-details {
    padding: 0 1.4rem;
  }
  .kd-desc {
    padding: 3rem 0 2rem;
  }
  .kd-gallery { padding: 2rem 1.4rem 1.25rem; }
  .kd-explore { padding: 3.5rem 1.4rem 2.5rem; }
  .kd-explore-slider { aspect-ratio: 4 / 3; }
  .kd-explore-btn { width: 42px; height: 42px; }
  .kd-explore-btn svg { width: 18px; height: 18px; }
  .kd-explore-btn--prev { left: 0.75rem; }
  .kd-explore-btn--next { right: 0.75rem; }
  .kd-explore-slide .kd-explore-name { left: 1.1rem; bottom: 1.1rem; font-size: 1.3rem; }
  .kd-gallery .kd-gallery-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: minmax(260px, 58vh);
    gap: 10px;
  }
  /* Keep the same Stria-like spacing across all kitchen gallery layouts on mobile */
  .kd-gallery .kd-gallery-grid,
  .kd-gallery .kd-gallery-grid--2,
  .kd-gallery .kd-gallery-grid--2-stacked,
  .kd-gallery .kd-gallery-grid--2-stacked.kd-gallery-grid--2-equal,
  .kd-gallery .kd-gallery-grid--3,
  .kd-gallery .kd-gallery-grid--4,
  .kd-gallery .kd-gallery-grid--5 {
    gap: 10px !important;
    row-gap: 10px !important;
    column-gap: 10px !important;
  }
  .kd-gallery .kd-img {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }
  /* Siena/3-image galleries: remove large empty tile space on mobile */
  .kd-gallery .kd-gallery-grid--3 {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .kd-gallery .kd-gallery-grid--3 .kd-img {
    min-height: 0;
    height: auto;
    display: block;
  }
  .kd-gallery .kd-gallery-grid--3 .kd-img img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    display: block;
  }
  /* Indigo (--2-equal): remove oversized mobile rows so gap matches Stria */
  .kd-gallery .kd-gallery-grid--2-stacked.kd-gallery-grid--2-equal {
    display: flex;
    flex-direction: column;
    gap: 10px;
    row-gap: 10px;
    column-gap: 10px;
    grid-auto-rows: auto;
  }
  .kd-gallery .kd-gallery-grid--2-stacked.kd-gallery-grid--2-equal .kd-img {
    min-height: 0;
    height: auto;
    display: block;
  }
  .kd-gallery .kd-gallery-grid--2-stacked.kd-gallery-grid--2-equal .kd-img img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    display: block;
  }
  /* Siena (--2-stacked): same mobile behavior as Stria visual gap (no oversized row tracks) */
  .kd-gallery .kd-gallery-grid--2-stacked.kd-gallery-grid--siena-mobile-fix {
    display: flex;
    flex-direction: column;
    gap: 10px;
    row-gap: 10px;
    column-gap: 10px;
    grid-auto-rows: auto;
  }
  .kd-gallery .kd-gallery-grid--2-stacked.kd-gallery-grid--siena-mobile-fix .kd-img {
    min-height: 0;
    height: auto;
    display: block;
  }
  .kd-gallery .kd-gallery-grid--2-stacked.kd-gallery-grid--siena-mobile-fix .kd-img img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    display: block;
  }
  /* Amber: same mobile behavior as Stria visual gap (no oversized row tracks) */
  .kd-gallery .kd-gallery-grid--amber-mobile-fix {
    display: flex;
    flex-direction: column;
    gap: 10px;
    row-gap: 10px;
    column-gap: 10px;
    grid-auto-rows: auto;
  }
  .kd-gallery .kd-gallery-grid--amber-mobile-fix .kd-img {
    min-height: 0;
    height: auto;
    display: block;
  }
  .kd-gallery .kd-gallery-grid--amber-mobile-fix .kd-img img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    display: block;
  }
  .kd-details { padding: 0 1.4rem; }
  .kd-desc { padding: 2.5rem 0; }
  .kd-cta { flex-direction: column; padding: 3rem 1.4rem; gap: 2rem; }
  .kd-cta-actions { flex-direction: row; flex-wrap: wrap; }
}
