/* =========================================================
   ГороДверей — страница "Световые панели с растениями"
   Все стили изолированы префиксом .gd-lbx
   ========================================================= */

.gd-lbx {
  --gd-bg: #f5f2ec;
  --gd-bg-soft: #ece7df;
  --gd-surface: #ffffff;
  --gd-text: #1e1c19;
  --gd-muted: #6f6a62;
  --gd-line: rgba(30, 28, 25, .14);
  --gd-accent: #d8b25a;
  --gd-accent-strong: #b98b2f;
  --gd-dark: #151714;
  --gd-dark-2: #20241e;
  --gd-on-dark: #f6f0e4;
  --gd-radius: 22px;
  --gd-shadow: 0 24px 70px rgba(28, 24, 18, .10);

  color: var(--gd-text);
  background: var(--gd-bg);
  font-family: inherit;
  line-height: 1.55;
  overflow: clip;
}

/* Тёмная версия.
   Можно включить вручную: <section class="gd-lbx gd-lbx--dark">
   Позже привяжем к реальному переключателю темы сайта. */
.gd-lbx.gd-lbx--dark {
  --gd-bg: #11130f;
  --gd-bg-soft: #181b16;
  --gd-surface: #1d211b;
  --gd-text: #f5f0e7;
  --gd-muted: #aaa79f;
  --gd-line: rgba(255, 255, 255, .12);
  --gd-accent: #e0bc66;
  --gd-accent-strong: #f0ca6d;
  --gd-shadow: 0 24px 70px rgba(0, 0, 0, .32);
}

/* Если текущая тема сайта уже ставит один из этих классов,
   страница автоматически перейдёт в dark. */
html[data-theme="dark"] .gd-lbx,
html[data-bs-theme="dark"] .gd-lbx,
body.theme-dark .gd-lbx,
body.dark .gd-lbx {
  --gd-bg: #11130f;
  --gd-bg-soft: #181b16;
  --gd-surface: #1d211b;
  --gd-text: #f5f0e7;
  --gd-muted: #aaa79f;
  --gd-line: rgba(255, 255, 255, .12);
  --gd-accent: #e0bc66;
  --gd-accent-strong: #f0ca6d;
  --gd-shadow: 0 24px 70px rgba(0, 0, 0, .32);
}

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

.gd-lbx img {
  display: block;
  width: 100%;
  height: auto;
}

.gd-lbx a {
  color: inherit;
}

.gd-lbx__container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.gd-lbx__section {
  padding: clamp(72px, 8vw, 126px) 0;
  background: var(--gd-bg);
}

.gd-lbx__section--muted {
  background: var(--gd-bg-soft);
}

.gd-lbx__section--dark-panel {
  background:
    radial-gradient(circle at 85% 20%, rgba(83, 105, 62, .20), transparent 32%),
    linear-gradient(145deg, #11140f, #1d211a);
  color: var(--gd-on-dark);
}

.gd-lbx__eyebrow {
  margin: 0 0 14px;
  color: var(--gd-accent-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.gd-lbx h1,
.gd-lbx h2,
.gd-lbx h3,
.gd-lbx p {
  margin-top: 0;
}

.gd-lbx h1,
.gd-lbx h2 {
  letter-spacing: -.035em;
  line-height: 1.02;
}

.gd-lbx h1 {
  max-width: 800px;
  margin-bottom: 24px;
  font-size: clamp(46px, 7.3vw, 92px);
  font-weight: 500;
}

.gd-lbx h2 {
  margin-bottom: 24px;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
}

.gd-lbx h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
}

.gd-lbx p {
  color: var(--gd-muted);
}

.gd-lbx__lead {
  max-width: 700px;
  margin-bottom: 32px;
  font-size: clamp(18px, 2vw, 23px);
}

.gd-lbx__small {
  font-size: 13px;
}

/* HERO */
.gd-lbx__hero {
  position: relative;
  min-height: min(880px, 92vh);
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
}

.gd-lbx__hero-media,
.gd-lbx__hero-overlay {
  position: absolute;
  inset: 0;
}

.gd-lbx__hero-media {
  background-image: url("/images/lightbox-plants/hero-light-desktop.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Тёмная версия hero */
.gd-lbx.gd-lbx--dark .gd-lbx__hero-media,
html[data-theme="dark"] .gd-lbx .gd-lbx__hero-media,
html[data-bs-theme="dark"] .gd-lbx .gd-lbx__hero-media,
body.theme-dark .gd-lbx .gd-lbx__hero-media,
body.dark .gd-lbx .gd-lbx__hero-media {
  background-image: url("/images/lightbox-plants/hero-dark-desktop.webp");
}

.gd-lbx__hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 10, 8, .82) 0%, rgba(10, 10, 8, .45) 48%, rgba(10, 10, 8, .10) 78%),
    linear-gradient(0deg, rgba(10, 10, 8, .64) 0%, transparent 45%);
}

.gd-lbx__hero-content {
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: 58px;
}

.gd-lbx__hero .gd-lbx__eyebrow {
  color: #f1d083;
}

.gd-lbx__hero .gd-lbx__lead,
.gd-lbx__hero-notes {
  color: rgba(255,255,255,.82);
}

.gd-lbx__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gd-lbx__btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.gd-lbx__btn:hover {
  transform: translateY(-1px);
}

.gd-lbx__btn--primary {
  background: var(--gd-accent);
  color: #17150f !important;
}

.gd-lbx__btn--primary:hover {
  background: var(--gd-accent-strong);
}

.gd-lbx__btn--ghost {
  border-color: rgba(255,255,255,.45);
  color: #fff !important;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px);
}

.gd-lbx__hero-notes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.18);
  font-size: 14px;
}

