.gb-product-page--platform-bed {
  --bed-paper: #f8f5ee;
  --bed-sand: #e9dfcf;
  --bed-moss: #6f7f68;
  --bed-forest: #123d31;
  --bed-ink: #1d2b25;
  background: #fcfbf8;
}

.gb-product-page--platform-bed .gb-product-breadcrumb {
  background: #f8f5ee;
}

.gb-product-page--platform-bed .gb-product-hero {
  position: relative;
  background:
    radial-gradient(circle at 12% 18%, rgba(205, 185, 151, 0.24), transparent 31%),
    linear-gradient(180deg, #fcfbf8 0%, #f6f2e9 100%);
}

.gb-product-page--platform-bed .gb-product-hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(18, 61, 49, 0.024) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 61, 49, 0.024) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  pointer-events: none;
}

.gb-product-page--platform-bed .gb-product-hero__grid {
  position: relative;
  z-index: 1;
}

.gb-product-page--platform-bed .gb-product-gallery__stage-wrap {
  border-color: rgba(18, 61, 49, 0.12);
  border-radius: 20px;
  background: #efe9dd;
  box-shadow: 0 24px 70px rgba(34, 50, 43, 0.12);
}

.gb-product-page--platform-bed .gb-product-gallery__stage {
  aspect-ratio: 4 / 3;
}

.gb-product-page--platform-bed .gb-product-gallery__main {
  object-fit: contain;
}

.gb-product-page--platform-bed .gb-product-gallery__thumbs {
  grid-auto-columns: 96px;
  gap: 12px;
  margin-top: 16px;
}

.gb-product-page--platform-bed .gb-product-gallery__thumbs button {
  width: 96px;
  border-radius: 10px;
  background: #eee8dc;
}

.gb-product-page--platform-bed .gb-product-summary {
  padding: 14px 0 0;
}

.gb-product-page--platform-bed .gb-product-summary__category {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(161, 116, 54, 0.22);
  border-radius: 999px;
  background: rgba(255, 249, 239, 0.8);
}

.gb-product-page--platform-bed .gb-product-summary h1 {
  max-width: 560px;
  font-size: clamp(42px, 4vw, 62px);
  letter-spacing: -0.025em;
  line-height: 1.01;
}

.gb-product-page--platform-bed .gb-product-summary__lead {
  max-width: 580px;
  color: #4d5b54;
  font-size: 17px;
  line-height: 1.75;
}

.gb-product-page--platform-bed .gb-product-facts {
  overflow: hidden;
  margin-top: 30px;
  border: 1px solid rgba(18, 61, 49, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.66);
}

.gb-product-page--platform-bed .gb-product-fact {
  padding: 14px 18px;
  border-bottom-color: rgba(18, 61, 49, 0.1);
}

.gb-product-page--platform-bed .gb-product-fact:last-child {
  border-bottom: 0;
}

.gb-product-page--platform-bed .gb-product-summary__actions .btn {
  border-radius: 999px;
}

.gb-product-page--platform-bed .gb-product-assurances {
  gap: 10px;
}

