/* Product description and shared elements */
.cbs-diy-product {
  --product-green: #435832;
  --product-dark: #253611;
  --product-cream: #f8f9f2;
  --product-border: #dedfd1;
  width: calc(100% - 24px);
  max-width: 1420px;
  margin: 20px auto 48px;
  color: #202119;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.45;
}
.cbs-diy-product *, .cbs-diy-product *::before, .cbs-diy-product *::after { box-sizing: border-box; }
.cbs-diy-product p, .cbs-diy-product h2, .cbs-diy-product h3, .cbs-diy-product dd { margin: 0; }
.cbs-diy-product strong, .cbs-diy-product a { color: var(--product-green); }
.cbs-diy-product a { text-underline-offset: 3px; }
.cbs-diy-product a:focus-visible, .cbs-diy-product summary:focus-visible { outline: 2px solid var(--product-green); outline-offset: 3px; }
.cbs-diy-product .cbs-product-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.cbs-diy-product h2 {
  color: var(--product-green);
  font-size: clamp(30px, 3.25vw, 47px);
  font-weight: 600;
  line-height: 1.13;
  text-align: center;
  text-wrap: balance;
}
.cbs-diy-product h2::after {
  content: "";
  display: block;
  height: 2px;
  width: min(52%, 620px);
  margin: 26px auto 36px;
  background: linear-gradient(90deg, transparent, #9aaa7a, transparent);
}
.cbs-diy-product .cbs-product-intro, .cbs-diy-product .cbs-product-build p { max-width: 1190px; margin-inline: auto; text-align: center; padding-inline: 14px; }
.cbs-diy-product .cbs-product-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 28px auto;
  width: 91%;
  padding: 23px 12px;
  border: 2px solid #eeeee6;
  border-radius: 20px;
  background: var(--product-cream);
  text-align: center;
  color: var(--product-green);
}
.cbs-diy-product .cbs-product-stats > div + div { border-left: 1px solid var(--product-border); }
.cbs-diy-product dt { text-transform: uppercase; font-weight: 600; font-size: .9em; }
.cbs-diy-product .cbs-product-stats strong { display: block; color: var(--product-dark); font-size: 1.35em; margin-block: 4px; }

