/* Tokens */
:root {
    --t1-primary: #701620;
    --t1-secondary: #D8C7A3;
    --olive-dark: #7F0404;
}

@media (max-width: 420px) {
    .env-card {
        padding: 2rem 1.6rem 2rem;
        border-radius: 18px;
    }

    .env-name {
        font-size: clamp(2rem, 11vw, 2.5rem);
    }
}

*/ body {
    --olive-dark: #5E8950;
    background: var(--body-bg);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(126, 203, 160, 0.08) 0%, transparent 70%);
    font-family: 'Lato', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

/* ===================== ENVELOPE SCENE ===================== */
#envelope-scene.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ===================== INVITATION CONTENT ===================== */
#invitation-content {
    display: none;
    width: 100%;
    max-width: 786px;
    margin: 0 auto;
    opacity: 0;
    overflow: hidden;
    transition: opacity 0.8s ease, padding-top 0.8s ease;
    box-sizing: border-box;
    box-shadow:
        0 0 0 1px rgba(126, 203, 160, 0.10),
        0 40px 80px rgba(0, 0, 0, 0.6);
}

#invitation-content.visible {
    opacity: 1;
    padding-top: 0;
}

.ws-section {
    padding-inline: clamp(20px, 2.46vw + 9.7px, 29px);
    padding-block: 38px;
}


.section-title {
    font-size: clamp(30px, 2.5vw + 20px, 48px);
    text-align: center;
    margin-bottom: clamp(16px, 2vw + 6px, 24px);
    text-shadow: 0 0 30px rgba(126, 203, 160, 0.25);
    color: #FFE5C7;
    font-family: "Playball", cursive;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
}

/* ===================== AOS ===================== */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* ===================== AOS ===================== */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

#envelope-scene {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #9A1821 0%, #4D070D 100%);
    overflow: hidden;
    transition: opacity 0.85s ease, transform 0.85s ease;
}

#envelope-scene.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.04);
}

#envelope-scene.is-opening {
    pointer-events: none;
}

.env-title {
    color: #F3DBAB;
    text-align: center;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 2.88px;
}



/* Leaf scatter overlay */
.env-leaf-scatter {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.env-leaf-scatter img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    mix-blend-mode: multiply;
}

.env-leaf-scatter img[src*="PLACEHOLDER"] {
    opacity: 0;
}

/* ── Falling leaves ── */
.env-petals {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
}

.ws-leaf {
    position: absolute;
    top: -80px;
    opacity: 0;
    will-change: transform, opacity;
    animation: wsLeafFall linear infinite;
}

.ws-leaf svg {
    display: block;
    animation: wsLeafSway ease-in-out infinite alternate;
}

@keyframes wsLeafFall {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    5% {
        opacity: 0.75;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(115vh) translateX(var(--sway-x, 40px));
        opacity: 0;
    }
}

@keyframes wsLeafSway {
    0% {
        transform: rotate(var(--rot-start, -20deg)) scale(var(--leaf-scale, 1));
    }

    100% {
        transform: rotate(var(--rot-end, 20deg)) scale(var(--leaf-scale, 1));
    }
}

/* ── Central cream card ── */
.env-card {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 2.6rem 2rem 2.4rem;
    width: min(500px, calc(100vw - 40px));
    overflow: hidden;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease, box-shadow 0.7s ease;
    will-change: transform, opacity;
    border-radius: 28px;
    border: 0.806px solid rgba(216, 180, 106, 0.45);
    background: rgba(0, 0, 0, 0.11);
}

#envelope-scene.is-opening .env-card {
    transform: translateY(-10px) scale(0.985);
    opacity: 0.72;
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.18),
        0 10px 24px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.env-card-image-left {
    position: absolute;
    left: -39.995px;
    top: 11px;
    width: 180px;
    opacity: 0.5;
}

.env-card-image-right {
    position: absolute;
    right: -34.454px;
    top: -19px;
    width: 171px;
    opacity: 0.5;
}

.env-card-image-bottom-left {
    position: absolute;
    left: -39.995px;
    width: 252px;
    bottom: -90px;
}

.env-card-image-bottom-right {
    position: absolute;
    right: -34.454px;
    width: 280px;
    bottom: -138px;
}

@media (max-width: 768px) {
    .env-card-image-left {
        width: 140px;
    }

    .env-card-image-right {
        width: 137px;
    }

    .env-card-image-bottom-left {
        width: 177px;
        bottom: -62px;
    }

    .env-card-image-bottom-right {
        width: 184px;
        bottom: -90px;
    }
}

.env-text-hy {
    color: #D8B46A;
    text-align: center;
    font-family: Tinos;
    font-size: 86px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 16px;
}

/* ── Names ── */
.env-names {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: relative;
    z-index: 3;
    padding-top: 28px;
    padding-bottom: 18px;
}

.env-name {
    font-size: clamp(2.4rem, 10vw, 3rem);
    font-weight: 400;
    color: #FFF4DF;
    line-height: 1.1;
    letter-spacing: 0.01em;
    display: block;
    font-family: "Playball", cursive;
}

.env-party-invitation {
    text-align: center;
    font-family: "Montserrat";
    font-size: clamp(10px, 1.8vw, 12px);
    font-style: normal;
    font-weight: 500;
    line-height: 15px;
    letter-spacing: 2px;
    margin-top: 16px;
    color: var(--env-green-dark);
    position: relative;
    z-index: 2;
}

.env-amp {
    color: #FFF4DF;
    text-align: center;
    font-family: "Playball", cursive;
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 50.4px;
}

/* ── Date ── */
.env-guestname {
    color: #FFD95E;
    text-align: center;
    font-size: 25px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 2.8px;
    text-transform: capitalize;
    border-bottom: 1px solid #FFD95E;
    border-style: dashed;
    padding-bottom: 10px;
    width: fit-content;
    margin: auto;
    margin-top: 16px;
    font-family: "Playball", cursive;
}

/* ── Invite label ── */
.env-invite-label {
    color: #F3DBAB;
    text-align: center;
    font-family: 'Inter';
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 3.52px;
}

/* ── Open button ── */
.ws-home-envelope-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    padding: 13px 32px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.15s ease, opacity 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 32px;
    z-index: 3;
    color: #4D070D;
    text-align: center;
    font-family: 'Inter';
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 21px;
    border-radius: 999px;
    background: linear-gradient(135deg, #D8B46A 0%, #F8DD9B 100%);
    box-shadow: 0 10px 24px 0 rgba(216, 180, 106, 0.28);
    width: 100%;
}

#envelope-scene.is-opening .ws-home-envelope-toggle {
    opacity: 0.35;
}

.ws-home-envelope-toggle:hover::before {
    transform: translateX(0);
}

.ws-home-envelope-toggle:active {
    transform: scale(0.97);
}

.env-btn-text,
.env-btn-heart {
    position: relative;
    z-index: 1;
}

.env-btn-heart {
    font-size: 1rem;
    opacity: 0.85;
}

/* Couple section */
.general-grid {
    width: min(100%, 500px);
    margin: auto;
    position: relative;
}

.couple-banner {
    height: 650px;
}

.couple-divider {
    width: 1px;
    height: 52px;
    flex-shrink: 0;
    background: rgba(216, 199, 163, 0.50);
    margin: auto;
}

.ws-general-section {
    --ws-general-bg: var(--t1-primary);
    position: relative;
    overflow: hidden;
    min-height: clamp(520px, 124vw, 844px);
    background-color: var(--ws-general-bg);
}

.couple-content-inner {
    display: flex;
    flex-direction: column;
}

.couple__save-the-date {
    width: 170px;
    height: auto;
    aspect-ratio: 205/93;
    display: block;
    margin: auto;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .couple-banner {
        height: 500px;
    }

    .couple-divider {
        height: 32px;
    }

    .couple__save-the-date {
        width: 150px;
    }
}