/* COMMON LAYOUTS */
.gd-lbx__split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(38px, 6vw, 84px);
  align-items: center;
}

.gd-lbx__split--intro {
  align-items: start;
}

.gd-lbx__copy > p:not(.gd-lbx__eyebrow):not(.gd-lbx__note):not(.gd-lbx__small) {
  max-width: 720px;
  font-size: 17px;
}

.gd-lbx__note {
  margin-top: 24px;
  padding-left: 16px;
  border-left: 2px solid var(--gd-accent);
  font-size: 14px;
}

.gd-lbx__media-card {
  overflow: hidden;
  border-radius: var(--gd-radius);
  background: var(--gd-surface);
  box-shadow: var(--gd-shadow);
}

.gd-lbx__media-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gd-lbx__section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 42px;
}

.gd-lbx__section-head h2 {
  margin-bottom: 0;
}

.gd-lbx__section-head > p {
  margin-bottom: 6px;
}

/* ON/OFF LIGHT DEMO */
.gd-lbx__light-demo {
  position: relative;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--gd-radius);
  background: #161713;
  cursor: pointer;
  box-shadow: var(--gd-shadow);
}

.gd-lbx__light-demo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gd-lbx__light-demo-on {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
}

.gd-lbx__light-demo:hover .gd-lbx__light-demo-on,
.gd-lbx__light-demo:focus-visible .gd-lbx__light-demo-on,
.gd-lbx__light-demo.is-lit .gd-lbx__light-demo-on {
  opacity: 1;
}

.gd-lbx__light-demo-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  color: #fff;
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(10px);
  font-size: 12px;
}

/* CARDS */
.gd-lbx__cards {
  display: grid;
  gap: 18px;
}

.gd-lbx__cards--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gd-lbx__card {
  border: 1px solid var(--gd-line);
  border-radius: 18px;
  background: var(--gd-surface);
  overflow: hidden;
}

.gd-lbx__card--image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gd-lbx__card-body,
.gd-lbx__cards--compact .gd-lbx__card {
  padding: 22px;
}

.gd-lbx__card p {
  margin-bottom: 0;
  font-size: 14px;
}

.gd-lbx__specs {
  display: grid;
  gap: 0;
  margin: 26px 0;
  border-top: 1px solid var(--gd-line);
}

.gd-lbx__specs > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--gd-line);
}

.gd-lbx__specs span {
  color: var(--gd-muted);
}

/* USES */

.gd-lbx__uses {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--gd-line);
  border-left: 1px solid var(--gd-line);
}

.gd-lbx__uses article {
  min-height: 0;
  padding: 22px 24px 24px;
  border-right: 1px solid var(--gd-line);
  border-bottom: 1px solid var(--gd-line);
}

.gd-lbx__uses article > span {
  display: block;
  margin: 0 0 12px;
  color: var(--gd-accent);
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
}