.gb-product-page--platform-bed .gb-product-assurances li {
  padding: 14px 12px;
  border: 1px solid rgba(18, 61, 49, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
}

.gb-product-page--platform-bed .gb-product-section-nav {
  background: rgba(252, 251, 248, 0.94);
}

.gb-product-page--platform-bed .gb-product-section {
  padding: 96px 0;
}

.gb-product-page--platform-bed .gb-product-section--soft,
.gb-product-page--platform-bed .gb-product-related {
  background: var(--bed-paper);
}

.gb-product-page--platform-bed .gb-product-section__heading h2,
.gb-product-page--platform-bed .gb-product-application h2,
.gb-product-page--platform-bed .gb-product-inquiry__copy h2 {
  letter-spacing: -0.015em;
}

.gb-bed-story {
  display: grid;
  gap: 34px;
}

.gb-bed-story__intro {
  max-width: 760px;
}

.gb-bed-kicker {
  margin: 0 0 10px;
  color: var(--gold-text);
  font-size: 12px !important;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gb-bed-story__intro h2 {
  max-width: 680px;
  margin-top: 0;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.14;
}

.gb-bed-story__lead {
  max-width: 720px;
  color: #34463e;
  font-size: 19px !important;
  line-height: 1.72 !important;
}

.gb-bed-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gb-bed-feature-grid article {
  min-width: 0;
  min-height: 230px;
  padding: 28px;
  border: 1px solid rgba(18, 61, 49, 0.11);
  border-radius: 18px;
  background: linear-gradient(145deg, #fff 0%, #f6f2e9 100%);
  box-shadow: 0 14px 40px rgba(24, 48, 38, 0.055);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.gb-bed-feature-grid article:nth-child(2),
.gb-bed-feature-grid article:nth-child(3) {
  background: var(--bed-forest);
}

.gb-bed-feature-grid article:hover {
  border-color: rgba(161, 116, 54, 0.38);
  box-shadow: 0 20px 48px rgba(24, 48, 38, 0.09);
  transform: translateY(-3px);
}

.gb-bed-feature-grid span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 40px;
  border: 1px solid rgba(18, 61, 49, 0.16);
  border-radius: 50%;
  color: var(--gold-text);
  font-size: 12px;
  font-weight: 800;
}

.gb-bed-feature-grid h3 {
  margin-top: 0;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.2;
}

.gb-bed-feature-grid p {
  margin-bottom: 0;
  color: #59665f;
  font-size: 14px;
  line-height: 1.7;
}

.gb-bed-feature-grid article:nth-child(2) span,
.gb-bed-feature-grid article:nth-child(3) span {
  border-color: rgba(255, 255, 255, 0.28);
  color: #f3cf8f;
}

.gb-bed-feature-grid article:nth-child(2) h3,
.gb-bed-feature-grid article:nth-child(3) h3 {
  color: #fff;
}

.gb-bed-feature-grid article:nth-child(2) p,
.gb-bed-feature-grid article:nth-child(3) p {
  color: rgba(255, 255, 255, 0.72);
}

.gb-bed-project-note {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 28px;
  border-left: 3px solid var(--gold);
  border-radius: 0 16px 16px 0;
  background: #f3eadb;
}

.gb-bed-project-note > i {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--bed-forest);
  font-size: 20px;
}

.gb-bed-project-note strong {
  display: block;
  margin: 1px 0 6px;
  color: var(--bed-forest);
  font-family: var(--serif);
  font-size: 21px;
}

.gb-bed-project-note p {
  margin: 0;
  color: #58645e;
  font-size: 14px;
  line-height: 1.7;
}

.gb-bed-narrative {
  padding: 28px 0 112px;
  background: #fff;
}

.gb-bed-narrative__list {
  display: grid;
  max-width: 1080px;
  gap: 64px;
}

.gb-bed-chapter {
  display: block;
  min-width: 0;
}

.gb-bed-chapter--reverse figure {
  order: initial;
}

.gb-bed-chapter--reverse .gb-bed-chapter__copy {
  order: initial;
}

.gb-bed-chapter figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.gb-bed-chapter figure::after {
  display: none;
}

.gb-bed-chapter img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  background: transparent;
  object-fit: contain;
}

.gb-bed-chapter:hover img {
  transform: none;
}

.gb-bed-chapter__copy {
  position: relative;
  max-width: 860px;
  padding: 24px 8px 8px;
}

.gb-bed-chapter__copy > span {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(161, 116, 54, 0.34);
  border-radius: 50%;
  color: var(--gold-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.gb-bed-chapter__copy h2 {
  max-width: none;
  margin: 0 0 18px;
  color: var(--bed-forest);
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 40px);
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.gb-bed-chapter__copy p {
  max-width: 760px;
  margin: 0;
  color: #53615a;
  font-size: 16px;
  line-height: 1.78;
}

.gb-bed-chapter__copy::after {
  display: block;
  width: 72px;
  height: 2px;
  margin-top: 30px;
  background: var(--gold);
  content: "";
}

.gb-bed-context {
  padding: 20px 0 96px;
  background: #fff;
}

.gb-bed-context__figure {
  position: relative;
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 16 / 9;
  margin: 0;
  border-radius: 24px;
  background: var(--bed-forest);
  box-shadow: 0 26px 70px rgba(24, 48, 38, 0.14);
}

.gb-bed-context__figure::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 28, 22, 0.78) 0%, rgba(8, 28, 22, 0.36) 43%, rgba(8, 28, 22, 0.03) 72%);
  content: "";
  pointer-events: none;
}

.gb-bed-context__figure > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gb-bed-context__figure figcaption {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(520px, 52%);
  height: 100%;
  min-height: 0;
  flex-direction: column;
  justify-content: flex-end;
  padding: 56px;
  color: #fff;
}

.gb-bed-context__figure .eyebrow {
  margin: 0 0 12px;
  color: #f1ce8b;
}

.gb-bed-context__figure h2 {
  margin: 0 0 16px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 50px);
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.gb-bed-context__figure figcaption > p:last-child {
  max-width: 500px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.72;
}

