/* ============ Floral Romantic ============ */
:root {
    --fr-bg: #fff6f5;
    --fr-bg-soft: #fdeef0;
    --fr-ink: #5a3742;
    --fr-rose: #c96b8a;
    --fr-rose-deep: #a24a68;
    --fr-muted: #8a6b74;
    --fr-line: #f2d9de;
}

body.tpl-floral-romantic {
    background: var(--fr-bg);
    color: var(--fr-ink);
    font-family: 'Jost', 'Poppins', sans-serif;
    position: relative;
}

.tpl-floral-romantic .c-names,
.tpl-floral-romantic .u-hero-names,
.tpl-floral-romantic .u-mempelai-name,
.tpl-floral-romantic .u-section-title,
.tpl-floral-romantic .u-thanks-title,
.tpl-floral-romantic .u-thanks-names,
.tpl-floral-romantic .c-guest-name,
.tpl-floral-romantic .u-savedate-card h3 {
    font-family: 'Dancing Script', cursive;
}

/* Audio button */
.tpl-floral-romantic .u-audio-btn {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 50;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--fr-rose);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 22px -10px rgba(169, 74, 104, .55);
}

/* Cover / hero */
.tpl-floral-romantic .c-cover,
.tpl-floral-romantic .u-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding: 3rem 1.25rem;
}

.tpl-floral-romantic .c-cover-bg,
.tpl-floral-romantic .u-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(1.05) brightness(.9);
}

.tpl-floral-romantic .c-cover-overlay,
.tpl-floral-romantic .u-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 60% at 50% 100%, rgba(90, 55, 66, .78), transparent 60%),
        linear-gradient(180deg, rgba(90, 55, 66, .35), rgba(90, 55, 66, .55));
}

.tpl-floral-romantic .c-cover-content,
.tpl-floral-romantic .u-hero-content {
    position: relative;
    z-index: 1;
    max-width: 32rem;
}

.tpl-floral-romantic .c-title {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(1.6rem, 5vw, 2.1rem);
    color: #fce6ea;
    margin-bottom: .25rem;
}

.tpl-floral-romantic .c-divider {
    width: 50px;
    margin: 0 auto 1rem;
    border-color: #fce6ea;
    opacity: .7;
}

.tpl-floral-romantic .c-names,
.tpl-floral-romantic .u-hero-names {
    font-size: clamp(2.75rem, 9vw, 4.25rem);
    color: #fff;
    margin-bottom: 1.5rem;
}

.tpl-floral-romantic .c-guest-label {
    color: #f2d9de;
    font-size: .85rem;
    margin-bottom: .25rem;
}

.tpl-floral-romantic .c-guest-name {
    font-size: clamp(1.5rem, 5vw, 2rem);
    color: #fff;
    margin-bottom: 1.25rem;
}

.tpl-floral-romantic .c-open-btn,
.tpl-floral-romantic .u-map-btn {
    background: #fff;
    color: var(--fr-rose-deep);
    border-radius: 100px;
    padding: .75rem 1.75rem;
    font-weight: 600;
    font-size: .95rem;
}

.tpl-floral-romantic .c-open-btn:hover,
.tpl-floral-romantic .u-map-btn:hover {
    background: var(--fr-rose);
    color: #fff;
}

.tpl-floral-romantic .u-countdown-wrap .simply-section {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 14px;
    color: #fff;
}

.tpl-floral-romantic .u-countdown-wrap .simply-amount {
    color: #fff;
}

/* Quote */
.tpl-floral-romantic .u-quote {
    padding: 4.5rem 0;
    background: var(--fr-bg-soft);
    position: relative;
}

.tpl-floral-romantic .u-quote-arabic {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    color: var(--fr-rose-deep);
    margin-bottom: 1.25rem;
}

.tpl-floral-romantic .u-quote-lead {
    color: var(--fr-muted);
    margin-bottom: 2rem;
}

.tpl-floral-romantic .u-quote-box {
    border-top: 1px dashed var(--fr-line);
    padding-top: 1.5rem;
}

.tpl-floral-romantic .u-quote-source {
    font-family: 'Dancing Script', cursive;
    font-size: 1.7rem;
    color: var(--fr-rose-deep);
    margin-bottom: .75rem;
}

.tpl-floral-romantic .u-quote-text {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--fr-ink);
}

/* Mempelai */
.tpl-floral-romantic .u-mempelai {
    padding: 4.5rem 0;
    text-align: center;
}

.tpl-floral-romantic .u-mempelai-card {
    margin-bottom: 1.5rem;
}

.tpl-floral-romantic .u-mempelai-photo {
    width: 210px;
    height: 210px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid var(--fr-bg-soft);
    outline: 2px solid var(--fr-rose);
    outline-offset: 4px;
    margin-bottom: 1.25rem;
}

.tpl-floral-romantic .u-mempelai-name {
    font-size: clamp(2rem, 6vw, 2.6rem);
    color: var(--fr-rose-deep);
    margin-bottom: .5rem;
}

.tpl-floral-romantic .u-mempelai-parents {
    color: var(--fr-muted);
    max-width: 25rem;
    margin: 0 auto;
    font-size: .95rem;
}