.ws-couple__divider,
.ws-couple__name {
    color: #FFF4DF;
    text-align: center;
    font-family: "Playball", cursive;
    font-size: clamp(48px, 4vw + 2rem, 72px);
    font-style: normal;
    font-weight: 400;
    line-height: 1.1;
}

.couple-desc {
    color: #F3DBAB;
    text-align: center;
    font-family: 'Inter';
    font-size: clamp(14px, 0.5vw + 0.75rem, 17px);
    font-style: normal;
    font-weight: 400;
    line-height: 1.6;
    margin-top: clamp(18px, 1.5vw, 28px);
}

.couple__welcome {
    color: #D8C7A3;
    text-align: center;
    font-family: Inter;
    font-size: clamp(12px, 0.3vw + 0.65rem, 14px);
    font-style: normal;
    font-weight: 600;
    line-height: 1;
    letter-spacing: clamp(1.2px, 0.1vw + 0.05rem, 1.5px);
}

/* Event section */
.info-short-name {
    display: flex;
    width: 48px;
    height: 48px;
    justify-content: center;
    align-items: center;
    border-radius: 9999px;
    border: 1px solid #FFF;
    color: #FFF;
    text-align: center;
    font-family: "Cormorant", serif;
    font-size: 16px;
    font-style: italic;
    font-weight: 500;
    line-height: 24px;
    margin: auto;
}

.ceremony-section {
    background: var(--t1-primary);
    position: relative;
    z-index: 1;
}

.event-info-wrapper {
    background-color: var(--t1-primary);
    position: relative;
    padding-top: 0;
}


.cover-family__parents-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.cover-family__parents-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    padding-block: 24px;
}

.cover-family__parents-label {
    text-align: center;
    font-size: clamp(12px, 1.8vw, 16px);
    color: #FFF;
    text-align: center;
    font-family: 'Montserrat';
    font-weight: 400;
    line-height: 20px;
    text-transform: capitalize;
}