/* Package checklists */
.cbs-diy-product .cbs-product-package {
  padding: 34px 5.8% 54px;
  border-radius: 20px;
  background: linear-gradient(#fafafa 0%, #fafafaee 12%, transparent 50%), url("images/diy-product/forest.png") center bottom / cover no-repeat #d9e1d5;
}
.cbs-diy-product .cbs-product-checklist { padding: 36px; border-radius: 16px; background: #f7fbf1e8; box-shadow: 0 12px 30px #202d2118; }
.cbs-diy-product .cbs-product-house { margin-top: 26px; background: #f7f6eee0; }
.cbs-diy-product .cbs-product-list-title { display: flex; align-items: center; gap: 20px; margin: 0 0 24px 18px; color: var(--product-dark); }
.cbs-diy-product .cbs-product-list-title img { object-fit: contain; width: 76px; height: 76px; padding: 12px; border-radius: 50%; background: #dce7cf; }
.cbs-diy-product .cbs-product-house .cbs-product-list-title img { background: #ece8da; }
.cbs-diy-product .cbs-product-list-title h3 { font-size: clamp(22px, 2.5vw, 36px); line-height: 1.15; margin-bottom: 6px; }
.cbs-diy-product .cbs-product-list-title p { font-size: .85em; text-transform: uppercase; font-weight: 600; }
.cbs-diy-product .cbs-product-list-title p::after { content: ""; display: block; height: 2px; background: #819858; width: 60%; margin-top: 9px; }
.cbs-diy-product .cbs-product-checklist ul { margin: 0; padding: 0; list-style: none; }
.cbs-diy-product .cbs-product-checklist li {
  position: relative;
  padding: 12px 0 12px 46px;
  font-size: .94em;
}
.cbs-diy-product .cbs-product-checklist li + li { border-top: 1px solid #83947026; }
.cbs-diy-product .cbs-product-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 25px;
  height: 25px;
  background: url("images/diy-product/check.png") center / contain no-repeat;
  filter: invert(55%) sepia(17%) saturate(945%) hue-rotate(40deg);
}
.cbs-diy-product .cbs-product-house li::before { background-image: url("images/diy-product/outline.png"); }

/* Installation and specifications */
.cbs-diy-product .cbs-product-build { margin: 56px auto 0; }
.cbs-diy-product .cbs-product-build h2 img { width: .9em; height: auto; vertical-align: -.06em; margin-right: .18em; }
.cbs-diy-product .cbs-product-build p + p { margin-top: 26px; }
.cbs-diy-product .cbs-product-spec { margin: 96px auto; }
.cbs-diy-product .cbs-product-nav { display: flex; margin: 0 2% 68px; border-bottom: 1px solid var(--product-border); font-size: .9em; }
.cbs-diy-product .cbs-product-nav a { padding: 12px 16px; text-decoration: none; }
.cbs-diy-product .cbs-product-nav a:last-child { border-bottom: 2px solid var(--product-green); }
.cbs-diy-product table { width: 84%; margin: 0 auto; border-spacing: 0; border: 1px solid #e7e8de; border-radius: 12px; overflow: hidden; color: var(--product-dark); }
.cbs-diy-product th, .cbs-diy-product td { padding: 17px clamp(12px, 2.5vw, 36px); text-align: left; }
.cbs-diy-product thead th { background: var(--product-green); color: #fff; text-transform: uppercase; font-weight: 600; }
.cbs-diy-product thead th:last-child { text-align: center; }
.cbs-diy-product tr > :first-child { border-right: 1px solid #d5d6c7; width: 25%; }
.cbs-diy-product tbody th { background: #f0f1e8; font-weight: 600; }
.cbs-diy-product tbody td { background: var(--product-cream); }
.cbs-diy-product tbody tr:nth-child(even) th { background: #eaeade; }
.cbs-diy-product tbody tr:nth-child(even) td { background: #f2f1ec; }
.cbs-diy-product tbody tr + tr > * { border-top: 1px solid #e7e8de; }

/* FAQs and product navigation */
.cbs-diy-product .cbs-product-panel { margin-top: 52px; padding: 46px 4%; background: var(--product-cream); border-radius: 20px; }
.cbs-diy-product .cbs-product-faq-short { display: none; }
.cbs-diy-product .cbs-product-faq { margin-inline: auto; padding: 0 4%; background: #fff; border: 2px solid var(--product-border); border-radius: 20px; }
.cbs-diy-product details + details { border-top: 1px solid var(--product-border); }
.cbs-diy-product summary { position: relative; cursor: pointer; list-style: none; padding: 24px 32px 24px 0; font-weight: 600; color: var(--product-dark); }
.cbs-diy-product summary::-webkit-details-marker { display: none; }
.cbs-diy-product summary::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); color: var(--product-green); font-size: 1.45em; font-weight: 400; }
.cbs-diy-product details[open] summary::after { content: "−"; }
.cbs-diy-product details p { margin-bottom: 22px; color: var(--product-green); }
.cbs-diy-product .cbs-product-explore { margin-top: 52px; text-align: center; }
.cbs-diy-product .cbs-product-explore h2::after { display: none; }
.cbs-diy-product .cbs-product-explore > p { margin: 12px 0 26px; }
.cbs-diy-product .cbs-product-neighbors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 800px; gap: 26px; margin-inline: auto; }
.cbs-diy-product .cbs-product-neighbors a { display: flex; justify-content: space-between; align-items: center; gap: 14px; text-align: left; text-transform: uppercase; font-size: .85em; padding: 20px 24px; border-radius: 15px; border: 2px solid var(--product-border); background: var(--product-cream); text-decoration: none; }
.cbs-diy-product .cbs-product-neighbors strong { display: block; text-transform: none; color: var(--product-dark); font-size: 1.5em; line-height: 1.2; }
.cbs-diy-product .cbs-product-arrow { display: grid; place-items: center; flex: 0 0 42px; aspect-ratio: 1; background: var(--product-green); color: white; border-radius: 50%; font-size: 32px; line-height: 1; }

/* Related products */
.cbs-diy-product .cbs-product-related { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 30px; }
.cbs-diy-product .cbs-product-related li { min-width: 0; padding: 12px 12px 18px; text-align: center; background: white; border: 2px solid var(--product-border); border-radius: 12px; box-shadow: 0 4px 9px #25361117; }
.cbs-diy-product .cbs-product-thumb { display: grid; place-items: center; grid-template: minmax(0, 1fr) / minmax(0, 1fr); aspect-ratio: 2.9; border-radius: 8px; box-shadow: inset 0 0 9px #0001; overflow: hidden; }
.cbs-diy-product .cbs-product-thumb img { grid-area: 1 / 1; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.cbs-diy-product .cbs-product-related-salt img { object-fit: cover; }
.cbs-diy-product .cbs-product-related h3 { margin: 10px 0 6px; color: var(--product-dark); font-size: clamp(17px, 1.9vw, 28px); line-height: 1.18; }
.cbs-diy-product .cbs-product-related p { color: var(--product-green); font-size: 1.1em; }

@media (max-width: 767px) {
  .cbs-diy-product { width: calc(100% - 12px); margin-top: 12px; line-height: 1.35; }
  .cbs-diy-product h2::after { margin: 18px auto 24px; }
  .cbs-diy-product .cbs-product-stats { width: calc(100% - 12px); grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 6px 12px; margin: 22px auto 0; }
  .cbs-diy-product .cbs-product-stats > div { padding: 14px 4px; }
  .cbs-diy-product .cbs-product-stats > div:nth-child(odd) { border-left: 0; }
  .cbs-diy-product .cbs-product-stats > div:nth-child(n+3) { border-top: 1px solid var(--product-border); }
  .cbs-diy-product .cbs-product-stats > div:last-child { grid-column: 1 / -1; }
  .cbs-diy-product .cbs-product-package { padding: 30px 10px 32px; }
  .cbs-diy-product .cbs-product-checklist { padding: 18px 12px; }
  .cbs-diy-product .cbs-product-list-title { justify-content: center; gap: 12px; margin: 0 0 18px; }
  .cbs-diy-product .cbs-product-list-title img { width: 49px; height: 49px; padding: 7px; }
  .cbs-diy-product .cbs-product-checklist li { padding: 9px 0 9px 29px; }
  .cbs-diy-product .cbs-product-checklist li::before { width: 17px; height: 17px; top: 10px; }
  .cbs-diy-product .cbs-product-build { margin-top: 38px; }
  .cbs-diy-product .cbs-product-spec { margin: 54px auto 36px; }
  .cbs-diy-product .cbs-product-nav { margin: 0 6% 16px; }
  .cbs-diy-product table { width: 100%; font-size: clamp(13px, 3.55vw, 17px); }
  .cbs-diy-product th, .cbs-diy-product td { padding: 11px 9px; }
  .cbs-diy-product tr > :first-child { width: 34%; }
  .cbs-diy-product .cbs-product-panel { padding: 24px 7px 26px; margin-top: 36px; }
  .cbs-diy-product .cbs-product-faq-long { display: none; }
  .cbs-diy-product .cbs-product-faq-short { display: inline; }
  .cbs-diy-product summary { padding-block: 16px; }
  .cbs-diy-product .cbs-product-explore { margin-top: 36px; }
  .cbs-diy-product .cbs-product-neighbors { gap: 7px; }
  .cbs-diy-product .cbs-product-neighbors a { padding: 8px; gap: 7px; font-size: 11px; }
  .cbs-diy-product .cbs-product-neighbors strong { font-size: clamp(13px, 3.55vw, 17px); }
  .cbs-diy-product .cbs-product-arrow { flex-basis: 23px; font-size: 23px; }
  .cbs-diy-product .cbs-product-related { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cbs-diy-product .cbs-product-related li { padding: 7px 7px 12px; }
  .cbs-diy-product .cbs-product-related h3 { font-size: clamp(14px, 4vw, 20px); }
  .cbs-diy-product .cbs-product-related-lights { order: 1; }
  .cbs-diy-product .cbs-product-related-salt { order: 2; }
}