.tpl-floral-romantic .u-heart-divider {
    color: var(--fr-rose);
    font-size: 1.4rem;
    margin: 1rem 0 2rem;
}

/* Save the date */
.tpl-floral-romantic .u-savedate {
    background: #fff;
    padding: 4.5rem 0;
}

.tpl-floral-romantic .u-section-eyebrow {
    display: block;
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem;
    color: var(--fr-rose);
    margin-bottom: .25rem;
}

.tpl-floral-romantic .u-section-title {
    font-size: clamp(2.1rem, 6.5vw, 2.75rem);
    color: var(--fr-rose-deep);
    margin-bottom: 2rem;
}

.tpl-floral-romantic .u-section-subtitle {
    color: var(--fr-muted);
    margin-bottom: 1.5rem;
}

.tpl-floral-romantic .u-savedate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.tpl-floral-romantic .u-savedate-card {
    background: var(--fr-bg-soft);
    border-radius: 20px;
    padding: 1.75rem 1rem;
}

.tpl-floral-romantic .u-savedate-icon {
    font-size: 1.4rem;
    color: var(--fr-rose);
    margin-bottom: .5rem;
}

.tpl-floral-romantic .u-savedate-card h3 {
    font-size: 1.7rem;
    color: var(--fr-rose-deep);
    margin: .1rem 0;
}

.tpl-floral-romantic .u-savedate-time {
    font-weight: 600;
    margin-bottom: .1rem;
}

.tpl-floral-romantic .u-savedate-date {
    color: var(--fr-muted);
    font-size: .9rem;
}

.tpl-floral-romantic .u-venue-name {
    font-weight: 600;
    margin-bottom: .25rem;
}

.tpl-floral-romantic .u-venue-address {
    color: var(--fr-muted);
    margin-bottom: 1rem;
}

.tpl-floral-romantic .u-savedate-note {
    color: var(--fr-muted);
    font-size: .82rem;
    margin-top: 2rem;
}

/* Gifts */
.tpl-floral-romantic .u-gifts {
    background: var(--fr-bg-soft);
    padding: 4.5rem 0;
}

.tpl-floral-romantic .u-gift-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.25rem 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 12px 24px -18px rgba(90, 55, 66, .4);
}

.tpl-floral-romantic .u-gift-icon {
    height: 26px;
    object-fit: contain;
    margin-bottom: .5rem;
}

.tpl-floral-romantic .u-gift-card h4 {
    font-weight: 600;
    font-size: .9rem;
    margin-bottom: .75rem;
    color: var(--fr-rose-deep);
}

.tpl-floral-romantic .u-gift-copy {
    display: flex;
    gap: .4rem;
    margin-bottom: .5rem;
}

.tpl-floral-romantic .u-gift-input {
    flex: 1;
    min-width: 0;
    background: var(--fr-bg-soft);
    border: 1px solid var(--fr-line);
    color: var(--fr-ink);
    border-radius: 100px;
    padding: .5rem .8rem;
    text-align: center;
    font-size: .82rem;
}

.tpl-floral-romantic .u-gift-copy-btn {
    background: var(--fr-rose);
    color: #fff;
    border: none;
    border-radius: 100px;
    width: 40px;
    min-height: 40px;
}

.tpl-floral-romantic .u-gift-name {
    color: var(--fr-muted);
    font-size: .78rem;
    margin: 0;
}

/* Gallery */
.tpl-floral-romantic .u-gallery-section {
    padding: 4.5rem 0 1rem;
}

.tpl-floral-romantic .u-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    max-width: 900px;
    margin: 2rem auto 0;
    padding: 0 8px;
}

@media (min-width: 576px) {
    .tpl-floral-romantic .u-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

.tpl-floral-romantic .u-gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 16px;
}

.tpl-floral-romantic .u-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.tpl-floral-romantic .u-gallery-item img:hover {
    transform: scale(1.06);
}

/* Thanks / footer */
.tpl-floral-romantic .u-thanks {
    padding: 5rem 1rem 3rem;
    text-align: center;
    background: linear-gradient(180deg, #fff 0%, var(--fr-bg-soft) 100%);
}

.tpl-floral-romantic .u-thanks-title {
    font-size: clamp(2rem, 6vw, 2.4rem);
    color: var(--fr-rose-deep);
    margin-bottom: 1rem;
}

.tpl-floral-romantic .u-thanks-text {
    color: var(--fr-muted);
    max-width: 28rem;
    margin: 0 auto 1.5rem;
}

.tpl-floral-romantic .u-thanks-names {
    font-size: clamp(2.5rem, 8vw, 3.25rem);
    color: var(--fr-rose);
}

.tpl-floral-romantic .u-footer {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--fr-bg-soft);
    color: var(--fr-muted);
    font-size: .82rem;
}

.tpl-floral-romantic .u-footer-links {
    display: flex;
    justify-content: center;
    gap: .9rem;
    margin-top: .75rem;
}

.tpl-floral-romantic .u-footer-links a {
    color: var(--fr-rose-deep);
    font-size: 1.05rem;
}