.cover-family__parents-name {
    font-size: clamp(14px, 2vw, 20px);
    color: #FFF;
    text-align: center;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.cover-family__parents-address {
    text-align: center;
    font-family: "Montserrat";
    font-size: clamp(11px, 1.5vw, 15px);
    color: #FFF;
    text-align: center;
    font-family: 'Montserrat';
    font-weight: 400;
    line-height: 20px;
}

.event-info {
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
    align-self: stretch;
    position: relative;
    z-index: 1;
    width: min(100%, 500px);
    margin: auto;
    padding-top: 40px;
}

.event-info-list {
    display: grid;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.event-info__text p {
    font-size: clamp(11px, 1.5vw, 15px);
    color: #FFF;
    text-align: center;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    line-height: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

p.event-info__text-description {
    font-weight: 500;
    margin-top: 24px;
    color: #FFF;
    text-align: center;
    font-family: 'Montserrat';
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px;
    text-transform: uppercase;
}

.event-info__couple-name {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.groom,
.bride {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bride-name,
.groom-name {
    font-size: clamp(36px, 5.5vw, 48px);
    color: #FFF;
    text-align: center;
    font-family: "Playball", cursive;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
}

.event-info__couple-divider {
    color: #FFE6C2;
    text-align: center;
    font-family: "Cormorant", serif;
    font-size: clamp(20px, 1vw + 0.9rem, 28px);
    font-style: italic;
    font-weight: 400;
    line-height: 1.4;
}


.event-calendar {
    display: flex;
    padding: 24px 0;
    flex-direction: column;
    gap: 24px;
    align-self: stretch;
    padding-bottom: 0;
}

.event-calendar:not(:last-child) {
    border-bottom: none;
}

.event-calendar__label {
    font-size: clamp(13px, 1.8vw, 17px);
    color: #FFF;
    text-align: center;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.event-calendar__event-name,
.event-calendar__place {
    color: #4A4A4A;
    text-align: center;
    font-family: "Montserrat";
    font-size: clamp(13px, 1.8vw, 17px);
    font-style: normal;
    line-height: 1.5;
}

.event-calendar__event-name {
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
    color: #fff;
}

.event-calendar+.event-calendar {
    padding-top: 48px;
}

.event-calendar__place {
    font-weight: 400;
    margin-top: 8px;
}

.event-calendar__time {
    font-size: clamp(30px, 4.5vw, 44px);
    color: #FFF;
    text-align: center;
    font-family: "Cormorant", serif;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
}

.event-calendar__month,
.event-calendar__weekday {
    font-size: clamp(13px, 1.8vw, 17px);
    color: #FFF;
    text-align: center;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    line-height: 15px;
    text-transform: uppercase;
}

.event-calendar__day {
    font-size: 48px;
    color: #FFF;
    text-align: center;
    font-family: "Cormorant", serif;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
}

.event-calendar__year {
    font-size: clamp(15px, 2.3vw, 26px);
    color: #FFF;
    text-align: center;
    font-family: "Cormorant", serif;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
}

.event-calendar__vietnamese-date {
    font-size: clamp(12px, 1.6vw, 15px);
    color: #FFF;
    text-align: center;
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 400;
    line-height: 1.5;
}

.event-calendar__date {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    border-top: 1px solid rgba(181, 157, 123, 0.30);
    border-bottom: 1px solid rgba(181, 157, 123, 0.30);
    padding-block: 16px;
}

.event-info__couple-divider-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.48;
    width: 144px;
    height: 144px;
}

.cover-family {
    z-index: 1;
    position: relative;
}

/* Calendar section */
.ws-countdown__label {
    color: #D8C7A3;
    text-align: center;
    font-family: 'Inter';
    font-size: 12px;
    font-weight: 600;
    line-height: 12px;
    letter-spacing: 2.4px;
    padding-bottom: 20px;
}

.ws-countdown__units {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.ws-countdown__unit {
    display: flex;
    flex-direction: column;
}

.ws-countdown__num {
    color: #FDF8F2;
    text-align: center;
    font-family: "Playfair Display";
    font-size: 36px;
    font-weight: 700;
    line-height: 43.2px;
}

.ws-countdown__name {
    color: #D8C7A3;
    text-align: center;
    font-family: 'Inter';
    font-size: 10px;
    font-weight: 400;
    line-height: 15px;
    text-transform: uppercase;
}

.ws-countdown__sep {
    color: #D8C7A3;
    text-align: center;
    font-family: "Playfair Display";
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.rsvp-footer .ws-button.primary {
    background-color: #7F0404;
    color: #FFE088;
    text-transform: uppercase;
}

.rsvp-footer .ws-button.ternary {
    text-transform: uppercase;
}


.rsvp__choice input {
    accent-color: #7F0404;
}

.calendar-section-wrapper {
    margin: auto;
    width: min(100%, 500px);
}

.formal-section {
    background: var(--t1-primary);
    position: relative;
    z-index: 2;
}

.calendar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    align-self: stretch;
    border-radius: 18px;
    position: relative;
    z-index: 1;
    padding-top: 76px;
}

.party-item {
    display: flex;
    padding: 32px;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    align-self: stretch;
    border-radius: 4px;
    border: 1px solid rgba(216, 199, 163, 0.30);
    background: #82242C;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.party-item__title {
    color: #D8C7A3;
    text-align: center;
    font-family: 'Inter';
    font-size: 12px;
    font-weight: 600;
    line-height: 12px;
    letter-spacing: 1.2px;
}

.party-item__divider {
    width: 48px;
    height: 1px;
    background: #D8C7A3;
}

.party-item__date {
    color: #FDF8F2;
    text-align: center;
    font-family: "Playfair Display";
    font-size: 24px;
    font-weight: 600;
    line-height: 33.6px;
    padding-top: 16px;
}

.party-item__time {
    color: #D8C7A3;
    text-align: center;
    font-family: 'Inter';
    font-size: 16px;
    font-weight: 400;
    line-height: 25.6px;
}

.party-item__place {
    color: #FDF8F2;
    text-align: center;
    font-family: 'Inter';
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 28.8px;
    margin-top: 16px;
    text-transform: capitalize;
}

.party-item__address {
    color: #D8C7A3;
    text-align: center;
    font-family: 'Inter';
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
    line-height: 24px;
}

.party-item__button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #F3E1BB;
    text-align: center;
    font-family: 'Inter';
    font-size: 12px;
    line-height: 12px;
    letter-spacing: 1.2px;
    border: none;
    background: none;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(216, 199, 163, 0.30);
    cursor: pointer;
}

.party-item__button svg {
    width: 12px;
}

.party-item__actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.btn-confirm {
    font-size: clamp(13px, 1.8vw, 16px);
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    color: #701620;
    text-align: center;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    line-height: 12px;
    letter-spacing: 1.2px;
    background: #D8C7A3;
    border: 1px solid #D8C7A3;
    cursor: pointer;
    padding: 16px 0;
    margin-top: 32px;
    border-radius: 4px;
}

.btn-confirm:hover {
    transition: opacity 0.2s ease-in-out;
    background: linear-gradient(135deg, #D8B46A 0%, #F8DD9B 100%);
}

.rsvp-wrapper {
    display: flex;
    flex-direction: column;
    margin-top: 32px;
    width: min(100%, 500px);
    margin: auto;
}

.rsvp__header h3 {
    color: #570013;
    font-family: "Montserrat";
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.ws-add-to-calendar {
    position: relative;
    display: flex;
    justify-content: center;
}

.ws-add-to-calendar__dropdown {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    background: #fff;
    border: 1px solid #E8E4DD;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    overflow: hidden;
    z-index: 10;
    opacity: 0;
    transform: translateX(-50%) translateY(4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    pointer-events: none;
}

.ws-add-to-calendar__dropdown:not([hidden]) {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.ws-add-to-calendar__item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 16px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(11px, 1.4vw, 13px);
    font-weight: 500;
    color: #4A4A4A;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.15s;
}

.ws-add-to-calendar__item+.ws-add-to-calendar__item {
    border-top: 1px solid #F0EDE8;
}

.ws-add-to-calendar__item:hover {
    background: #F9F5EF;
    color: #7F0404;
}

.ws-add-to-calendar__item svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-shrink: 0;
}

/* Timeline section */
.ws-timeline-love {
    position: relative;
    background: var(--t1-primary);
    z-index: 1;
}

.ws-timeline-bg-center {
    position: absolute;
    top: 25%;
    left: 37%;
    transform: translate(-50%, -50%);
    z-index: 0;
    width: 100%;
    opacity: 0.13;
    width: 100%;
}

.ws-timeline-love__inner {
    position: relative;
    z-index: 1;
}

.ws-timeline-love .section-title {
    margin-bottom: clamp(22px, 2.6vw + 10px, 34px);
}

.ws-timeline-love__list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: min(100%, 500px);
}

.ws-timeline-love__list--empty {
    max-width: min(100%, 420px);
}

.ws-timeline-love__empty {
    --ws-content-placeholder-border-color: rgba(216, 199, 163, 0.45);
    --ws-content-placeholder-background: rgba(255, 255, 255, 0.04);
    --ws-content-placeholder-icon-color: var(--t1-primary);
    --ws-content-placeholder-icon-background: #D8C7A3;
    --ws-content-placeholder-title-color: #FDF8F2;
    --ws-content-placeholder-path-color: rgba(216, 199, 163, 0.8);
}

.ws-timeline-love__item {
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr);
    position: relative;
    align-items: stretch;
}

.ws-timeline-love__marker {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ws-timeline-love__marker::after {
    content: "";
    position: absolute;
    top: 30px;
    left: 50%;
    width: 2px;
    bottom: calc(-1 * clamp(1.1rem, 2.8vw, 1.65rem));
    transform: translateX(-50%);
    border-radius: 2px;
    background: rgba(216, 199, 163, 0.30);
}

.ws-timeline-love__item:last-child .ws-timeline-love__marker::after {
    margin-bottom: 38px;
}

.ws-timeline-love__dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 12px;
    background: #D8C7A3;
    box-shadow: 0 0 0 4px var(--t1-primary);
}

.ws-timeline-love__dot i {
    font-size: 14px;
    line-height: 1;
    color: #701620;
}

.ws-timeline-love__card {
    align-self: start;
    text-align: left;
    padding: clamp(1rem, 2.4vw, 1.35rem) clamp(1rem, 2.8vw, 1.5rem);
    padding-top: 4px;
}

.ws-timeline-love__date {
    margin: 0 0 clamp(4px, 0.3vw, 6px);
    color: #D8C7A3;
    font-family: 'Inter';
    font-size: clamp(12px, 0.3vw + 0.6rem, 14px);
    font-style: normal;
    font-weight: 600;
    line-height: 1;
    letter-spacing: clamp(1.2px, 0.1vw + 0.05rem, 1.5px);
}

.ws-timeline-love__heading {
    margin: 0 0 clamp(0.65rem, 1.5vw, 0.85rem);
    font-size: clamp(24px, 1.5vw + 0.8rem, 32px);
    color: #FDF8F2;
    font-family: "Playfair Display";
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 33.6px;
}

.ws-timeline-love__desc {
    margin: clamp(0.65rem, 1.5vw, 0.85rem) 0 0;
    color: #D8C7A3;
    font-family: 'Inter';
    font-size: clamp(16px, 0.8vw + 0.7rem, 20px);
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.ws-timeline-love__figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(var(--kit-primary-rgb), 0.18);
}

.ws-timeline-love__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

@media (max-width: 480px) {
    .ws-timeline-love__item {
        grid-template-columns: 1.85rem minmax(0, 1fr);
    }

    .ws-timeline-love__heading,
    .ws-timeline-love__desc {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ws-timeline-love::before {
        background-attachment: scroll;
    }

    .ws-timeline-love__card {
        box-shadow: none;
    }
}

/* Gift section */
.gift-section-wrapper-bottom {
    background: var(--t1-primary);
    width: 100%;
    margin: auto;
    position: relative;
}

.gift-section-wrapper-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
    width: min(100%, 500px);
    margin: auto;
    padding-bottom: 100px;
}

.gift-thanks-text {
    color: #FDF8F2;
    text-align: center;
    font-family: 'Inter';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 25.6px;
    max-width: 300px;
}

.gift-thanks-groom-bride {
    color: #FDF8F2;
    font-family: "Playball", cursive;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 41.6px;
}

.gift-section-wrapper {
    background: var(--t1-primary);
    margin: auto;
    overflow: hidden;
}

.gift-section-wrapper-top {
    display: flex;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    gap: 48px;
    z-index: 1;
    min-width: 0;
    align-items: center;
}

.gift-qr-panel {
    width: min(100%, 500px);
    display: grid;
    gap: 10px;
}

.gift-qr-panel__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 500px);
    padding-inline: 12px;
}

.gift-qr-single {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.gift-qr-placeholder {
    width: min(100%, 180px);
    aspect-ratio: 1;
}

.gift-qr-placeholder .ws-image-placeholder {
    min-height: 100%;
}

.gift-qr-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.gift-qr-card__role {
    margin: 0 0 8px;
    padding: 4px 10px;
    border-radius: 999px;
    color: #FFF;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(10px, 1.3vw, 13px);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gift-qr-media {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.gift-qr-image {
    display: flex;
    justify-content: center;
    width: 100%;
}

.gift-qr-image img {
    display: block;
    padding: 8px;
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.20);
    background: #FFF;
    margin-bottom: 0;
    max-width: 146px;
    width: 100%;
    height: auto;
    box-sizing: border-box;
}

.gift-qr-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #FFF;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(9px, 1.2vw, 12px);
    font-weight: 600;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.gift-qr-download__icon {
    display: grid;
    place-items: center;
}

.gift-qr-download__icon--done,
.gift-qr-download.is-downloaded .gift-qr-download__icon--down {
    display: none;
}

.gift-qr-download.is-downloaded .gift-qr-download__icon--done {
    display: grid;
}

.gift-qr-download.is-downloaded {
    background: rgba(255, 255, 255, 0.92);
    border-color: #FFF;
    color: #355643;
}

.gift-qr-bank,
.gift-qr-number,
.gift-qr-name {
    max-width: 100%;
    word-break: break-word;
}

.gift-qr-bank {
    color: #FFF;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(12px, 1.6vw, 15px);
    font-weight: 400;
    line-height: 1.5;
}

.gift-qr-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    max-width: 100%;
    color: #FFF;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(11px, 1.5vw, 14px);
    font-weight: 600;
    line-height: 1;
    padding: 4px 6px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.gift-qr-number__value {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gift-qr-copy {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #FFF;
    padding: 0;
    border-radius: 5px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    background: none;
    border: none;
}

.gift-qr-copy__icon {
    display: grid;
    place-items: center;
}

.gift-qr-copy__icon--done,
.gift-qr-copy.is-copied .gift-qr-copy__icon--copy {
    display: none;
}

.gift-qr-copy.is-copied .gift-qr-copy__icon--done {
    display: grid;
}

.gift-qr-copy.is-copied {
    background: #FFF;
    border-color: #FFF;
    color: #355643;
}

.gift-qr-name {
    color: #FFF;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(12px, 1.6vw, 15px);
    font-weight: 400;
    line-height: 1.5;
    text-transform: uppercase;
}

.gift-text {
    color: #D8C7A3;
    text-align: center;
    font-family: 'Inter';
    font-size: clamp(16px, 2vw, 17px);
    font-style: italic;
    font-weight: 400;
    line-height: 1.6;
    padding-inline: 24px;
    margin: 0;
    max-width: 400px;
}

.gift-qr-card--panel {
    min-width: 0;
    gap: 4px;
}

.gift-qr-card--panel .gift-qr-image img {
    padding: 4px;
    max-width: 100px;
    width: 100%;
    border: 1px solid rgba(53, 86, 67, 0.12);
    border-radius: 6px;
}

.gift-qr-card--panel .gift-qr-download {
    background: rgba(53, 86, 67, 0.06);
    color: #fff;
    font-size: clamp(8px, 1.1vw, 11px);
    padding: 3px 6px;
}

.gift-qr-card--panel .gift-qr-download.is-downloaded {
    /* background: #355643; */
    border-color: #355643;
    color: #FFF;
}

.gift-qr-card--panel .gift-qr-bank,
.gift-qr-card--panel .gift-qr-number,
.gift-qr-card--panel .gift-qr-name {
    color: #fff;
    text-align: center;
    width: 100%;
}

.gift-qr-card--panel .gift-qr-bank {
    font-size: clamp(10px, 1.4vw, 13px);
    line-height: 1.4;
    font-weight: 500;
}

.gift-qr-card--panel .gift-qr-number {
    gap: 3px;
    padding: 3px 4px;
    width: 100%;
    box-sizing: border-box;
}

.gift-qr-card--panel .gift-qr-number.is-copied {
    background: rgba(53, 86, 67, 0.08);
}

.gift-qr-card--panel .gift-qr-number__value {
    font-size: clamp(10px, 1.4vw, 13px);
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.gift-qr-card--panel .gift-qr-copy {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: rgba(53, 86, 67, 0.06);
    color: #fff;
    border: none;
}

.gift-qr-card--panel .gift-qr-copy.is-copied {
    border-color: #355643;
    color: #FFF;
}

.gift-qr-card--panel .gift-qr-name {
    font-size: clamp(9px, 1.2vw, 12px);
    line-height: 1.4;
    text-transform: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    opacity: 0.85;
}

@media screen and (min-width: 501px) {
    .gift-qr-card--panel .gift-qr-image img {
        max-width: 96px;
    }
}

@media screen and (max-width: 500px) {
    .gift-text {
        padding-inline: 32px;
    }

    .thanks__bg-top-left {
        width: 75px;
    }

    .thanks__bg-bottom-right {
        width: 110px;
    }
}

@media screen and (min-width: 768px) {
    .gift-section-wrapper-top {
        bottom: 80px;
    }

    .gift-qr-panel {
        width: min(100%, 500px);
    }

    .gift-qr-panel__list {
        width: min(100%, 500px);
        padding-inline: 20px;
    }

    .gift-qr-image img {
        max-width: 180px;
    }

    .gift-qr-card--panel .gift-qr-image img {
        max-width: 160px;
    }

    .gift-section-wrapper-bottom-content {
        gap: 20px;
    }
}

.gift-envelope {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 18px;
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--gift-envelope-gold-light);
    cursor: pointer;
    perspective: 1400px;
    -webkit-tap-highlight-color: transparent;
    --orbit-radius: 128px;
    --gift-envelope-red: var(--t1-primary, #701620);
    --gift-envelope-red-soft: #82242C;
    --gift-envelope-red-deep: #4D070D;
    --gift-envelope-gold: var(--t1-secondary, #D8C7A3);
    --gift-envelope-gold-light: #F8DD9B;
    --gift-envelope-cream: #FFF4DF;
}

.gift-envelope__card {
    position: relative;
    z-index: 2;
    display: block;
    width: min(150px, 78vw);
    height: auto;
    aspect-ratio: 5 / 7;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(216, 199, 163, 0.28);
    background: linear-gradient(145deg, var(--gift-envelope-red-soft) 0%, var(--gift-envelope-red) 54%, var(--gift-envelope-red-deep) 100%);
    box-shadow: 0 18px 38px -12px rgba(0, 0, 0, 0.58),
        0 5px 14px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255, 244, 223, 0.14),
        0 0 28px 2px rgba(216, 199, 163, 0.18);
    transform-style: preserve-3d;
    transition: transform 0.9s cubic-bezier(.6, -0.1, .2, 1.25), width 0.3s ease;
    animation: gift-envelope-shake 2.8s cubic-bezier(.36, .07, .19, .97) infinite;
    transform-origin: 50% 85%;
}

/* Họa tiết mạng kim tiền (interlocking coins) chìm tinh tế */
.gift-envelope__lattice-pattern {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.1;
    pointer-events: none;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'%3E%3Cpath d='M18 36c9.94 0 18-8.06 18-18S27.94 0 18 0 0 8.06 0 18s8.06 18 18 18zm0-4c-7.73 0-14-6.27-14-14S10.27 4 18 4s14 6.27 14 14-6.27 14-14 14z' fill='%23D8C7A3' fill-opacity='0.62'/%3E%3Crect x='14' y='14' width='8' height='8' fill='none' stroke='%23F8DD9B' stroke-width='1.2' transform='rotate(45 18 18)'/%3E%3C/svg%3E");
    background-size: 36px 36px;
}

.gift-envelope__card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 45%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    animation: gift-envelope-sheen 5.5s ease-in-out infinite;
}

.gift-envelope:hover .gift-envelope__card,
.gift-envelope:focus-visible .gift-envelope__card {
    animation: none;
    transform: translateY(-5px) rotateY(-8deg);
    box-shadow: 0 24px 45px -14px rgba(0, 0, 0, 0.62),
        0 6px 16px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 244, 223, 0.2),
        0 0 34px 4px rgba(216, 199, 163, 0.28);
}

.gift-envelope:focus-visible {
    outline: none;
    outline-offset: 8px;
    border-radius: 12px;
}

/* Góc hoa văn vàng kim loại sắc nét, sang trọng */
.gift-envelope__corner {
    position: absolute;
    z-index: 1;
    width: 22px;
    height: 22px;
    color: var(--gift-envelope-gold-light);
    opacity: 0.88;
}

.gift-envelope__corner--top-left {
    top: 10px;
    left: 10px;
}

.gift-envelope__corner--top-right {
    top: 10px;
    right: 10px;
}

.gift-envelope__corner--bottom-right {
    right: 15px;
    bottom: 15px;
}

.gift-envelope__corner--bottom-left {
    bottom: 10px;
    left: 10px;
}

/* Đồng xu trang trí trên mặt thiệp */
.gift-envelope__coin {
    position: absolute;
    z-index: 1;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.26)) drop-shadow(0 0 2px rgba(216, 199, 163, 0.22));
}

.gift-envelope__coin svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Sắp xếp các đồng xu có kích thước đa dạng lớn nhỏ tạo chiều sâu */
.gift-envelope__coin--top-large {
    top: 35px;
    right: 16px;
    width: 18px;
    height: 18px;
}

.gift-envelope__coin--top-small-a {
    top: 38px;
    left: 20px;
    width: 9px;
    height: 9px;
    opacity: 0.85;
}

.gift-envelope__coin--top-small-b {
    top: 50px;
    left: 32px;
    width: 6px;
    height: 6px;
    opacity: 0.55;
}

.gift-envelope__coin--bottom-large {
    bottom: 35px;
    left: 16px;
    width: 18px;
    height: 18px;
}

.gift-envelope__coin--bottom-small-a {
    bottom: 38px;
    right: 20px;
    width: 9px;
    height: 9px;
    opacity: 0.85;
}

.gift-envelope__coin--bottom-small-b {
    bottom: 50px;
    right: 32px;
    width: 6px;
    height: 6px;
    opacity: 0.55;
}

/* ── Cấu trúc Đồng xu xoay quanh (Orbit coins): LỚN & NHỎ đa dạng ── */
.gift-envelope__hint {
    position: relative;
    z-index: 3;
    margin: 0;
    color: var(--gift-envelope-gold-light);
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 1.2px;
    transform: translateY(-4px);
}

.gift-envelope__orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    z-index: 1;
    pointer-events: none;
}