.gd-lbx__uses article > img.gd-lbx__use-icon {
  display: block;
  width: 34px;
  height: 34px;
  max-width: 34px;
  margin: 0 0 10px;
  object-fit: contain;
}

.gd-lbx__uses article h3 {
  margin: 0 0 5px;
  font-size: 16px;
  line-height: 1.2;
}

.gd-lbx__uses article p {
  margin: 0;
  max-width: 260px;
  color: var(--gd-muted);
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .gd-lbx__uses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gd-lbx__uses {
    grid-template-columns: 1fr;
  }

  .gd-lbx__uses article {
    padding: 20px;
  }

  .gd-lbx__uses article > img.gd-lbx__use-icon {
    width: 32px;
    height: 32px;
    max-width: 32px;
  }
}

/* CALCULATOR */
.gd-lbx__calc-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}

.gd-lbx__calc {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--gd-line);
  border-radius: var(--gd-radius);
  background: var(--gd-surface);
  box-shadow: var(--gd-shadow);
}

.gd-lbx__calc label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 700;
}

.gd-lbx__calc input,
.gd-lbx__calc select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--gd-line);
  border-radius: 10px;
  color: var(--gd-text);
  background: var(--gd-bg);
  font: inherit;
}

.gd-lbx__calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.gd-lbx__calc-result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}

.gd-lbx__calc-result > div {
  padding: 16px;
  border-radius: 12px;
  background: var(--gd-bg-soft);
}

.gd-lbx__calc-result span {
  display: block;
  margin-bottom: 5px;
  color: var(--gd-muted);
  font-size: 12px;
}

.gd-lbx__calc-result strong {
  display: block;
  font-size: 16px;
}

.gd-lbx__calc-price {
  grid-column: 1 / -1;
}

/* PROCESS */

.gd-lbx__process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.gd-lbx__process article {
  min-width: 0;
}

.gd-lbx__process-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--gd-bg-soft);
}

.gd-lbx__process-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.gd-lbx__process-number {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;

  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;

  border-radius: 50%;
  color: #19160f;
  background: var(--gd-accent);

  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}

.gd-lbx__process h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.25;
}

.gd-lbx__process p {
  margin: 0;
  color: var(--gd-muted);
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .gd-lbx__process {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .gd-lbx__process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .gd-lbx__process {
    grid-template-columns: 1fr;
  }
}

/* CONTACT */
.gd-lbx__section--contact {
  background:
    radial-gradient(circle at 10% 20%, rgba(90, 110, 70, .14), transparent 35%),
    var(--gd-bg);
}

.gd-lbx__form-slot {
  display: grid;
  gap: 6px;
  margin-top: 28px;
  padding: 28px;
  border: 1px dashed var(--gd-line);
  border-radius: 16px;
  background: var(--gd-bg-soft);
}

.gd-lbx__form-slot span {
  color: var(--gd-muted);
  font-size: 14px;
}

/* GALLERY */
.gd-lbx__gallery {
  display: grid;
  grid-template-columns: 1.35fr .825fr .825fr;
  gap: 16px;
}

.gd-lbx__gallery figure {
  margin: 0;
}

.gd-lbx__gallery img {
  height: 100%;
  min-height: 360px;
  border-radius: 16px;
  object-fit: cover;
}

.gd-lbx__gallery figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
}

.gd-lbx__gallery figcaption span {
  color: var(--gd-muted);
  font-size: 13px;
}

/* FAQ */
.gd-lbx__faq-layout {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: clamp(40px, 7vw, 96px);
}

.gd-lbx__faq details {
  border-top: 1px solid var(--gd-line);
}

.gd-lbx__faq details:last-child {
  border-bottom: 1px solid var(--gd-line);
}

.gd-lbx__faq summary {
  position: relative;
  padding: 20px 40px 20px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

.gd-lbx__faq summary::-webkit-details-marker {
  display: none;
}

.gd-lbx__faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 16px;
  font-size: 24px;
  font-weight: 400;
}

.gd-lbx__faq details[open] summary::after {
  content: "−";
}

.gd-lbx__faq details p {
  max-width: 760px;
  padding: 0 40px 20px 0;
}

/* FINAL CTA */
.gd-lbx__final {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: #fff;
  isolation: isolate;
}

.gd-lbx__final-media,
.gd-lbx__final-overlay {
  position: absolute;
  inset: 0;
}

