/* Mẫu Khung Song Hỷ — viền đỏ son, nền kem xen khối đỏ đảo màu, góc hoa văn chữ Hồi, hoa ly line-art. Bố cục flow. */

.t-song-hy {
  --sh-red: #a3161b;
  --sh-red-deep: #8a0f14;
  --sh-cream: #f6ecdc;
  --sh-cream-2: #efe1ca;
  --sh-ink: #5a1a14;
  --f-serif: "Noto Serif Display", Georgia, serif;
  --f-body: "Cormorant Garamond", Georgia, serif;
  --f-script: "Dancing Script", cursive;
  --f-hy: "Vela Hy", "Noto Serif TC", serif;
  --gate-bg: #a3161b;
  --gate-ink: #a3161b;
  --accent-strong: #a3161b;
}
.t-song-hy .vela-frame { background: var(--sh-red); font-variant-numeric: lining-nums; }
.t-song-hy .sh-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- khung section: viền ngoài dày + tấm trong ---------- */
.t-song-hy .sh-s { position: relative; overflow: hidden; padding: 14px 14px 0; }
.t-song-hy .sh-s:last-of-type { padding-bottom: 14px; }
.t-song-hy .sh-s--cream { background: var(--sh-red); }
.t-song-hy .sh-s--red { background: var(--sh-cream); }
.t-song-hy .sh-panel {
  position: relative; z-index: 1;
  padding: 34px 26px 38px;
  text-align: center;
}
.t-song-hy .sh-s--cream .sh-panel { background: var(--sh-cream); color: var(--sh-red); }
.t-song-hy .sh-s--red .sh-panel { background: var(--sh-red); color: var(--sh-cream); }
.t-song-hy .sh-panel::before {
  content: ""; position: absolute; inset: 7px; pointer-events: none;
  border: 1px solid currentColor; opacity: .55;
}

/* khung kẻ mảnh có góc chữ Hồi */
.t-song-hy .sh-frame { padding: 44px 34px 46px; }
.t-song-hy .sh-frame::after {
  content: ""; position: absolute; inset: 18px; pointer-events: none;
  border: 1px solid currentColor; opacity: .7;
  clip-path: polygon(0 34px, 34px 34px, 34px 0, calc(100% - 34px) 0, calc(100% - 34px) 34px, 100% 34px, 100% calc(100% - 34px), calc(100% - 34px) calc(100% - 34px), calc(100% - 34px) 100%, 34px 100%, 34px calc(100% - 34px), 0 calc(100% - 34px));
}
.t-song-hy .sh-corner { position: absolute; width: 40px; height: 40px; color: currentColor; }
.t-song-hy .sh-corner--tl { left: 16px; top: 16px; }
.t-song-hy .sh-corner--tr { right: 16px; top: 16px; transform: scaleX(-1); }
.t-song-hy .sh-corner--bl { left: 16px; bottom: 16px; transform: scaleY(-1); }
.t-song-hy .sh-corner--br { right: 16px; bottom: 16px; transform: scale(-1, -1); }

/* hoa ly chìm */
.t-song-hy .sh-lily { position: absolute; z-index: 2; pointer-events: none; opacity: .16; }
.t-song-hy .sh-s--cream .sh-lily { color: var(--sh-red); }
.t-song-hy .sh-s--red .sh-lily { color: var(--sh-cream); opacity: .14; }
.t-song-hy .sh-lily--hero { right: -46px; bottom: 60px; width: 200px; height: 260px; transform: rotate(-12deg); }
.t-song-hy .sh-lily--card { left: -40px; top: 360px; width: 230px; height: 300px; transform: rotate(10deg); }
.t-song-hy .sh-lily--cal { left: -60px; bottom: -40px; width: 200px; height: 260px; transform: rotate(18deg); }
.t-song-hy .sh-lily--rsvp { right: -50px; top: 20px; width: 190px; height: 250px; transform: rotate(-20deg); }

