body[data-page="product-detail"] {
  background: #f6f0e9;
}

.product-primary-cta,
.product-inquiry__submit {
  color: #fff;
  background: linear-gradient(135deg, #87511d, #6d3f16);
  box-shadow: 0 10px 24px rgba(135, 81, 29, 0.18);
}

.product-detail-shell {
  width: min(1180px, calc(100% - 56px));
  margin-inline: auto;
}

.product-detail-hero {
  padding: 48px 0 44px;
}

.product-detail-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(370px, 0.85fr);
  gap: 54px;
  align-items: start;
}

.product-gallery-wrap {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 22px;
}

.product-gallery-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.product-thumbnail-window {
  width: 108px;
  height: 426px;
  overflow: hidden;
  padding: 3px 4px;
}

.product-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 280ms ease;
  will-change: transform;
}

.product-thumb {
  width: 96px;
  height: 96px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid #e4d7ca;
  border-radius: 16px;
  padding: 7px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 6px 20px rgba(50, 34, 19, 0.04);
  cursor: pointer;
}

.product-thumb.is-active {
  border-color: rgba(135, 81, 29, 0.72);
  box-shadow:
    inset 0 0 0 2px rgba(135, 81, 29, 0.55),
    0 6px 20px rgba(50, 34, 19, 0.04);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  border-radius: 11px;
  object-fit: cover;
}

.product-gallery-step {
  display: flex;
  width: 28px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  color: #87511d;
  background: transparent;
  cursor: pointer;
}

.product-gallery-step svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.product-gallery-step:hover {
  opacity: 0.7;
}

.product-main-media {
  position: relative;
  display: grid;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e4d7ca;
  border-radius: 28px;
  padding: 28px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(60, 45, 30, 0.06);
  place-items: center;
}

.product-main-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background: #fff;
  object-fit: contain;
  transition: transform 220ms ease;
}

.product-main-media.is-zoomed img {
  transform: scale(1.16);
}

.product-main-media__zoom {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  color: #87511d;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  place-items: center;
}

.product-main-media__zoom svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.product-summary {
  padding-top: 4px;
}

.product-model-tag {
  display: inline-flex;
  margin: 0 0 18px;
  border-radius: 10px;
  padding: 9px 13px;
  color: #604026;
  background: #eadfd2;
  font-size: 13px;
  font-weight: 700;
}

.product-summary h1 {
  max-width: 460px;
  margin: 0 0 20px;
  color: #201c18;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.16;
}

.product-short-description {
  max-width: 540px;
  margin: 0 0 34px;
  color: #3e3935;
  font-size: 14px;
  line-height: 1.85;
}

.product-dimensions {
  margin-bottom: 34px;
  border-top: 1px solid #e4d7ca;
  border-bottom: 1px solid #e4d7ca;
  padding: 22px 0;
}

.product-dimensions span,
.product-dimensions strong {
  display: block;
}

.product-dimensions span {
  margin-bottom: 14px;
  color: #201c18;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.product-dimensions__value {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-dimensions__value img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
}

.product-dimensions__value strong {
  color: #4c4037;
  font-size: 15px;
}

.product-primary-cta {
  display: flex;
  width: min(420px, 100%);
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
}

.application-scenes {
  padding: 20px 0 40px;
}

.application-scenes.is-empty {
  display: none;
}

.product-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.product-section-heading h2,
.product-fact-card h2 {
  margin: 0;
  color: #201c18;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.application-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.application-controls.is-hidden,
.application-dots.is-hidden {
  visibility: hidden;
}

.application-arrow {
  display: grid;
  width: 30px;
  height: 30px;
  border: 0;
  padding: 0;
  color: #2c2723;
  background: transparent;
  cursor: pointer;
  place-items: center;
}

.application-arrow svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.application-slides {
  position: relative;
  height: 540px;
  overflow: hidden;
  border: 1px solid #e4d7ca;
  border-radius: 18px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 16px 32px rgba(60, 45, 30, 0.06);
}

.application-slide {
  position: absolute;
  inset: 10px;
  display: block;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #f6f0e9;
  opacity: 0;
  pointer-events: none;
  place-items: center;
  transition: opacity 360ms ease;
}

.application-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.application-slide img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  background: #f6f0e9;
  object-fit: contain;
  object-position: center;
}

.application-slide--triptych {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  background: #fff;
}

.application-scene-panel {
  display: block;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: #f6f0e9;
}

.application-slide--triptych img {
  object-fit: contain;
}

.application-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.application-dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #d4c8bc;
  cursor: pointer;
}

.application-dot.is-active {
  background: #87511d;
}

.product-facts {
  padding: 18px 0 22px;
}