.gift-envelope__orbit-arm {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
}

/* Nhịp độ quỹ đạo mượt mà và chậm rãi, tạo cảm giác lững lờ cực kỳ tinh tế */
.gift-envelope__orbit-arm--a {
    animation: gift-envelope-orbit-arm-a 5.5s ease-in-out infinite;
}

.gift-envelope__orbit-arm--b {
    animation: gift-envelope-orbit-arm-b 6.2s ease-in-out 0.4s infinite;
}

.gift-envelope__orbit-arm--c {
    animation: gift-envelope-orbit-arm-c 5.8s ease-in-out 0.8s infinite;
}

.gift-envelope__orbit-arm--d {
    animation: gift-envelope-orbit-arm-d 6.8s ease-in-out 0.2s infinite;
}

.gift-envelope__orbit-coin {
    position: absolute;
    display: block;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
}

/* Thiết kế kích thước đa sắc thái (Có chiều sâu 3D xa gần) */
.gift-envelope__orbit-arm--a .gift-envelope__orbit-coin {
    top: -11px;
    left: -11px;
    width: 22px;
    /* Đồng xu rất lớn phía trước */
    height: 22px;
    z-index: 5;
    filter: drop-shadow(0 0 8px rgba(216, 199, 163, 0.46));
    animation: gift-envelope-orbit-counter 5.5s ease-in-out infinite, gift-envelope-spin-3d 2.8s linear infinite;
}

