/* Wedding e-cards (ecard.php): the page shares the Biodata Maker's look (biodata-maker.css); here only what is its own:
   the occasion tabs, the card pictures (canvas, 1080 x 1920) in the gallery and the row, the preview, the PDF. */
.ec-events { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 0 auto 6px; }
.ec-events button { padding: 9px 20px; border-radius: 999px; border: 1px solid rgba(200, 164, 92, .55); background: var(--paper, #fffdf9); cursor: pointer; font: 600 .95rem var(--sans); color: var(--wine, #7a1c34); transition: background .2s, color .2s; }
.ec-events button.on { color: var(--wine-900, #2e0a15); border-color: transparent; background: var(--gold-grad); box-shadow: 0 8px 18px -8px rgba(156, 118, 48, .7); }
.ec-thumb { display: block; overflow: hidden; border-radius: 10px; box-shadow: 0 12px 24px -12px rgba(46, 10, 21, .6); }
.ec-thumb canvas, .ec-fan canvas { display: block; width: 100%; height: auto; }
.ec-gcard { flex-basis: 170px; }
.ec-fan { height: 360px; }
.ec-fan i { width: 190px; margin-left: -95px; }
.ec-fan .f-c { width: 220px; margin-left: -110px; }
.ec-designs button { flex: 0 0 92px; padding: 8px 6px; }
.ec-designs button canvas { display: block; width: 46px; height: auto; border-radius: 4px; box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .6); }
.ec-designs button[hidden], .ec-gcard[hidden] { display: none; }
.ec-stage { position: relative; margin: 0 auto; max-width: 420px; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(236, 217, 168, .35), 0 26px 50px -20px rgba(0, 0, 0, .7); }
.ec-stage canvas { display: block; width: 100%; height: auto; }
.ec-stage .bm-sample-tag { top: 12px; }
.ec-stage.is-sample .bm-sample-tag { display: block; }
.ec-go2 { display: flex; gap: 10px; width: 100%; }
.ec-go2 .btn { flex: 1; justify-content: center; }
.ec-print { display: none; }
@media (max-width: 860px) {
    .ec-fan { height: 250px; }
    .ec-gcard { flex-basis: 150px; }
}
@media print {
    @page { size: 90mm 160mm; margin: 0; }
    body * { visibility: hidden; }
    .ec-print { display: block !important; visibility: visible; position: fixed; left: 0; top: 0; width: 100%; height: auto; }
}
.ec-steps { grid-template-columns: repeat(4, 1fr); }
/* the other functions: a row each (name, date, time), folded until opened */
.ec-more { margin: 4px 0 14px; padding: 12px 14px; border: 1px dashed rgba(200, 164, 92, .7); border-radius: 16px; background: #fffdf8; }
.ec-more summary { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; cursor: pointer; list-style: none; font: 600 1rem var(--serif); color: var(--wine, #7a1c34); }
.ec-more summary::-webkit-details-marker { display: none; }
.ec-more summary small { flex-basis: 100%; font: 400 .82rem var(--sans); color: var(--muted, #7d6c6f); }
.ec-prog { display: grid; grid-template-columns: 1.3fr 1fr .8fr; gap: 6px; margin-top: 10px; }
.ec-prog input { min-width: 0; padding: 10px; border: 1px solid #e2d3b8; border-radius: 10px; font: 400 .95rem var(--sans); background: #fff; }
.ec-hint { display: block; margin: -6px 0 14px; color: var(--muted, #7d6c6f); font-size: .8rem; }
.ec-drop .bm-photo-box { border-radius: 50%; width: 104px; height: 104px; }
@media (max-width: 860px) { .ec-prog { grid-template-columns: 1fr 1fr; } .ec-prog input:first-child { grid-column: 1 / -1; } }
