/* ---- Page / print setup ---- */
@page {
  size: A4;
  margin: 14mm;
}

.ppb-page {
  font-family: Inter, Arial, sans-serif;
  color: #111;
  line-height: 1.35;
  display: grid;
  grid-template-rows: auto auto 1fr auto; /* header, hero, body, footer */
  min-height: 100%;
}

/* ---- Topbar ---- */
.ppb-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #e9e9e9;
}

.ppb-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ppb-logo {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}

.ppb-brand-text { display: grid; gap: 2px; }

.ppb-brand-name {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2px;
}

.ppb-brand-tag {
  font-size: 11px;
  color: #666;
}

.ppb-contact {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #555;
}

/* ---- Hero ---- */
.ppb-hero {
  padding: 14px 0 16px;
  border-bottom: 1px solid #f0f0f0;
}

.ppb-hero-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
  margin-bottom: 6px;
}

.ppb-hero-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

/* ---- Body grid ---- */
.ppb-body {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
  padding-top: 14px;
  align-items: start;
}

/* ---- Left column: image + gallery ---- */
.ppb-image-frame {
  border-radius: 14px;
  border: 1px solid #ededed;
  padding: 10px;
  background: #fafafa;
  overflow: hidden;
}

.ppb-image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.ppb-gallery-row {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.ppb-gallery-row img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #ededed;
}

/* If you sometimes have fewer gallery images */
.ppb-gallery-row:empty { display: none; }

/* ---- Right column: info blocks ---- */
.ppb-right {
  display: grid;
  gap: 10px;
}

.ppb-block {
  border: 1px solid #ededed;
  border-radius: 14px;
  padding: 12px 12px 10px;
  background: #fff;
}

.ppb-block-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ppb-text {
  font-size: 12px;
  color: #222;
}

.ppb-list {
  font-size: 12px;
  color: #222;
}

.ppb-list ul {
  margin: 0;
  padding-left: 16px;
}

.ppb-list li { margin: 0 0 6px; }
.ppb-list li:last-child { margin-bottom: 0; }

/* ---- Split block for dimensions + finishes ---- */
.ppb-block-split { padding: 0; }
.ppb-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.ppb-split-col {
  padding: 12px 12px 10px;
}

.ppb-split-col + .ppb-split-col {
  border-left: 1px solid #ededed;
}

.ppb-dimensions,
.ppb-finishes {
  font-size: 12px;
  color: #222;
}

/* ---- Footer ---- */
.ppb-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid #e9e9e9;
  font-size: 10.5px;
  color: #666;
}

/* ---- PDF/print safety ---- */
.ppb-block,
.ppb-image-frame {
  break-inside: avoid;
  page-break-inside: avoid;
}