.gift-envelope__orbit-arm--b .gift-envelope__orbit-coin {
    top: -6px;
    left: -6px;
    width: 12px;
    /* Đồng xu nhỏ ở hậu cảnh */
    height: 12px;
    z-index: 1;
    opacity: 0.65;
    filter: drop-shadow(0 0 4px rgba(216, 199, 163, 0.26)) blur(0.5px);
    animation: gift-envelope-orbit-counter 6.2s ease-in-out 0.4s infinite, gift-envelope-spin-3d 3.5s linear infinite;
}

.gift-envelope__orbit-arm--c .gift-envelope__orbit-coin {
    top: -9px;
    left: -9px;
    width: 17px;
    /* Đồng xu kích cỡ vừa */
    height: 17px;
    z-index: 4;
    filter: drop-shadow(0 0 6px rgba(216, 199, 163, 0.38));
    animation: gift-envelope-orbit-counter 5.0s ease-in-out 0.8s infinite, gift-envelope-spin-3d 2.2s linear infinite;
}

.gift-envelope__orbit-arm--d .gift-envelope__orbit-coin {
    top: -4px;
    left: -4px;
    width: 8px;
    /* Đồng xu siêu nhỏ */
    height: 8px;
    z-index: 1;
    opacity: 0.45;
    filter: drop-shadow(0 0 3px rgba(216, 199, 163, 0.22)) blur(1px);
    animation: gift-envelope-orbit-counter 6.8s ease-in-out 0.2s infinite, gift-envelope-spin-3d 4s linear infinite;
}

.gift-envelope__orbit-coin svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Con Dấu Niêm Phong Sang Trọng Hơn */
.gift-envelope__seal {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 90px;
    height: 90px;
    border: 3.5px solid var(--gift-envelope-gold-light);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #8D2A34, #5A121A 82%);
    color: var(--gift-envelope-gold-light);
    font-family: "Noto Serif SC", "Songti SC", serif;
    font-size: 42px;
    line-height: 1;
    transform: translate(-50%, -50%);
    text-shadow: 0 0 10px rgba(248, 221, 155, 0.38);
    box-shadow: 0 0 0 1.5px rgba(216, 199, 163, 0.28),
        0 0 20px rgba(216, 199, 163, 0.24),
        inset 0 0 12px rgba(0, 0, 0, 0.4);
    animation: gift-envelope-glow 3.2s ease-in-out infinite;
}

.gift-envelope__seal span {
    transform: translateY(-2px);
    font-weight: bold;
}

.gift-envelope__slash {
    position: absolute;
    z-index: 1;
    right: 19px;
    bottom: 17px;
    width: 10px;
    height: 10px;
    opacity: 0.65;
}

.gift-envelope__slash::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 1px;
    background: var(--gift-envelope-gold-light);
    transform: rotate(-45deg);
    box-shadow: 0 0 4px rgba(248, 221, 155, 0.58);
}

.gift-qr-panel {
    display: grid;
    gap: 10px;
    border-radius: 18px;
    padding: 12px;
    width: fit-content;
}

.gift-qr-panel__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 500px);
    gap: 24px;
}

.gift-qr-single {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.gift-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.gift-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.gift-modal.is-manage-preview {
    align-items: flex-start;
}

.gift-modal.is-manage-preview .gift-modal__dialog {
    max-height: calc(var(--gift-modal-preview-visible-height, 100vh) - 40px);
    margin-top: var(--gift-modal-preview-offset, 20px);
}

.gift-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.gift-modal__dialog {
    position: relative;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    border-radius: 24px;
    background: #f7f1e6;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
    z-index: 1;
    width: min(500px, 100%);
}

.gift-modal__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    align-items: center;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65)),
        url('../images/template-3/bg-frame.webp');
}

.gift-modal__title {
    color: #701620;
    text-align: center;
    font-family: "Playball", cursive;
    font-size: clamp(30px, 2.5vw + 20px, 42px);
    font-style: normal;
    font-weight: 600;
    line-height: 1.4;
}

.gift-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 999px;
    color: #4B382A;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    z-index: 2;
}

.gift-modal__close:focus-visible {
    outline: 2px solid #4B382A;
    outline-offset: 2px;
}