.gd-lbx__final-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gd-lbx__final-overlay {
  z-index: 1;
  background: linear-gradient(90deg, rgba(10,11,8,.86), rgba(10,11,8,.38) 60%, rgba(10,11,8,.14));
}

.gd-lbx__final-content {
  position: relative;
  z-index: 2;
}

.gd-lbx__final-content h2,
.gd-lbx__final-content p {
  max-width: 680px;
}

.gd-lbx__final-content p {
  color: rgba(255,255,255,.72);
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .gd-lbx__hero {
    min-height: 760px;
  }

  .gd-lbx__hero-notes,
  .gd-lbx__cards--4,
  .gd-lbx__process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gd-lbx__split,
  .gd-lbx__calc-layout,
  .gd-lbx__faq-layout {
    grid-template-columns: 1fr;
  }

  .gd-lbx__section-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gd-lbx__uses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gd-lbx__gallery {
    grid-template-columns: 1fr 1fr;
  }

  .gd-lbx__gallery figure:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .gd-lbx__hero-media {
    background-image: url("/images/lightbox-plants/hero-light-mobile.webp");
    background-position: center top;
  }

  .gd-lbx.gd-lbx--dark .gd-lbx__hero-media,
  html[data-theme="dark"] .gd-lbx .gd-lbx__hero-media,
  html[data-bs-theme="dark"] .gd-lbx .gd-lbx__hero-media,
  body.theme-dark .gd-lbx .gd-lbx__hero-media,
  body.dark .gd-lbx .gd-lbx__hero-media {
    background-image: url("/images/lightbox-plants/hero-dark-mobile.webp");
  }

  .gd-lbx__container {
    width: min(100% - 28px, 1180px);
  }

  .gd-lbx__section {
    padding: 64px 0;
  }

  .gd-lbx__hero {
    min-height: 700px;
  }

  .gd-lbx__hero-content {
    padding-top: 62px;
    padding-bottom: 34px;
  }

.gd-lbx__hero-overlay {
  background:
    linear-gradient(
      0deg,
      rgba(10, 10, 8, .70) 0%,
      rgba(10, 10, 8, .58) 45%,
      rgba(10, 10, 8, .52) 72%,
      rgba(10, 10, 8, .38) 100%
    );
}

  .gd-lbx h1 {
    font-size: clamp(40px, 11.5vw, 44px);
    line-height: 1.01;
    letter-spacing: -.035em;
  }

  .gd-lbx__hero .gd-lbx__eyebrow {
    margin-bottom: 16px;
  }

  .gd-lbx__hero .gd-lbx__lead {
    margin-bottom: 28px;
    font-size: 17px;
    line-height: 1.55;
  }

  .gd-lbx h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .gd-lbx__hero-notes,
  .gd-lbx__cards--4,
  .gd-lbx__uses,
  .gd-lbx__process,
  .gd-lbx__gallery,
  .gd-lbx__calc-row,
  .gd-lbx__calc-result {
    grid-template-columns: 1fr;
  }

  .gd-lbx__gallery figure:first-child {
    grid-column: auto;
  }

  .gd-lbx__gallery img {
    min-height: 280px;
  }

  .gd-lbx__specs > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .gd-lbx__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .gd-lbx__btn {
    width: 100%;
  }

  .gd-lbx__calc-price {
    grid-column: auto;
  }

  .gd-lbx__calc-layout {
    gap: 30px;
  }

  .gd-lbx__calc-layout > div:first-child h2 {
    margin-bottom: 18px;
  }

  .gd-lbx__final {
    min-height: 500px;
  }

  .gd-lbx__final-content h2 {
    max-width: 330px;
    margin-bottom: 22px;
    font-size: clamp(32px, 9vw, 36px);
    line-height: 1.02;
  }

  .gd-lbx__final-content p {
    margin-bottom: 24px;
    line-height: 1.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gd-lbx *,
  .gd-lbx *::before,
  .gd-lbx *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }
}
/* CONTACT FORM BUTTON */

.gd-lbx__contact-action {
  margin-top: 30px;
}

.gd-lbx__contact-action .gd-editorial-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;
  padding: 0 26px;

  border: 0;
  border-radius: 10px;

  color: #19160f;
  background: var(--gd-accent);

  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;

  cursor: pointer;
  transition:
    transform .2s ease,
    background-color .2s ease;
}

