:root {
  --forest-dark: #0e3d2f;
  --forest-dark-hover: #144e3d;
  --wood: #b78a48;
  --wood-hover: #9d7338;
  --wood-light: #e5cbab;
}

/* ==========================================================================
   Section 1: Hero Banner (Consistent with Products Page)
   ========================================================================== */
.product-detail-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  padding: 136px 0 92px;
  background: linear-gradient(90deg, rgba(8, 21, 16, 0.88) 0%, rgba(8, 21, 16, 0.58) 55%, rgba(8, 21, 16, 0.28) 100%),
              url("../images/about-banner.png") center right / cover no-repeat;
  overflow: hidden;
}

.products-hero__bg-fx {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 50%, rgba(183, 138, 72, 0.16) 0%, transparent 60%);
  pointer-events: none;
}

.products-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.products-hero__content {
  max-width: 640px;
  color: #ffffff;
}

.products-hero__kicker {
  margin: 0 0 10px;
  color: #e5cbab;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
}

.products-hero__title {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 900;
  letter-spacing: 1.5px;
  line-height: 1.1;
  text-transform: uppercase;
}

.products-hero__subtitle {
  max-width: 580px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(15.5px, 1.35vw, 18px);
  font-weight: 500;
  line-height: 1.55;
}

.products-hero__breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.products-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.22s ease;
}

.products-hero__breadcrumb a:hover {
  color: #e5cbab;
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
}

.products-hero__breadcrumb span:last-child {
  color: #e5cbab;
  font-weight: 700;
}

/* Vertical Architectural Typography */
.products-hero__vertical-tag {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: right;
  color: rgba(229, 203, 171, 0.8);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 5px;
  line-height: 1.2;
  user-select: none;
}

.products-hero__vertical-tag span {
  display: block;
}

/* ==========================================================================
   Section 2: Product Main Overview
   ========================================================================== */
.product-overview-section {
  padding: 80px 0 96px;
  background: #ffffff;
}

.product-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 60px;
  align-items: start;
}

/* Left: Gallery */
.product-gallery {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.gallery-main-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #f7f5f0;
  border: 1px solid #ebe5db;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.gallery-main-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3.3;
  min-height: 440px;
  overflow: hidden;
  position: relative;
}

.gallery-main-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.28s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Thumbnails Row with Side Navigation Arrows */
.gallery-thumbs-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  width: 100%;
}

.gallery-nav-btn {
  width: 42px;
  height: 84px;
  border-radius: 6px;
  background: #fbf9f6;
  border: 1.5px solid #ded7ce;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  color: var(--forest-dark);
  font-size: 15px;
  flex-shrink: 0;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.gallery-nav-btn:hover {
  background: var(--forest-dark);
  color: #ffffff;
  border-color: var(--forest-dark);
  box-shadow: 0 4px 14px rgba(14, 61, 47, 0.22);
  transform: translateY(-2px);
}

.gallery-nav-btn:active {
  transform: scale(0.96);
}

.gallery-thumbs-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  flex: 1;
}

.gallery-thumb-btn {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: #f4f1ec;
  cursor: pointer;
  aspect-ratio: 1 / 0.78;
  height: 84px;
  transition: all 0.22s ease;
  position: relative;
}

.gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-thumb-btn:hover {
  border-color: var(--wood);
  transform: translateY(-2px);
}

.gallery-thumb-btn:hover img {
  transform: scale(1.05);
}

.gallery-thumb-btn.is-active {
  border-color: var(--forest-dark);
  box-shadow: 0 0 0 1px var(--forest-dark), 0 4px 14px rgba(14, 61, 47, 0.18);
  transform: translateY(-2px);
}

/* Right: Product Info */
.product-info-col {
  display: flex;
  flex-direction: column;
}

.product-category-kicker {
  margin: 0 0 8px;
  color: var(--wood);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.product-main-title {
  margin: 0 0 16px;
  color: var(--forest-dark);
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.3px;
}

.product-lead-desc {
  margin: 0 0 28px;
  color: #55605d;
  font-size: 15px;
  line-height: 1.75;
}

/* 4 Feature Badges */
.product-feature-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 22px 0;
  border-top: 1px solid #ebe5dc;
  border-bottom: 1px solid #ebe5dc;
  margin-bottom: 32px;
}

