/*==============================================================
HERITAGE RSVP
Royal Nusantara
==============================================================*/

.rsvp-section{

    padding:110px 20px;

}

.rsvp-section .container{

    max-width:920px;

}

/*==============================================================
TITLE
==============================================================*/

.rsvp-section .section-title{

    margin-bottom:65px;

    text-align:center;

}

.rsvp-section .section-title h2{

    color:var(--primary);

    font-family:var(--heading-font);

    font-size:clamp(2.8rem,5vw,4rem);

    font-weight:600;

}

.rsvp-section .section-title h2::after{

    content:"✦";

    display:block;

    margin-top:18px;

    color:var(--accent);

    font-size:18px;

}

.rsvp-section .section-title p{

    max-width:560px;

    margin:18px auto 0;

    color:var(--text);

    font-family:var(--body-font);

    line-height:2;

}

/*==============================================================
WISH LIST
==============================================================*/

.wish-list{

    max-height:500px;

    overflow-y:auto;

    padding-right:8px;

    margin-bottom:50px;

}

.wish-list::-webkit-scrollbar{

    width:7px;

}

.wish-list::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:999px;

}

/*==============================================================
ITEM
==============================================================*/

.wish-item{

    display:flex;

    gap:18px;

    margin-bottom:22px;

}

/*==============================================================
AVATAR
==============================================================*/

.wish-avatar{

    width:56px;

    height:56px;

    flex-shrink:0;

    display:flex;

    justify-content:center;

    align-items:center;

    background:linear-gradient(
        180deg,
        #b58a43,
        #7b5328
    );

    border:2px solid rgba(212,175,55,.5);

    color:#fff;

    font-family:var(--heading-font);

    font-size:1.35rem;

    font-weight:600;

}

/*==============================================================
MESSAGE CARD
==============================================================*/

.wish-bubble{

    position:relative;

    flex:1;

    padding:24px;

    background:#fffaf2;

    border:2px solid rgba(201,166,107,.55);

    box-shadow:

        0 15px 35px rgba(74,46,23,.08);

}

.wish-bubble::before{

    content:"";

    position:absolute;

    inset:8px;

    border:1px solid rgba(212,175,55,.45);

    pointer-events:none;

}

.wish-bubble h6{

    margin:0;

    color:var(--primary);

    font-family:var(--heading-font);

    font-size:1.45rem;

    font-weight:600;

}

.wish-bubble small{

    display:block;

    margin-top:6px;

    color:#8a6b42;

    font-family:var(--body-font);

    font-size:.82rem;

}

.wish-bubble p{

    margin-top:16px;

    color:var(--text);

    font-family:var(--body-font);

    line-height:1.9;

}

/*==============================================================
EMPTY
==============================================================*/

.empty-wish{

    padding:45px;

    text-align:center;

    background:#fffaf2;

    border:2px solid rgba(201,166,107,.55);

    color:#8a6b42;

}

/*==============================================================
FORM CARD
==============================================================*/

.wish-form-card{

    position:relative;

    padding:42px;

    background:#fffaf2;

    border:2px solid rgba(201,166,107,.55);

    box-shadow:

        0 18px 45px rgba(74,46,23,.08);

}

.wish-form-card::before{

    content:"";

    position:absolute;

    inset:10px;

    border:1px solid rgba(212,175,55,.55);

    pointer-events:none;

}

.wish-form-card h4{

    margin-bottom:28px;

    text-align:center;

    color:var(--primary);

    font-family:var(--heading-font);

    font-size:2.2rem;

    font-weight:600;

}

.wish-form-card h4::after{

    content:"✦";

    display:block;

    margin-top:14px;

    color:var(--accent);

    font-size:16px;

}

/*==============================================================
INPUT
==============================================================*/

.wish-input{

    border:1px solid rgba(201,166,107,.55);

    background:#fffdf8;

    padding:14px 16px;

    font-family:var(--body-font);

    border-radius:0;

    box-shadow:none;

}

.wish-input:focus{

    border-color:var(--accent);

    box-shadow:

        0 0 0 .2rem rgba(212,175,55,.12);

}

.wish-input::placeholder{

    color:#9c8a73;

}

/*==============================================================
BUTTON
==============================================================*/

.btn-send-wish{

    width:100%;

    margin-top:20px;

    height:52px;

    border:none;

    background:linear-gradient(
        180deg,
        #b58a43,
        #7b5328
    );

    color:#fff;

    font-family:var(--body-font);

    font-weight:600;

    letter-spacing:1px;

    transition:.35s;

}

.btn-send-wish:hover{

    transform:translateY(-2px);

    filter:brightness(1.05);

}

/*==============================================================
RESPONSIVE
==============================================================*/

@media(max-width:768px){

    .rsvp-section{

        padding:80px 20px;

    }

    .rsvp-section .section-title{

        margin-bottom:45px;

    }

    .rsvp-section .section-title h2{

        font-size:2.2rem;

    }

    .wish-item{

        gap:14px;

    }

    .wish-avatar{

        width:46px;

        height:46px;

        font-size:1.05rem;

    }

    .wish-bubble{

        padding:18px;

    }

    .wish-bubble::before{

        inset:6px;

    }

    .wish-bubble h6{

        font-size:1.2rem;

    }

    .wish-bubble p{

        font-size:.9rem;

    }

    .wish-form-card{

        padding:28px 22px;

    }

    .wish-form-card::before{

        inset:6px;

    }

    .wish-form-card h4{

        font-size:1.8rem;

    }

    .wish-input{

        padding:13px 14px;

    }

    .btn-send-wish{

        height:48px;

        font-size:.9rem;

    }

}