.project-promotion{padding:12px 22px;margin:0 0 18px;border:1px solid #e6993c;border-radius:12px;background:#ffb45b}
.project-promotion h2,.project-promotion p{margin:0 0 4px}
.project-promotion .promo-countdown{font-weight:800;font-variant-numeric:tabular-nums}
.promo-regular{color:#b42318;font-weight:800;text-decoration:none;background:linear-gradient(currentColor,currentColor) 0 62% / 100% .13em no-repeat;-webkit-box-decoration-break:clone;box-decoration-break:clone;font-size:.85em;margin-right:.4em}
.promo-price{color:#000;font-weight:800;white-space:nowrap}
.promo-gift{display:block;margin-top:6px;color:#6d4f05;font-size:14px}

.promo-estimate-deadline{display:block;margin-top:5px;font-size:.8rem;font-weight:600;line-height:1.35;white-space:normal}

.project-page .project-section:has(+ .project-promotion){margin-bottom:20px}
.project-promotion p:last-child{margin-bottom:0}

.project-estimates .estimate-group {
  background: #faf8f3;
  border: 1px solid #e7dfd0;
}

.project-estimates .estimate-split tbody tr {
  display: block;
  padding: 7px 0;
  border-bottom-color: #eae3d9;
}

.project-estimates .estimate-panel .estimate-split tbody th,
.project-estimates .estimate-panel .estimate-split tbody td {
  display: block;
  padding: 0;
  text-align: left;
}

.project-estimates .estimate-panel .estimate-split tbody th {
  font-size: 13px;
  color: #655546;
}

.project-estimates .estimate-panel .estimate-split tbody td {
  margin-top: 3px;
  font-weight: 750;
}

.project-estimates .estimate-panel .estimate-split tfoot {
  background: #ffe480;
  border: 0;
  border-radius: 10px;
  padding: 12px 16px;
}

.project-estimates .estimate-panel .estimate-split tfoot th,
.project-estimates .estimate-panel .estimate-split tfoot td {
  padding: 0;
}

.project-package dd:has(> .promo-price) {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 2px 1em;
}

.project-package dd > .promo-regular {
  margin-right: 0;
}

.project-package dd > .promo-price {
  text-align: center;
  white-space: normal;
}

.project-package dd > .promo-gift {
  flex-basis: 100%;
}

@media (max-width: 520px) {
  .project-estimates .estimate-split tfoot tr {
    flex-wrap: wrap;
    gap: 5px 12px;
  }
}

.estimate-group:has(> .estimate-illustration) {
  display: grid;
  grid-template-columns: minmax(160px, 24%) minmax(0, 1fr);
  gap: 0 22px;
}
.estimate-group:has(> .estimate-illustration) > :not(.estimate-illustration) {
  grid-column: 2;
  min-width: 0;
}
.estimate-illustration {
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: start;
  padding: 4px;
  border: 1px solid #e7dfd0;
  border-radius: 12px;
  background: white;
}
.estimate-illustration .package-illustration {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  margin: 0;
}
.project-package img.package-illustration {
  object-fit: contain;
}
@media (max-width: 680px) {
  .estimate-group:has(> .estimate-illustration) {
    display: block;
  }
  .estimate-illustration {
    width: min(100%, 220px);
    margin-bottom: 16px;
  }
}

.project-package dd,.project-estimates .estimate-panel .estimate-split tbody th,.project-estimates .estimate-panel .estimate-split tbody td,.project-estimates .estimate-panel .estimate-split tfoot{color:#000}

.project-package dt{text-align:center}

@media (max-width: 680px) {
  .project-estimates .estimate-group > h3 { margin-bottom: 8px; }
  .project-estimates .estimate-options { gap: 5px; margin-bottom: 8px; }
  .project-estimates .estimate-options button { padding: 6px 8px; }
  .estimate-illustration { margin-bottom: 8px; }
  .project-estimates .estimate-split caption { padding-bottom: 5px; }
  .project-estimates .estimate-split tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 6px;
    padding: 4px 0;
  }
  .project-estimates .estimate-panel .estimate-split tbody td {
    margin-top: 0;
    text-align: right;
    font-size: 13px;
  }
  .project-estimates .estimate-panel .estimate-split tfoot {
    margin-top: 8px;
    padding: 8px 10px;
  }
  .project-estimates .estimate-panel .estimate-split tfoot td {
    font-size: 19px;
    white-space: normal;
    margin-left: auto;
  }
  .promo-estimate-deadline { margin-top: 2px; }
}
.project-estimates .estimate-options button[aria-pressed=false] {
  background: #fff;
  border-color: #cfc5b4;
}

.project-estimates .estimate-options button[aria-pressed=false]:hover {
  background: #f1ece1;
  border-color: #bdb09b;
}
