/* Mẫu Xanh Bình Yên — theo video mẫu chủ shop gửi (đã xin phép). Màu đo từ video: nền xanh lá #619043, thẻ sự kiện #7a9963,
   chữ trắng; tên/tiêu đề viết tay (Great Vibes), chữ in hoa có chân (Cormorant Garamond). Góc vuông. */

.t-xanh-binh-yen {
  --green: #619043;
  --green-2: #7a9963;
  --green-deep: #4c7334;
  --ink: #ffffff;
  --soft: rgba(255, 255, 255, .86);
  --line: rgba(255, 255, 255, .75);
  --f-script: "Great Vibes", cursive;
  --f-serif: "Cormorant Garamond", Georgia, serif;
  --gate-bg: #619043;
  --gate-ink: #ffffff;
  color: var(--ink);
  font-family: var(--f-serif);
}
.t-xanh-binh-yen .thiepmai-frame { background: var(--green); }
.t-xanh-binh-yen .thiepmai-frame > section { position: relative; }
.t-xanh-binh-yen p, .t-xanh-binh-yen h1, .t-xanh-binh-yen h2 { margin: 0; }
.t-xanh-binh-yen .ph { inset: 0; }

/* chữ dùng chung */
.t-xanh-binh-yen .xd-sec { padding: 40px 26px; text-align: center; }
.t-xanh-binh-yen .xd-caps { font: 600 13px/1.5 var(--f-serif); letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.t-xanh-binh-yen .xd-script { font: 400 34px/1.15 var(--f-script); color: var(--ink); }
.t-xanh-binh-yen .xd-script i { font-style: normal; font-size: .8em; }
.t-xanh-binh-yen .xd-title { margin-bottom: 18px; }
.t-xanh-binh-yen .xd-card { position: relative; overflow: hidden; border: 5px solid #fff; background: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .14); }
.t-xanh-binh-yen .xd-btn {
  display: inline-block; margin-top: 14px; padding: 6px 30px; border: 1px solid var(--line); background: transparent; color: #fff;
  font: 600 12px var(--f-serif); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer;
}
.t-xanh-binh-yen .xd-btn--fill { width: 100%; margin-top: 4px; padding: 10px; border-color: #f7e4ea; background: #f7e4ea; color: var(--green-deep); }
.t-xanh-binh-yen .xd-calla { display: block; width: 92px; margin: 12px auto 0; color: #fff; }
.t-xanh-binh-yen .xd-calla--up { width: 26px; margin-top: 22px; }

/* ---------- 1. bìa ---------- */
.t-xanh-binh-yen .xd-cover { height: 700px; overflow: hidden; text-align: center; }
.t-xanh-binh-yen .xd-cover__pic { position: absolute; inset: 0 0 150px; }
.t-xanh-binh-yen .xd-cover__pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(97,144,67,0) 52%, rgba(97,144,67,.6) 78%, var(--green) 100%); }
.t-xanh-binh-yen .xd-cover__pic img { object-position: center 20%; }
.t-xanh-binh-yen .xd-cover__text { position: absolute; left: 0; right: 0; bottom: 40px; }
.t-xanh-binh-yen .xd-cover__names { margin-top: 4px; font-size: 44px; text-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
.t-xanh-binh-yen .xd-cover__date { margin-top: 6px; color: #fff; font-size: 14px; letter-spacing: .12em; }

/* ---------- 2. đếm ngược ---------- */
.t-xanh-binh-yen .xd-cd { padding-top: 26px; }
.t-xanh-binh-yen .xd-cd__row { display: flex; justify-content: center; gap: 26px; margin-top: 14px; }
.t-xanh-binh-yen .xd-cd__row p { display: grid; gap: 2px; }
.t-xanh-binh-yen .xd-cd__row b { font: 500 30px var(--f-serif); font-variant-numeric: lining-nums tabular-nums; color: #fff; }
.t-xanh-binh-yen .xd-cd__row span { font: 600 12px var(--f-serif); color: var(--soft); }

/* ---------- 3. hai ảnh ---------- */
.t-xanh-binh-yen .xd-duo { display: grid; gap: 22px; padding: 10px 40px 20px; }
.t-xanh-binh-yen .xd-duo .xd-card { height: 400px; }
.t-xanh-binh-yen .xd-card--l { margin-right: 26px; rotate: -1.5deg; }
.t-xanh-binh-yen .xd-card--r { margin-left: 26px; rotate: 1.5deg; }

/* ---------- 4. lịch ---------- */
.t-xanh-binh-yen .xd-cal__grid { margin-top: 4px; }
.t-xanh-binh-yen .xd-cal__row { display: grid; grid-template-columns: repeat(7, 1fr); }
.t-xanh-binh-yen .xd-cal__row span { position: relative; display: grid; place-items: center; height: 38px; font: 500 16px var(--f-serif); font-variant-numeric: lining-nums; }
.t-xanh-binh-yen .xd-cal__row--head span { height: 30px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--soft); }
.t-xanh-binh-yen .xd-cal__row span.is-day svg { position: absolute; width: 34px; height: 32px; }
.t-xanh-binh-yen .xd-cal__row span.is-day b { position: relative; font-weight: 700; color: var(--green); }

/* ---------- 5. lời mời + hai người ---------- */
.t-xanh-binh-yen .xd-invite__lead { color: #fff; }
.t-xanh-binh-yen .xd-invite__names { margin-top: 10px; }
.t-xanh-binh-yen .xd-couple { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.t-xanh-binh-yen .xd-couple figure { margin: 0; }
.t-xanh-binh-yen .xd-couple .xd-card { height: 210px; }
.t-xanh-binh-yen .xd-couple figcaption { margin-top: 12px; font: 500 14px/1.5 var(--f-serif); color: #fff; }
.t-xanh-binh-yen .xd-couple figcaption b { display: block; color: #fff; }

/* ---------- 6. lễ & tiệc ---------- */
.t-xanh-binh-yen .xd-events { display: grid; gap: 18px; padding-top: 16px; }
.t-xanh-binh-yen .xd-event { padding: 24px 18px 26px; background: var(--green-2); box-shadow: 0 6px 16px rgba(0, 0, 0, .08); }
.t-xanh-binh-yen .xd-event__title { font-size: 15px; color: #fff; }
.t-xanh-binh-yen .xd-event__at { margin-top: 2px; font-size: 12px; }
.t-xanh-binh-yen .xd-event__date { display: inline-block; margin-top: 10px; padding: 3px 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font: 700 19px var(--f-serif); letter-spacing: .06em; font-variant-numeric: lining-nums; }
.t-xanh-binh-yen .xd-event__lunar { margin-top: 6px; font-size: 11px; }
.t-xanh-binh-yen .xd-pin { display: block; width: 16px; height: 20px; margin: 16px auto 0; }
.t-xanh-binh-yen .xd-event__place { margin-top: 4px; font-size: 28px; }
.t-xanh-binh-yen .xd-event__addr { margin-top: 4px; font-size: 11px; }
.t-xanh-binh-yen .thiepmai-events { padding: 0 26px 10px; }
.t-xanh-binh-yen .thiepmai-event { background: var(--green-2); color: #fff; }

/* ---------- 7. lịch trình ---------- */
.t-xanh-binh-yen .xd-program__list { margin: 0; padding: 0; list-style: none; }
.t-xanh-binh-yen .xd-program__list li { display: grid; grid-template-columns: 70px 1fr; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(255, 255, 255, .4); text-align: left; }
.t-xanh-binh-yen .xd-program__list b { font: 700 18px var(--f-serif); font-variant-numeric: lining-nums; }
.t-xanh-binh-yen .xd-program__list small { grid-column: 2; font: italic 400 14px var(--f-serif); color: var(--soft); }

/* ---------- 8. trang phục ---------- */
.t-xanh-binh-yen .xd-dress__text { font-size: 12px; }
.t-xanh-binh-yen .xd-dress__dots { display: flex; justify-content: center; gap: 24px; margin-top: 16px; }
.t-xanh-binh-yen .xd-dress__dots p { display: grid; justify-items: center; gap: 6px; }
.t-xanh-binh-yen .xd-dress__dots i { width: 28px; height: 28px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, .6); }
.t-xanh-binh-yen .xd-dress__dots span { font-size: 10px; }

/* ---------- 9. album ---------- */
.t-xanh-binh-yen .xd-album__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.t-xanh-binh-yen .xd-album__grid .xd-card { height: 230px; }

/* ---------- 10. xác nhận ---------- */
.t-xanh-binh-yen .xd-rsvp__lead { color: #fff; }
.t-xanh-binh-yen .xd-form { display: grid; gap: 10px; margin-top: 16px; }
.t-xanh-binh-yen .xd-field { width: 100%; box-sizing: border-box; padding: 9px 14px; border: 1px solid var(--line); border-radius: 0; background: transparent; color: #fff; font: 500 14px var(--f-serif); }
.t-xanh-binh-yen .xd-field::placeholder { color: var(--soft); }
.t-xanh-binh-yen select.xd-field option { color: #222; }
.t-xanh-binh-yen .xd-form__msg { min-height: 18px; font: 600 13px var(--f-serif); }

/* ---------- 11. mừng cưới (popup QR dùng khung chung) ---------- */
.t-xanh-binh-yen .xd-gift .xd-title { margin-bottom: 4px; }
.t-xanh-binh-yen .xd-gift .xd-btn { padding: 9px 40px; font-size: 13px; }

/* ---------- 12. cảm ơn ---------- */
.t-xanh-binh-yen .xd-thanks { height: 620px; margin-top: 20px; overflow: hidden; text-align: center; }
.t-xanh-binh-yen .xd-thanks::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, var(--green) 0%, rgba(97,144,67,0) 22%, rgba(0,0,0,0) 60%, rgba(40,60,28,.55) 100%); }
.t-xanh-binh-yen .xd-thanks__big { position: absolute; z-index: 2; left: 0; right: 0; bottom: 70px; font-size: 48px; }
.t-xanh-binh-yen .xd-thanks__sub { position: absolute; z-index: 2; left: 30px; right: 30px; bottom: 36px; color: #fff; font-size: 12px; }

/* ---------- màn mở thiệp: cửa xanh, dấu sáp màu kem ---------- */
.t-xanh-binh-yen .thiepmai-gate__door { background: var(--green); }
.t-xanh-binh-yen .thiepmai-gate__label { font-family: var(--f-serif); font-size: 13.5px; font-weight: 700; letter-spacing: .14em; }
.t-xanh-binh-yen .thiepmai-gate__guest { font-family: var(--f-serif); font-size: 34px; font-weight: 700; line-height: 1.3; }
.t-xanh-binh-yen .thiepmai-gate__names { font-family: var(--f-serif); font-size: 28px; font-weight: 700; line-height: 1.3; text-wrap: balance; }
.t-xanh-binh-yen .thiepmai-gate__date { font-family: var(--f-serif); font-size: 16px; font-weight: 700; letter-spacing: .2em; }
.t-xanh-binh-yen .thiepmai-seal__wax { filter: sepia(1) saturate(.9) hue-rotate(-8deg) brightness(1.55); }
.t-xanh-binh-yen .thiepmai-seal__mark { color: #a08a5a; }
.t-xanh-binh-yen .thiepmai-credit { background: var(--green); }
.t-xanh-binh-yen .thiepmai-credit a { background: rgba(255, 255, 255, .9); }

.t-xanh-binh-yen .xd-quote { padding-top: 24px; padding-bottom: 8px; }
.t-xanh-binh-yen .xd-quote .xd-caps { margin: 0; line-height: 2; }
.t-xanh-binh-yen .xd-wide { height: 380px; }
.t-xanh-binh-yen .xd-widewrap { padding-top: 8px; padding-bottom: 8px; }
.t-xanh-binh-yen .xd-way .xd-caps { margin-top: 10px; }
.t-xanh-binh-yen .xd-way__btns { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