.gd-lbx__contact-action .gd-editorial-button:hover {
  background: var(--gd-accent-strong);
  transform: translateY(-1px);
}

.gd-lbx__contact-action .gd-editorial-button:focus-visible {
  outline: 2px solid var(--gd-accent-strong);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .gd-lbx__contact-action {
    margin-top: 24px;
  }

  .gd-lbx__contact-action .gd-editorial-button {
    width: 100%;
  }
}

/* SOLUTION */

.gd-lbx__solution {
  position: relative;
  overflow: hidden;
  background: var(--gd-bg);
}

.gd-lbx__solution-inner {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  min-height: 560px;
  margin-inline: auto;
  display: flex;
  align-items: center;
}

.gd-lbx__solution-copy {
  position: relative;
  z-index: 2;
  width: min(430px, 42%);
  padding: 80px 0;
}

.gd-lbx__solution-copy h2 {
  margin: 0 0 24px;
  max-width: 420px;
  font-size: clamp(42px, 4.6vw, 68px);
  line-height: .96;
  letter-spacing: -.045em;
}

.gd-lbx__solution-copy p {
  max-width: 390px;
  margin: 0 0 28px;
  color: var(--gd-muted);
  font-size: 14px;
  line-height: 1.65;
}

.gd-lbx__solution-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  min-height: 48px;
  padding: 0 20px;

  border: 0;
  border-radius: 4px;

  color: #19160f;
  background: var(--gd-accent);

  font: inherit;
  font-size: 13px;
  font-weight: 800;

  cursor: pointer;
  transition:
    transform .2s ease,
    background-color .2s ease;
}

.gd-lbx__solution-button:hover {
  background: var(--gd-accent-strong);
  transform: translateY(-1px);
}

.gd-lbx__solution-image {
  position: absolute;
  z-index: 1;

  top: 0;
  right: -4%;

  width: 78%;
  height: 100%;

  object-fit: contain;
  object-position: right center;

  pointer-events: none;
  user-select: none;
}

/* TABLET */

@media (max-width: 900px) {
  .gd-lbx__solution-inner {
    min-height: 500px;
  }

  .gd-lbx__solution-copy {
    width: 48%;
  }

  .gd-lbx__solution-image {
    right: -12%;
    width: 82%;
  }
}

/* MOBILE */

@media (max-width: 640px) {
  .gd-lbx__solution-inner {
    width: min(100% - 28px, 1180px);
    min-height: 520px;
    align-items: flex-start;
  }

  .gd-lbx__solution-copy {
    width: 100%;
    padding: 52px 0 230px;
  }

  .gd-lbx__solution-copy h2 {
    max-width: 340px;
    font-size: clamp(38px, 12vw, 52px);
  }

  .gd-lbx__solution-copy p {
    max-width: 330px;
  }

  .gd-lbx__solution-image {
    top: auto;
    right: -18%;
    bottom: 0;

    width: 118%;
    height: 300px;

    object-position: right bottom;
  }
}

/* DARK THEME — native controls */
html[data-theme="dark"] .gd-lbx .gd-lbx__calc input,
html[data-theme="dark"] .gd-lbx .gd-lbx__calc select {
  color-scheme: dark;
}
/* MOTION */

.gd-lbx__motion {
  padding: 90px 0;
  background: var(--gd-bg);
}

.gd-lbx__motion-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: center;
}

.gd-lbx__motion-copy {
  max-width: 430px;
}

.gd-lbx__motion-copy h2 {
  margin: 0 0 20px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -.035em;
}

.gd-lbx__motion-copy > p:last-child {
  margin: 0;
  color: var(--gd-muted);
  font-size: 15px;
  line-height: 1.65;
}

.gd-lbx__motion-media {
  overflow: hidden;
  border-radius: var(--gd-radius);
  background: var(--gd-bg-soft);
}

