/* ── Variables ── */
:root {
  --v-forest:      #3d4f3a;
  --v-forest-lt:   #4e6349;
  --v-cream:       #f7f3ec;
  --v-cream-dk:    #ede8de;
  --v-gold:        #b8965a;
  --v-gold-lt:     #d4b07a;
  --v-copper:      #c4634a;
  --v-charcoal:    #2a2a25;
  --v-text-mid:    #5a5449;
}

/* ── Voucher — format 99 × 180 mm ── */
.lmk-voucher {
  position: relative;
  width: 99mm;
  height: 180mm;
  background: var(--v-cream);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  font-family: 'Jost', sans-serif;
  color: var(--v-charcoal);
}

/* Double bordure dorée */
.lmk-voucher::before,
.lmk-voucher::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 2;
}
.lmk-voucher::before {
  top: 4mm; left: 4mm; right: 4mm; bottom: 4mm;
  border: .5px solid var(--v-gold);
  opacity: .5;
}
.lmk-voucher::after {
  top: 6mm; left: 6mm; right: 6mm; bottom: 6mm;
  border: .5px solid var(--v-gold);
  opacity: .25;
}

.lmk-v-content {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 10mm 9mm 7mm;
  display: flex;
  flex-direction: column;
}

/* Logo */
.lmk-v-logo { display: flex; justify-content: center; margin-bottom: 2.5mm; }
.lmk-v-logo img { height: 8mm; width: auto; }

/* Tagline */
.lmk-v-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 6.8pt;
  text-align: center;
  color: var(--v-text-mid);
  letter-spacing: .03em;
  line-height: 1.5;
  margin-bottom: 3mm;
}

/* Séparateur */
.lmk-v-divider {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5mm;
}
.lmk-v-divider::before,
.lmk-v-divider::after {
  content: '';
  flex: 1;
  height: .5px;
  background: linear-gradient(to right, transparent, var(--v-gold));
}
.lmk-v-divider::after {
  background: linear-gradient(to left, transparent, var(--v-gold));
}
.lmk-v-divider span {
  color: var(--v-gold);
  font-size: 7pt;
  flex-shrink: 0;
}

/* Titre */
.lmk-v-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 19pt;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  color: var(--v-forest);
  margin: 0 0 1.2mm;
}
.lmk-v-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 8.5pt;
  text-align: center;
  color: var(--v-gold);
  letter-spacing: .03em;
  margin: 0 0 5mm;
}

/* Champs */
.lmk-v-field {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2.8mm;
}
.lmk-v-label {
  font-size: 5.8pt;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--v-text-mid);
  margin-bottom: .8mm;
}
.lmk-v-value {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 10pt;
  color: var(--v-charcoal);
  min-width: 42mm;
  text-align: center;
  border-bottom: .5px dashed var(--v-copper);
  padding: .5mm 2mm;
  min-height: 5mm;
  display: block;
}

/* Offre — montant */
.lmk-v-offer { margin: 3mm 0 2mm; }
.lmk-v-amount {
  border: .5px solid var(--v-gold);
  border-radius: 2px;
  background: rgba(184,150,90,.05);
  padding: 4mm 3mm;
  text-align: center;
}
.lmk-v-amount-label {
  font-size: 6.4pt;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--v-gold);
  display: block;
  margin-bottom: 1.5mm;
}
.lmk-v-amount-value {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 26pt;
  color: var(--v-forest);
  min-height: 10mm;
  display: block;
}

/* Offre — prestation items */
.lmk-v-items {
  border: .5px solid var(--v-gold);
  border-radius: 2px;
  background: rgba(184,150,90,.04);
  padding: 3.5mm 3mm;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2mm;
}
.lmk-v-items-col {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lmk-v-items-col li {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 7pt;
  color: var(--v-text-mid);
  display: flex;
  align-items: center;
  gap: 1.5mm;
  margin-bottom: .8mm;
}
.lmk-v-items-col li::before {
  content: '';
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: var(--v-gold);
  flex-shrink: 0;
}

/* Validité */
.lmk-v-valid {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 7.5pt;
  text-align: center;
  color: var(--v-text-mid);
  margin-top: 4mm;
  min-height: 5mm;
}

.lmk-v-spacer { flex: 1; }

/* Footer */
.lmk-v-footer {
  text-align: center;
  padding-top: 3.5mm;
  border-top: .5px solid var(--v-gold);
}
.lmk-v-footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 9pt;
  color: var(--v-forest);
  letter-spacing: .04em;
  margin: 0 0 .8mm;
}
.lmk-v-footer-contact {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 6.5pt;
  color: var(--v-text-mid);
  margin: 0 0 1mm;
}
.lmk-v-numero {
  font-size: 5.5pt;
  color: rgba(90,84,73,.5);
  letter-spacing: .08em;
  margin: 0;
}

/* ── Impression ── */
@media print {
  @page { size: 99mm 180mm; margin: 0; }

  body { background: white !important; }
  .lmk-voucher {
    box-shadow: none;
    width: 99mm;
    height: 180mm;
    break-after: avoid;
    page-break-after: avoid; /* fallback */
  }
}