/* ---------- chữ dùng chung ---------- */
.t-song-hy .sh-kicker {
  font-family: var(--f-serif); font-size: 13px; letter-spacing: 8px; text-transform: uppercase;
  padding-left: 8px; opacity: .9;
}
.t-song-hy .sh-title {
  margin: 8px 0 20px;
  font-family: var(--f-serif); font-weight: 600; font-size: 27px; line-height: 1.3; letter-spacing: 1px;
  text-wrap: balance;
}
.t-song-hy .sh-lead { font-family: var(--f-body); font-size: 18px; line-height: 1.5; margin: -6px 0 18px; }
.t-song-hy .sh-photo { position: relative; overflow: hidden; background: var(--sh-cream-2); }
.t-song-hy .sh-photo img { width: 100%; height: 100%; object-fit: cover; }

.t-song-hy .sh-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.t-song-hy .sh-btn {
  display: inline-block; padding: 11px 22px;
  border: 1px solid var(--sh-red); border-radius: 2px;
  background: var(--sh-red); color: var(--sh-cream);
  font-family: var(--f-serif); font-size: 14px; letter-spacing: 2px; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 0 0 3px var(--sh-cream), 0 0 0 4px var(--sh-red);
}
.t-song-hy .sh-btn--ghost { background: transparent; color: var(--sh-red); }
.t-song-hy .sh-btn--light { background: var(--sh-cream); color: var(--sh-red); border-color: var(--sh-cream); box-shadow: 0 0 0 3px var(--sh-red), 0 0 0 4px var(--sh-cream); }
.t-song-hy .sh-btn--wide { width: 100%; margin-top: 6px; }
.t-song-hy .sh-btn:disabled { opacity: .6; }

/* ---------- 1. bìa ---------- */
.t-song-hy .sh-hero .sh-panel { padding-top: 30px; }
.t-song-hy .sh-photo--cover { margin: 18px auto 0; width: 100%; aspect-ratio: 3 / 4; }
.t-song-hy .sh-hero__title {
  position: relative; display: inline-block;
  margin-top: 16px;
  font-family: var(--f-script); font-weight: 700; font-size: 50px; line-height: 1.1;
  color: var(--sh-red); transform: rotate(-4deg);
  text-wrap: balance;
}
.t-song-hy .sh-heart { display: inline-block; width: 16px; height: 15px; margin-left: 6px; vertical-align: top; fill: var(--sh-red); }
.t-song-hy .sh-hero__names { margin-top: 14px; font-family: var(--f-serif); font-weight: 500; font-size: 22px; letter-spacing: 1px; }
.t-song-hy .sh-hero__names span { font-family: var(--f-script); font-size: 1.1em; margin: 0 4px; }
.t-song-hy .sh-couplet { margin-top: 14px; font-family: var(--f-body); font-weight: 600; font-size: 18px; line-height: 1.55; }
.t-song-hy .sh-couplet span { display: block; }

/* ---------- 2. thư mời ---------- */
.t-song-hy .sh-card .sh-panel { position: relative; }
.t-song-hy .sh-hyrow { display: flex; align-items: center; justify-content: center; gap: 18px; }
.t-song-hy .sh-hyrow__side { font-family: var(--f-serif); font-weight: 600; font-size: 24px; line-height: 1.1; }
.t-song-hy .sh-hyrow__side small { display: block; margin-top: 4px; font-family: var(--f-body); font-weight: 500; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; opacity: .85; }
.t-song-hy .sh-hy { font-family: var(--f-hy); font-size: 76px; line-height: 1; }
.t-song-hy .sh-letter { margin-top: 22px; font-family: var(--f-body); font-weight: 600; font-size: 18px; line-height: 1.6; }
.t-song-hy .sh-letter b { font-family: var(--f-script); font-weight: 700; font-size: 26px; line-height: 1.3; }
.t-song-hy .sh-couple { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 10px; margin: 24px 0 8px; }
.t-song-hy .sh-couple__who { font-family: var(--f-serif); font-weight: 600; font-size: 24px; line-height: 1.2; }
.t-song-hy .sh-couple__who small { display: block; margin-bottom: 6px; font-family: var(--f-body); font-weight: 600; font-size: 16px; letter-spacing: 2px; }
.t-song-hy .sh-seal {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 2px;
  border: 1.5px solid currentColor; border-radius: 50%;
  font-family: var(--f-hy); font-size: 22px; line-height: 1;
  box-shadow: inset 0 0 0 3px var(--sh-red), inset 0 0 0 4px currentColor;
}
.t-song-hy .sh-label { margin-top: 22px; font-family: var(--f-body); font-weight: 600; font-size: 17px; letter-spacing: 3px; }
.t-song-hy .sh-when { margin-top: 6px; font-family: var(--f-serif); font-size: 18px; line-height: 1.5; }
.t-song-hy .sh-when b { font-weight: 600; font-size: 26px; letter-spacing: 4px; }
.t-song-hy .sh-lunar { margin-top: 2px; font-family: var(--f-body); font-style: italic; font-size: 16px; }
.t-song-hy .sh-where { margin-top: 6px; font-family: var(--f-serif); font-weight: 600; font-size: 19px; line-height: 1.4; }
.t-song-hy .sh-addr { margin-top: 4px; font-family: var(--f-body); font-size: 16px; line-height: 1.45; opacity: .9; }
.t-song-hy .sh-hosts { margin-top: 24px; font-family: var(--f-body); font-weight: 600; font-size: 16px; line-height: 1.55; }
.t-song-hy .sh-hosts span { display: block; }
.t-song-hy .sh-hosts em { display: block; margin-top: 2px; font-size: 15px; letter-spacing: 1px; }
.t-song-hy .sh-motto {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(246, 236, 220, .45);
  font-family: var(--f-serif); font-weight: 600; font-size: 19px; line-height: 1.45; text-wrap: balance;
}