.product-facts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.product-fact-card {
  border: 1px solid #e4d7ca;
  border-radius: 20px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 14px 28px rgba(60, 45, 30, 0.05);
}

.product-fact-card__line {
  width: 38px;
  height: 2px;
  margin: 18px 0;
  background: #87511d;
}

.specification-list {
  margin: 0;
}

.specification-list > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  padding: 13px 0;
  border-bottom: 1px solid rgba(228, 215, 202, 0.8);
}

.specification-list > div:last-child,
.advantage-list li:last-child {
  border-bottom: 0;
}

.specification-list dt {
  color: #7b6d61;
  font-size: 13px;
}

.specification-list dd {
  margin: 0;
  color: #201c18;
  font-size: 13px;
  font-weight: 700;
}

.advantage-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.advantage-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid rgba(228, 215, 202, 0.8);
  padding: 12px 0;
}

.advantage-list span {
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #87511d;
  background: #f0e5d9;
  font-weight: 700;
}

.advantage-list p {
  margin: 0;
  color: #201c18;
  font-size: 14px;
  line-height: 1.55;
}

.product-inquiry {
  padding: 26px 0 70px;
}

.product-inquiry__panel {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 36px;
  align-items: start;
  border: 1px solid #e4d7ca;
  border-radius: 24px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(241, 231, 220, 0.85));
  box-shadow: 0 16px 32px rgba(60, 45, 30, 0.06);
}

.product-inquiry__copy h2 {
  margin: 0 0 12px;
  color: #201c18;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
}

.product-inquiry__copy p {
  margin: 0;
  color: #5f554d;
  font-size: 14px;
  line-height: 1.75;
}

.product-inquiry__form {
  padding: 0;
}

.product-inquiry__form .form-fields {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-inquiry__form .form-field,
.product-inquiry__form .form-label,
.product-inquiry__form label {
  color: #201c18;
  font-size: 13px;
  font-weight: 700;
}

.product-inquiry__form .form-input,
.product-inquiry__form .form-textarea,
.product-inquiry__form input,
.product-inquiry__form textarea {
  margin-top: 6px;
  border-color: #d8c9bc;
  border-radius: 10px;
  padding: 12px 14px;
  background: #fffaf6;
  font-size: 13px;
}

.product-inquiry__form .form-textarea,
.product-inquiry__form textarea {
  min-height: 105px;
}

.product-inquiry__form .inquiry-verification {
  justify-content: flex-start;
  margin-top: 16px;
}

.product-inquiry__submit {
  width: 150px;
  height: 44px;
  margin-top: 16px;
  border: 0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
}

.product-inquiry .form-status {
  min-height: 18px;
  margin: 10px 0 0;
  color: #66705f;
  font-size: 12px;
  font-weight: 800;
}

.product-inquiry .form-status[data-type="error"] {
  color: #b65036;
}

.product-inquiry .privacy-note {
  margin: 13px 0 0;
  color: #7b7067;
  font-size: 13px;
  text-align: left;
}

.product-detail-missing {
  min-height: 60vh;
  padding: 80px;
  text-align: center;
}

@media (max-width: 980px) {
  .product-detail-hero__grid,
  .product-facts__grid,
  .product-inquiry__panel {
    grid-template-columns: 1fr;
  }

  .product-gallery-wrap {
    grid-template-columns: 1fr;
  }

  .product-gallery-rail {
    flex-direction: row;
    justify-content: center;
  }

  .product-thumbnail-window {
    width: min(100%, 560px);
    height: 100px;
  }

  .product-thumbnails {
    flex-direction: row;
    overflow: auto;
  }

  .product-thumb {
    min-width: 84px;
    width: 84px;
    height: 84px;
  }

  .product-gallery-step {
    transform: rotate(-90deg);
  }

  .product-summary h1 {
    max-width: none;
  }

  .product-inquiry__form .form-fields {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .product-detail-shell {
    width: calc(100% - 32px);
  }

  .product-detail-hero {
    padding: 30px 0 34px;
  }

  .product-gallery-rail {
    overflow: auto;
  }

  .product-thumbnail-window {
    width: auto;
    overflow: visible;
  }

  .product-gallery-step {
    display: none;
  }

  .product-main-media {
    padding: 18px;
    border-radius: 20px;
  }

  .product-summary h1 {
    font-size: 26px;
  }

  .application-slides {
    height: 440px;
  }

  .product-fact-card,
  .product-inquiry__panel {
    padding: 24px;
  }

  .specification-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 640px) {
  .application-slides {
    height: 360px;
  }

  .product-inquiry__submit {
    width: 100%;
  }
}