.gift-qr-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.gift-qr-card__role {
    margin: 0 0 8px;
    padding: 4px 10px;
    border-radius: 999px;
    color: #4B382A;
    font-size: clamp(10px, 1.3vw, 13px);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gift-qr-card__media {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.gift-qr-card__image {
    display: flex;
    justify-content: center;
    width: 100%;
}

.gift-qr-card__image img {
    display: block;
    padding: 8px;
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.20);
    background: #FFF;
    margin-bottom: 0;
    max-width: 146px;
    width: 100%;
    height: auto;
    box-sizing: border-box;
}

.gift-qr-card__download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #4B382A;
    font-size: clamp(9px, 1.2vw, 12px);
    font-weight: 600;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.gift-qr-card__download-icon {
    display: grid;
    place-items: center;
}

.gift-qr-card__download-icon--done,
.gift-qr-card__download.is-downloaded .gift-qr-card__download-icon--down {
    display: none;
}

.gift-qr-card__download.is-downloaded .gift-qr-card__download-icon--done {
    display: grid;
}

.gift-qr-card__download.is-downloaded {
    background: rgba(255, 255, 255, 0.92);
    border-color: #4B382A;
    color: #355643;
}

.gift-qr-card__bank,
.gift-qr-card__number,
.gift-qr-card__name {
    max-width: 100%;
    word-break: break-word;
}

.gift-qr-card__bank {
    color: #4B382A;
    text-align: center;
    font-size: clamp(12px, 1.6vw, 15px);
    font-weight: 400;
    line-height: 1.5;
}

.gift-qr-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    max-width: 100%;
    color: #4B382A;
    font-size: clamp(11px, 1.5vw, 14px);
    font-weight: 600;
    line-height: 1;
    padding: 4px 6px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.gift-qr-card__number-value {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gift-qr-card__copy {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #4B382A;
    padding: 0;
    border-radius: 5px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    background: none;
    border: none;
}

.gift-qr-card__copy-icon {
    display: grid;
    place-items: center;
}

.gift-qr-card__copy-icon--done,
.gift-qr-card__copy.is-copied .gift-qr-card__copy-icon--copy {
    display: none;
}

.gift-qr-card__copy.is-copied .gift-qr-card__copy-icon--done {
    display: grid;
}

.gift-qr-card__copy.is-copied {
    background: #FFF;
    border-color: #4B382A;
    color: #355643;
}

.gift-qr-card__name {
    color: #4B382A;
    font-size: clamp(12px, 1.6vw, 15px);
    font-weight: 400;
    line-height: 1.5;
    text-transform: uppercase;
}

.gift-qr-card--panel {
    min-width: 0;
    gap: 4px;
}

.gift-qr-card--panel .gift-qr-card__role {
    margin: 0 0 4px;
    padding: 3px 8px;
    font-size: clamp(9px, 1.2vw, 12px);
    letter-spacing: 0.1em;
    color: #4B382A;
}

.gift-qr-card--panel .gift-qr-card__image img {
    padding: 4px;
    max-width: 100px;
    width: 100%;
    border: 1px solid rgba(53, 86, 67, 0.12);
    border-radius: 6px;
}

.gift-qr-card--panel .gift-qr-card__download {
    color: #4B382A;
    font-size: clamp(8px, 1.1vw, 11px);
    padding: 3px 6px;
}

.gift-qr-card--panel .gift-qr-card__download.is-downloaded {
    color: #355643;
}

.gift-qr-card--panel .gift-qr-card__bank,
.gift-qr-card--panel .gift-qr-card__number,
.gift-qr-card--panel .gift-qr-card__name {
    color: #4B382A;
    text-align: center;
    width: 100%;
}

.gift-qr-card--panel .gift-qr-card__bank {
    font-size: clamp(10px, 1.4vw, 13px);
    line-height: 1.4;
    font-weight: 500;
}

.gift-qr-card--panel .gift-qr-card__number {
    gap: 3px;
    padding: 3px 4px;
    width: 100%;
    box-sizing: border-box;
}

.gift-qr-card--panel .gift-qr-card__number.is-copied {
    background: rgba(53, 86, 67, 0.08);
}

.gift-qr-card--panel .gift-qr-card__number-value {
    font-size: clamp(10px, 1.4vw, 13px);
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.gift-qr-card--panel .gift-qr-card__copy {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: rgba(53, 86, 67, 0.06);
    color: #4B382A;
    border: none;
}

.gift-qr-card--panel .gift-qr-card__copy.is-copied {
    border-color: #355643;
    color: #4B382A;
}

.gift-qr-card--panel .gift-qr-card__name {
    font-size: clamp(9px, 1.2vw, 12px);
    line-height: 1.4;
    text-transform: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    opacity: 0.85;
}

.gift-section-wrapper--direct .gift-qr-card__role,
.gift-section-wrapper--direct .gift-qr-card__download,
.gift-section-wrapper--direct .gift-qr-card__download.is-downloaded,
.gift-section-wrapper--direct .gift-qr-card__bank,
.gift-section-wrapper--direct .gift-qr-card__number,
.gift-section-wrapper--direct .gift-qr-card__copy,
.gift-section-wrapper--direct .gift-qr-card__copy.is-copied,
.gift-section-wrapper--direct .gift-qr-card__name {
    color: #fff;
}

@media screen and (min-width: 501px) {
    .gift-qr-card--panel .gift-qr-card__image img {
        max-width: 96px;
    }
}

@media screen and (max-width: 500px) {
    .gift-section-wrapper-top {
        gap: 28px;
    }

    .gift-text {
        padding-inline: 32px;
    }

    .gift-modal {
        padding: 16px;
    }

    .gift-modal__content {
        padding: 20px 16px;
    }

    .gift-modal__dialog {
        width: 100%;
    }
}

/* ── Keyframes hiệu ứng mượt mà đỉnh cao ── */
@keyframes gift-envelope-sheen {
    0% {
        left: -65%;
    }

    45%,
    100% {
        left: 140%;
    }
}

@keyframes gift-envelope-glow {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(216, 199, 163, 0.18), inset 0 0 12px rgba(0, 0, 0, 0.35);
        border-color: var(--gift-envelope-gold);
    }

    50% {
        box-shadow: 0 0 24px rgba(248, 221, 155, 0.34), inset 0 0 12px rgba(0, 0, 0, 0.35);
        border-color: var(--gift-envelope-cream);
    }
}

@keyframes gift-envelope-shake {

    0%,
    18%,
    100% {
        transform: translateX(0) rotate(0deg);
    }

    2% {
        transform: translateX(-5px) rotate(-2.8deg);
    }

    5% {
        transform: translateX(5px) rotate(2.8deg);
    }

    8% {
        transform: translateX(-4px) rotate(-2deg);
    }

    11% {
        transform: translateX(3px) rotate(1.4deg);
    }

    14% {
        transform: translateX(-1.5px) rotate(-0.7deg);
    }

    16% {
        transform: translateX(0) rotate(0deg);
    }
}

/* Hiệu ứng xoay tròn lật nghiêng 3D lấp lánh của đồng xu vàng */
@keyframes gift-envelope-spin-3d {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

/* Sắp đặt lại đường chạy Elip mượt mà của đồng xu, giảm đột ngột vận tốc */
@keyframes gift-envelope-orbit-arm-a {

    0%,
    100% {
        transform: rotate(5deg) translateY(calc(var(--orbit-radius, 128px) * -1)) rotate(-5deg);
    }

    50% {
        transform: rotate(35deg) translateY(calc(var(--orbit-radius, 128px) * -0.95)) rotate(-35deg);
    }
}

@keyframes gift-envelope-orbit-arm-b {

    0%,
    100% {
        transform: rotate(95deg) translateY(calc(var(--orbit-radius, 128px) * -1.05)) rotate(-95deg);
    }

    50% {
        transform: rotate(125deg) translateY(calc(var(--orbit-radius, 128px) * -1)) rotate(-125deg);
    }
}

@keyframes gift-envelope-orbit-arm-c {

    0%,
    100% {
        transform: rotate(235deg) translateY(calc(var(--orbit-radius, 128px) * -0.92)) rotate(-235deg);
    }

    50% {
        transform: rotate(258deg) translateY(calc(var(--orbit-radius, 128px) * -0.88)) rotate(-258deg);
    }
}

@keyframes gift-envelope-orbit-arm-d {

    0%,
    100% {
        transform: rotate(275deg) translateY(calc(var(--orbit-radius, 128px) * -1)) rotate(-275deg);
    }

    50% {
        transform: rotate(305deg) translateY(calc(var(--orbit-radius, 128px) * -0.92)) rotate(-305deg);
    }
}

@keyframes gift-envelope-orbit-counter {

    0%,
    100% {
        transform: rotate(12deg);
    }

    50% {
        transform: rotate(-12deg);
    }
}

/* ── Responsive thiết bị màn hình rộng ── */
@media screen and (min-width: 768px) {
    .gift-envelope {
        --orbit-radius: 175px;
    }

    .gift-envelope__card {
        width: 210px;
    }

    .gift-envelope__seal {
        width: 118px;
        height: 118px;
        font-size: 54px;
    }

    .gift-envelope__coin--top-large,
    .gift-envelope__coin--bottom-large {
        width: 23px;
        height: 23px;
    }

    .gift-envelope__coin--top-small-a,
    .gift-envelope__coin--bottom-small-a {
        width: 12px;
        height: 12px;
    }

    .gift-envelope__coin--top-small-b,
    .gift-envelope__coin--bottom-small-b {
        width: 8px;
        height: 8px;
    }

    /* Resize đồng xu bay lớn nhỏ trên desktop */
    .gift-envelope__orbit-arm--a .gift-envelope__orbit-coin {
        width: 30px;
        height: 30px;
        top: -15px;
        left: -15px;
    }

    .gift-envelope__orbit-arm--b .gift-envelope__orbit-coin {
        width: 15px;
        height: 15px;
        top: -7.5px;
        left: -7.5px;
    }

    .gift-envelope__orbit-arm--c .gift-envelope__orbit-coin {
        width: 24px;
        height: 24px;
        top: -12px;
        left: -12px;
    }

    .gift-envelope__orbit-arm--d .gift-envelope__orbit-coin {
        width: 10px;
        height: 10px;
        top: -5px;
        left: -5px;
    }

    .gift-qr-card__image img {
        max-width: 180px;
    }

    .gift-qr-card--panel .gift-qr-card__image img {
        max-width: 160px;
    }
}

@media screen and (max-width: 500px) {
    .gift-envelope__card {
        width: min(150px, 78vw);
    }

    .gift-envelope__seal {
        width: 90px;
        height: 90px;
        font-size: 42px;
    }

    .gift-modal {
        padding: 16px;
    }

    .gift-modal__content {
        padding: 20px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .gift-envelope__card,
    .gift-envelope__card::before,
    .gift-envelope__seal,
    .gift-envelope__orbit-arm,
    .gift-envelope__orbit-coin {
        animation: none;
        transition: none;
    }
}

/* Music button */
.ws-music-button-wrap {
    position: fixed;
    bottom: 50px;
    right: 20px;
    z-index: 9999999;
    display: inline-flex;
    align-items: center;
    gap: 0.62rem;
    pointer-events: auto;
}

.ws-music-toggle {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: #7F0404;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 24px -14px rgba(28, 35, 20, 0.7);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.ws-music-toggle[disabled] {
    background: #b4b4b4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.8;
}

.ws-music-toggle__icon {
    display: inline-flex;
    width: 1.4rem;
    height: 1.4rem;
}

.ws-music-toggle__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.ws-music-toggle__icon--pause {
    display: none;
}

.ws-music-button-wrap.is-playing .ws-music-toggle__icon--play {
    display: none;
}

.ws-music-button-wrap.is-playing .ws-music-toggle__icon--pause {
    display: inline-flex;
}

.ws-music-button__hint {
    border-radius: 999px;
    padding: 0.3rem 1.15rem;
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    color: #2a2f22;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 12px 26px -18px rgba(0, 0, 0, 0.5);
    max-width: min(70vw, 28rem);
    text-overflow: ellipsis;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
    height: 40px;
}

.ws-music-toggle:hover+.ws-music-button__hint,
.ws-music-toggle:focus-visible+.ws-music-button__hint {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
}

.ws-music-button-wrap.is-playing .ws-music-button__hint {
    color: #344256;
}

@keyframes ws-music-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb, 139, 90, 43), 0.55);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(var(--primary-rgb, 139, 90, 43), 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb, 139, 90, 43), 0);
    }
}