.feature-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.feature-badge-item__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #edf4f0;
  color: var(--forest-dark);
  display: grid;
  place-items: center;
  font-size: 20px;
  transition: all 0.28s ease;
}

.feature-badge-item__text {
  color: var(--forest-dark);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.35;
}

.feature-badge-item:hover .feature-badge-item__icon {
  background: var(--forest-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(14, 61, 47, 0.22);
}

/* Action Button: Send Inquiry */
.product-cta-buttons {
  display: flex;
  margin-bottom: 26px;
}

.btn-product-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 52px;
  padding: 0 36px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-product-action--inquiry {
  background: var(--forest-dark);
  color: #ffffff;
  border: 1.5px solid var(--forest-dark);
  box-shadow: 0 6px 18px rgba(14, 61, 47, 0.24);
  width: 100%;
  max-width: 320px;
}

.btn-product-action--inquiry:hover {
  background: var(--forest-dark-hover);
  border-color: var(--forest-dark-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(14, 61, 47, 0.34);
}

/* Trust Badges */
.product-trust-assurances {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #5b6663;
  padding-top: 6px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-item i {
  color: var(--forest-dark);
  font-size: 14px;
}

/* ==========================================================================
   Section 3: Product Description (Rich Text CMS Container)
   ========================================================================== */
.product-detail-desc-section {
  padding: 88px 0 120px;
  background: #fbfaf8;
  border-top: 1px solid #ede7df;
}

/* Section Header (Matching Design Mockup Style) */
.desc-section-header {
  margin-bottom: 36px;
}

.desc-kicker-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.desc-kicker-text {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 2.4px;
  color: var(--wood);
  text-transform: uppercase;
}

.desc-kicker-line {
  flex: 1;
  max-width: 100px;
  height: 1.5px;
  background: var(--wood);
  display: block;
}

.desc-section-title {
  margin: 0;
  color: var(--forest-dark);
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.3px;
}

/* Main Rich Text Card Wrapper */
.product-richtext-card {
  background: #ffffff;
  border: 1px solid #ede7df;
  border-radius: 12px;
  padding: 54px 60px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
}

/* Rich Text Typography & Content Styles */
.product-richtext-body {
  color: #444e4b;
  font-size: 15.5px;
  line-height: 1.85;
}

/* 2-Column Intro Section inside Rich Text (Narrative + Lifestyle Photo) */
.richtext-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 52px;
  align-items: center;
  margin-bottom: 44px;
  padding-bottom: 40px;
  border-bottom: 1px solid #ede7df;
}

.richtext-intro-text {
  display: flex;
  flex-direction: column;
}

.richtext-intro-text p {
  margin: 0 0 18px;
  color: #4c5653;
  font-size: 15.5px;
  line-height: 1.85;
}

.richtext-intro-media {
  width: 100%;
}

.intro-media-frame {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
  border: 1px solid #ebe5dc;
  background: #f4f1ec;
}

.intro-media-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.intro-media-frame:hover img {
  transform: scale(1.03);
}

/* Calligraphy Quote */
.desc-calligraphy-quote {
  margin-top: 28px;
  display: inline-flex;
  flex-direction: column;
  font-family: 'Playfair Display', 'Brush Script MT', 'Baskerville', 'Georgia', cursive, serif;
  font-style: italic;
  font-size: 32px;
  line-height: 1.16;
  color: var(--wood);
  transform: rotate(-3deg);
  transform-origin: left center;
  user-select: none;
}

.quote-line-1 {
  letter-spacing: 0.5px;
}

.quote-line-2 {
  margin-left: 24px;
  font-weight: 700;
}

/* Headings in Rich Text */
.product-richtext-body h1,
.product-richtext-body h2,
.product-richtext-body h3,
.product-richtext-body h4,
.product-richtext-body h5,
.product-richtext-body h6 {
  color: var(--forest-dark);
  font-weight: 800;
  line-height: 1.3;
  margin-top: 40px;
  margin-bottom: 18px;
  letter-spacing: -0.2px;
}

.product-richtext-body h1:first-child,
.product-richtext-body h2:first-child,
.product-richtext-body h3:first-child {
  margin-top: 0;
}

.product-richtext-body h2 {
  font-size: 26px;
  border-bottom: 1px solid #ede7df;
  padding-bottom: 12px;
}

.product-richtext-body h3 {
  font-size: 21px;
  position: relative;
  padding-left: 14px;
}

.product-richtext-body h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: var(--wood);
  border-radius: 2px;
}

.product-richtext-body h4 {
  font-size: 17.5px;
  margin-top: 24px;
  margin-bottom: 10px;
}

.product-richtext-body p {
  margin: 0 0 20px;
}

.product-richtext-body strong {
  color: var(--forest-dark);
  font-weight: 700;
}

.product-richtext-body em {
  font-style: italic;
}

.product-richtext-body a {
  color: var(--wood);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.product-richtext-body a:hover {
  color: var(--wood-hover);
}

.product-richtext-body ul,
.product-richtext-body ol {
  margin: 0 0 26px;
  padding-left: 24px;
}

.product-richtext-body li {
  margin-bottom: 10px;
  line-height: 1.75;
}

.product-richtext-body li::marker {
  color: var(--wood);
}

/* Feature Grid inside Rich Text */
.richtext-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 32px 0 40px;
}

.richtext-feature-box {
  background: #faf8f5;
  border: 1px solid #ebe4d8;
  border-radius: 8px;
  padding: 26px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.richtext-feature-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  border-color: rgba(183, 138, 72, 0.45);
}

.richtext-feature-box__icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #0e3d2f;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 16px;
}

