/* Folleto cliente — pantalla + impresión A4 */
.folleto-screen {
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: #1a2e2a;
  background: #e8e4dc;
  padding: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.folleto-screen h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.75rem;
}
.folleto-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 28px;
}
.folleto-toolbar a,
.folleto-toolbar button {
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid #2e7c70;
  background: #2e7c70;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.folleto-toolbar .ghost {
  background: #fff;
  color: #2e7c70;
}
.folleto-section-title {
  font-family: Fraunces, Georgia, serif;
  margin: 32px 0 12px;
  padding-top: 8px;
  border-top: 2px solid #c45c26;
}
.folleto-sheet {
  background: #f8f6f2;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.folleto-sheet--a4 {
  width: 210mm;
  min-height: 297mm;
  margin-left: auto;
  margin-right: auto;
  padding: 11mm 14mm;
  box-sizing: border-box;
  font-size: 0.96rem;
  line-height: 1.45;
}
.folleto-sheet--a4-land {
  width: 297mm;
  min-height: 210mm;
  padding: 8mm 7mm 6mm;
  box-sizing: border-box;
  font-size: 0.9rem;
  line-height: 1.42;
}
.folleto-body {
  font-size: 0.96rem;
  line-height: 1.45;
  margin: 8px 0;
}
.folleto-body--tight {
  margin: 6px 0;
}
.folleto-muted {
  font-size: 0.88rem;
  color: #5a6a66;
  margin: 4px 0;
}
.folleto-accent { color: #2e7c70; }
.folleto-warm { color: #c45c26; }
.folleto-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c45c26;
  margin: 0 0 6px;
}
.folleto-h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.72rem;
  line-height: 1.12;
  margin: 0 0 8px;
  color: #0f2924;
}
.folleto-lede {
  font-size: 1.08rem;
  line-height: 1.42;
  margin: 0 0 10px;
  max-width: 42em;
}
.folleto-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 10px 0;
}
.folleto-card {
  background: #fff;
  border: 1px solid rgba(46, 124, 112, 0.25);
  border-radius: 10px;
  padding: 10px;
  font-size: 0.92rem;
  line-height: 1.38;
}
.folleto-card strong {
  display: block;
  color: #2e7c70;
  margin-bottom: 4px;
}
.folleto-price-box {
  background: linear-gradient(135deg, #2e7c70 0%, #1f5a52 100%);
  color: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  margin: 10px 0;
  text-align: center;
}
.folleto-price-box .num {
  font-family: Fraunces, Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
}
.folleto-price-box p {
  margin: 6px 0 0;
  font-size: 0.9rem;
  opacity: 0.95;
}
.folleto-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.folleto-row--hero {
  align-items: stretch;
  margin-bottom: 4px;
}
.folleto-row .illus {
  flex: 0 0 40%;
  max-width: 40%;
}
.folleto-hero-frame {
  display: flex;
  align-items: stretch;
}
.folleto-hero-frame .folleto-figure {
  width: 100%;
}
.folleto-row .copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.folleto-ul {
  margin: 8px 0;
  padding-left: 1.15rem;
  line-height: 1.45;
  font-size: 0.94rem;
}
.folleto-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.folleto-phone-line {
  border-bottom: 1px solid #1a2e2a;
  min-width: 140px;
  display: inline-block;
}
.folleto-fold-hint {
  font-size: 0.75rem;
  color: #5a6a66;
  margin-bottom: 8px;
}
/* Pliegues A4 horizontal — misma rejilla para díptico y tríptico */
.folleto-fold {
  display: grid;
  gap: 0;
  flex: 1 1 auto;
  min-height: 188mm;
  align-items: stretch;
  border: 1px dashed #ccc;
  position: relative;
}
.folleto-fold--2::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 1px dashed rgba(196, 92, 38, 0.35);
  pointer-events: none;
  z-index: 1;
}
.folleto-fold--3::before,
.folleto-fold--3::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 1px dashed rgba(196, 92, 38, 0.35);
  pointer-events: none;
  z-index: 1;
}
.folleto-fold--3::before {
  left: 33.333%;
}
.folleto-fold--3::after {
  left: 66.666%;
}
.folleto-fold--2 {
  grid-template-columns: 1fr 1fr;
}
.folleto-fold--3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.folleto-fold-panel {
  padding: 6mm 5.5mm;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  line-height: 1.42;
  min-height: 0;
  overflow: visible;
  position: relative;
  z-index: 0;
}
.folleto-fold-panel:last-child {
  border-right: none;
}
.folleto-fold-panel__title {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.15rem;
  margin: 2px 0 6px;
  color: #0f2924;
  line-height: 1.15;
}
.folleto-fold-panel__body {
  margin: 0 0 5px;
}
.folleto-fold-panel__bullets {
  margin: 4px 0 0;
  font-size: 0.9rem;
  padding-left: 1.1rem;
}
.folleto-flow {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 4px 0;
}
.folleto-flow--inset-right {
  flex-direction: row;
}
.folleto-flow--inset-left {
  flex-direction: row;
}
.folleto-flow__copy {
  flex: 1;
  min-width: 0;
}
.folleto-media {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
}
.folleto-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.folleto-media--inset {
  flex: 0 0 36%;
  max-width: 36%;
}
.folleto-media--stack {
  margin: 6px 0 8px;
  max-width: 100%;
}
.folleto-fold--2 .folleto-fold-panel {
  padding: 7mm 6mm;
}
.folleto-fold--3 .folleto-fold-panel {
  padding: 5.5mm 5mm;
  font-size: 0.88rem;
}
.folleto-fold--3 .folleto-fold-panel__title {
  font-size: 1.08rem;
}
.folleto-fold--3 .folleto-media--inset {
  flex-basis: 34%;
  max-width: 34%;
}
.folleto-options-preview {
  max-width: 100%;
  border-radius: 8px;
  margin: 12px 0;
}
.folleto-legend {
  font-size: 0.8rem;
  color: #5a6a66;
  margin-top: 8px;
}
@media print {
  .folleto-screen { background: #fff; padding: 0; max-width: none; }
  .folleto-no-print { display: none !important; }
  .folleto-sheet {
    box-shadow: none;
    page-break-after: always;
    break-after: page;
    margin: 0 auto;
  }
  .folleto-sheet:last-child {
    page-break-after: auto;
  }
  .folleto-sheet--a4 {
    padding: 12mm 14mm;
  }
  .folleto-sheet--a4-land {
    padding: 8mm;
    max-height: none;
  }
  .folleto-fold {
    border: none;
    min-height: 178mm;
  }
  .folleto-fold-panel {
    min-height: 178mm;
  }
  .folleto-fold--2::before,
  .folleto-fold--3::before,
  .folleto-fold--3::after {
    display: none;
  }
  .folleto-fold-panel {
    border-color: rgba(0, 0, 0, 0.06);
  }
  .folleto-price-box {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .folleto-grid-3 {
    gap: 8px;
  }
  .folleto-card {
    padding: 10px;
    font-size: 0.82rem;
  }
}
@page {
  size: A4;
  margin: 8mm;
}
@page folleto-land {
  size: A4 landscape;
  margin: 8mm;
}
.folleto-sheet--a4-land {
  page: folleto-land;
}

.folleto-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.folleto-fold-panel .folleto-brand {
  flex-wrap: nowrap;
}
.folleto-brand__qi {
  height: 32px;
  width: auto;
  max-width: 40%;
  object-fit: contain;
}
.folleto-brand__pulso {
  height: 36px;
  width: auto;
  max-width: 45%;
  object-fit: contain;
}
.folleto-brand__text {
  font-size: 0.8rem;
  color: #5a6a66;
  flex: 1 1 100%;
  margin-left: 0;
}
.folleto-figure {
  margin: 0;
}
.folleto-sheet--a4 .folleto-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: none;
}
.folleto-figure--sm img {
  max-height: 42mm;
  object-fit: contain;
  background: #fff;
}
.folleto-figure--md img {
  max-height: 58mm;
  object-fit: contain;
  background: #fff;
}
.folleto-figure--lg img {
  max-height: 72mm;
  object-fit: contain;
  background: #fff;
}
.folleto-figure--contain img {
  width: 100%;
  height: auto;
  max-height: 80mm;
  object-fit: contain;
  object-position: center;
  background: transparent;
}
.folleto-gallery-item--logo img {
  object-fit: contain;
  background: #fff;
  height: 72px;
}
.folleto-figure__cap {
  font-size: 0.72rem;
  color: #5a6a66;
  margin-top: 4px;
  text-align: center;
}
.folleto-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.folleto-gallery-grid img {
  width: 100%;
  height: auto;
  max-height: 110px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
}
.folleto-gallery-grid span {
  display: block;
  font-size: 0.7rem;
  color: #666;
  margin-top: 4px;
  line-height: 1.2;
}
.folleto-illus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}
@media print {
  .folleto-figure img {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
body.folleto-print-one .folleto-sheet {
  display: none !important;
}
body.folleto-print-one .folleto-sheet.folleto-print-target {
  display: flex !important;
}

.folleto-seller {
  margin-top: auto;
  padding: 8px 0 4px;
  border-top: 1px solid rgba(196, 92, 38, 0.65);
  background: transparent;
}
.folleto-seller--compact {
  padding: 6px 0 2px;
}
.folleto-seller--column {
  margin-top: 8px;
  padding-top: 6px;
}
.folleto-seller__line-text {
  margin: 0 0 4px;
  font-size: 0.88rem;
  line-height: 1.35;
  color: #1a2e2a;
}
.folleto-seller--column .folleto-seller__line-text,
.folleto-seller--compact .folleto-seller__line-text {
  font-size: 0.86rem;
}
.folleto-seller__contact-label {
  margin-top: 2px;
  font-weight: 600;
  color: #2e7c70;
}
.folleto-seller__fields-inline {
  margin: 0 0 4px;
}
.folleto-seller__line {
  display: block;
  min-height: 1.1rem;
  border-bottom: 1px solid #1a2e2a;
}
.folleto-seller__line--wide {
  min-height: 1.1rem;
}
.folleto-seller__row {
  display: block;
  margin: 0;
}