.gb-product-page--platform-bed .gb-product-spec-list {
  overflow: hidden;
  border: 1px solid rgba(18, 61, 49, 0.13);
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(24, 48, 38, 0.055);
}

.gb-product-page--platform-bed .gb-product-spec-row {
  padding: 19px 22px;
  border: 0;
  border-bottom: 1px solid rgba(18, 61, 49, 0.1);
}

.gb-product-page--platform-bed .gb-product-spec-row:last-child {
  border-bottom: 0;
}

.gb-product-page--platform-bed .gb-product-spec-row:nth-child(even) {
  background: #faf8f3;
}

.gb-product-page--platform-bed .gb-product-option-grid article {
  border-color: rgba(18, 61, 49, 0.11);
  border-radius: 16px;
  box-shadow: 0 14px 38px rgba(24, 48, 38, 0.045);
}

.gb-product-page--platform-bed .gb-product-application {
  position: relative;
  overflow: hidden;
}

.gb-product-page--platform-bed .gb-product-application::after {
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.gb-product-page--platform-bed .gb-product-faq details {
  border-radius: 12px;
}

.gb-product-page--platform-bed .gb-product-inquiry {
  background:
    radial-gradient(circle at 90% 20%, rgba(225, 188, 117, 0.13), transparent 32%),
    var(--bed-forest);
}

@media (max-width: 1080px) {
  .gb-product-page--platform-bed .gb-product-gallery__stage {
    aspect-ratio: 4 / 3;
  }

  .gb-product-page--platform-bed .gb-product-summary h1 {
    font-size: clamp(38px, 5vw, 52px);
  }

  .gb-bed-narrative__list {
    gap: 56px;
  }
}

@media (max-width: 900px) {
  .gb-bed-narrative {
    padding-bottom: 88px;
  }

  .gb-bed-narrative__list {
    gap: 52px;
  }

  .gb-bed-chapter {
    display: block;
  }

  .gb-bed-chapter--reverse figure,
  .gb-bed-chapter--reverse .gb-bed-chapter__copy {
    order: initial;
  }

  .gb-bed-chapter__copy {
    max-width: 760px;
    padding: 22px 8px 0;
  }
}

@media (max-width: 720px) {
  .gb-product-page--platform-bed .gb-product-hero {
    padding-top: 24px;
  }

  .gb-product-page--platform-bed .gb-product-gallery__stage-wrap {
    border-radius: 14px;
  }

  .gb-product-page--platform-bed .gb-product-summary {
    padding-top: 6px;
  }

  .gb-product-page--platform-bed .gb-product-summary h1 {
    font-size: 38px;
  }

  .gb-product-page--platform-bed .gb-product-section {
    padding: 68px 0;
  }

  .gb-bed-feature-grid {
    grid-template-columns: 1fr;
  }

  .gb-bed-feature-grid article {
    min-height: 0;
  }

  .gb-bed-feature-grid span {
    margin-bottom: 28px;
  }

  .gb-bed-project-note {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    padding: 22px 18px;
  }

  .gb-bed-project-note > i {
    width: 44px;
    height: 44px;
  }

  .gb-bed-narrative {
    padding: 10px 0 72px;
  }

  .gb-bed-narrative__list {
    gap: 44px;
  }

  .gb-bed-chapter figure {
    border-radius: 0;
  }

  .gb-bed-chapter__copy > span {
    width: 46px;
    height: 46px;
    margin-bottom: 22px;
  }

  .gb-bed-chapter__copy h2 {
    font-size: 30px;
  }

  .gb-bed-context {
    padding: 0 0 68px;
  }

  .gb-bed-context__figure {
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 16px;
  }

  .gb-bed-context__figure::after {
    display: none;
  }

  .gb-bed-context__figure > img {
    position: static;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
  }

  .gb-bed-context__figure figcaption {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 28px 24px 30px;
    background: var(--bed-forest);
  }

  .gb-bed-context__figure h2 {
    font-size: 32px;
  }
}

@media (max-width: 520px) {
  .gb-product-page--platform-bed .gb-product-summary h1 {
    font-size: 34px;
  }

  .gb-product-page--platform-bed .gb-product-gallery__thumbs {
    grid-auto-columns: 78px;
  }

  .gb-product-page--platform-bed .gb-product-gallery__thumbs button {
    width: 78px;
  }

  .gb-bed-feature-grid article {
    padding: 24px 20px;
  }

  .gb-product-page--platform-bed .gb-product-spec-row {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gb-bed-feature-grid article,
  .gb-bed-chapter img {
    transition: none;
  }

  .gb-bed-feature-grid article:hover,
  .gb-bed-chapter:hover img {
    transform: none;
  }
}