.ws-music-button-wrap.needs-tap .ws-music-toggle {
    animation: ws-music-pulse 1.4s ease-out infinite;
}

.ws-music-wave-bars {
    display: inline-flex;
    align-items: center;
    gap: 2.5px;
    width: 22px;
    height: 22px;
    justify-content: center;
}

.ws-music-wave-bars span {
    display: block;
    width: 3px;
    border-radius: 2px;
    background: #fff;
    transform-origin: bottom center;
}

.ws-music-wave-bars span:nth-child(1) {
    height: 8px;
    animation: ws-bar 1.1s ease-in-out infinite;
    animation-delay: 0s;
}

.ws-music-wave-bars span:nth-child(2) {
    height: 14px;
    animation: ws-bar 1.1s ease-in-out infinite;
    animation-delay: 0.18s;
}

.ws-music-wave-bars span:nth-child(3) {
    height: 18px;
    animation: ws-bar 1.1s ease-in-out infinite;
    animation-delay: 0.08s;
}

.ws-music-wave-bars span:nth-child(4) {
    height: 12px;
    animation: ws-bar 1.1s ease-in-out infinite;
    animation-delay: 0.25s;
}

.ws-music-wave-bars span:nth-child(5) {
    height: 7px;
    animation: ws-bar 1.1s ease-in-out infinite;
    animation-delay: 0.04s;
}

@keyframes ws-bar {

    0%,
    100% {
        transform: scaleY(0.35);
    }

    50% {
        transform: scaleY(1);
    }
}

/* Guestbook */
.guestbook-section {
    background: var(--t1-primary);
    text-align: center;
    color: var(--on-dark-text);
    position: relative;
    z-index: 1;
}

.guestbook-grid {
    display: grid;
    text-align: left;
}

.guestbook-form {
    display: grid;
    gap: clamp(20px, 3vw, 28px);
    z-index: 1;
    margin: auto;
    width: min(100%, 500px);
    padding-block: 40px;
}

.guestbook-field {
    position: relative;
}

.guestbook-field input,
.guestbook-field textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0;
    padding: 10px 0;
    background: transparent;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    padding-left: 12px;
    font-size: clamp(15px, 2vw, 18px);
    font-style: normal;
    line-height: normal;
    border-bottom: 1px solid rgba(216, 199, 163, 0.40);
    margin-top: 12px;
    color: #FDF8F2;
    font-family: 'Inter';
    font-weight: 400;
}

.guestbook-field label {
    position: absolute;
    left: 0;
    top: 10px;
    color: rgba(216, 199, 163, 0.50);
    font-family: 'Inter';
    font-size: clamp(15px, 2vw, 18px);
    font-weight: 400;
    pointer-events: none;
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
        font-size 0.22s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.22s;
    transform-origin: left top;
    padding: 0 2px;
}

.guestbook-field input:focus,
.guestbook-field textarea:focus {
    outline: none;
    border-bottom-color: rgba(216, 199, 163, 0.85);
}

.guestbook-field input:focus+label,
.guestbook-field input:not(:placeholder-shown)+label,
.guestbook-field textarea:focus+label,
.guestbook-field textarea:not(:placeholder-shown)+label {
    transform: translateY(-18px) scale(0.72);
    font-weight: 600;
    letter-spacing: 1.2px;
}