.gd-lbx__motion-media video {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .gd-lbx__motion {
    padding: 64px 0;
  }

  .gd-lbx__motion-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .gd-lbx__motion-copy {
    max-width: 100%;
  }
}
.gd-lbx__materials {
background-image: url("/images/lightbox-plants/materials-bg-desktop.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 640px) {
  .gd-lbx__materials {
    background-image:
      linear-gradient(180deg, rgba(15, 17, 13, .72) 0%, rgba(15, 17, 13, .42) 34%, rgba(15, 17, 13, .16) 58%, rgba(15, 17, 13, .08) 100%),
      url("/images/lightbox-plants/materials-bg-mobile.webp");
    background-position: center;
  }

  .gd-lbx__materials .gd-lbx__eyebrow {
    color: #f1d083;
  }

  .gd-lbx__materials h2 {
    max-width: 330px;
    margin-bottom: 16px;
    color: #fff;
  }

  .gd-lbx__materials .gd-lbx__section-head {
    gap: 8px;
    margin-bottom: 30px;
  }

  .gd-lbx__materials .gd-lbx__section-head > p {
    color: rgba(255, 255, 255, .78);
  }
}
/* =========================================================
   PLANT COLLECTION
   ========================================================= */

.gd-lbx__plants {
  overflow: hidden;
}

.gd-lbx__plants-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 64px);
}

.gd-lbx__plants-intro {
  max-width: 760px;
}

.gd-lbx__plants-intro h2 {
  margin-bottom: 18px;
}

.gd-lbx__plants-intro > p:last-child {
  max-width: 680px;
  margin-bottom: 0;
}

.gd-lbx__plants-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.gd-lbx__plants-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
}

.gd-lbx__plants-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 5px;
  font-size: 27px;
  line-height: 1;
  opacity: 0.8;
}

.gd-lbx__plants-feature strong {
  font-size: 15px;
  line-height: 1.3;
}

.gd-lbx__plants-feature > span:last-child {
  font-size: 13px;
  line-height: 1.45;
  opacity: 0.65;
}


/* Gallery */

.gd-lbx__plants-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(14px, 1.7vw, 26px);
}

.gd-lbx__plant-card {
  min-width: 0;
}

.gd-lbx__plant-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  margin-bottom: 17px;
  background: rgba(128, 128, 128, 0.08);
  border-radius: 2px;
}

.gd-lbx__plant-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 700ms cubic-bezier(.2, .7, .2, 1),
    filter 700ms ease;
}

@media (hover: hover) {
  .gd-lbx__plant-card:hover .gd-lbx__plant-image img {
    transform: scale(1.025);
  }
}

.gd-lbx__plant-card h3 {
  margin: 0 0 8px;
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.15;
}

.gd-lbx__plant-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.7;
}


/* Bottom CTA */

.gd-lbx__plants-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: clamp(36px, 5vw, 64px);
  padding: clamp(22px, 3vw, 34px);
  border-radius: 18px;
  background: rgba(128, 128, 128, 0.07);
}

.gd-lbx__plants-bottom > div {
  max-width: 720px;
}

.gd-lbx__plants-bottom strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

.gd-lbx__plants-bottom p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.7;
}


/* Tablet */

@media (max-width: 1100px) {
  .gd-lbx__plants-head {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .gd-lbx__plants-features {
    max-width: 760px;
  }

  .gd-lbx__plants-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 36px;
  }
}


/* Mobile */

@media (max-width: 640px) {
  .gd-lbx__plants-head {
    margin-bottom: 30px;
  }

  .gd-lbx__plants-features {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gd-lbx__plants-feature {
    display: grid;
    grid-template-columns: 38px 1fr;
    column-gap: 10px;
  }

  .gd-lbx__plants-feature-icon {
    grid-row: 1 / 3;
    margin: 0;
  }

  .gd-lbx__plants-feature strong,
  .gd-lbx__plants-feature > span:last-child {
    grid-column: 2;
  }

  .gd-lbx__plants-grid {
    display: flex;
    gap: 14px;
    margin-right: calc(var(--gd-lbx-pad, 20px) * -1);
    padding-right: var(--gd-lbx-pad, 20px);
    padding-bottom: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .gd-lbx__plants-grid::-webkit-scrollbar {
    display: none;
  }

  .gd-lbx__plant-card {
    flex: 0 0 72vw;
    max-width: 300px;
    scroll-snap-align: start;
  }

  .gd-lbx__plant-image {
    margin-bottom: 14px;
  }

  .gd-lbx__plants-bottom {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
    margin-top: 34px;
  }

  .gd-lbx__plants-bottom .gd-lbx__btn {
    width: 100%;
  }
}
/* MATERIALS — finishing */

.gd-lbx__materials {
  padding-bottom: 64px;
}

.gd-lbx__materials h2 {
  color: #1e1c19;
}