:root {
  --tan: #d80b32;
  --tan-dark: #a80725;
  --tan-tint: #fdf1f3;
  --tan-light: #ff5470;
  --text-grey: #676c74;
  --nav-grey: #2c3138;
}

/* =====================================================
   1. PAGE BANNER (EXACT MATCH WITH ABOUT.CSS)
   ===================================================== */
.page-banner {
  position: relative;
  overflow: hidden;
  min-height: clamp(280px, 26vw, 500px);
  display: flex;
  align-items: center;
  padding: 0;
  background-color: #6f7378;
  background-image: url(../images/jakarta-bekasi-indonesia-march-26-600nw-2759234433.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: left;
  color: #fff;
}

/* dark wash overlay so text remains clear */
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 29, 35, .72), rgba(26, 29, 35, .82));
}

.page-banner>.container-xl {
  /* position: relative; */
  z-index: 1;
  width: 100%;
  padding-block: 50px 30px;
}

.page-banner-title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -.5px;
  margin: 0;
}

.page-banner nav[aria-label="Breadcrumb"] {
  position: absolute;
  top: 20px;
  right: 15px;
  z-index: 2;
}

.page-crumbs {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
}

.page-crumbs a {
  color: rgba(255, 255, 255, .78);
  transition: color .2s ease;
}

.page-crumbs a:hover {
  color: #fff;
}

.page-crumbs li[aria-current] {
  color: var(--tan-light);
}

/* "/" separator between breadcrumbs */
.page-crumbs li+li::before {
  content: "/";
  margin-right: 10px;
  color: rgba(255, 255, 255, .45);
}

@media (max-width: 767.98px) {
  .page-banner {
    min-height: 220px;
  }

  .page-banner-title {
    font-size: 28px;
  }

  .page-banner nav[aria-label="Breadcrumb"],
  .page-banner nav[aria-label="breadcrumb"] {
    position: relative;
    top: auto;
    right: auto;
    margin-top: 8px;
  }

  .page-crumbs {
    justify-content: flex-start;
    font-size: 13px;
  }
}



/* =====================================================
   2. PRODUCT DETAIL SHOWCASE
   ===================================================== */
.product-detail-section {
  padding: 60px 0;
  background-color: #fcfcfc;
}

.product-detail-img-box {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  background: #fff;
  aspect-ratio: 4 / 3;
}

.product-detail-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-detail-badge {
  display: inline-block;
  background: var(--tan-tint);
  color: var(--tan);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.product-detail-title {
  font-size: 36px;
  font-weight: 500;
  color: var(--nav-grey);
  margin-bottom: 16px;
}

.product-detail-subtitle {
  font-size: 16px;
  color: var(--tan);
  font-weight: 600;
  margin-bottom: 20px;
}

.product-detail-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-grey);
  margin-bottom: 25px;
}

.foam-content {
  font-size: 14px;
  color: var(--text-grey);


}

.foam-content ul,
.foam-content p {
  font-size: 14px;
}

.specs-list {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #eee;
  margin-bottom: 30px;
}

.specs-list h3,
.specs-list h4,
.specs-list h5 {
  font-size: 18px;
  font-weight: 700;
  color: var(--nav-grey);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--tan-tint);
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
  font-size: 14px;
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-label {
  font-weight: 600;
  color: var(--nav-grey);
}

.spec-value {
  color: var(--text-grey);
}

/* Specs Table Styling */
.specs-table-wrapper {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #eef0f3;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  margin-bottom: 30px;
}

.specs-table-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--nav-grey);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--tan-tint);
}

.specs-table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: collapse;
}

.specs-table th {
  background-color: var(--navy);
  color: #ffffff;
  font-weight: 700;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 16px;
  border: none;
}

.specs-table td {
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text-grey);
  border-bottom: 1px solid #f0f2f5;
}

.specs-table tr:nth-child(even) td {
  background-color: #fcfdfe;
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table td.spec-property {
  font-weight: 600;
  color: var(--nav-grey);
  width: 35%;
}

.app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.app-tag {
  background: #f0f2f5;
  color: var(--nav-grey);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
}

.product-cta-box {
  background: linear-gradient(135deg, #1a1d23 0%, #2c3138 100%);
  border-radius: 12px;
  padding: 30px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
}

.product-cta-text h3,
.product-cta-text h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

.product-cta-text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.btn-cta-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tan);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-cta-contact:hover {
  background: var(--tan-dark);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 767.98px) {
  .product-cta-box {
    flex-direction: column;
    text-align: center;
  }
}

/* =====================================================
   3. CUSTOM CONTENT BLOCK (FOR DETAILED SPECIFICATIONS & TEXT)
   ===================================================== */
.product-extra-details {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid #e9ecef;
}

.extra-detail-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 35px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #eef0f3;
  margin-bottom: 30px;
}