.guestbook-field input::placeholder,
.guestbook-field textarea::placeholder {
    color: transparent;
}

.guestbook-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    padding-top: 8px;
}

/* button */
.btn-guestbook {
    font-size: clamp(13px, 1.8vw, 16px);
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    color: #701620;
    text-align: center;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    line-height: 12px;
    letter-spacing: 1.2px;
    background: #D8C7A3;
    border: 1px solid #D8C7A3;
    cursor: pointer;
    padding: 16px 0;
    border-radius: 4px;
}

.btn-guestbook:hover {
    transition: opacity 0.2s ease-in-out;
    background: linear-gradient(135deg, #D8B46A 0%, #F8DD9B 100%);
}

.guestbook-load-more {
    color: #F3E1BB;
    text-align: center;
    font-family: "Montserrat";
    font-size: clamp(14px, 2vw, 17px);
    font-style: normal;
    font-weight: 600;
    line-height: 1.5;
    border: none;
    background: none;
    cursor: pointer;
    text-decoration: none;
    padding: 12px;
}

.guestbook-load-more:hover {
    text-decoration: underline;
}

/* notice */
.guestbook-notice {
    font-family: "Montserrat";
    font-size: clamp(12px, 1.6vw, 15px);
    font-style: normal;
    line-height: 1.5;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    text-align: center;
    color: #D8C7A3;
}

.guestbook-notice.is-error {
    color: #e8a0a0;
}

.guestbook-notice[hidden] {
    display: none;
}

/* divider */
.guestbook-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* list wrap */
.guestbook-list-wrap {
    display: grid;
    gap: clamp(16px, 2.5vw, 24px);
    z-index: 2;
}

.guestbook-list-count {
    color: var(--on-dark-text-subtle);
    margin-left: 4px;
}

.guestbook-list {
    display: grid;
    gap: 16px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
    width: min(100%, 500px);
    margin: auto;
    overflow-x: hidden;
}

.guestbook-entry.is-hidden[hidden] {
    display: none;
}

.guestbook-load-more-wrap {
    display: flex;
    justify-content: center;
}

.guestbook-load-more[hidden] {
    display: none;
}

.guestbook-list::-webkit-scrollbar {
    width: 6px;
}

.guestbook-list::-webkit-scrollbar-track {
    background: transparent;
}

.guestbook-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.55);
    border-radius: 999px;
}

.guestbook-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.75);
}

/* entry */
.guestbook-entry {
    display: flex;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    align-self: stretch;
    border-radius: 2px;
    border: 1px solid rgba(216, 199, 163, 0.10);
    background: #5A121A;

}

.guestbook-entry__name {
    font-size: clamp(11px, 1.5vw, 13px);
    color: #D8C7A3;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    line-height: 15px;
    text-transform: uppercase;
}


.guestbook-entry__date {
    font-family: 'Lato', sans-serif;
    font-size: clamp(10px, 1.3vw, 13px);
    color: #7a6f67;
    letter-spacing: 1px;
    white-space: nowrap;
}

.guestbook-entry__message {
    font-size: clamp(11px, 1.5vw, 18px);
    font-family: 'Inter';
    font-style: italic;
    font-weight: 400;
    line-height: 24px;
    color: #D8C7A3;
}

.guestbook-entry__message::before {
    content: none;
}

/* empty state */
.guestbook-empty {
    font-family: "Cormorant", serif;
    font-style: italic;
    text-align: center;
    color: var(--on-dark-text-subtle);
    font-size: clamp(14px, 2vw, 18px);
    padding: 28px 0;
    letter-spacing: 0.06em;
}

/* ===================== ALBUM SECTION ===================== */
.album-section {
    overflow: hidden;
    max-width: 100%;
    background: var(--t1-primary);
    position: relative;
}

.album-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    align-items: start;
    max-width: 500px;
    margin: 0 auto;
}

.album-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.album-col--left {
    padding-bottom: 32px;
}

.album-col--right {
    padding-top: 32px;
}

.album-item {
    border: 0;
    padding: 0;
    background: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: block;
    border-radius: 4px;
    width: 100%;
}

.album-item--placeholder {
    cursor: default;
}

.album-item--portrait {
    aspect-ratio: 3 / 4;
}

.album-item--square {
    aspect-ratio: 1 / 1;
}

.album-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
    border-radius: 4px;
}

.album-item:hover img,
.album-item:focus-visible img {
    transform: scale(1.04);
}

.album-item:focus-visible {
    outline: 2px solid var(--focus-outline);
    outline-offset: 2px;
}

.album-more {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(18px, 2.05vw + 9.4px, 24px);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.album-btn-more {
    display: flex;
    padding: clamp(8px, 0.5vw + 0.3rem, 12px) clamp(24px, 1.5vw + 1rem, 36px);
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    background: linear-gradient(135deg, #D8B46A 0%, #F8DD9B 100%);
    color: #7F0404;
    text-align: center;
    font-family: 'Inter';
    font-size: clamp(10px, 0.3vw + 0.5rem, 13px);
    font-style: normal;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: clamp(1px, 0.05vw + 0.05rem, 1.3px);
    text-transform: uppercase;
    border: none;
    margin: auto;
    margin-top: clamp(48px, 3vw + 1rem, 64px);
    cursor: pointer;
}

.album-btn-more:hover {
    background: #e0bf6a;
}

.album-btn-more:active {
    transform: scale(0.98);
}

@media (prefers-reduced-motion: reduce) {

    [data-ws-album-lightbox],
    [data-ws-album-lightbox] .ws-album-lightbox__dialog,
    [data-ws-album-lightbox] [data-ws-album-lightbox-dialog],
    .ws-album-lightbox__image {
        animation: none !important;
        transition: none !important;
    }
}

[data-ws-album-lightbox] {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

[data-ws-album-lightbox].is-active {
    opacity: 1;
    pointer-events: auto;
}

[data-ws-album-lightbox] .ws-album-lightbox__dialog,
[data-ws-album-lightbox] [data-ws-album-lightbox-dialog] {
    opacity: 0;
    transform: translate3d(0, 20px, 0) scale(0.96);
    transform-origin: center center;
    transition:
        transform 0.44s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.30s ease;
}

[data-ws-album-lightbox].is-active .ws-album-lightbox__dialog,
[data-ws-album-lightbox].is-active [data-ws-album-lightbox-dialog] {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.ws-album-lightbox__figure {
    overflow: hidden;
}

.ws-album-lightbox__image {
    opacity: 0;
    transform: scale(1.07);
    transition:
        transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.38s ease;
    will-change: transform, opacity;
}

.ws-album-lightbox__image.is-loaded {
    opacity: 1;
    transform: scale(1);
}

/* rsvp */
.rsvp-btn-confirm {
    font-size: clamp(13px, 1.8vw, 14px);
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    text-align: center;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    line-height: 12px;
    letter-spacing: 1.2px;
    background: #570013;
    color: #FFE088;
    border: 1px solid #D8C7A3;
    cursor: pointer;
    padding: 14px 0;
    margin-top: 32px;
    border-radius: 4px;
    text-transform: uppercase;
}

.rsvp-btn-close {
    font-size: clamp(13px, 1.8vw, 14px);
    border-radius: 4px;
    text-align: center;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    padding: 10px 0;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    width: 100%;
    gap: 8px;
    cursor: pointer;
    width: min(100%, 500px);
    margin: auto;
    z-index: 10;
    background: #ccc;
    border: 1px solid #ccc;
    color: #000;
}

.ws-wedding-rsvp-inline-feedback {
    margin-bottom: -16px !important;
    margin-top: 32px !important;
}

.rsvp-btn-confirm:hover,
.rsvp-btn-close:hover {
    opacity: 0.9;
    transition: opacity 0.2s ease-in-out;
}

.rsvp__notice {
    border-radius: 4px;
    font-family: 'Inter';
}
