/* Mẫu Hoa Ly Xanh — theo video mẫu chủ shop gửi (đã xin phép). Màu đo từ video (bù ám hồng màn hình): xanh lá #66843f,
   chữ thân xám nâu #6e6a64 trên nền trắng; tên viết tay (Ephesis), chữ in hoa có chân (Cormorant Garamond). Góc vuông. */

.t-hoa-ly-xanh {
  --green: #66843f;
  --green-deep: #4f6a2f;
  --ink: #6e6a64;
  --ink-2: #8d8880;
  --line: #c9c5bd;
  --f-script: "Ephesis", cursive;
  --f-serif: "Cormorant Garamond", Georgia, serif;
  --gate-bg: #66843f;
  --gate-ink: #ffffff;
  color: var(--ink);
  font-family: var(--f-serif);
  font-variant-numeric: lining-nums;
}
.t-hoa-ly-xanh .thiepmai-frame { background: #fff; }
.t-hoa-ly-xanh .thiepmai-frame > section { position: relative; }
.t-hoa-ly-xanh p, .t-hoa-ly-xanh h1, .t-hoa-ly-xanh h2, .t-hoa-ly-xanh h3 { margin: 0; }
.t-hoa-ly-xanh .ph { inset: 0; }

/* chữ dùng chung */
.t-hoa-ly-xanh .hl-sec { padding: 40px 28px; text-align: center; }
.t-hoa-ly-xanh .hl-caps { font: 600 13px/1.55 var(--f-serif); letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
.t-hoa-ly-xanh .hl-script { font: 400 40px/1.1 var(--f-script); }
.t-hoa-ly-xanh .hl-title { margin-bottom: 10px; color: var(--green-deep); }
.t-hoa-ly-xanh .hl-btn {
  display: inline-block; margin-top: 14px; padding: 8px 34px; border: 1px solid var(--green); background: transparent; color: var(--green-deep);
  font: 700 12px var(--f-serif); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer;
}
.t-hoa-ly-xanh .hl-btn--fill { width: 100%; margin-top: 4px; padding: 11px; background: var(--green); color: #fff; }
.t-hoa-ly-xanh .hl-lily { position: absolute; z-index: 2; pointer-events: none; }

/* ---------- 1. bìa ---------- */
.t-hoa-ly-xanh .hl-cover { height: 720px; overflow: hidden; background: var(--green); }
.t-hoa-ly-xanh .hl-cover__pic { position: absolute; inset: 0 0 120px; }
.t-hoa-ly-xanh .hl-cover__pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(102,132,63,0) 50%, rgba(102,132,63,.55) 74%, var(--green) 100%); }
.t-hoa-ly-xanh .hl-cover__pic img { object-position: center 25%; }
.t-hoa-ly-xanh .hl-lily--top { top: -4px; right: -10px; width: 230px; transform: scaleX(-1) rotate(-12deg); }
.t-hoa-ly-xanh .hl-cover__names { position: absolute; z-index: 2; left: 0; right: 0; bottom: 54px; color: #fff; }
.t-hoa-ly-xanh .hl-cover__names .hl-script { font-size: 64px; line-height: 1; text-shadow: 0 2px 12px rgba(0, 0, 0, .18); }
.t-hoa-ly-xanh .hl-cover__g { padding-left: 34px; text-align: left; rotate: -6deg; }
.t-hoa-ly-xanh .hl-cover__b { margin-top: 8px; padding-right: 30px; text-align: right; rotate: -6deg; }

/* ---------- 2. save the date ---------- */
.t-hoa-ly-xanh .hl-green { background: var(--green); color: #fff; }
.t-hoa-ly-xanh .hl-cal { padding: 30px 26px 190px; text-align: center; overflow: hidden; }
.t-hoa-ly-xanh .hl-cal__head { font: 500 30px/1.2 var(--f-serif); letter-spacing: .02em; text-transform: uppercase; }
.t-hoa-ly-xanh .hl-cal__month { margin-top: 2px; font-size: 34px; }
.t-hoa-ly-xanh .hl-cal__grid { margin-top: 16px; }
.t-hoa-ly-xanh .hl-cal__row { display: grid; grid-template-columns: repeat(7, 1fr); }
.t-hoa-ly-xanh .hl-cal__row span { position: relative; display: grid; place-items: center; height: 38px; font: 500 18px var(--f-serif); font-variant-numeric: lining-nums; }
.t-hoa-ly-xanh .hl-cal__row--head span { height: 30px; font-size: 12px; font-weight: 700; letter-spacing: .08em; opacity: .85; }
.t-hoa-ly-xanh .hl-cal__row span.is-day { font-weight: 700; }
.t-hoa-ly-xanh .hl-cal__row span.is-day svg { position: absolute; width: 36px; height: 36px; }
.t-hoa-ly-xanh .hl-cal__note { margin-top: 12px; padding-right: 10px; text-align: right; font-size: 32px; }
.t-hoa-ly-xanh .hl-lily--bottom { left: -24px; bottom: -10px; width: 250px; transform: rotate(4deg); }
.t-hoa-ly-xanh .hl-cal::after { /* chân lịch: mép giấy trắng xé nhẹ */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 26px; background: #fff;
  clip-path: polygon(0 60%, 8% 40%, 18% 70%, 30% 35%, 42% 65%, 55% 30%, 68% 62%, 80% 38%, 90% 66%, 100% 42%, 100% 100%, 0 100%);
}

/* ---------- 3. chú rể & cô dâu ---------- */
.t-hoa-ly-xanh .hl-people { display: grid; gap: 34px; padding: 36px 40px 10px; }
.t-hoa-ly-xanh .hl-person { margin: 0; }
.t-hoa-ly-xanh .hl-frame { position: relative; height: 400px; overflow: hidden; box-shadow: 0 8px 22px rgba(60, 60, 50, .14); }
.t-hoa-ly-xanh .hl-person figcaption { display: grid; justify-items: center; margin-top: 12px; }
.t-hoa-ly-xanh .hl-person figcaption .hl-script { font-size: 32px; color: var(--ink-2); }
.t-hoa-ly-xanh .hl-person figcaption b { font: 500 22px/1.2 var(--f-serif); letter-spacing: .04em; }

/* ---------- 4. gia đình + tên lớn ---------- */
.t-hoa-ly-xanh .hl-families { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; font: 500 13px/1.5 var(--f-serif); }
.t-hoa-ly-xanh .hl-families p { text-transform: uppercase; letter-spacing: .02em; }
.t-hoa-ly-xanh .hl-families__side { display: inline-block; margin-bottom: 6px; border-bottom: 1px solid var(--ink); font-size: 14px; }
.t-hoa-ly-xanh .hl-families__addr { margin-top: 4px; text-transform: none !important; font-style: italic; color: var(--ink-2); }
.t-hoa-ly-xanh .hl-names { display: grid; margin-top: 34px; font: 400 44px/1.1 var(--f-serif); letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.t-hoa-ly-xanh .hl-names i { font-size: 34px; line-height: .9; color: var(--ink-2); }
.t-hoa-ly-xanh .hl-invite__lead { margin-top: 18px; font-size: 13px; }

/* ---------- 5. lễ & tiệc ---------- */
.t-hoa-ly-xanh .hl-events { padding-top: 6px; }
.t-hoa-ly-xanh .hl-event__title { font-size: 15px; font-weight: 700; }
.t-hoa-ly-xanh .hl-event__at { font-size: 12px; color: var(--ink-2); }
.t-hoa-ly-xanh .hl-date { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; margin: 10px 4px 0; }
.t-hoa-ly-xanh .hl-date span { padding: 4px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 500 17px var(--f-serif); font-variant-numeric: lining-nums; }
.t-hoa-ly-xanh .hl-date b { font: 300 64px/1 var(--f-serif); font-variant-numeric: lining-nums; color: var(--ink); }
.t-hoa-ly-xanh .hl-event__lunar { margin-top: 6px; font: italic 400 14px var(--f-serif); color: var(--ink-2); }
.t-hoa-ly-xanh .hl-event__place { margin-top: 10px; font-size: 14px; font-weight: 700; }
.t-hoa-ly-xanh .hl-event__addr { margin-top: 2px; font: 500 14px/1.45 var(--f-serif); color: var(--ink-2); }
.t-hoa-ly-xanh .hl-map { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--green-deep); font: 700 13px var(--f-serif); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.t-hoa-ly-xanh .hl-map svg { width: 13px; height: 16px; }
.t-hoa-ly-xanh .hl-flourish { display: block; width: 150px; margin: 26px auto; color: var(--line); }
.t-hoa-ly-xanh .thiepmai-events { padding: 0 28px 10px; }
.t-hoa-ly-xanh .thiepmai-event { border: 1px solid var(--line); background: #fff; color: var(--ink); }

/* ---------- 6. lịch trình ---------- */
.t-hoa-ly-xanh .hl-program__title { margin-bottom: 10px; font-size: 16px; }
.t-hoa-ly-xanh .hl-program__list { margin: 0; padding: 0; list-style: none; }
.t-hoa-ly-xanh .hl-program__list li { display: grid; grid-template-columns: 70px 1fr; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); text-align: left; }
.t-hoa-ly-xanh .hl-program__list b { font: 600 20px var(--f-serif); font-variant-numeric: lining-nums; color: var(--green-deep); }
.t-hoa-ly-xanh .hl-program__list small { grid-column: 2; font: italic 400 14px var(--f-serif); color: var(--ink-2); }

/* ---------- 7. album ---------- */
.t-hoa-ly-xanh .hl-album { padding: 20px 0 30px; }
.t-hoa-ly-xanh .hl-band { display: grid; grid-template-columns: auto auto; justify-content: start; column-gap: 8px; margin-right: 34px; padding: 14px 26px 12px; background: var(--green); color: #fff; }
.t-hoa-ly-xanh .hl-band span { font: 500 38px/1 var(--f-serif); text-transform: uppercase; letter-spacing: .02em; }
.t-hoa-ly-xanh .hl-band span:first-child { grid-column: 1 / -1; }
.t-hoa-ly-xanh .hl-band i { margin-left: 56px; font-size: 34px; line-height: 1; font-style: normal; }
.t-hoa-ly-xanh .hl-album__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 132px; grid-auto-flow: dense; gap: 8px; padding: 18px 20px 0; }
.t-hoa-ly-xanh .hl-album__item { position: relative; overflow: hidden; }
.t-hoa-ly-xanh .hl-album__item.is-wide { grid-column: span 2; grid-row: span 2; }
.t-hoa-ly-xanh .hl-album__item.is-tall { grid-row: span 2; }

/* ---------- 8. xác nhận ---------- */
.t-hoa-ly-xanh .hl-rsvp__lead { font: 500 15px/1.5 var(--f-serif); color: var(--ink-2); }
.t-hoa-ly-xanh .hl-form { display: grid; gap: 10px; margin-top: 18px; }
.t-hoa-ly-xanh .hl-field { width: 100%; box-sizing: border-box; padding: 10px 14px; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--ink); font: 500 15px var(--f-serif); }
.t-hoa-ly-xanh .hl-field::placeholder { color: var(--ink-2); }
.t-hoa-ly-xanh .hl-form__msg { min-height: 18px; font: 600 13px var(--f-serif); color: var(--green-deep); }

/* ---------- 9. mừng cưới ---------- */
.t-hoa-ly-xanh .hl-gift { padding-top: 10px; }
.t-hoa-ly-xanh .hl-gift .hl-title { margin-bottom: 0; }

/* ---------- 10. cảm ơn ---------- */
.t-hoa-ly-xanh .hl-thanks { height: 640px; overflow: hidden; text-align: center; background: var(--green); }
.t-hoa-ly-xanh .hl-thanks__pic { position: absolute; inset: 0 0 120px; }
.t-hoa-ly-xanh .hl-thanks__pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 16%, rgba(102,132,63,0) 58%, var(--green) 100%); }
.t-hoa-ly-xanh .hl-thanks__text { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 40px; color: #fff; }
.t-hoa-ly-xanh .hl-thanks__big { font-size: 58px; }
.t-hoa-ly-xanh .hl-thanks__sub { margin-top: 6px; color: #fff; font-size: 12px; }

/* ---------- màn mở thiệp ---------- */
.t-hoa-ly-xanh .thiepmai-gate__door { background: var(--green); }
.t-hoa-ly-xanh .thiepmai-gate__names { font-family: var(--f-script); font-size: 40px; line-height: 1.15; }
.t-hoa-ly-xanh .thiepmai-credit { background: var(--green); }
.t-hoa-ly-xanh .thiepmai-credit a { background: rgba(255, 255, 255, .9); }

/* chữ số thẳng hàng (shorthand font: đặt lại font-variant) */
.t-hoa-ly-xanh .hl-caps, .t-hoa-ly-xanh .hl-event__lunar, .t-hoa-ly-xanh .hl-event__addr, .t-hoa-ly-xanh .hl-families { font-variant-numeric: lining-nums; }

/* ---------- đếm ngược ---------- */
.t-hoa-ly-xanh .hl-cd { padding-bottom: 8px; }
.t-hoa-ly-xanh .hl-cd__title { font: 600 13px/1.5 var(--f-serif); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.t-hoa-ly-xanh .hl-cd__row { display: flex; justify-content: center; margin-top: 14px; }
.t-hoa-ly-xanh .hl-cd__row p { display: grid; gap: 2px; width: 72px; border-left: 1px solid var(--line); }
.t-hoa-ly-xanh .hl-cd__row p:first-child { border-left: 0; }
.t-hoa-ly-xanh .hl-cd__row b { font: 500 34px var(--f-serif); color: var(--green); font-variant-numeric: lining-nums tabular-nums; }
.t-hoa-ly-xanh .hl-cd__row span { font: 600 11px var(--f-serif); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