/* ---------- 3. hai gia đình ---------- */
.t-song-hy .sh-fam { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.t-song-hy .sh-photo--arch { aspect-ratio: 3 / 4; border-radius: 80px 80px 0 0; box-shadow: 0 0 0 4px var(--sh-cream), 0 0 0 5px var(--sh-red); margin: 5px 5px 0; }
.t-song-hy .sh-fam__side { margin-top: 14px; font-family: var(--f-serif); font-weight: 600; font-size: 18px; letter-spacing: 2px; text-transform: uppercase; }
.t-song-hy .sh-fam__parents { margin-top: 6px; font-family: var(--f-body); font-weight: 600; font-size: 16px; line-height: 1.45; }
.t-song-hy .sh-fam__addr { margin-top: 4px; font-family: var(--f-body); font-style: italic; font-size: 14px; line-height: 1.4; opacity: .8; }
.t-song-hy .sh-fam__role { margin-top: 12px; font-family: var(--f-body); font-size: 14px; letter-spacing: 3px; text-transform: uppercase; }
.t-song-hy .sh-fam__name { font-family: var(--f-script); font-weight: 700; font-size: 25px; line-height: 1.25; }
.t-song-hy .sh-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.t-song-hy .sh-photo--duo { aspect-ratio: 3 / 4; }
.t-song-hy .sh-photo--duo1 { margin-top: 28px; }

/* ---------- 4. lễ & tiệc ---------- */
.t-song-hy .sh-ev__title { font-family: var(--f-serif); font-weight: 600; font-size: 21px; letter-spacing: 2px; text-transform: uppercase; line-height: 1.35; }
.t-song-hy .sh-ev__time { margin-top: 6px; font-family: var(--f-serif); font-weight: 500; font-size: 42px; line-height: 1.1; }
.t-song-hy .sh-ev__date { margin-top: 4px; font-family: var(--f-body); font-weight: 600; font-size: 18px; letter-spacing: 1px; }
.t-song-hy .sh-ev__lunar { font-family: var(--f-body); font-style: italic; font-size: 15px; opacity: .9; }
.t-song-hy .sh-ev__place { margin-top: 8px; font-family: var(--f-body); font-weight: 600; font-size: 17px; line-height: 1.4; }
.t-song-hy .sh-divider { display: flex; align-items: center; gap: 12px; margin: 24px 10px; }
.t-song-hy .sh-divider i { flex: 1; height: 1px; background: currentColor; opacity: .5; }
.t-song-hy .sh-divider b { font-family: var(--f-hy); font-weight: 400; font-size: 22px; }

/* sự kiện thêm (gói 2) */
.t-song-hy .vela-events { background: var(--sh-cream); padding: 14px; }
.t-song-hy .vela-event { margin: 0 0 10px; border-radius: 0; border-color: var(--sh-red); background: #fffaf2; color: var(--sh-red); font-family: var(--f-body); }
.t-song-hy .vela-event__title { font-family: var(--f-serif); }
.t-song-hy .vela-event__map { border-radius: 2px; background: var(--sh-red); }

/* ---------- 5. lịch ---------- */
.t-song-hy .sh-grid { font-family: var(--f-serif); }
.t-song-hy .sh-grid__row { display: grid; grid-template-columns: repeat(7, 1fr); }
.t-song-hy .sh-grid__row span { display: grid; place-items: center; height: 40px; font-size: 16px; }
.t-song-hy .sh-grid__row--head span { height: 34px; font-family: var(--f-body); font-weight: 600; font-size: 14px; letter-spacing: 1px; border-bottom: 1px solid rgba(163, 22, 27, .35); margin-bottom: 6px; }
.t-song-hy .sh-grid .is-sun { font-weight: 600; }
.t-song-hy .sh-grid .is-day { position: relative; color: var(--sh-cream); font-weight: 600; z-index: 0; }
.t-song-hy .sh-grid .is-day::before {
  content: ""; position: absolute; inset: 3px; z-index: -1;
  margin: auto; width: 36px; height: 36px; border-radius: 50%;
  background: var(--sh-red); box-shadow: 0 0 0 2px var(--sh-cream), 0 0 0 3px var(--sh-red);
}
.t-song-hy .sh-count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 22px; }
.t-song-hy .sh-count div { padding: 10px 0 8px; background: var(--sh-red); color: var(--sh-cream); outline: 1px solid var(--sh-cream); outline-offset: -4px; }
.t-song-hy .sh-count span { display: block; font-family: var(--f-serif); font-weight: 600; font-size: 26px; line-height: 1.1; }
.t-song-hy .sh-count small { font-family: var(--f-body); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }

/* ---------- 6. lịch trình ---------- */
.t-song-hy .sh-steps { position: relative; list-style: none; margin: 0; padding: 0; text-align: left; }
.t-song-hy .sh-steps::before { content: ""; position: absolute; left: 76px; top: 10px; bottom: 10px; width: 1px; background: currentColor; opacity: .5; }
.t-song-hy .sh-steps li { display: grid; grid-template-columns: 64px 24px 1fr; align-items: start; column-gap: 0; padding: 9px 0; }
.t-song-hy .sh-steps__time { font-family: var(--f-serif); font-weight: 600; font-size: 18px; text-align: right; padding-right: 2px; }
.t-song-hy .sh-steps__dot { justify-self: center; width: 11px; height: 11px; margin-top: 7px; border-radius: 50%; background: var(--sh-cream); box-shadow: 0 0 0 3px var(--sh-red), 0 0 0 4px var(--sh-cream); }
.t-song-hy .sh-steps__text { padding-left: 8px; font-family: var(--f-serif); font-size: 18px; line-height: 1.35; }
.t-song-hy .sh-steps__text small { display: block; margin-top: 2px; font-family: var(--f-body); font-style: italic; font-size: 15px; opacity: .85; }

/* ---------- 7. địa điểm ---------- */
.t-song-hy .sh-venue__name { font-family: var(--f-serif); font-weight: 600; font-size: 20px; line-height: 1.4; }
.t-song-hy .sh-venue__addr { margin-top: 4px; font-family: var(--f-body); font-weight: 600; font-size: 17px; line-height: 1.45; }
.t-song-hy .sh-map { margin-top: 16px; padding: 5px; border: 1px solid var(--sh-red); }
.t-song-hy .sh-map iframe { display: block; width: 100%; height: 230px; border: 0; background: var(--sh-cream-2); }

/* ---------- 8. album ---------- */
.t-song-hy .sh-album__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.t-song-hy .sh-album__item { overflow: hidden; background: rgba(246, 236, 220, .2); outline: 1px solid var(--sh-cream); outline-offset: 3px; margin: 4px; }
.t-song-hy .sh-album__item img { width: 100%; height: 100%; object-fit: cover; }
.t-song-hy .sh-album__item--wide { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.t-song-hy .sh-album__item--tall { aspect-ratio: 3 / 4; }

/* ---------- 9. rsvp + mừng cưới ---------- */
.t-song-hy .sh-form { display: grid; gap: 10px; text-align: left; }
.t-song-hy .sh-field {
  width: 100%; padding: 12px 14px;
  border: 1px solid rgba(163, 22, 27, .55); border-radius: 0;
  background: #fffaf2; color: var(--sh-ink);
  font-family: var(--f-body); font-weight: 600; font-size: 17px;
}
.t-song-hy .sh-field::placeholder { color: #a47a70; }
.t-song-hy .sh-field:focus { outline: 2px solid var(--sh-red); outline-offset: 1px; }
.t-song-hy textarea.sh-field { resize: vertical; }
.t-song-hy .sh-form__msg { min-height: 20px; font-family: var(--f-body); font-weight: 600; font-size: 16px; text-align: center; }
.t-song-hy .sh-envelope { display: block; width: 110px; height: 78px; margin: 0 auto 8px; }
.t-song-hy .sh-gift .sh-title { margin-bottom: 12px; }
.t-song-hy .sh-gift .sh-lead { margin: 0 0 20px; }

/* ---------- 10. kết ---------- */
.t-song-hy .sh-photo--closing { aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; }
.t-song-hy .sh-closing__title { margin-top: 18px; font-size: 46px; }
.t-song-hy .sh-closing__text { margin-top: 8px; font-family: var(--f-body); font-weight: 600; font-size: 17px; letter-spacing: 2px; text-transform: uppercase; }
.t-song-hy .sh-closing__date { margin: 6px 0 22px; font-family: var(--f-serif); font-size: 16px; letter-spacing: 5px; }

.t-song-hy .sh-footer {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  padding: 14px 16px 6px; background: var(--sh-red); color: var(--sh-cream);
  font-family: var(--f-body); font-weight: 600; font-size: 15px; letter-spacing: 1px;
}
.t-song-hy .sh-footer span:first-child { font-family: var(--f-hy); font-size: 18px; }
.t-song-hy .vela-credit { background: var(--sh-red); }

/* ---------- màn mở thiệp ---------- */
.t-song-hy .vela-gate__door {
  background:
    linear-gradient(90deg, transparent 0 14px, rgba(246, 236, 220, .35) 14px 15px, transparent 15px) ,
    var(--sh-red);
}
.t-song-hy .vela-gate__door--r { background: linear-gradient(270deg, transparent 0 14px, rgba(246, 236, 220, .35) 14px 15px, transparent 15px), var(--sh-red); }
.t-song-hy .vela-gate__card {
  background: var(--sh-cream); color: var(--sh-red);
  padding: 70px 26px 34px;
  outline: 1px solid var(--sh-red); outline-offset: -10px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .35);
}
.t-song-hy .vela-gate__card::before {
  content: "囍"; position: absolute; left: 0; right: 0; top: 18px;
  font-family: var(--f-hy); font-size: 42px; line-height: 1; color: var(--sh-red);
}
.t-song-hy .vela-gate__label { font-family: var(--f-body); font-weight: 600; font-size: 15px; letter-spacing: 3px; }
.t-song-hy .vela-gate__guest { font-family: var(--f-script); font-weight: 700; font-size: 40px; }
.t-song-hy .vela-gate__names { font-family: var(--f-serif); font-weight: 600; font-size: 26px; }
.t-song-hy .vela-gate__names span { font-family: var(--f-script); }
.t-song-hy .vela-gate__date { font-family: var(--f-serif); color: var(--sh-red); }
.t-song-hy .vela-gate__open { border-radius: 2px; background: var(--sh-red); color: var(--sh-cream); font-family: var(--f-serif); font-weight: 500; letter-spacing: 3px; box-shadow: 0 0 0 3px var(--sh-cream), 0 0 0 4px var(--sh-red); }

/* bottom sheet */
.t-song-hy .vela-btn { border-radius: 2px; background: var(--sh-red); color: var(--sh-cream); }
.t-song-hy .vela-btn--ghost { background: #f3e9e0; color: var(--sh-red); }