.extra-detail-heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--nav-grey);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.extra-detail-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: var(--tan);
  border-radius: 2px;
}

.extra-detail-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-grey);
}

.extra-detail-content p {
  margin-bottom: 16px;
}

.extra-detail-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.extra-detail-content li {
  margin-bottom: 10px;
}

.extra-detail-note {
  background: var(--tan-tint);
  border-left: 4px solid var(--tan);
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--nav-grey);
  margin-top: 25px;
}

.extra-detail-note i {
  color: var(--tan);
  margin-right: 8px;
}

/* =====================================================
   4. BACK TO PRODUCTS NAVIGATION BUTTONS
   ===================================================== */
.back-nav-container {
  margin-bottom: 25px;
}

.btn-back-products {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--nav-grey);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 9px 20px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease-in-out;
}

.btn-back-products i {
  font-size: 14px;
  transition: transform 0.25s ease;
}

.btn-back-products:hover {
  color: var(--tan);
  background-color: var(--tan-tint);
  border-color: rgba(216, 11, 50, 0.3);
  box-shadow: 0 4px 14px rgba(216, 11, 50, 0.12);
}

.btn-back-products:hover i {
  transform: translateX(-4px);
}

.btn-back-products-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--tan);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 10px 24px;
  background-color: #ffffff;
  border: 2px solid var(--tan);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease-in-out;
}

.btn-back-products-outline i {
  font-size: 14px;
  transition: transform 0.25s ease;
}

.btn-back-products-outline:hover {
  color: #ffffff;
  background-color: var(--tan);
  box-shadow: 0 4px 15px rgba(216, 11, 50, 0.25);
}

.btn-back-products-outline:hover i {
  transform: translateX(-4px);
}

/* =====================================================
   5. RESPONSIVE BREAKPOINTS FOR FOAM PAGES
   ===================================================== */
@media (max-width: 1199.98px) {
  .product-detail-title {
    font-size: 32px;
  }

  .product-detail-subtitle {
    font-size: 17px;
  }
}

@media (max-width: 991.98px) {
  .product-detail-section {
    padding: 45px 0;
  }

  .product-detail-title {
    font-size: 28px;
  }

  .product-detail-subtitle {
    font-size: 16px;
  }

  .product-detail-desc {
    font-size: 15px;
  }

  .product-detail-img-box {
    aspect-ratio: 16 / 10;
    margin-bottom: 10px;
  }
}

@media (max-width: 767.98px) {
  .product-detail-section {
    padding: 35px 0;
  }

  .product-detail-title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .product-detail-subtitle {
    font-size: 15px;
    margin-bottom: 16px;
  }

  .product-detail-desc {
    font-size: 14.5px;
    line-height: 1.65;
  }

  .specs-list {
    padding: 18px;
  }

  .specs-list h3,
  .specs-list h4,
  .specs-list h5 {
    font-size: 16px;
  }

  .product-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
    gap: 16px;
  }

  .btn-cta-contact {
    width: 100%;
    justify-content: center;
  }

  .extra-detail-card {
    padding: 25px 20px;
  }

  .extra-detail-heading {
    font-size: 20px;
  }
}

@media (max-width: 575.98px) {
  .back-nav-container {
    margin-bottom: 18px;
  }

  .btn-back-products,
  .btn-back-products-outline {
    font-size: 13.5px;
    padding: 8px 18px;
  }

  .product-detail-badge {
    font-size: 11.5px;
    padding: 5px 12px;
  }

  .product-detail-title {
    font-size: 22px;
  }

  .product-detail-subtitle {
    font-size: 14.5px;
  }

  .specs-list {
    padding: 16px 14px;
  }

  .spec-item {
    flex-direction: column;
    gap: 2px;
    font-size: 13.5px;
  }

  .app-tag {
    font-size: 12px;
    padding: 5px 11px;
  }

  .extra-detail-card {
    padding: 20px 15px;
  }

  .extra-detail-heading {
    font-size: 18px;
  }

  .extra-detail-content {
    font-size: 14px;
    line-height: 1.7;
  }
}