.richtext-feature-box h4 {
  margin: 0 0 10px;
  color: var(--forest-dark);
  font-size: 16.5px;
  font-weight: 700;
}

.richtext-feature-box p {
  margin: 0;
  color: #616c68;
  font-size: 13.5px;
  line-height: 1.65;
}

/* Rich Text Table */
.richtext-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0 38px;
  border-radius: 8px;
  border: 1px solid #e6dfd3;
}

.richtext-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
  background: #ffffff;
}

.richtext-table th {
  background: #0e3d2f;
  color: #ffffff;
  font-weight: 700;
  padding: 14px 20px;
  font-size: 14px;
  letter-spacing: 0.2px;
}

.richtext-table td {
  padding: 13px 20px;
  border-top: 1px solid #ede7df;
  color: #4b5552;
}

.richtext-table tbody tr:nth-child(even) {
  background: #faf8f5;
}

.richtext-table tbody tr:hover {
  background: rgba(14, 61, 47, 0.04);
}

/* Blockquote */
.product-richtext-body blockquote {
  margin: 36px 0;
  padding: 24px 32px;
  background: linear-gradient(135deg, #f9f7f2 0%, #f4eee3 100%);
  border-left: 4px solid var(--wood);
  border-radius: 0 8px 8px 0;
  position: relative;
}

.product-richtext-body blockquote p {
  margin: 0;
  color: var(--forest-dark);
  font-family: Georgia, 'Playfair Display', serif;
  font-size: 17.5px;
  font-style: italic;
  line-height: 1.7;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1100px) {
  .product-overview-grid {
    gap: 40px;
  }

  .product-richtext-card {
    padding: 40px 36px;
  }

  .richtext-intro-grid {
    gap: 36px;
  }
}

@media (max-width: 980px) {
  .product-overview-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .gallery-main-img-wrap {
    min-height: 380px;
  }

  .richtext-intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .intro-media-frame img {
    height: 360px;
  }

  .richtext-feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 680px) {
  .product-overview-section {
    padding: 56px 0 68px;
  }

  .product-detail-desc-section {
    padding: 52px 0 76px;
  }

  .gallery-thumbs-container {
    gap: 8px;
  }

  .gallery-nav-btn {
    width: 34px;
    height: 68px;
    font-size: 13px;
  }

  .gallery-thumbs-row {
    gap: 8px;
  }

  .gallery-thumb-btn {
    height: 68px;
  }

  .gallery-main-img-wrap {
    min-height: 280px;
  }

  .product-feature-badges {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }

  .btn-product-action--inquiry {
    max-width: 100%;
  }

  .product-trust-assurances {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .product-richtext-card {
    padding: 28px 20px;
  }

  .desc-calligraphy-quote {
    font-size: 26px;
  }
}
