/* --- Reset e Variáveis --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

html {
    overflow-x: hidden;
    /* Corta o que passar da largura da tela */
}

body {
    max-width: 100%;
    position: relative;
    scroll-behavior: smooth;
}

:root {
    --primary-orange: #E36A4B;
    --accent-yellow: #F7B43E;
    --dark-grey: #3A3A3A;
    --bg-cream: #FFF8E9;
    --text-white: #FFFFFF;

    --font-titles: 'Nunito', sans-serif;
    /* Bold */
    --font-text: 'Rubik', sans-serif;
    /* Regular */

    /* Variável local para o fundo rosa da seção nova */
    --bg-pink: #FBD6C3;
}

body {
    background-color: var(--bg-cream);
    font-family: var(--font-text);
    /* Padding lateral para centralizar o layout na tela */
    padding: 0 50px 0px 50px;
}

/* --- Tipografia Geral --- */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-titles);
    font-weight: 700;
    color: var(--dark-grey);
}

h1 {
    font-size: 60px;
    line-height: 1.1;
}

h2 {
    font-size: 48px;
    line-height: 1.1;
}

h3 {
    font-size: 32px;
    line-height: 1.2;
}

h4 {
    font-size: 24px;
    line-height: 1.3;
}

h5 {
    font-size: 20px;
    line-height: 1.4;
}

p {
    font-family: var(--font-text);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    color: var(--dark-grey);
}

button,
.btn-cta,
.btn-cta-secondary,
.cc-btn-login,
.dash-tab,
.btn-save-info,
.btn-manage,
.btn-card-hover,
.btn-auth-submit,
.social-btn,
.btn-confirm-presence,
.btn-contribute,
.btn-share-action,
.btn-add-guest,
.btn-confirm-final,
.btn-pay-now,
.btn-apple-pay,
.btn-back-party,
.btn-create-own,
.btn-back-dash,
.btn-copy,
.btn-icon,
.copy-input-group button,
.search-btn-footer {
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-cta:hover,
.btn-cta-secondary:hover,
.cc-btn-login:hover,
.dash-tab:hover,
.btn-save-info:hover,
.btn-manage:hover,
.btn-card-hover:hover,
.btn-auth-submit:hover,
.social-btn:hover,
.btn-confirm-presence:hover,
.btn-contribute:hover,
.btn-share-action:hover,
.btn-add-guest:hover,
.btn-confirm-final:hover,
.btn-pay-now:hover,
.btn-apple-pay:hover,
.btn-back-party:hover,
.btn-create-own:hover,
.btn-back-dash:hover,
.btn-copy:hover,
.btn-icon:hover,
.copy-input-group button:hover,
.search-btn-footer:hover {
    filter: brightness(1.12);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.banner-nav a,
.cc-menu-item a {
    font-family: var(--font-text);
    font-weight: 300;
    font-size: 18px;
}

/* --- Banner Principal (Container Mestre) --- */
.banner-container {
    width: 98%;
    max-width: 1850px;
    /* Remove text-based height dependence, use aspect-ratio */
    aspect-ratio: 16 / 9;
    min-height: auto;
    /* Reset previous min-heights */
    margin: 10px auto 0;
    /* Center the card */

    background-image: url('img/banner-v3.png');
    background-size: contain;
    /* Cover ensures it fills the shape */
    background-position: center;
    background-repeat: no-repeat;

    /* Enhanced 'Card' look */

    /* Configuração para Elementos Absolutos */
    position: relative;
    /* overflow: hidden;  Optional: clips content to rounded corners */

    /* Espaço para o cabeçalho flutuante */
    overflow: visible;

    display: flex;
    flex-direction: column;
}

.banner-interna {
    width: 98%;
    max-width: 1850px;
    /* Remove text-based height dependence, use aspect-ratio */
    aspect-ratio: 16 / 9;
    min-height: auto;
    /* Reset previous min-heights */
    margin: 20px auto 0;
    /* Center the card */

    background-image: url('img/banner-interna.png');
    background-size: contain;
    /* Cover ensures it fills the shape */
    background-position: center;
    background-repeat: no-repeat;

    /* Enhanced 'Card' look */

    /* Configuração para Elementos Absolutos */
    position: relative;
    /* overflow: hidden;  Optional: clips content to rounded corners */

    /* Espaço para o cabeçalho flutuante */
    overflow: visible;

    display: flex;
    flex-direction: column;
}



.hero-content-interna {
    color: black !important;
}

.banner-content-limiter {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    position: relative;
    /* Ensure content stays inside the rounded corners if needed, though overflow hidden on parent handles it */
}

/* --- Elementos Absolutos do Topo (Logo e Login) --- */

/* 1. Logo - Esquerda */
.logo-area {
    top: 80px;
    left: 0;
    right: 0px;
    position: relative;
    margin-bottom: 5px;
    /* Respiro visual */
    line-height: 0;
}

.logo {
    max-width: 200px;
    height: auto;
    display: block;
}

/* 2. Header Right - Direita */
.header-right {
    position: absolute;
    top: 1%;
    right: 10px;
    margin-bottom: 5px;
    /* Respiro visual */

    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}


/* --- Ícones Sociais --- */
.social-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.social-svg {
    width: 14px;
    /* Mesmo tamanho definido no font-size dos outros ícones */
    height: 14px;
    display: block;

    /* TRUQUE: Isso força o SVG a ficar BRANCO, mesmo se o arquivo for preto */
    filter: brightness(0) invert(1);
}

/* Espaço entre grupos */
.social-icons a:nth-child(3) {
    margin-right: 10px;
}

.social-icons a {
    background-color: var(--dark-grey);
    color: var(--text-white);
    width: 32px;
    height: 32px;
    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 18px;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s;
    line-height: 1;
}

.social-icons a:hover {
    background-color: var(--primary-orange);
    transform: translateY(-2px);
}

.social-icons .fa-x-twitter {
    font-size: 18px;
}

/* --- Botão Login --- */
.btn-login {
    background-color: var(--primary-orange);
    color: var(--text-white);
    border: none;
    padding: 16px 45px;
    border-radius: 30px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-login:hover {
    filter: brightness(1.12);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* --- Menu de Navegação --- */
.banner-nav {
    background-color: var(--primary-orange);
    width: fit-content;
    height: 55px;
    border-radius: 33.46px;

    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    align-items: center;
    padding-left: 25px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.banner-nav ul {
    list-style: none;
    display: flex;
    gap: 2px;
    /* Reduzi o gap para as abas ficarem mais próximas */
    align-items: center;
    height: 100%;
}

/* ALTERAÇÃO: Aplicando estilo de aba para TODOS os LI */
.banner-nav ul li {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    border-radius: 10px 10px 0 0;
    margin-top: 0;
    cursor: pointer;
    transition: all 0.2s;
    /* Transição suave */
}

/* ALTERAÇÃO: Hover para TODOS os LI */
.banner-nav ul li:hover,
.banner-nav ul li.active-item {
    background-color: var(--accent-yellow);


}

.banner-nav a {
    text-decoration: none;
    color: var(--text-white);
    font-size: 18px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 15px;
}

/* --- Lógica do Dropdown --- */

/* O Menu Escondido por Padrão */
.dropdown-menu {
    display: none;
    /* Escondido */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    width: 240px;
    border-radius: 0 10px 10px 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    padding: 10px 0;
    z-index: 20;
}

/* Mostrar ao passar o mouse no LI */
.banner-nav ul li:hover .dropdown-menu {
    display: flex;
    /* Mostra */
}

.dropdown-menu a {
    color: var(--dark-grey);
    font-family: var(--font-titles);
    font-size: 18px;
    padding: 12px 20px;
    width: 100%;
    display: block;
}

.dropdown-menu a:hover,
.dropdown-menu a.highlighted {
    color: var(--primary-orange);
    background-color: #FFF5F2;
}

.mouse-cursor {
    color: black;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%) rotate(-20deg);
    font-size: 18px;
}

/* --- Busca Interativa (ALTERADA) --- */
.search-box {
    background-color: var(--dark-grey);
    height: 100%;
    width: 55px;
    /* Tamanho inicial fechado */
    display: flex;
    justify-content: flex-end;
    /* Ícone alinhado à direita */
    align-items: center;
    margin-left: 20px;
    border-top-right-radius: 33.46px;
    border-bottom-right-radius: 33.46px;
    padding-right: 15px;
    /* Espaço para o ícone */

    /* Animação */
    transition: width 0.4s ease;
    overflow: hidden;
}

/* Classe ativada via JS */
.search-box.active {
    width: 100px;
    /* Tamanho aberto */
    justify-content: space-between;
}

/* Estilo do Input */
.search-input {
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-family: var(--font-text);
    font-size: 18px;
    padding-left: 15px;

    /* Escondido inicialmente */
    width: 0;
    opacity: 0;
    transition: width 0.4s ease, opacity 0.3s ease;
}

.search-box.active .search-input {
    width: 100%;
    background: transparent;
    opacity: 1;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.btn-search {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

/* --- Conteúdo Principal --- */
.hero-content {
    margin-top: 15%;
    margin-left: 7%;
    color: var(--text-white);
    max-width: 850px;
    position: relative;
    z-index: 5;
}

.hero-content h1 {
    margin-bottom: 25px;
    display: block;
    font-size: 60px;
    /* Default for hero h1 */
    line-height: 1.2;
}

/* Remove the specific 1600px override as aspect-ratio handles scaling better, 
   but we can keep font resizing if needed */
@media (min-width: 1600px) {
    /* banner-container min-height removed to let aspect-ratio dictate */

    .hero-content h1 {
        font-size: 80px;
        /* Keep the large text */
    }
}

.fa-database {
    margin-right: 12px;
}

#banner-home h1 {
    color: var(--text-white);
}

#banner-home p {
    color: var(--text-white);
}

.divider {
    width: 50px;
    height: 5px;
    background-color: var(--accent-yellow);
    margin-bottom: 30px;
    border-radius: 2px;
}



.hero-content p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 550px;
}

.btn-cta {
    background-color: var(--primary-orange);
    color: var(--text-white);
    font-family: var(--font-titles);
    font-size: 18px;
    border: none;
    padding: 16px 45px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(227, 106, 75, 0.5);
}

/* ========================================= */
/* --- RESPONSIVIDADE (Media Queries) --- */
/* ========================================= */

/* Tablet e Telas Médias (até 1024px) */
@media (max-width: 1024px) {
    .banner-nav {
        left: 50px;
        transform: none;
        /* Reset do translateX(-50%) do desktop */
    }

    .hero-content {
        margin-left: 50px;
        margin-top: 180px;
    }

    .hero-content h1 {
        font-size: 48px;
    }
}

/* Mobile (até 768px) */
@media (max-width: 768px) {
    body {
        padding: 0 0 20px 0;
        /* Remove padding lateral para o banner ocupar largura total */
    }

    .banner-content-limiter {
        padding-top: 100px;
    }

    .banner-container {
        /* Mobile: ocupa largura e altura total da tela */
        aspect-ratio: auto;
        min-height: 100vh;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
        height: auto;
        background-size: cover;
        background-position: center bottom;
        padding-left: 20px;
        padding-right: 20px;

        /* Altura flexível para o conteúdo caber */
        padding-bottom: 50px;
        /* Espaço no final */
    }

    /* Ajuste Header: Reduz tamanhos para caber lado a lado */
    .logo {
        max-width: 80px;
    }

    .header-right {
        gap: 8px;
    }

    .social-icons a {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .btn-login {
        padding: 8px 20px;
        font-size: 18px;
    }

    /* Menu de Navegação Mobile (Com Scroll Horizontal) */
    .banner-nav {
        transform: none;
        position: relative;
        /* Deixa de ser absoluto no mobile */
        top: 20px;
        left: 0;
        width: 100%;
        max-width: 100%;
        margin-bottom: 30px;
        overflow-x: auto;
        /* Permite rolar para o lado */
        white-space: nowrap;
        border-radius: 15px;
        padding-right: 15px;
        /* Espaço para o scroll */
    }

    /* Ajuste do conteúdo de texto */
    .hero-content {
        margin-left: 20px;
        margin-top: 30px;
        /* Zera a margem gigante do desktop */
        padding-right: 20px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
        max-width: 100%;
    }

    .btn-cta {
        width: 100%;
        /* Botão largura total no mobile */
    }
}

/* ========================================= */
/* --- SEÇÃO: HOW IT WORKS --- */
/* ========================================= */

.how-it-works-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Centraliza verticalmente */
    padding: 100px 0;
    /* Espaçamento superior e inferior */
    max-width: 1650px;
    margin: 0 auto;
    /* Centraliza a seção na tela */
    gap: 60px;
}

/* --- Coluna Esquerda (Imagens) --- */
.hiw-left {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    /* Tamanho da imagem da menina */
}

.main-gift-img {
    width: 540px;
    height: auto;
    border-radius: 30px;
    /* Arredondamento da foto */
    display: block;
    object-fit: cover;
}

/* Balão Flutuante */
.floating-balloon {
    position: absolute;
    top: -130px;
    /* Sobe o balão para fora da caixa */
    left: -200px;
    /* Joga o balão para a esquerda */
    width: 300px;
    /* Tamanho do balão */
    height: auto;
    z-index: 2;
    animation: floatBalloon 4s ease-in-out infinite;
    /* Animação suave */
}

/* Animação simples de flutuar */
@keyframes floatBalloon {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* --- Coluna Direita (Texto) --- */
.hiw-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Tag "How it works" */
.section-tag {
    display: flex;
    align-items: center;
    gap: 10px;

    /* Reduced from 15px */
}

.section-tag span {
    color: var(--primary-orange);
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 18px;
}

.tag-icon {
    width: 20px;
    height: auto;
}

/* Títulos e Textos */
.hiw-right h2 {
    font-size: 48px;
    color: var(--dark-grey);
    line-height: 1.1;
    margin-bottom: 20px;
}

.title-accent-line {
    width: 50px;
    height: 4px;
    background-color: var(--accent-yellow);
    margin-bottom: 25px;
    border-radius: 2px;
}

.section-desc {
    color: #5A5A5A;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 10px;
    max-width: 70%;
}

/* --- Cards dos Passos --- */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin-left: -22%;
    z-index: 1;
}

.step-card {
    background-color: #FFF0EB;
    /* Cor de fundo rosada do card */
    border-radius: 20px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.2s;
}

.step-card:hover {
    transform: translateX(5px);
    /* Pequeno movimento ao passar o mouse */
}

/* Ícone dentro do círculo */
.step-icon-box {
    background-color: #FFDEC6;
    /* Círculo laranja claro atrás do ícone */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* Impede que o ícone esmague */
}

.step-icon-box img {
    width: 24px;
    height: 24px;
}

/* Texto dentro do Card */
.step-content h3 {
    font-family: var(--font-titles);
    font-size: 18px;
    color: var(--dark-grey);
    margin-bottom: 8px;
}

.step-content p {
    font-family: var(--font-text);
    font-size: 18px;
    color: #5A5A5A;
    line-height: 1.5;
}

/* ========================================= */
/* --- RESPONSIVIDADE DA SEÇÃO (Mobile) --- */
/* ========================================= */

@media (max-width: 1024px) {
    .how-it-works-section {
        flex-direction: column;
        /* Empilha as colunas */
        padding: 50px 0;
        gap: 50px;
    }

    .hiw-left {
        width: 100%;
    }

    .floating-balloon {
        left: 0;
        /* Ajusta balão no tablet/mobile */
        top: -40px;
        width: 100px;
    }

    .hiw-right {
        width: 100%;
        padding: 0 20px;
    }

    .hiw-right h2 {
        font-size: 36px;
    }
}

/* ========================================= */
/* --- BARRA DE BUSCA FLUTUANTE --- */
/* ========================================= */

.search-banner-wrapper {
    width: 100%;
    max-width: 1500px;
    /* Wider box */
    margin: 0 auto;
    position: relative;
    z-index: 10;
    margin-bottom: -120px;
    /* Faz a barra sobrepor a seção rosa abaixo */
}

.sb-content {
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 40px 40px;
    /* Remove side padding from outer */
    display: flex;
    /* Ensure centering works if needed, though content-limiter handles flex */
    justify-content: center;
    /* Center the limiter */
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.content-limiter {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0px;
    /* Add padding here for content */
}

.sb-left h2 {
    font-size: 48px;
    color: var(--dark-grey);
    line-height: 1.1;
    margin-bottom: 10px;
}

.yellow-dash-small {
    width: 30px;
    height: 4px;
    background-color: var(--accent-yellow);
    border-radius: 2px;
}

.sb-right {
    flex: 1;
    max-width: 50%;
}

.sb-right p {
    font-size: 18px;
    color: var(--dark-grey);
    margin-bottom: 15px;
    font-weight: 500;
}

/* Container do Input + Botão */
.sb-input-container {
    display: flex;
    width: 100%;
    border: 1px solid #E36A4B;
    /* Borda laranja fina */
    border-radius: 50px;
    background: white;
}

.sb-input-container input {
    flex: 1;
    border: none;
    outline: none;
    padding: 18px 25px;
    border-radius: 50px 0 0 50px;
    outline: none;
    font-family: var(--font-text);
    font-size: 16px;
    color: #555;
}

.sb-input-container button {
    background-color: var(--primary-orange);
    color: white;
    border: none;
    padding: 12px 40px;
    padding: 0 40px;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 16px;
    transition: background 0.2s;
}

.sb-input-container input::placeholder {
    color: #CCC;
}

.sb-input-container button:hover {
    filter: brightness(1.12);
    box-shadow: 0 6px 18px rgba(227, 106, 75, 0.35);
}

/* ========================================= */
/* --- SEÇÃO: TIPOS DE CELEBRAÇÃO (EM MOLDURA) --- */
/* ========================================= */

.limit-celebration {
    max-width: 1300px;
}

.celebration-types-section {
    /* --- Estilo de Moldura --- */
    background-color: #FBD6C3;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

    /* --- CENTRALIZAÇÃO (A mudança principal) --- */
    /* 30px topo/baixo | auto esquerda/direita */
    margin: 30px auto;

    /* Tamanho */
    width: 100%;

    /* Espaçamento Interno */
    padding-left: 60px;
    padding-right: 60px;
    padding-bottom: 100px;
    padding-top: 150px;

    /* Layout Flex */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    /* Posição */
    position: relative;
    z-index: 5;
}

/* --- Cabeçalho Interno --- */
.ct-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.ct-text-content .small-tag {
    color: var(--primary-orange);
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
    /* Reduced from 10px */
}

.ct-text-content .small-tag::before {
    content: '\f0c1';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
}

.ct-text-content h2 {
    font-size: 48px;
    color: var(--dark-grey);
    line-height: 1.1;
    margin-bottom: 15px;
}

.ct-text-content p {
    margin-top: 20px;
    color: #4A4A4A;
    max-width: 500px;
    font-size: 18px;
}

.btn-cta-secondary {
    background-color: var(--primary-orange);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 4px 10px rgba(227, 106, 75, 0.3);

    /* --- ADICIONE ESTA LINHA --- */
    white-space: nowrap;
}

.btn-cta-secondary:hover {
    filter: brightness(1.12);
    box-shadow: 0 6px 18px rgba(227, 106, 75, 0.35);
}

/* --- Grid de Cards --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

/* --- Estilo do Card --- */
.celebration-card {
    position: relative;
    border: 1px solid var(--primary-orange);
    border-radius: 20px;
    padding: 30px 25px 50px 25px;
    display: flex;
    flex-direction: column;
    background-color: transparent;
    transition: all 0.3s ease;
    z-index: 1;
}

/* --- Pseudo-elemento para Fundo com Imagem --- */
.celebration-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.celebration-card:nth-child(1)::before {
    background-image: url('img/card-1.png');
}

.celebration-card:nth-child(2)::before {
    background-image: url('img/card-2.png');
}

.celebration-card:nth-child(3)::before {
    background-image: url('img/card-3.png');
}

/* --- Elementos Internos do Card --- */
.celebration-card h3 {
    font-size: 24px;
    color: var(--dark-grey);
    margin-bottom: 20px;
    transition: color 0.3s;
}

.card-image-box {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    display: block;
}

.card-desc {
    font-size: 18px;
    color: var(--dark-grey);
    line-height: 1.5;
    transition: color 0.3s;
    margin-bottom: 10px;
}

/* --- Botão que "Abre" na borda --- */
.btn-card-hover {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    background-color: var(--accent-yellow);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 700;
    font-family: var(--font-titles);
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* --- ADICIONE ESTA LINHA --- */
    white-space: nowrap;
}

/* --- HOVER EFFECTS --- */
.celebration-card:hover {
    background-color: rgba(227, 106, 75, 0.95);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(227, 106, 75, 0.3);
}

.celebration-card:hover::before {
    opacity: 0.15;
}

.celebration-card:hover h3,
.celebration-card:hover .card-desc {
    color: white;
}

.celebration-card:hover .btn-card-hover {
    opacity: 1;
    pointer-events: auto;
}

/* --- Responsividade Ajustada --- */
@media (max-width: 1024px) {
    .celebration-types-section {
        width: 100%;
        padding: 40px 30px;
    }

    .ct-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards-grid>.celebration-card:last-child:nth-child(2n+1) {
        grid-column: 1 / -1;
        max-width: calc(50% - 15px);
        margin-left: auto;
        margin-right: auto;
    }
}

/* ========================================= */
/* --- SEÇÃO: FAQ --- */
/* ========================================= */

.faq-section {
    background-color: var(--bg-cream);
    /* Usa o fundo creme padrão */
    padding: 50px 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Reutilizando limit-celebration para manter largura, 
   mas garantindo que o flex funcione internamente */
.faq-section .limit-celebration {
    width: 100%;
}

.faq-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
}

/* --- Coluna Esquerda --- */
.faq-left {
    flex: 1;
    max-width: 600px;
    /* Increased from 450px to prevent 3-line break */
}

.faq-left h2 {
    font-size: 48px;
    color: var(--dark-grey);
    line-height: 1.1;
    margin-bottom: 20px;
    margin-top: 5px;
    /* Reduced from 15px */
}

.faq-left p {
    color: #5A5A5A;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    margin-top: 25px;
}

.btn-faq-custom {
    box-shadow: none;
    /* Remove sombra extra se desejar igual a imagem flat */
    padding: 15px 35px;
}

/* --- Coluna Direita (Acordeão) --- */
.faq-right {
    flex: 1.2;
    /* Um pouco mais largo que a esquerda */
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.faq-item {
    width: 100%;
}

/* O Botão da Pergunta (Pill Shape) */
.faq-question {
    width: 100%;
    background-color: transparent;
    border: 1px solid var(--primary-orange);
    border-radius: 50px;
    /* Borda arredondada completa */
    padding: 18px 30px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 18px;
    color: var(--dark-grey);
    text-align: left;

    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #FFF5F2;
    /* Um laranja bem clarinho no hover */
}

.icon-toggle {
    color: var(--primary-orange);
    font-size: 18px;
    transition: transform 0.3s ease;
}

/* --- Estado ATIVO (Aberto) --- */
.faq-question:hover,
.faq-question.active {
    background-color: var(--primary-orange);
    color: white;
    border-color: var(--primary-orange);
}

.faq-question.active .icon-toggle {
    color: white;
    transform: rotate(180deg);
    /* Transforma o + em x (opcional) ou muda via JS */
}

/* A Resposta (Escondida por padrão) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 30px;
    /* Alinhado com o texto de cima */
}

.faq-answer p {
    padding-top: 15px;
    padding-bottom: 10px;
    color: #5A5A5A;
    font-size: 18px;
    line-height: 1.5;
}

/* ========================================= */
/* --- RESPONSIVIDADE FAQ --- */
/* ========================================= */
@media (max-width: 1024px) {
    .faq-container {
        flex-direction: column;
        gap: 50px;
    }

    .faq-left,
    .faq-right {
        max-width: 100%;
        flex: 1;
    }

    .faq-left h2 {
        font-size: 36px;
    }
}

/* ========================================= */
/* --- SEÇÃO: TESTIMONIALS (Atualizado) --- */
/* ========================================= */

/* Container Full Width (Quebra o padding do body) */
.bkg-testiminial {
    background-color: #FFFFFF;

    /* LÓGICA PARA OCUPAR 100% DA TELA */
    /* Como o body tem padding: 0 50px, usamos margem negativa para estourar */
    margin-left: -50px;
    margin-right: -50px;
    width: calc(100% + 100px);

    position: relative;
    /* Evita barra de rolagem horizontal se o elemento 3D vazar um pouco */
    overflow-x: clip;
    z-index: 1;
}

.testimonials-section {
    padding: 100px 0 100px 0;
    width: 100%;
    position: relative;
}

/* O limite do conteúdo centralizado (Texto e Imagens) */
.testimonials-section .limit-celebration {
    max-width: 1300px;
    margin: 0 auto;
    /* Centraliza o bloco interno */
    position: relative;
}

/* --- Elemento Flutuante (Gift Box 3D) --- */
.floating-gift-3d {
    position: absolute;
    /* Ajuste a altura vertical conforme gosto */
    top: -100px;

    /* GRUDADO NA DIREITA DA TELA */
    right: 0;

    width: 380px;
    height: auto;
    z-index: 10;
    pointer-events: none;
    /* Permite clicar em coisas atrás dele se necessário */
    animation: floatGift 5s ease-in-out infinite;
}

@keyframes floatGift {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

/* --- Container Flex --- */
.testi-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    gap: 40px;
}

/* --- Lado Esquerdo (Imagem + Card) --- */
.testi-left-wrapper {
    position: relative;
    flex: 1;
    max-width: 500px;
}

.marry-img {
    width: 530px;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    display: block;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* --- NOVO GRUPO FLUTUANTE (Recebe a posição que era do card) --- */
.testi-floating-group {
    position: absolute;
    bottom: 100px;
    /* Ajustei um pouco para dar espaço aos botões */
    right: -800px;
    width: 880px;
    z-index: 5;

    /* Layout Flex para alinhar card e botões verticalmente */
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Espaço entre o card branco e os botões */
}

/* --- CARD (Perde a posição absoluta, ganha apenas estilo visual) --- */
.testi-card {
    /* Removemos position, bottom, right e z-index daqui */
    width: 100%;
    /* Ocupa a largura do grupo */
    background-color: var(--bg-cream);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* --- BOTÕES (Estilo normal) --- */
.testi-nav-buttons {
    display: flex;
    gap: 15px;
    /* Se quiser alinhar à direita ou esquerda, use justify-content aqui */
    justify-content: center;
}

.stars {
    color: var(--accent-yellow);
    margin-bottom: 20px;
    font-size: 18px;
}

.testi-text {
    font-family: var(--font-text);
    font-size: 18px;
    color: #5A5A5A;
    line-height: 1.6;
    margin-bottom: 25px;
    font-style: italic;
}

.testi-user {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info h4 {
    color: var(--dark-grey);
    font-size: 18px;
    margin-bottom: 2px;
}

.user-info span {
    font-size: 13px;
    color: #888;
}



.nav-btn {
    width: 50px;
    height: 35px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    color: white;
    font-size: 18px;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-btn {
    background-color: var(--primary-orange);
}

.next-btn {
    background-color: var(--accent-yellow);
}

.nav-btn:hover {
    filter: brightness(1.12);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* --- Lado Direito (Texto) --- */
.testi-right-content {
    flex: 1;
    padding-top: 20px;
    padding-left: 50px;
}

.testi-right-content h2 {
    font-size: 48px;
    color: var(--dark-grey);
    line-height: 1.1;
    margin-bottom: 20px;
}

/* ========================================= */
/* --- RESPONSIVIDADE (Testimonials) --- */
/* ========================================= */

@media (max-width: 1200px) {
    .testi-card {
        right: -100px;
        width: 420px;
    }

    .testi-right-content {
        padding-left: 120px;
    }

    .testi-floating-group {
        /* Era .testi-card */
        right: -100px;
        width: 420px;
    }
}

/* Ajustes para Tablet e Mobile */
@media (max-width: 1024px) {

    /* Recalcula as margens negativas pois o padding do body muda no mobile */
    .bkg-testiminial {
        margin-left: -20px;
        /* Assumindo padding: 20px no body mobile */
        margin-right: -20px;
        width: calc(100% + 40px);
    }

    .testi-container {
        flex-direction: column-reverse;
        align-items: center;
        gap: 60px;
        padding: 0 20px;
        /* Adiciona padding interno para o texto não colar */
    }

    .testi-right-content {
        padding-left: 0;
        text-align: center;
        width: 100%;
    }

    .testi-right-content .yellow-dash-small,
    .testi-right-content .section-tag {
        margin-left: auto;
        margin-right: auto;
    }

    .testi-left-wrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Grupo deixa de flutuar e volta ao fluxo normal */
    .testi-floating-group {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        max-width: 500px;
        margin-top: -60px;
        /* Sobe um pouco sobre a imagem */
        margin-left: 0;
        align-items: center;
        /* Centraliza botões no mobile */
    }


    .marry-img {
        width: 100%;
        max-width: 500px;
    }

    /* Card volta a ser estático no mobile para não quebrar o layout */
    .testi-card {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        max-width: 500px;
        margin-top: -60px;
        margin-left: 0;
    }

    /* Esconde ou ajusta o Gift 3D no mobile para não atrapalhar */
    .floating-gift-3d {
        width: 120px;
        top: -50px;
        opacity: 0.8;
    }
}

/* ========================================= */
/* --- SEÇÃO: BLOG (AJUSTADA) --- */
/* ========================================= */

.blog-section {
    background-color: #FFF8E9;
    padding: 50px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blog-section .limit-celebration {
    width: 100%;
    max-width: 1350px;
    padding: 0 20px;
    box-sizing: border-box;
}

/* --- Cabeçalho da Seção --- */
.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.blog-header-left h2 {
    font-size: 48px;
    color: var(--dark-grey);
    line-height: 1.1;
    margin-bottom: 15px;
    margin-top: 5px;
    /* Reduced from 15px */
}

/* --- Grid Principal (ALTERADO) --- */
.blog-grid {
    display: grid;
    /* Adjusted columns to be more balanced */
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 30px;
    width: 100%;
}

/* ========================================= */
/* --- CARD DESTAQUE (Esquerda) --- */
/* ========================================= */
.featured-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    /* ALTERAÇÃO: Aumentei para 520px para ficar mais quadrado com a nova largura */
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
}

.bg-img-featured {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.4s ease;
}

.featured-card:hover .bg-img-featured {
    transform: scale(1.05);
}

.overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

.blog-content-overlay {
    position: relative;
    z-index: 3;
    padding: 40px;
    /* Aumentei um pouco o padding interno para ficar mais elegante */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.text-white {
    color: #FFFFFF !important;
}

.text-white-op {
    color: rgba(255, 255, 255, 0.8) !important;
}

.blog-content-overlay h3 {
    font-size: 28px;
    /* Texto um pouco maior no destaque */
    margin-bottom: 20px;
    margin-top: 5px;
    line-height: 1.2;
}

/* ========================================= */
/* --- CARD PADRÃO (Laterais) --- */
/* ========================================= */
.standard-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: transform 0.3s ease;
    height: 100%;
    /* Ensure card fills height */
}

.standard-card:hover {
    transform: translateY(-5px);
}

.blog-img-box {
    width: 100%;
    /* ALTERAÇÃO: Reduzi para 220px para os cards laterais parecerem menores */
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
}

.blog-img-std {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.standard-card:hover .blog-img-std {
    transform: scale(1.05);
}

.blog-content-std {

    /* Removi padding lateral para alinhar melhor */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.blog-content-std h3 {
    font-size: 20px;
    /* Texto um pouco menor nos cards laterais */
    color: var(--dark-grey);
    margin-bottom: 15px;
    margin-top: 5px;
    line-height: 1.3;
}

/* --- Tipografia Global dos Cards --- */
.blog-category {
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 5px;
}

.standard-card .blog-category {
    color: var(--primary-orange);
}

.blog-date {
    font-size: 13px;
    margin-bottom: 5px;
    display: block;
}

.standard-card .blog-date {
    color: #999;
}

/* --- Botão "Read More" --- */
.btn-read-more {
    background-color: var(--primary-orange);
    color: white;
    text-decoration: none;
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 16px;
    padding: 12px 30px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.2s, transform 0.2s;
    border: none;
}

.btn-read-more:hover {
    filter: brightness(1.12);
    box-shadow: 0 6px 18px rgba(227, 106, 75, 0.35);
}

.btn-read-more i {
    font-size: 14px;
}

/* ========================================= */
/* --- RESPONSIVIDADE --- */
/* ========================================= */

@media (max-width: 1024px) {
    .blog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .blog-header-left h2 {
        font-size: 36px;
    }

    /* Grid volta para 1 coluna no mobile */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .featured-card {
        min-height: 400px;
        /* Altura ajustada para mobile */
    }

    .blog-img-box {
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

/* ========================================= */
/* --- FOOTER SECTION --- */
/* ========================================= */

.site-footer {
    width: 100%;
    position: relative;
    padding-top: 50px;
    /* Espaço antes do card começar */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- 1. Newsletter Card (Flutuante) --- */
.newsletter-card {
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 50px 40px;
    /* Remove side padding from outer */
    display: flex;
    justify-content: center;
    /* Center limiter */
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 1500px;
    /* Wider box */
    margin-left: auto;
    margin-right: auto;

    position: relative;
    z-index: 10;
    /* Garante que fique POR CIMA do laranja */
    margin-bottom: -40px;
    /* Faz o card "descer" para dentro da área laranja */
}

/* Lado Esquerdo (Texto) */
.news-left {
    flex: 1;
    max-width: 45%;
}

.news-left .section-tag span {
    color: var(--primary-orange);
}

.news-left h3 {
    font-size: 48px;
    color: var(--dark-grey);
    line-height: 1.1;
    margin-bottom: 15px;
}

/* Lado Direito (Form) */
.news-right {
    flex: 1;
    max-width: 50%;
}

.news-right p {
    font-size: 18px;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Formulário Customizado */
/* Formulário Customizado - Combinando estilo do Search */
.news-form {
    display: flex;
    width: 100%;
    border: 1px solid var(--primary-orange);
    border-radius: 50px;
    background: white;
}

.news-form input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    border-radius: 50px 0 0 50px;
    outline: none;
    font-family: var(--font-text);
    font-size: 16px;
    color: #555;
}

.news-form input::placeholder {
    color: #CCC;
}

.news-form button {
    background-color: var(--primary-orange);
    color: white;
    border: none;
    padding: 0 40px;
    border-radius: 0 50px 50px 0;
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.news-form button:hover {
    filter: brightness(1.12);
    box-shadow: 0 6px 18px rgba(227, 106, 75, 0.35);
}

.site-footer {
    /* Isso "empurra" o rodapé para o final do container flex (body) */
    margin-top: auto;

    /* Mantém as configurações anteriores */
    width: 100%;
    position: relative;
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- 2. Footer Laranja (Background) --- */
.footer-orange-bg {
    width: 100%;
    /* Gradiente laranja igual da imagem */
    background: linear-gradient(180deg, #FF7E5F 0%, #FE5824 100%);

    border-radius: 30px 30px 0 0;
    /* Arredondado apenas em cima */

    padding-top: 160px;
    /* Espaço GRANDE para compensar o card que está por cima */
    padding-bottom: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.footer-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-bottom: 40px;
}

/* Logo */
.footer-logo {
    max-width: 100px;
    margin-bottom: 30px;
    filter: brightness(0) invert(1);
}

/* Menu e Ícones na mesma linha */
.footer-nav-row {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.footer-menu {
    display: flex;
    gap: 25px;
}

.footer-menu a {
    color: white;
    text-decoration: none;
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 18px;
    transition: opacity 0.2s;
}

.footer-menu a:hover {
    color: #F6B43F;
    /* Custom Yellow Hover */
    opacity: 1;
}

/* Ações (Busca + Social) */
.footer-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-btn-footer {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s;
}

.search-btn-footer:hover {
    color: #F6B43F;
}

.social-row {
    display: flex;
    gap: 10px;
}

.social-row a {
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.2);
    /* Fundo branco transparente */
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.social-row a:nth-child(3) {
    margin-right: 10px;
}

.social-row a:hover {
    background-color: #F6B43F;
    /* Custom Yellow Hover */
    border-color: #F6B43F;
    color: white;
}

/* Divisor */
.footer-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 30px 0;
}

/* Legal Links */
.footer-legal {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: white;
    font-family: var(--font-text);
}

.footer-legal a {
    color: white;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: #F6B43F;
}

/* --- 3. Barra do Desenvolvedor --- */
.developer-bar {
    width: 100%;
    background-color: #2C2C2C;
    /* Cinza escuro */
    padding: 15px 0;
    display: flex;
    justify-content: center;
    border-radius: 15px 15px 0 0;
    /* Leve arredondamento no topo da barra */

    /* Para garantir que a barra fique dentro da largura do layout ou full width */
    /* Na imagem parece ter margem lateral, vamos ajustar para ficar dentro do contorno */
    width: 95%;
    max-width: 1300px;
}

.dev-content {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #AAA;
    font-size: 12px;
    font-family: var(--font-text);
}

.dev-logo {
    height: 18px;
    /* Ajuste conforme o tamanho do seu png */
    width: auto;
}

/* ========================================= */
/* --- RESPONSIVIDADE FOOTER --- */
/* ========================================= */

@media (max-width: 1024px) {
    .newsletter-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        padding: 40px;
        margin-bottom: -120px;
        /* Aumenta o overlap no mobile */
    }

    .news-left,
    .news-right {
        max-width: 100%;
        width: 100%;
    }

    .news-left h3 {
        font-size: 32px;
    }

    .footer-orange-bg {
        padding-top: 180px;
    }

    .footer-nav-row {
        flex-direction: column;
        gap: 20px;
    }

    .footer-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .developer-bar {
        width: 100%;
        border-radius: 0;
    }
}

/* --- Estilos da Página Interna (Kids Party) --- */

/* Ajuste do Container Principal para Internas */
.banner-container.internal-mode {
    background-image: none;
    /* Remove a imagem de fundo da Home */
    background-color: var(--bg-cream);
    aspect-ratio: auto;
    /* Override 16/9 from .banner-container so internal pages grow with content */
    height: auto;
    /* Altura automática baseada no conteúdo */
    /* MUDANÇA: min-height auto para evitar buracos em telas muito grandes */
    min-height: auto;
    padding-bottom: 60px;
    margin-top: 0;
    /* Remove margem superior se houver na home */
    border-radius: 0;
    /* Opcional: remove bordas arredondadas do banner se quiser tela cheia */
}

/* Ajustes Específicos do Menu Interno */
.banner-nav.internal-nav {
    background-color: var(--primary-orange);
    /* Se precisar que o menu seja mais largo para caber os textos */
    width: auto;
    min-width: fit-content;
    padding-right: 25px;
    top: 40px;
}

.banner-nav.internal-nav ul li.highlight-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

/* --- Wrapper do Conteúdo --- */
.kids-party-wrapper {
    margin-top: 100px;
    /* Espaço para o menu flutuante */
    width: 100%;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Título */
.party-header-text {
    text-align: left;
    margin-bottom: 50px;
    margin-top: 50px;
}

.party-header-text h1 {
    font-size: 56px;
    color: var(--dark-grey);
    font-family: var(--font-titles);
}

.party-header-text h1 span {
    color: var(--primary-orange);
}

.divider-center {
    width: 60px;
    height: 5px;
    background-color: var(--accent-yellow);
    /* Margem: Topo | Direita | Baixo | Esquerda */
    margin: 15px 0 0 0;
    /* Removemos o 'auto' que centralizava */
    border-radius: 3px;
}

/* Grid (Foto + Card) */
.party-content-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    /* Faz os dois terem a mesma altura se possível */
    gap: 40px;
    width: 100%;
    /* MUDANÇA: Negative margin to overlap the border (half-out effect) */
    margin-bottom: -180px;
    position: relative;
    z-index: 10;
}

#party-content-grid-preview {
    margin-bottom: 0px;
}

/* Foto (Esquerda) */
.party-photo-box {
    flex: 1;
    max-width: 500px;
}

.party-main-img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Card de Informações (Direita) */
.party-info-card {
    flex: 1.2;
    background-color: white;
    border: 1px solid var(--primary-orange);
    /* Borda laranja padrão */
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(227, 106, 75, 0.05);
}

.party-description {
    color: #777;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.text-orange {
    color: var(--primary-orange);
    font-size: 30px;
}

/* Linha Data e Hora */
.party-details-row {
    display: flex;
    gap: 40px;
    margin-bottom: 25px;
    font-family: var(--font-text);
    color: var(--dark-grey);
    font-size: 18px;
    font-weight: 500;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Localização */
.party-location {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 35px;
    color: var(--dark-grey);
    font-size: 16px;
    line-height: 1.4;
    font-family: var(--font-text);
}

/* Countdown */
.countdown-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.timer-boxes {
    display: flex;
    gap: 5px;
}

.time-box {
    background-color: var(--primary-orange);
    /* Cor da marca */
    color: white;
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 32px;
    width: 45px;
    height: 55px;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}

/* Ajuste para variar a cor se quiser igual à imagem (parece um laranja mais avermelhado) */
.time-box {
    background-color: #E36A4B;
}

.timer-text {
    font-family: var(--font-titles);
    font-size: 18px;
    color: var(--dark-grey);
    line-height: 1.2;
}

/* Responsividade Básica para essa seção */
@media (max-width: 900px) {
    .party-content-grid {
        flex-direction: column;
        align-items: center;
    }

    .party-photo-box,
    .party-info-card {
        width: 100%;
        max-width: 100%;
    }

    .party-header-text h1 {
        font-size: 36px;
    }

    /* Menu scrollável no mobile (herança do style.css original, 
       mas garantindo que o padding top do conteúdo aumente) */
    .kids-party-wrapper {
        margin-top: 140px;
    }
}

/* ========================================= */
/* --- SEÇÃO DE PRESENTES (KIDS PARTY) --- */
/* ========================================= */

.kids-gifts-section {
    background-color: #FFDACF;
    /* Fundo Rosa Claro */

    /* --- CORREÇÃO: Respeita o padding do body --- */
    width: 100%;
    margin-left: 0;
    margin-right: 0;

    /* Espaçamento e Bordas */
    /* MUDANÇA: Increased margin to respect the overlapping element above (Half-out grid) */
    margin-top: 10vh;
    border-radius: 33.46px;
    padding: 0 60px 100px 60px;

    /* Layout */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;

    /* --- CRUCIAL --- */
    /* Permite que o presente "vaze" para a direita, 
       mas mantém o fundo rosa contido */
    overflow: visible;
}

/* Limite de Largura Interno */
.kids-gifts-section .limit-celebration {
    width: 100%;
    max-width: 1300px;
    position: relative;
    z-index: 5;
}

/* --- Elemento Flutuante 3D (CORRIGIDO) --- */
.gift-3d-floating {
    position: absolute;

    /* Ajuste vertical */
    top: 80px;

    /* --- O PULO DO GATO --- */
    /* O body tem padding de 50px. 
       Right: -50px joga o presente para cima desse padding, 
       colando na borda da janela */
    right: -50px;

    width: 380px;
    height: auto;
    z-index: 20;
    pointer-events: none;
    animation: floatGift 5s ease-in-out infinite;
}

/* --- Caixa Flutuante de CTA --- */
.attendance-cta-box {
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 40px 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -60px;
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}

.attendance-left h2 {
    font-size: 48px;
    color: var(--dark-grey);
    margin-bottom: 10px;
}

.divider-left {
    width: 40px;
    height: 4px;
    background-color: var(--accent-yellow);
    border-radius: 2px;
    margin-bottom: 15px;
}

.attendance-left p {
    color: #555;
    font-size: 18px;
}

.attendance-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-bg-icon {
    width: 90%;
    z-index: -1;
    left: 60px;
    position: relative;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-confirm-presence {
    background-color: #FF6B4A;
    color: white;
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 18px;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 107, 74, 0.3);
    transition: transform 0.2s;
    white-space: nowrap;
}

.btn-confirm-presence:hover {
    filter: brightness(1.12);
    box-shadow: 0 6px 18px rgba(255, 107, 74, 0.35);
}

.cta-note {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 8px;
    line-height: 1.3;
}

/* --- Header dos Presentes --- */
/* --- Header dos Presentes (Bloco Centralizado, Texto à Esquerda) --- */
.gifts-header-text {
    /* 1. Alinha o texto e elementos internos à ESQUERDA */
    text-align: left;

    /* 2. Centraliza o BLOCO na tela */
    width: 100%;
    max-width: 700px;
    /* Define uma largura máxima para o bloco */
    margin: 0 auto 60px auto;
    /* 'auto' nas laterais centraliza o bloco */

    padding-left: 0;
}

.gifts-header-text h2 {
    font-size: 48px;
    color: var(--dark-grey);
    font-family: var(--font-titles);
    margin-bottom: 10px;
}

/* Linha Amarela: Alinhada à esquerda do bloco */
.gifts-header-text .divider-center {
    width: 60px;
    height: 5px;
    background-color: var(--accent-yellow);
    border-radius: 3px;

    /* Margem: Top=15px, Right=auto, Bottom=20px, Left=0 */
    /* Left=0 garante que a linha fique embaixo da primeira letra */
    margin: 15px auto 20px 0;
}

.gifts-header-text p {
    color: #5A5A5A;
    font-size: 18px;
    font-family: var(--font-text);
}

/* --- Grid e Cards --- */
.gifts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.gift-card-item {
    position: relative;
    background-color: transparent;
    border: 1px solid var(--primary-orange);
    border-radius: 20px;
    padding: 30px 25px 30px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 1;
    height: 100%;
}

/* Imagem de Fundo (Hover) */
.gift-card-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

/* Mapeamento das imagens */
.gift-card-item:nth-child(1)::before {
    background-image: url('img/kids-cards-1.png');
}

.gift-card-item:nth-child(2)::before {
    background-image: url('img/kids-cards-2.png');
}

.gift-card-item:nth-child(3)::before {
    background-image: url('img/kids-cards-3.png');
}

.gift-card-item:nth-child(4)::before {
    background-image: url('img/kids-cards-4.png');
}

.gift-card-item:nth-child(5)::before {
    background-image: url('img/kids-cards-5.png');
}

.gift-card-item:nth-child(6)::before {
    background-image: url('img/kids-cards-6.png');
}

.gift-card-item:hover {
    background-color: rgba(227, 106, 75, 0.95);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(227, 106, 75, 0.3);
}

.gift-card-item:hover::before {
    opacity: 0.15;
}

.gift-card-item h3 {
    font-size: 24px;
    color: var(--dark-grey);
    margin-bottom: 15px;
    line-height: 1.2;
    text-align: center;
    min-height: 52px;
    transition: color 0.3s;
}

.gift-card-item:hover h3 {
    color: white;
}

.gift-img-box {
    width: 100%;
    height: 170px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 25px;
    background-color: #fff;
}

.gift-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-contribute {
    margin-top: auto;
    background-color: var(--primary-orange);
    color: white;
    border: none;
    padding: 12px 0;
    width: 100%;
    border-radius: 25px;
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 1;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-contribute:hover {
    filter: brightness(1.12);
    box-shadow: 0 6px 18px rgba(227, 106, 75, 0.35);
}

.gift-card-item:hover .btn-contribute {
    background-color: var(--accent-yellow);
    color: var(--dark-grey);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 1024px) {
    .kids-gifts-section {
        /* No tablet, o padding do body geralmente é menor (20px ou 30px) */
        padding: 0 30px 60px 30px;
    }

    .attendance-cta-box {
        margin-top: -100px;
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .divider-left {
        margin: 0 auto 15px auto;
    }

    .gifts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gift-3d-floating {
        width: 150px;
        top: -40px;
        /* Se o padding do body for 20px no tablet, ajustamos aqui */
        right: -30px;
    }
}

@media (max-width: 600px) {
    .gifts-grid {
        grid-template-columns: 1fr;
    }

    .gift-3d-floating {
        right: -20px;
        width: 120px;
    }
}

/* ========================================= */
/* --- FOOTER: SHARE CARD (CTA Interna) --- */
/* ========================================= */

/* Container do Card (Baseado no Newsletter Card) */
.share-celebration-card {
    background-color: #FFFFFF;
    border-radius: 20px;
    /* Espaçamento interno */
    padding: 50px 0;

    display: flex;
    justify-content: center;
    align-items: center;

    /* Sombras e Posicionamento */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 1300px;
    /* Largura igual aos outros containers */
    margin-left: auto;
    margin-right: auto;

    position: relative;
    z-index: 10;
    /* Fica por cima do laranja */

    /* Pull Down: "Empurra" para dentro da área laranja */
    margin-bottom: -40px;
}

/* Limitador de conteúdo interno */
.share-content-limiter {
    width: 100%;
    padding: 0 60px;
    /* Padding lateral interno */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Lado Esquerdo (Texto) --- */
.share-left {
    flex: 1;
}

.share-left h2 {
    font-size: 48px;
    color: var(--dark-grey);
    line-height: 1.1;
    margin-bottom: 15px;
}

.share-left .yellow-dash-small {
    /* Reutilizando a classe existente, mas garantindo alinhamento */
    margin-bottom: 20px;
}

.share-left p {
    font-size: 18px;
    color: #555;
    line-height: 1.5;
}

/* --- Lado Direito (Ações) --- */
.share-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Caixa do Ícone */
.share-icon-box {
    background-color: #FFDACF;
    /* Tom pêssego/rosa claro da imagem */
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.share-icon-box i {
    font-size: 32px;
    color: white;
    /* Ícone branco */
}

/* Botão de Compartilhar */
.btn-share-action {
    background-color: #FF6B4A;
    /* Laranja vibrante */
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 74, 0.3);
    transition: transform 0.2s, background-color 0.2s;
    white-space: nowrap;
}

.btn-share-action:hover {
    filter: brightness(1.12);
    box-shadow: 0 6px 18px rgba(255, 107, 74, 0.35);
}

/* --- Responsividade do Card Share --- */
@media (max-width: 1024px) {
    .share-celebration-card {
        padding: 40px 20px;
        margin-bottom: -120px;
        /* Ajuste do overlap no tablet/mobile */
        width: 100%;
        /* Margem lateral no mobile */
    }

    .share-content-limiter {
        flex-direction: column;
        padding: 0;
        gap: 30px;
        text-align: center;
    }

    .share-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .share-left h2 {
        font-size: 32px;
    }

    /* Centraliza o dash amarelo */
    .share-left .yellow-dash-small {
        margin: 0 auto 20px auto;
    }

    .share-right {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .btn-share-action {
        width: 100%;
        /* Botão full width no mobile */
        max-width: 300px;
    }
}

.share-bkg {
    position: relative;
    left: 60px;
    z-index: -1;
}



.interna-header-right {
    top: -50px;
    right: -60px;
}


/* --- Layout Geral --- */
.banner-container.internal-mode {
    background-color: #FFF8E9;
    /* Fundo branco para a área da logo */
    position: relative;
}

/* Posicionamento da Logo na área branca */
.logo-area-interna {
    top: 88px;
    left: 10px;
}

.logo {
    max-height: 70px;
    width: auto;
}

/* ==================================================================
   ESTRUTURA DO SHAPE (BACKGROUND & RECORTES)
================================================================== */

/* Container principal que recebe o fundo vermelho */
.red-folder-bg {
    position: relative;
    background-color: white;
    /* Vermelho da marca */
    border-radius: 20px;
    margin-top: 130px;
    /* Espaço para a aba não cortar no topo */
    padding: 0 50px 0px 50px;
    z-index: 1;
}

/* A "Aba" Superior Centralizada */
.red-folder-bg::before {
    content: '';
    position: absolute;
    background-color: inherit;
    /* Pega o mesmo vermelho do pai */
    left: 50%;
    transform: translateX(-50%);
    top: -50px;
    /* Sobe a aba para fora do container */
    height: 80px;
    width: 70%;
    border-radius: 30px 30px 0 0;
    z-index: -1;
    /* Fica atrás do conteúdo de texto */
}

/* Alinhamento do Menu para ficar DENTRO da aba */
.header-internal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(-70px);
    /* Pulo do gato: Sobe o menu para a aba */
    margin-bottom: -40px;
    /* Compensa o espaço deixado pelo elemento que subiu */
    position: relative;
    z-index: 2;
    /* Garante que os botões sejam clicáveis */
}

/* Ajuste Responsivo */
@media (max-width: 1024px) {
    .red-folder-bg {
        margin-top: 20px;
        border-radius: 30px;
        padding: 30px 20px;
    }

    .red-folder-bg::before {
        display: none;
        /* Remove a aba no mobile para ganhar espaço */
    }

    .header-internal-row {
        transform: none;
        /* Volta ao fluxo normal */
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }

    /* Ajuste extra para a logo não ficar perdida no mobile */
    .logo-area {
        text-align: center;
        margin-bottom: 20px;
    }
}

/* ========================================= */
/* --- CONTAINER PRINCIPAL --- */
/* ========================================= */
.banner-container.internal-mode {
    background-image: none;
    background-color: #FFF8E9;
    height: auto;
    min-height: auto;
    padding-bottom: 50px;
    margin-top: 0;
    position: relative;
    padding-top: 100px;
}

/* Reduzir o espaçamento do topo nas páginas internas */
.banner-container.internal-mode .logo-area {
    top: -75px;
}

.banner-container.internal-mode .header-right {
    top: 20px;
}

.banner-container.internal-mode .banner-nav {
    top: 20px;
}

/* Esconder ícones sociais em páginas internas (conforme solicitado) */
.banner-container.internal-mode .social-icons {
    display: none;
}

/* ========================================= */
/* --- HEADER UNIFICADO (CC-HEADER) --- */
/* ========================================= */

/* Container Pai (Flexbox para alinhar tudo) */
.cc-header-container {
    width: 100%;
    height: 100px;
    /* Define a altura da "linha do horizonte" */

    display: flex;
    align-items: center;
    /* Centraliza verticalmente */
    justify-content: space-between;
    /* Espalha Logo esq e Botão dir */

    position: relative;
    /* Necessário para o menu absoluto funcionar */
    padding-top: 20px;
    /* Margem do topo da tela */
}

/* --- 1. LOGO (Classes Novas) --- */
.cc-logo-wrapper {
    /* Garante que o flex item tenha tamanho */
    z-index: 20;
}

.cc-logo {
    max-width: 150px;
    height: auto;
    display: block;
    /* Ajuste fino se necessário para alinhar visualmente com texto */
}

/* --- 2. MENU CENTRAL (Classes Novas) --- */
.cc-menu-nav {
    background-color: #E36A4B;
    /* Laranja */
    width: fit-content;
    height: 55px;
    /* Altura do menu */
    border-radius: 33.46px;

    /* TRUQUE DE CENTRALIZAÇÃO ABSOLUTA */
    /* Isso garante que ele fique no centro DA TELA, 
       independente do tamanho do logo ou do botão */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;

    display: flex;
    align-items: center;
    padding: 0 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cc-menu-list {
    list-style: none;
    display: flex;
    gap: 2px;
    align-items: center;
    height: 100%;
    padding: 0;
    margin: 0;
}

.cc-menu-item {
    height: 100%;
    display: flex;
    align-items: center;
    border-radius: 20px;
    transition: background 0.2s;
    padding: 0;
}

#banner-home {
    color: white !important;
}

.cc-menu-item a {
    text-decoration: none;
    color: #FFFFFF;
    font-size: 18px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 10px;
    border-radius: 10px 10px 0 0;
    transition: background 0.2s;
}

.cc-menu-item a i {
    margin-right: 12px;
}

/* Hover Amarelo no Link */
.cc-menu-item a:hover {
    background-color: var(--accent-yellow);
}

/* Highlight (Gift Statement) */
.cc-menu-item.cc-highlight {
    background-color: transparent;
}

.cc-menu-item.cc-highlight:hover {
    background-color: var(--accent-yellow);
}

/* --- 3. BOTÃO LOGIN (Classes Novas) --- */
.cc-login-wrapper {
    z-index: 20;
}

.cc-btn-login {
    background-color: #E36A4B;
    color: #FFFFFF;
    border: none;
    height: 55px;
    padding: 0 35px;
    border-radius: 30px;
    font-family: var(--font-text);
    font-weight: 300;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.cc-btn-login:hover {
    filter: brightness(1.12);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* ========================================= */
/* --- CONTEÚDO (FORMULÁRIO) --- */
/* ========================================= */

.create-celebration-wrapper {
    max-width: 900px;
    /* Margem superior para separar do header */
    margin: 40px auto 0 auto;

    background-color: #FFFFFF;
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 5;
}

.creation-form {
    display: flex;
    flex-direction: column;
}

/* Títulos */
.step-title {
    font-size: 28px;
    color: #3A3A3A;
    text-align: center;
    margin-bottom: 25px;
    width: 100%;
    border: 1px solid var(--primary-orange);
    border-radius: 50px;
    padding: 15px;
    background-color: #FFFFFF;
}

.step-title .subtitle {
    font-size: 16px;
    font-weight: 400;
    font-family: 'Rubik', sans-serif;
    color: #777;
    margin-left: 10px;
}

/* --- CARDS TIPO DE EVENTO (Box Clicável) --- */
.type-selection-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.type-card {
    flex: 1;
    cursor: pointer;
    position: relative;
    display: block;
    /* Garante área de clique */
}

.type-card input {
    display: none;
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    height: 380px;
    /* Aumentado para acomodar a imagem e o texto estilo card */
    border: 1px solid var(--primary-orange);
    border-radius: 20px;
    color: #3A3A3A;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
    padding: 25px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.card-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.type-card:nth-child(1) .card-content::before {
    background-image: url('img/card-1.png');
}

.type-card:nth-child(2) .card-content::before {
    background-image: url('img/card-2.png');
}

.type-card:nth-child(3) .card-content::before {
    background-image: url('img/card-3.png');
}

.card-content i {
    font-size: 32px;
    margin-top: auto;
    /* Empurra o ícone e o texto para baixo */
    transition: color 0.3s;
}

.card-content span {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
    /* Ajustado para melhor espaçamento central */
    transition: color 0.3s;
    text-align: center;
    display: block;
    width: 100%;
}

/* Hover no BOX INTEIRO afeta o conteúdo */
.type-card:hover .card-content {
    background-color: rgba(227, 106, 75, 0.95);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(227, 106, 75, 0.3);
    color: white;
}

.type-card:hover .card-content::before {
    opacity: 0.15;
}

.type-card:hover .card-content i,
.type-card:hover .card-content span {
    color: white;
}

/* Estado Selecionado - Mantendo a estética de hover da Home como ativo */
.type-card input:checked+.card-content {
    background-color: rgba(227, 106, 75, 1);
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 20px rgba(227, 106, 75, 0.4);
    transform: scale(1.02);
}

.type-card input:checked+.card-content::before {
    opacity: 0.15;
}

.type-card input:checked+.card-content i,
.type-card input:checked+.card-content span {
    color: white;
}

/* --- INPUTS --- */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.step-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    color: var(--dark-grey);
}

.input-label {
    display: block;
    font-family: var(--font-titles);
    font-weight: 700;
    color: var(--dark-grey);
    margin-bottom: 12px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.cado-input {
    width: 100%;
    padding: 16px 24px;
    border-radius: 16px;
    border: 2px solid #F3F4F6;
    font-family: var(--font-body);
    font-size: 16px;
    outline: none;
    background-color: #FAFAFA;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cado-input:focus {
    border-color: var(--primary-orange);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(227, 106, 75, 0.1);
    transform: translateY(-1px);
}

.text-area {
    border-radius: 20px;
    height: 120px;
    resize: none;
    font-family: 'Rubik', sans-serif;
}

.upload-box {
    width: 100%;
    height: 120px;
    border: 1px dashed var(--primary-orange);
    border-radius: 20px;
    background: #FFFBF5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--primary-orange);
}

.upload-box:hover {
    color: #E36A4B;
}

/* --- PRESENTES (GIFTS) --- */
.form-step.highlight-bg {
    background-color: rgba(247, 180, 62, 0.15);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #F7B43E;
}

.form-step.highlight-bg .step-title {
    background-color: #F7B43E;
    border: none;
    color: #3A3A3A;
}

.form-step.highlight-bg .step-title .subtitle {
    color: #333;
}

/* --- CATEGORIAS (PILLS) --- */
.gift-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.cat-pill {
    background: #FFFFFF;
    /* Fundo Branco padrão */
    border: 1px solid var(--primary-orange);
    padding: 10px 20px;
    border-radius: 20px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    cursor: pointer;
    color: #3A3A3A;
    transition: all 0.2s;
}

/* HOVER: Fica amarelo apenas ao passar o mouse */
.cat-pill:hover {
    background-color: #F7B43E;
    /* Amarelo */
    border-color: #F7B43E;
}

/* ACTIVE: Classe para quando for selecionado via JS (opcional) */
.cat-pill.active {
    background-color: #F7B43E;
    border-color: #F7B43E;
}

.gift-selection-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.gift-toggle {
    padding: 10px 25px;
    border-radius: 25px;
    border: 1px solid var(--primary-orange);
    background-color: #FFFFFF;
    font-family: 'Rubik', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
}

/* HOVER GIFT: Apenas muda a borda */
.gift-toggle:hover {
    border-color: #E36A4B;
}

/* SELECTED GIFT: Fundo Amarelo Fixo */
.gift-toggle.selected {
    background-color: #F7B43E;
    border-color: #3A3A3A;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* --- TOGGLE SIM/NÃO --- */
.toggle-box-wrapper {
    text-align: center;
    border: 1px solid var(--primary-orange);
    border-radius: 30px;
    padding: 30px;
    background-color: #FFFFFF;
}

.toggle-desc {
    font-size: 18px;
    margin-bottom: 20px;
    color: #3A3A3A;
}

.yes-no-toggle {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.radio-btn {
    cursor: pointer;
}

.radio-btn input {
    display: none;
}

.radio-visual {
    display: inline-block;
    padding: 10px 40px;
    border: 1px solid var(--primary-orange);
    border-radius: 25px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    transition: all 0.2s;
    min-width: 100px;
}

.radio-btn input:checked+.radio-visual.green-active {
    background-color: #E36A4B;
    color: #FFFFFF;
    border-color: transparent;
}

.radio-btn input:checked+.radio-visual {
    background-color: #3A3A3A;
    color: #FFFFFF;
}

.arrow-down {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    color: #3A3A3A;
    font-size: 24px;
    width: 100%;
}

.arrow-down.full-width {
    grid-column: span 2;
}

.form-footer {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.btn-create-page {
    background-color: #FFFFFF;
    border: 1px solid var(--primary-orange);
    color: #3A3A3A;
    padding: 15px 60px;
    border-radius: 30px;
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-create-page:hover {
    background-color: #E36A4B;
    color: #FFFFFF;
    border-color: #E36A4B;
}

/* ========================================= */
/* --- FOOTER --- */
/* ========================================= */

.site-footer {
    width: 100%;

}

.footer-orange-bg {
    width: 100%;
    background: linear-gradient(180deg, #FF7E5F 0%, #FE5824 100%);
    border-radius: 30px 30px 0 0;
    padding-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1300px;
    padding-bottom: 40px;
}

.footer-logo {
    max-width: 100px;
    margin-bottom: 30px;
    filter: brightness(0) invert(1);
}

.footer-nav-row {
    display: flex;
    justify-content: center;
    width: 100%;
}

.footer-menu {
    display: flex;
    gap: 25px;
}

.footer-menu a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 16px;
}

.footer-menu a:hover {
    color: #F7B43E;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 30px 0;
}

.footer-legal {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: #FFFFFF;
}

.footer-legal a {
    color: #FFFFFF;
    text-decoration: none;
}

.developer-bar {
    width: 95%;
    max-width: 1300px;
    background-color: #2C2C2C;
    padding: 15px 0;
    display: flex;
    justify-content: center;
    border-radius: 15px 15px 0 0;
}

.dev-content {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #AAA;
    font-size: 12px;
}

.dev-logo {
    height: 18px;
    width: auto;
}

/* ========================================= */
/* --- RESPONSIVIDADE --- */
/* ========================================= */

@media (max-width: 1024px) {

    /* Reseta o layout do header para coluna no mobile */
    .cc-header-container {
        flex-direction: column;
        height: auto;
        gap: 20px;
    }

    .cc-menu-nav {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
    }

    .create-celebration-wrapper {
        margin-top: 20px;
        padding: 30px 20px;
        width: 100%;
    }

    .type-selection-grid {
        flex-direction: column;
    }

    .card-content {
        flex-direction: column;
        justify-content: flex-start;
        height: auto;
        padding: 20px;
        gap: 10px;
    }

    .card-image-box {
        height: 180px;
    }

    .grid-2-col {
        grid-template-columns: 1fr;
    }

    body {
        padding: 0 20px;
    }
}

.interna-site-footer {
    margin-top: 0px;
}

/* ========================================= */
/* --- MODAL RSVP --- */
/* ========================================= */

.modal-overlay {
    display: none;
    /* Escondido por padrão */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* Fundo escuro transparente */
    backdrop-filter: blur(5px);
    /* Desfoque moderno */
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    /* Mostra quando ativo */
}

.modal-box {
    background-color: #fff;
    width: 100%;
    max-width: 600px;
    border-radius: 30px;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-grey);
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal-btn:hover {
    color: var(--primary-orange);
}

.modal-header h2 {
    font-family: var(--font-titles);
    color: var(--dark-grey);
    font-size: 32px;
    margin-bottom: 5px;
}

.modal-header p {
    color: #777;
    margin-bottom: 25px;
}

/* --- Formulario Grid --- */
.input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Duas colunas */
    gap: 15px;
    margin-bottom: 20px;
}

.input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.input-wrapper.small {
    grid-column: span 1;
}

/* Faz o Nome e Email ocuparem a largura total no mobile se precisar, 
   ou ajusta span se quiser layouts diferentes */

.input-wrapper label {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-grey);
}

.modal-input {
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-family: var(--font-text);
    font-size: 16px;
    outline: none;
    transition: border 0.2s;
}

.modal-input:focus {
    border-color: var(--primary-orange);
}

/* --- Botões --- */
.btn-add-guest {
    width: 100%;
    padding: 12px;
    border: 2px dashed var(--primary-orange);
    background: #FFF5F2;
    color: var(--primary-orange);
    border-radius: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 25px;
}

.btn-add-guest:hover {
    background: var(--primary-orange);
    color: white;
    border-style: solid;
}

.btn-confirm-final {
    width: 100%;
    padding: 15px;
    background-color: var(--dark-grey);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s;
}

.btn-confirm-final:hover {
    background-color: var(--primary-orange);
}

/* --- Lista de Convidados --- */
.guest-list-container h4 {
    margin-bottom: 10px;
    color: #FF6B4A;
}

.guest-list {
    list-style: none;
    max-height: 150px;
    overflow-y: auto;
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 10px;
}

.guest-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-bottom: 1px solid #f0f0f0;
    background-color: #fafafa;
    border-radius: 5px;
    margin-bottom: 5px;
}

.guest-info {
    font-size: 14px;
    color: #555;
}

.btn-remove-guest {
    background: none;
    border: none;
    color: #ff4d4d;
    cursor: pointer;
}

.empty-msg {
    color: #999;
    font-size: 14px;
    text-align: center;
    padding: 10px;
}

/* Responsividade Mobile */
@media (max-width: 600px) {
    .input-grid {
        grid-template-columns: 1fr;
        /* Uma coluna no mobile */
    }

    .modal-box {
        padding: 25px;
    }
}

/* ========================================= */
/* --- MODAL GIFTS (ESPECÍFICO) --- */
/* ========================================= */

.gift-modal-header {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: center;
}

.gift-thumb-box {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #eee;
}

.gift-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gift-text-info h3 {
    font-family: var(--font-titles);
    color: var(--dark-grey);
    font-size: 24px;
    margin-bottom: 5px;
    line-height: 1.2;
}

.gift-text-info p {
    font-size: 14px;
    color: #777;
    line-height: 1.4;
}

/* Input de Preço */
.price-input-row {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-tag {
    position: absolute;
    right: 20px;
    color: #999;
    font-weight: 700;
    font-size: 14px;
}

/* Box Verde (Sugestão) */
.info-green-box {
    margin-top: 10px;
    background-color: #FF6B4A;
    /* Verde claro */
    border: 1px solid #A9DFD1;
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.info-green-box i {
    font-size: 16px;
}

/* Ajuste Mobile */
@media (max-width: 600px) {
    .gift-modal-header {
        flex-direction: column;
        text-align: center;
    }

    .info-green-box {
        align-items: flex-start;
    }
}

/* ========================================= */
/* --- MODAL PAGAMENTO (CHECKOUT) --- */
/* ========================================= */

/* Ajuste de largura específica para pagamento */
.payment-modal-box {
    max-width: 500px;
    width: 100%;
}

/* Cabeçalho com Badge de Segurança */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.secure-badge {
    font-size: 12px;
    color: #27AE60;
    /* Verde Segurança */
    background-color: #EAFAF1;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-family: var(--font-text);
}

/* Card de Resumo (Amarelo) */
.payment-summary-card {
    background-color: #FFF8E9;
    /* Fundo Creme do tema */
    border: 1px solid var(--primary-orange);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    color: #555;
    font-size: 15px;
    font-family: var(--font-text);
}

.summary-row.total {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #CCC;
    color: var(--dark-grey);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 0;
}

/* Abas de Pagamento (Tabs) */
.payment-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.pay-tab {
    flex: 1;
    padding: 12px;
    border: 1px solid #DDD;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    color: #777;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.pay-tab:hover {
    background-color: #F9F9F9;
}

.pay-tab.active {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    background-color: #FFF5F2;
}

.pay-tab i {
    font-size: 16px;
}

/* Formulários e Inputs com Ícones Internos */
.input-icon-group {
    position: relative;
    display: flex;
    align-items: center;
}

.icon-left {
    position: absolute;
    left: 15px;
    color: #999;
    z-index: 1;
    font-size: 16px;
}

.modal-input.padded-left {
    padding-left: 45px;
    /* Espaço para o ícone */
    min-width: 100%;
}

.grid-2-col-pay {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Botão Pagar (Verde para checkout) */
.btn-pay-now {
    width: 100%;
    background-color: #27AE60;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(39, 174, 96, 0.3);
    transition: transform 0.2s, background-color 0.2s;
    font-family: var(--font-titles);
}

.btn-pay-now:hover {
    filter: brightness(1.12);
    box-shadow: 0 6px 18px rgba(39, 174, 96, 0.35);
}

/* --- Área PIX --- */
.pix-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 0;
}

.qr-code-img {
    width: 160px;
    height: 160px;
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 5px;
}

.copy-paste-box {
    display: flex;
    background: #F4F4F4;
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 15px;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #555;
    width: 100%;
    border: 1px solid #ddd;
}

.copy-paste-box button {
    border: none;
    background: none;
    cursor: pointer;
    color: var(--primary-orange);
    font-size: 18px;
    transition: transform 0.2s;
}

.copy-paste-box button:hover {
    filter: brightness(1.2);
}

/* --- Área Apple Pay --- */
.apple-pay-content {
    text-align: center;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.apple-pay-content p {
    color: #555;
    font-size: 16px;
    margin-bottom: 5px;
}

/* Botão Apple Pay Oficial (Estilo iOS) */
.btn-apple-pay {
    background-color: black;
    color: white;
    border: none;
    border-radius: 5px;
    /* Padrão Apple é cantos suaves */
    width: 100%;
    height: 48px;
    /* Altura ergonômica padrão */
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s, transform 0.2s;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin-top: 10px;
    -webkit-font-smoothing: antialiased;
}

.btn-apple-pay:hover {
    filter: brightness(1.12);
}

.btn-apple-pay .apple-logo {
    font-size: 22px;
    display: flex;
    align-items: center;
    margin-bottom: 3px;
    /* Ajuste óptico */
}

.btn-apple-pay .apple-text {
    font-weight: 500;
    letter-spacing: 0.5px;
}

.apple-note {
    font-size: 13px;
    color: #888;
    margin-top: 10px;
}

/* Responsividade Mobile */
@media (max-width: 600px) {
    .grid-2-col-pay {
        grid-template-columns: 1fr;
    }

    .payment-modal-box {
        padding: 25px;
    }
}

/* ========================================= */
/* --- PÁGINA THANK YOU (SUCESSO) --- */
/* ========================================= */

.thank-you-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    /* Garante altura para centralizar */
    padding: 50px 20px;
    width: 100%;
}

.success-card {
    background-color: #FFFFFF;
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--primary-orange);

    /* Animação de entrada */
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Ícone Verde Animado */
.success-icon-circle {
    width: 100px;
    height: 100px;
    background-color: #27AE60;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 30px auto;
    color: white;
    font-size: 50px;
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.3);
}

.success-card h1 {
    font-family: var(--font-titles);
    font-size: 42px;
    color: var(--dark-grey);
    margin-bottom: 10px;
}

.success-message {
    font-size: 18px;
    color: #777;
    line-height: 1.6;
    margin-bottom: 30px;
}

.receipt-box {
    background-color: #F9F9F9;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 10px;
    color: #555;
    font-size: 14px;
    margin-bottom: 40px;
    border: 1px dashed #DDD;
}

/* Botões de Ação */
.action-buttons-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-back-party {
    padding: 15px 30px;
    border: 1px solid var(--primary-orange);
    border-radius: 30px;
    text-decoration: none;
    color: var(--dark-grey);
    font-weight: 700;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-back-party:hover {
    background-color: var(--dark-grey);
    color: white;
}

.btn-create-own {
    padding: 15px 30px;
    background-color: var(--primary-orange);
    border: 1px solid var(--primary-orange);
    border-radius: 30px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(227, 106, 75, 0.3);
}

.btn-create-own:hover {
    filter: brightness(1.12);
    box-shadow: 0 6px 18px rgba(227, 106, 75, 0.35);
}

/* Mobile */
@media (max-width: 600px) {
    .success-card h1 {
        font-size: 32px;
    }

    .action-buttons-row {
        flex-direction: column;
    }

    .btn-back-party,
    .btn-create-own {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================= */
/* --- PÁGINAS DE AUTH (LOGIN/REGISTER) --- */
/* ========================================= */

.auth-body {
    background-color: var(--bg-cream);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
}

.auth-container {
    background-color: #FFFFFF;
    width: 100%;
    max-width: 1000px;

    /* MUDANÇA AQUI: De height: 700px para auto/min-height */
    height: auto;
    min-height: 700px;

    border-radius: 30px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

/* Lado Visual (Imagem) */
.auth-visual {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 40px;
}

/* Imagens de fundo (Substitua pelos caminhos corretos se tiver) */
.login-bg {
    background-image: url('img/login.jpg');
    /* Reutilizando imagem do banner */
}

.register-bg {
    background-image: url('img/register.jpg');
    /* Reutilizando outra imagem */
}

.auth-overlay {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    width: 100%;
    z-index: 2;
}

.auth-overlay h2 {
    font-family: var(--font-titles);
    color: var(--primary-orange);
    font-size: 32px;
    margin-bottom: 10px;
}

.auth-overlay p {
    color: var(--dark-grey);
    font-size: 16px;
    line-height: 1.5;
}

/* 2. Remova o scroll interno do lado do formulário */
.auth-form-side {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;

    /* MUDANÇA AQUI: Removemos overflow-y: auto */
    overflow-y: visible;
}

.auth-logo {
    margin-bottom: 30px;
}

.auth-logo img {
    max-width: 100px;
    /* Se seu logo for branco, precisamos de um filtro ou usar a versão colorida */
    /* filter: invert(1); se necessário */
}

.auth-header h1 {
    font-family: var(--font-titles);
    font-size: 36px;
    color: var(--dark-grey);
    margin-bottom: 10px;
}

.auth-header p {
    color: #777;
    margin-bottom: 30px;
}

/* Formulário Spacing */
.auth-form .input-wrapper {
    margin-bottom: 20px;
}

/* Campos de Senha (olho) */
.icon-right {
    position: absolute;
    right: 15px;
    color: #999;
    cursor: pointer;
    z-index: 2;
}

/* Checkbox e Links */
.auth-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    margin-top: 25px;
    font-size: 14px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--dark-grey);
    user-select: none;
}

.custom-checkbox input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #DDD;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    transition: all 0.2s;
}

.custom-checkbox input:checked~.checkmark {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
}

.custom-checkbox input:checked~.checkmark::after {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 10px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.forgot-link {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Botão Principal */
.btn-auth-submit {
    width: 100%;
    padding: 15px;
    background-color: var(--dark-grey);
    color: white;
    border: none;
    border-radius: 30px;
    font-family: var(--font-titles);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

/* Divisor */
.auth-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #EEE;
    z-index: 1;
}

.auth-divider span {
    background-color: #FFF;
    padding: 0 15px;
    color: #999;
    font-size: 14px;
    position: relative;
    z-index: 2;
}

/* Botões Sociais */
.social-auth-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--primary-orange);
    background-color: white;
    font-size: 20px;
    color: var(--dark-grey);
    cursor: pointer;
}

/* Footer */
.auth-footer {
    text-align: center;
    font-size: 15px;
    color: var(--dark-grey);
    margin-top: 24px;
}

.auth-footer a {
    color: var(--primary-orange);
    font-weight: 700;
    text-decoration: none;
}

/* Responsividade Auth */
@media (max-width: 900px) {
    .auth-container {
        flex-direction: column;
        height: auto;
    }

    .auth-visual {
        display: none;
        /* Esconde a imagem no mobile para focar no form */
        /* Ou defina height: 200px; se quiser manter */
    }

    .auth-form-side {
        padding: 30px;
    }
}

/* ========================================= */
/* --- ADMIN / DASHBOARD STYLES --- */
/* ========================================= */

.dashboard-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    min-height: 60vh;
}

/* --- Abas do Painel --- */
.dashboard-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.dash-tab {
    background-color: white;
    border: 1px solid var(--primary-orange);
    padding: 12px 30px;
    border-radius: 30px;
    color: #555;
    outline: none;
    font-family: var(--font-titles);
    font-weight: 700;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}

.dash-tab:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.dash-tab.active {
    background-color: var(--primary-orange);
    color: white;
    border-color: var(--primary-orange);
}

.dash-tab.create-btn {
    background-color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    color: var(--dark-grey);
}

.dash-tab.create-btn:hover {
    filter: brightness(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* --- Conteúdo das Abas --- */
.dash-content {
    display: none;
    /* Escondido por padrão */
    animation: fadeIn 0.3s ease;
}

.dash-content.active {
    display: block;
    /* Mostra quando ativo */
}

.dash-title {
    font-family: var(--font-titles);
    font-size: 32px;
    color: var(--dark-grey);
    margin-bottom: 30px;
    border-bottom: 2px solid #EEE;
    padding-bottom: 10px;
}

/* --- Formulário My Info --- */
.info-card-wrapper {
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

.btn-save-info {
    background-color: var(--dark-grey);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.2s;
    font-size: 18px;
}

.btn-save-info:hover {
    background-color: var(--primary-orange);
}

/* --- Grid de Festas (Lista) --- */
.parties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.party-preview-card {
    background-color: white;
    border: 1px solid var(--primary-orange);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.party-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-orange);
}

.party-status {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 15px;
}

.party-preview-card.active .party-status {
    background-color: #E8F8F5;
    color: #27AE60;
}

.party-preview-card.ended .party-status {
    background-color: #F2F2F2;
    color: #999;
}

.party-preview-card h3 {
    font-size: 22px;
    color: var(--dark-grey);
    margin-bottom: 10px;
    margin-top: 10px;
}

.party-date {
    color: #777;
    margin-bottom: 20px;
}

.btn-manage {
    background-color: transparent;
    color: var(--primary-orange);
    border: 1px solid var(--primary-orange);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    cursor: pointer;
}

.party-preview-card:hover .btn-manage {
    background-color: var(--primary-orange);
    color: white;
}

/* --- MODO ADMIN: Barra de Ferramentas --- */
.btn-back-dash {
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
    font-size: 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-back-dash:hover {
    color: var(--dark-grey);
}

.admin-toolbar {
    background-color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    justify-content: center;
    border: 1px solid var(--primary-orange);
}

.tool-btn {
    background-color: #F9F9F9;
    border: 1px solid var(--primary-orange);
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    color: var(--dark-grey);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.tool-btn:hover {
    background-color: white;
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.tool-btn.highlight {
    background-color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    color: var(--dark-grey);
}

/* --- Admin Share Section --- */
.admin-share-section {
    background-color: #FFF8E9;
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    margin-top: 50px;

}

/* Standardized Admin Headers */
.guest-list-header h1,
.admin-share-section h2,
.dash-title,
.party-preview-card h3 {
    color: var(--dark-grey);
    text-align: center;
}

.share-box-admin {
    display: flex;
    max-width: 500px;
    margin: 20px auto 30px auto;
    background: white;
    border-radius: 30px;
    border: 1px solid var(--primary-orange);
    padding: 5px;
}

.share-box-admin input {
    flex: 1;
    border: none;
    padding-left: 20px;
    outline: none;
    color: #555;
    border-radius: 30px 0 0 30px;
}

.btn-copy {
    background-color: var(--dark-grey);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
}

.btn-copy:hover {
    background-color: var(--primary-orange);
}

.admin-social-share {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}

.share-btn:hover {
    filter: brightness(1.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.share-btn.whatsapp {
    background-color: #25D366;
}

.share-btn.facebook {
    background-color: #1877F2;
}

.share-btn.email {
    background-color: #EA4335;
}

.share-btn.qrcode {
    background-color: var(--dark-grey);
}

/* Responsivo */
@media (max-width: 768px) {
    .admin-toolbar {
        flex-direction: column;
    }

    .tool-btn {
        width: 100%;
        justify-content: center;
    }

    .share-box-admin {
        flex-direction: column;
        padding: 10px;
        gap: 10px;
        background: transparent;
        border: none;
    }

    .guest-list-header h1 {
        font-size: 18px !important;
        text-align: center;
    }

    .share-box-admin input {
        width: 100%;
        height: 45px;
        border-radius: 30px;
        margin-bottom: 10px;
        border: 1px solid #ddd;
    }

    .btn-copy {
        width: 100%;
    }
}

.footer-admin {
    margin-top: 0px;
    padding-top: 0px;
}

/* ========================================= */
/* --- AJUSTE FINO PARA NOTEBOOKS (1025px - 1440px) --- */
/* ========================================= */

@media (max-width: 1400px) {

    /* 1. Ajuste Geral de Margens e Containers */
    /* Reduz a largura máxima para caber confortavelmente em telas 1366px */
    .limit-celebration,
    .content-limiter,
    .newsletter-card,
    .share-celebration-card,
    .faq-section,
    .kids-gifts-section,
    .limit-celebration {
        max-width: 1300px;
    }

    .kids-gifts-section {
        margin-top: 25vh;
    }

    .share-celebration-card {
        max-width: 1300px;
    }

    .sb-content {
        padding: 40px 60px;
    }

    .banner-container {
        margin: 20px auto 0;
    }

    .faq-section,
    .blog-section {
        padding: 60px 60px;
    }

    .testi-container {
        padding: 0px 90px;
    }

    .blog-section .limit-celebration {
        padding: 0px;
    }

    .floating-gift-3d {
        top: -180px;
        width: 300px;
    }

    .newsletter-card {
        padding: 50px 60px;
    }

    .testi-floating-group {
        width: 600px;
        right: -500px;
        top: 190px;
    }

    .header-right {
        position: absolute;
        top: -1%;
        right: -10px;
        margin-bottom: 5px;
        /* Respiro visual */

        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 12px;
    }

    .logo-area {
        top: 70px;
        left: 0;
        right: 0px;
        position: relative;
        margin-bottom: 5px;
        /* Respiro visual */
        line-height: 0;
    }

    .hero-content {
        margin-top: 15%;
        margin-left: 2%;
        color: var(--text-white);
        max-width: 850px;
        position: relative;
        z-index: 5;
    }

    .logo {
        max-width: 150px;
        height: auto;
        display: block;
    }

}

/* ========================================
   GUEST LIST PAGE STYLES
   ======================================== */

.guest-list-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.guest-list-header {
    margin-bottom: 30px;
}

.guest-stats {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: linear-gradient(135deg, #FFF5E1 0%, #FFE8CC 100%);
    border-radius: 12px;
    font-family: var(--font-text);
}

.stat-item i {
    font-size: 24px;
    color: var(--orange-primary);
}

.guest-list-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
    flex-wrap: wrap;
}

.search-filter-box {
    display: flex;
    gap: 15px;
    flex: 1;
    max-width: 600px;
}

.search-filter-box input,
.search-filter-box select {
    flex: 1;
}

.guests-table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.guests-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-text);
}

.guests-table thead {
    background: linear-gradient(135deg, var(--orange-primary) 0%, #E36A4B 100%);
    color: white;
}

.guests-table th {
    padding: 18px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.guests-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.guests-table tbody tr:hover {
    background-color: #FFF9F0;
}

.guests-table td {
    padding: 18px 20px;
    font-size: 15px;
}

.guest-name-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.guest-name-cell i {
    font-size: 28px;
    color: var(--orange-primary);
}

.status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    text-transform: capitalize;
}

.status-badge.confirmed {
    background: #E8F5E9;
    color: #2E7D32;
}

.status-badge.pending {
    background: #FFF3E0;
    color: #E65100;
}

.status-badge.declined {
    background: #FFEBEE;
    color: #C62828;
}

.contribution-cell {
    font-weight: 600;
    color: var(--orange-primary);
    font-size: 16px;
}

.message-cell {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #666;
    font-style: italic;
}

.btn-icon {
    background: transparent;
    border: none;
    color: var(--orange-primary);
    cursor: pointer;
    font-size: 18px;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-icon:hover {
    background: #FFF5E1;
    filter: brightness(1.15);
}

/* ========================================
   ABOUT US PAGE STYLES
   ======================================== */

.about-hero-section {
    padding: 80px 20px;
    text-align: center;
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-hero-content h1 {
    font-size: 56px;
    margin: 20px 0;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 20px;
    color: #666;
    margin-top: 20px;
    line-height: 1.6;
}

.about-mission-section {
    padding: 80px 20px;
    background: #FAFAFA;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-text h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.mission-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.rounded-image {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.values-section {
    padding: 80px 20px;
}

.section-header-center {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-center h2 {
    font-size: 42px;
    margin: 20px 0;
    color: var(--text-dark);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--orange-primary) 0%, #E36A4B 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon i {
    font-size: 36px;
    color: white;
}

.value-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.value-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #FFF5E1 0%, #FFE8CC 100%);
}

.cta-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.cta-box p {
    font-size: 20px;
    color: #666;
    margin-bottom: 30px;
}

/* ========================================= */
/* --- MODAL: SHARE CELEBRATION --- */
/* ========================================= */

.share-modal-box {
    max-width: 500px;
    width: 90%;
    padding: 40px;
}

.share-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 30px 0;
}

.share-option-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-titles);
    color: white;
    transition: all 0.2s;
    font-size: 16px;
}

.share-option-btn.whatsapp {
    background-color: #25D366;
}

.share-option-btn.facebook {
    background-color: #1877F2;
}

.share-option-btn.instagram {
    background-color: #E4405F;
}

.share-option-btn.twitter {
    background-color: #000000;
}

.share-option-btn:hover {
    filter: brightness(1.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.copy-link-area {
    margin-top: 20px;
    text-align: left;
}

.copy-link-area label {
    display: block;
    font-weight: 700;
    color: var(--dark-grey);
    margin-bottom: 8px;
    font-size: 14px;
}

.copy-input-group {
    display: flex;
    gap: 10px;
    background: #F4F4F4;
    padding: 5px;
    border-radius: 30px;
    border: 1px solid var(--primary-orange);
}

.copy-input-group input {
    flex: 1;
    background: none;
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    color: #555;
    outline: none;
}

.copy-input-group button {
    background-color: var(--primary-orange);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-input-group button:hover {
    filter: brightness(1.12);
    box-shadow: 0 6px 18px rgba(227, 106, 75, 0.35);
}

/* ========================================= */
/* --- MESSAGES PAGE: JOYFUL MOSAIC --- */
/* ========================================= */

.messages-masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.message-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    border: 1px solid var(--primary-orange);
    will-change: transform;
}

.message-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(227, 106, 75, 0.08);
    z-index: 10;
}

.message-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.guest-avatar-small {
    width: 45px;
    height: 45px;
    background-color: var(--primary-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    font-family: var(--font-titles);
}

.guest-msg-name {
    margin: 0;
    font-size: 18px;
    color: var(--dark-grey);
    font-family: var(--font-titles);
}

.msg-date {
    font-size: 13px;
    color: #999;
    display: block;
}

.message-content {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.msg-gift-badge {
    background-color: #FFF5E1;
    color: #E36A4B;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.msg-gift-badge i {
    font-size: 14px;
}

@media (max-width: 992px) {
    .messages-masonry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================= */
/* --- CREATOR'S CANVAS: CREATE CELEBRATION --- */
/* ========================================= */

.canvas-split-container {
    display: flex;
    align-items: flex-start;
    max-width: 1400px;
    margin: 40px auto;
    gap: 40px;
    padding: 0 20px;
}

.interaction-zone {
    flex: 0 0 65%;
}

.live-canvas-zone {
    flex: 0 0 35%;
    position: sticky;
    top: 120px;
    height: fit-content;
}

.form-step-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--primary-orange);
    transition: transform 0.3s, box-shadow 0.3s;
}

.form-step-card:hover {
    box-shadow: 0 15px 50px rgba(227, 106, 75, 0.08);
}

.animate-reveal {
    opacity: 0;
    transform: translateY(20px);
    animation: revealUp 0.6s forwards cubic-bezier(0.23, 1, 0.32, 1);
}

.animate-reveal:nth-child(1) {
    animation-delay: 0.1s;
}

.animate-reveal:nth-child(2) {
    animation-delay: 0.2s;
}

.animate-reveal:nth-child(3) {
    animation-delay: 0.3s;
}

.animate-reveal:nth-child(4) {
    animation-delay: 0.4s;
}

.animate-reveal:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- LIVE PREVIEW BOX --- */
.canvas-sticky-wrapper {
    background: #ffffff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--primary-orange);
    position: relative;
}

.preview-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-orange);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.preview-banner-mock {
    height: 200px;
    background-color: #f0f0f0;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background 0.5s;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.preview-text {
    position: relative;
    z-index: 2;
    color: white;
    padding: 20px;
}

.preview-text h1 {
    font-size: 28px;
    margin-bottom: 10px;
    font-family: var(--font-titles);
}

.preview-text p {
    font-size: 14px;
    opacity: 0.9;
}

.preview-info-mock {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.preview-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--dark-grey);
    font-weight: 500;
    font-size: 16px;
}

.preview-stat i {
    color: var(--primary-orange);
    font-size: 18px;
}

.canvas-hint {
    text-align: center;
    padding: 15px;
    font-size: 13px;
    color: #999;
    font-style: italic;
}

@media (max-width: 1024px) {
    .canvas-split-container {
        flex-direction: column;
    }

    .interaction-zone,
    .live-canvas-zone {
        flex: 0 0 100%;
    }

    .live-canvas-zone {
        position: relative;
        top: 0;
        order: -1;
        /* Preview stays above on mobile */
    }
}

/* =========================================
   GIFT MARKETPLACE — Create Celebration
   ========================================= */

.gift-marketplace-card {
    background: linear-gradient(135deg, #FFFBF5 0%, #FFF8F0 100%);
}

/* Header row */
.gm-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.gm-title-group {
    flex: 1;
}

.gm-subtitle {
    font-size: 15px;
    color: #888;
    font-family: var(--font-text);
    margin-top: 4px;
}

/* Counter badge */
.gm-counter-badge {
    background-color: var(--primary-orange);
    color: white;
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 22px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s;
}

.gm-counter-badge.bump {
    transform: scale(1.2);
}

.gm-counter-badge.full {
    background-color: #27AE60;
}

/* Search bar */
.gm-toolbar {
    margin-bottom: 16px;
}

.gm-search-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: 1px solid var(--primary-orange);
    border-radius: 30px;
    padding: 10px 18px;
}

.gm-search-wrap i {
    color: var(--primary-orange);
    font-size: 14px;
}

.gm-search {
    border: none;
    outline: none;
    width: 100%;
    font-family: var(--font-text);
    font-size: 16px;
    background: transparent;
    color: var(--dark-grey);
}

.gm-search::placeholder {
    color: #bbb;
}

/* Category chips */
.gm-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.gm-chip {
    background: white;
    border: 1px solid var(--primary-orange);
    border-radius: 30px;
    padding: 10px 20px;
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-orange);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
}

.gm-chip:hover {
    background: #FFF0EB;
    transform: translateY(-2px);
}

.gm-chip.active {
    background: var(--primary-orange);
    color: white;
    box-shadow: 0 4px 12px rgba(227, 106, 75, 0.3);
    transform: translateY(-2px);
}

/* Gift grid */
.gm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 16px;
}

/* Individual gift card */
.gm-gift-card {
    background: white;
    border: 1px solid var(--primary-orange);
    border-radius: 18px;
    padding: 18px 14px;
    cursor: pointer;
    position: relative;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    user-select: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.gm-gift-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 24px rgba(227, 106, 75, 0.15);
}

.gm-gift-card.selected {
    background: linear-gradient(135deg, #FFF0EB 0%, #FFE5DC 100%);
    border-color: var(--primary-orange);
    box-shadow: 0 6px 20px rgba(227, 106, 75, 0.25);
    transform: translateY(-2px) scale(1.02);
}

.gm-gift-card.disabled:not(.selected) {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Check mark */
.gm-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    background-color: var(--primary-orange);
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    animation: checkPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gm-gift-card.selected .gm-check {
    display: flex;
}

@keyframes checkPop {
    0% {
        transform: scale(0);
    }

    60% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

/* Gift emoji */
.gm-emoji {
    font-size: 36px;
    line-height: 1;
    margin-bottom: 4px;
}

/* Gift name */
.gm-gift-name {
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 15px;
    color: var(--dark-grey);
    line-height: 1.3;
}

/* Gift price hint — hidden per design */
.gm-gift-price {
    display: none;
}

/* Limit notice */
.gm-limit-notice {
    background: #FFF5E1;
    border: 1px solid var(--accent-yellow);
    border-radius: 12px;
    padding: 12px 16px;
    font-family: var(--font-text);
    font-size: 14px;
    color: #B8860B;
    display: none;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
}

.gm-limit-notice i {
    color: #F0A500;
}

.gm-limit-notice.visible {
    display: flex;
}

/* Selected tags bar */
.gm-selected-bar {
    padding: 12px 16px;
    background: white;
    border: 1px solid var(--primary-orange);
    border-radius: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.gm-selected-label {
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 15px;
    color: var(--dark-grey);
    white-space: nowrap;
}

.gm-selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.gm-tag {
    background: var(--primary-orange);
    color: white;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 14px;
    font-family: var(--font-titles);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: tagSlide 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes tagSlide {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.gm-tag-remove {
    cursor: pointer;
    opacity: 0.7;
    font-size: 10px;
    transition: opacity 0.15s;
}

.gm-tag-remove:hover {
    opacity: 1;
}

/* Empty state */
.gm-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #bbb;
    font-family: var(--font-text);
}

.gm-empty i {
    font-size: 40px;
    margin-bottom: 12px;
    display: block;
    color: #e0e0e0;
}

/* See more button */
.gm-see-more-wrap {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    padding: 8px 0 4px;
}

.btn-see-more {
    background: none;
    border: 2px solid var(--primary-orange);
    border-radius: 50px;
    color: var(--primary-orange);
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 14px;
    padding: 8px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, color 0.2s;
}

.btn-see-more:hover {
    background: var(--primary-orange);
    color: white;
}

/* "COMO SACAR" tip */
.gm-withdraw-tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #FFF8E9;
    border: 1.5px solid var(--accent-yellow);
    border-radius: 14px;
    padding: 12px 16px;
    margin-bottom: 18px;
    font-family: var(--font-text);
    font-size: 13px;
    color: var(--dark-grey);
    line-height: 1.5;
}

.gm-withdraw-tip .tip-badge {
    background: var(--accent-yellow);
    color: #7a5300;
    font-family: var(--font-titles);
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
    padding: 2px 8px;
    white-space: nowrap;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.gm-withdraw-tip .tip-content strong {
    display: block;
    font-family: var(--font-titles);
    font-size: 13px;
    margin-bottom: 2px;
    color: var(--dark-grey);
}

/* Create Gift button */
.gm-create-gift-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.btn-create-gift {
    background: var(--primary-orange);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 14px;
    padding: 10px 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, transform 0.15s;
}

.btn-create-gift:hover {
    background: #c85a3a;
    transform: translateY(-2px);
}

/* Create Gift Modal */
.create-gift-modal .modal-box {
    max-width: 560px;
    width: 100%;
}

.gift-type-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    background: #f5f5f5;
    border-radius: 12px;
    padding: 4px;
}

.gift-type-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 10px;
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    background: none;
    color: #888;
    transition: all 0.2s;
}

.gift-type-btn.active {
    background: white;
    color: var(--primary-orange);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.create-gift-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.create-gift-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 4px;
}

.photo-upload-slot {
    aspect-ratio: 1;
    border: 2px dashed #ddd;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: #aaa;
    cursor: pointer;
    transition: border-color 0.2s;
}

.photo-upload-slot:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.photo-upload-slot i {
    font-size: 22px;
}

.btn-add-gift {
    background: var(--primary-orange);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 15px;
    padding: 14px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 6px;
}

.btn-add-gift:hover {
    background: #c85a3a;
}

/* Responsive */
@media (max-width: 900px) {
    .gm-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .gm-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gm-counter-badge {
        width: 56px;
        height: 56px;
        font-size: 18px;
    }

    .gm-emoji {
        font-size: 28px;
    }
}

/* =====================================================
   RESPONSIVIDADE COMPLETA: MOBILE & TABLET
   Adicionado para cobrir todos os breakpoints em falta
   ===================================================== */

/* ---------------------------------------------------
   HAMBÚRGUER: Oculto por padrão no desktop
   --------------------------------------------------- */
.hamburger-toggle {
    display: none;
}

.hamburger-icon {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    cursor: pointer;
    border-radius: 8px;
    padding: 5px;
    background-color: var(--dark-grey);
    z-index: 100;
    flex-shrink: 0;

}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Animação X quando aberto */
.hamburger-toggle:checked~.hamburger-icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-toggle:checked~.hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.hamburger-toggle:checked~.hamburger-icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Drawer do menu mobile */
.mobile-nav-drawer {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--dark-grey);
    z-index: 200;
    flex-direction: column;
    padding: 80px 30px 40px;
    gap: 10px;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.35s ease, visibility 0.35s ease;
    visibility: hidden;
    pointer-events: none;
}

.hamburger-toggle:checked~.mobile-nav-drawer {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav-drawer a {
    color: white;
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
}

.mobile-nav-drawer a:hover {
    color: var(--accent-yellow);
}

/* Botão de login premium no menu mobile */
.mobile-login-btn {
    background-color: var(--accent-yellow) !important;
    color: var(--dark-grey) !important;
    border-radius: 30px !important;
    text-align: center !important;
    margin-top: 20px !important;
    padding: 14px !important;
    border-bottom: none !important;
    box-shadow: 0 4px 15px rgba(247, 180, 62, 0.2);
}

.mobile-login-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

/* Overlay escuro atrás do drawer */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 150;
}

.hamburger-toggle:checked~.nav-overlay {
    display: block;
}

/* ---------------------------------------------------
   TABLET — max-width: 1024px (complemento dos
   blocos já existentes no arquivo)
   --------------------------------------------------- */
@media (max-width: 1024px) {

    /* Body: garante padding menor em tablets */
    body {
        padding: 0 25px 20px 25px;
    }

    /* Barra de busca: stack vertical */
    .search-banner-wrapper {
        margin-bottom: -60px;
    }

    .sb-content {
        padding: 30px 25px;
    }

    .content-limiter {
        flex-direction: column;
        gap: 25px;
        align-items: flex-start;
    }

    .sb-left,
    .sb-right {
        max-width: 100%;
        width: 100%;
    }

    .sb-left h2 {
        font-size: 36px;
    }

    /* Tipografia */
    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 38px;
    }

    h3 {
        font-size: 28px;
    }

    /* About Us */
    .about-hero-content h1 {
        font-size: 40px;
    }

    .mission-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mission-text h2 {
        font-size: 34px;
    }

    /* Steps container: remove negative margin */
    .steps-container {
        margin-left: 0;
    }

    /* Messages page */
    .messages-masonry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------------------------------------------------
   MOBILE — max-width: 768px
   --------------------------------------------------- */
@media (max-width: 768px) {

    /* Body: remove lateral padding for full-width banner */
    body {
        padding: 0 0 20px 0 !important;
    }

    /* All sections EXCEPT banners get side padding restored */
    body>section:not(.banner-container):not(.banner-interna),
    body>div:not(.banner-container):not(.banner-interna):not(.nav-overlay):not(.mobile-nav-drawer),
    footer {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Ocultar nav pill horizontal e containers de cabeçalho interno */
    .banner-nav,
    .cc-menu-nav,
    .cc-login-wrapper,
    .login-area {
        display: none !important;
    }

    /* Mostrar botão hambúrguer */
    .hamburger-icon {
        display: flex;
        position: absolute;
        top: 18px;
        left: 18px;
        z-index: 110;
        cursor: pointer;
    }

    /* Ajuste para cabeçalho interno em mobile */
    .cc-header-container {
        justify-content: flex-start;
        /* Logo para a esquerda */
        padding: 15px 20px;
        position: relative;
    }

    .cc-logo-wrapper {
        margin: 0;
    }

    .hamburger-icon {
        display: flex;
        position: absolute;
        top: 18px;
        right: 18px;
        /* Hambúrguer na direita */
        left: auto;
        z-index: 110;
        cursor: pointer;
        z-index: 99999;
    }

    /* Banner principal: largura total e preenchimento */
    .banner-container {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        border-radius: 0 !important;
        aspect-ratio: auto;
        min-height: 500px;
        height: auto;
        padding-bottom: 40px;
        background-size: cover !important;
    }

    /* Ocultar nav pill horizontal */
    .banner-nav {
        display: none !important;
    }

    .banner-interna {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        border-radius: 0 !important;
        aspect-ratio: auto;
        min-height: 320px;
        height: auto;
        padding-bottom: 30px;
        background-size: cover !important;
    }

    /* Logo area */
    .logo-area {
        top: 15px;
        left: 20px;
        margin-bottom: 10px;
        position: relative;
    }

    .logo {
        max-width: 180px;
    }

    .guest-list-container {
        padding: 30px 15px;
    }

    .guest-list-header h1 {
        font-size: 28px !important;
        margin: 15px 0 !important;
    }

    .guest-list-header p {
        font-size: 16px !important;
        margin-bottom: 15px !important;
    }

    /* Image wrapper width: auto */
    .image-wrapper {
        width: auto !important;
    }

    /* Guest List & Stats */
    .guest-stats {
        flex-direction: column;
        gap: 15px;
    }

    .stat-item {
        width: 100%;
        justify-content: flex-start;
    }

    .guest-list-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .search-filter-box {
        flex-direction: column;
        max-width: 100%;
    }

    /* Guests Table: Card-based Layout for Mobile */
    .guests-table-wrapper {
        background: transparent;
        box-shadow: none;
        overflow: visible;
        margin: 0;
        padding: 0;
    }

    .guests-table,
    .guests-table thead,
    .guests-table tbody,
    .guests-table tr,
    .guests-table td {
        display: block;
        width: 100%;
    }

    .guests-table thead {
        display: none;
        /* Hide header on mobile */
    }

    .guests-table tr {
        background: white;
        border-radius: 16px;
        margin-bottom: 20px;
        padding: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        border: 1px solid #f0f0f0;
        position: relative;
    }

    .guest-list-container {
        padding: 0px 15px;
    }

    .guests-table td {
        padding: 10px 0;
        border-bottom: 1px dotted #f0f0f0;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: right;
        min-height: 45px;
    }

    .guests-table td:last-child {
        border-bottom: none;
        justify-content: center;
        padding-top: 15px;
        gap: 10px;
    }

    .guests-table td::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--dark-grey);
        text-align: left;
        font-size: 13px;
        text-transform: uppercase;
        margin-right: 15px;
    }

    .guest-name-cell {
        justify-content: flex-end;
    }

    .message-cell {
        max-width: 180px;
        white-space: normal;
        text-align: right;
    }

    /* Forms and Shorter Paddings */
    .info-card-wrapper,
    .form-step-card,
    .modal-box {
        padding: 25px 20px !important;
    }

    .input-grid,
    .share-options-grid {
        grid-template-columns: 1fr !important;
    }

    /* Admin dashboard tabs */
    .dashboard-tabs {
        gap: 10px;
    }

    .dash-tab {
        padding: 10px 15px;
        font-size: 14px;
        flex: 1 1 calc(50% - 10px);
        justify-content: center;
    }

    .dash-tab.create-btn {
        flex: 1 1 100%;
    }

    /* Header right: esconder ícones sociais, manter login */
    .social-icons {
        display: none;
    }

    .header-right {
        top: 10px;
        right: 5px;
        gap: 5px;
    }

    .btn-login {
        display: none !important;
    }

    /* Hero content */
    .hero-content {
        margin-left: 15px;
        margin-top: 10%;
        padding-right: 15px;
        max-width: 100%;
    }

    .hero-content h1,
    #banner-home h1 {
        font-size: 30px;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 16px;
        max-width: 100%;
        margin-bottom: 25px;
    }

    .img-marry-div {
        display: none;
    }

    .testi-floating-group {
        right: 0px;
        top: 80px;
        padding-left: 50px;
        padding-right: 50px;
    }

    .btn-cta {
        width: 100%;
        text-align: center;
        padding: 14px 30px;
    }

    /* Tipografia geral */
    h1 {
        font-size: 34px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 20px;
    }

    p {
        font-size: 16px;
    }

    /* Steps container: zera margin negativa */
    .steps-container {
        margin-left: 0;
        width: 100%;
    }

    /* How it works: já tem 1024px, mas garante melhor espaçamento */
    .how-it-works-section {
        padding: 40px 0;
    }

    .hiw-right h2 {
        font-size: 28px;
    }

    /* Floating balloon: posição ajustada */
    .floating-balloon {
        width: 80px;
        left: 5px;
        top: -30px;
    }

    /* Imagem principal How it Works */
    .main-gift-img {
        width: 100%;
        max-width: 350px;
    }

    /* Barra de busca: stack e margem */
    .search-banner-wrapper {
        margin-bottom: 0;
        margin-top: 20px;
    }

    .sb-content {
        padding: 25px 18px;
        border-radius: 15px;
    }

    .sb-left h2 {
        font-size: 28px;
    }

    .sb-right {
        max-width: 100%;
        width: 100%;
    }

    .sb-input-container {
        flex-direction: row;
        flex-wrap: wrap;
    }

    /* Celebration types: padding de tela menor */
    .celebration-types-section {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 60px;
        padding-top: 80px;
        border-radius: 15px;
    }

    .ct-text-content h2 {
        font-size: 28px;
    }

    /* FAQ */
    .faq-section {
        padding: 35px 0;
    }

    .faq-left h2 {
        font-size: 28px;
    }

    .faq-question {
        font-size: 16px;
        padding: 14px 20px;
    }

    /* Testimonials: recalcula margens do background negativo */
    .bkg-testiminial {
        margin-left: -15px;
        margin-right: -15px;
        width: calc(100% + 30px);
    }

    .testimonials-section {
        padding: 60px 0;
    }

    .testi-right-content h2 {
        font-size: 28px;
    }

    /* Blog */
    .blog-header-left h2 {
        font-size: 28px;
    }

    .blog-section {
        padding: 35px 0;
    }

    /* Newsletter */
    .newsletter-card {
        padding: 30px 20px;
        margin-bottom: -80px;
    }

    .news-left,
    .news-right {
        max-width: 100%;
        width: 100%;
    }

    .news-left h3 {
        font-size: 26px;
    }

    /* Footer */
    .footer-orange-bg {
        padding-top: 130px;
        border-radius: 20px 20px 0 0;
    }

    .footer-menu {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .footer-menu a {
        font-size: 16px;
    }

    .footer-nav-row {
        gap: 15px;
    }

    .developer-bar {
        width: 100%;
        border-radius: 0;
    }

    /* Internal pages: kids-party */
    .kids-party-wrapper {
        margin-top: 80px;
        padding: 0 10px;
    }

    .party-header-text h1 {
        font-size: 30px;
    }

    .party-details-row {
        flex-direction: column;
        gap: 12px;
    }

    .party-content-grid {
        margin-bottom: 0;
    }

    /* Kids gifts */
    .kids-gifts-section {
        padding: 0 15px 50px 15px;
        border-radius: 20px;
    }

    .attendance-cta-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }

    .attendance-left h2 {
        font-size: 28px;
    }

    .divider-left {
        margin: 0 auto 15px auto;
    }

    .gifts-header-text h2 {
        font-size: 28px;
    }

    /* Share card */
    .share-celebration-card {
        padding: 30px 15px;
    }

    .share-left h2 {
        font-size: 26px;
    }

    /* Create celebration header */
    .cc-header-container {
        flex-direction: column;
        height: auto;
        gap: 15px;
        padding-top: 15px;
    }

    .cc-menu-nav {
        position: relative;
        left: 0;
        transform: none;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        border-radius: 15px;
    }

    .create-celebration-wrapper {
        padding: 25px 15px;
        border-radius: 20px;
    }

    /* Admin / dashboard */
    .dashboard-wrapper {
        margin: 20px auto;
        padding: 0 10px;
    }

    .info-card-wrapper {
        padding: 25px 15px;
    }

    /* About Us page */
    .about-hero-content h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .mission-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mission-text h2,
    .section-header-center h2,
    .cta-box h2 {
        font-size: 28px;
    }

    /* Messages page */
    .messages-masonry-grid {
        grid-template-columns: 1fr;
    }


    /* Copy input group */
    .copy-input-group {
        flex-direction: column;
        border-radius: 15px;
        gap: 8px;
    }

    .copy-input-group button {
        width: 100%;
        border-radius: 12px;
        text-align: center;
    }

    /* Gift 3D floating: esconder em mobile para não atrapalhar layout */
    .gift-3d-floating {
        display: none;
    }

    /* Floating gift 3D (testimonials) */
    .floating-gift-3d {
        width: 80px;
        top: -30px;
    }

    /* Auth pages */
    .auth-form-side {
        padding: 25px 20px;
    }

    /* Red folder bg internal pages */
    .red-folder-bg {
        padding: 25px 15px;
        margin-top: 10px;
    }

    .guest-list-container {
        padding-top: 0px 15px;
    }

    .kids-party-wrapper {
        margin-top: 0px;
    }

}

/* ---------------------------------------------------
   SMALL PHONES — max-width: 480px
   --------------------------------------------------- */
@media (max-width: 480px) {

    /* Tipografia mínima */
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    p {
        font-size: 15px;
    }

    .hero-content h1,
    #banner-home h1 {
        font-size: 26px;
    }

    .hero-content p {
        font-size: 15px;
    }

    /* Banner: altura mínima generosa */
    .banner-container {
        min-height: 440px;
    }

    /* Search input: força stack completo */
    .sb-input-container {
        flex-direction: column;
        border-radius: 12px;
    }

    .sb-input-container input {
        border-radius: 12px 12px 0 0;
        padding: 14px 18px;
    }

    .sb-input-container button {
        border-radius: 0 0 12px 12px;
        padding: 12px;
        width: 100%;
    }

    /* Newsletter form: stack */
    .news-form {
        flex-direction: column;
        border-radius: 12px;
        border: none;
        gap: 8px;
    }

    .news-form input {
        border-radius: 12px;
        border: 1px solid var(--primary-orange);
        padding: 14px 18px;
    }

    .news-form button {
        border-radius: 12px;
        padding: 14px;
        width: 100%;
    }

    .news-left h3 {
        font-size: 22px;
    }

    /* Celebration types */
    .celebration-types-section {
        padding: 50px 12px 40px;
    }

    .ct-text-content h2 {
        font-size: 22px;
    }

    /* Blog grid gap */
    .blog-grid {
        gap: 25px;
    }

    /* Blog image box */
    .blog-img-box {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    /* FAQ pills */
    .faq-question {
        font-size: 15px;
        padding: 12px 15px;
    }

    /* Create celebration form */
    .create-celebration-wrapper {
        padding: 20px 12px;
        border-radius: 15px;
    }

    .step-title {
        font-size: 22px;
        padding: 12px;
    }

    .btn-create-page {
        padding: 14px 30px;
        font-size: 17px;
    }

    /* Party info card */
    .party-info-card {
        padding: 25px 15px;
    }

    .party-header-text h1 {
        font-size: 26px;
    }

    /* Time box (countdown) */
    .time-box {
        width: 38px;
        height: 46px;
        font-size: 24px;
    }

    /* Auth */
    .auth-form-side {
        padding: 20px 15px;
    }

    .auth-header h1 {
        font-size: 28px;
    }

    /* Share modal */
    .share-options-grid {
        grid-template-columns: 1fr;
    }

    /* Dashboard tabs */
    .dashboard-tabs {
        gap: 10px;
    }

    .dash-tab {
        padding: 10px 18px;
        font-size: 16px;
    }

    /* About Us */
    .about-hero-content h1 {
        font-size: 26px;
    }

    .mission-text h2,
    .section-header-center h2,
    .cta-box h2 {
        font-size: 22px;
    }

    .cta-box p,
    .hero-subtitle {
        font-size: 16px;
    }

    /* Footer menu */
    .footer-menu {
        gap: 8px;
    }

    .footer-menu a {
        font-size: 14px;
    }

    /* Footer newsletter overlap */
    .footer-orange-bg {
        padding-top: 100px;
    }

    /* Admin share */
    .admin-share-section {
        padding: 30px 15px;
    }

    .admin-share-section h2 {
        font-size: 22px;
    }
}

/* ---------------------------------------------------
   NOTEBOOK PEQUENO — max-width: 1320px
   Resolve conflito de elementos no banner/home em
   telas de notebooks menores (até 1320px)
   --------------------------------------------------- */
@media (max-width: 1320px) {

    /* Reduz padding lateral do body */
    body {
        padding: 0 30px 20px 30px;
    }

    /* Esconde nav pill horizontal e botão de login do cabeçalho */
    .banner-nav,
    .login-area {
        display: none !important;
    }

    /* Esconde ícones sociais para liberar espaço */
    .social-icons {
        display: none;
    }

    /* Mostra hambúrguer no canto superior direito do banner */
    .hamburger-icon {
        display: flex;
        position: absolute;
        top: 18px;
        right: 18px;
        z-index: 110;
        cursor: pointer;
    }

    /* Logo: reduz o offset vertical para não ficar muito abaixo */
    .logo-area {
        top: 40px;
    }

    .logo {
        max-width: 120px;
    }

    /* Hero content: ajusta margens para o espaço disponível */
    .hero-content {
        margin-left: 40px;
        margin-top: 90px;
    }

    .hero-content h1,
    #banner-home h1 {
        font-size: 52px;
    }

    /* ── How it Works ───────────────────────────────── */

    /* Mantém lado a lado, reduz gap e padding */
    .how-it-works-section {
        gap: 30px;
        padding: 60px 0;
    }

    /* Limita a imagem para não vazar sobre o texto */
    .main-gift-img {
        width: 100%;
        max-width: 360px;
        display: block;
    }

    /* Recua o balão para não invadir a coluna de texto */
    .floating-balloon {
        left: 0;
        top: -40px;
        width: 100px;
    }

    /* Remove a margem negativa que puxava os cards sobre a imagem */
    .steps-container {
        margin-left: 0;
        width: 100%;
    }

    .hiw-right h2 {
        font-size: 38px;
    }
}

/* ---------------------------------------------------
   prefers-reduced-motion: respeitar preferências
   de acessibilidade
   --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================
   RESPONSIVE IMPROVEMENTS v2
   — Modals bottom-sheet + Home page tablet & mobile
   ============================================================ */

/* Bottom-sheet slide animation (placed outside media query for browser compat) */
@keyframes slideUpSheet {
    from {
        transform: translateY(60px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ── MODALS: Bottom Sheet on Mobile (≤768px) ──────────────── */
@media (max-width: 768px) {

    /* Overlay: anchor to bottom of screen */
    .modal-overlay {
        align-items: flex-end !important;
        padding: 0 !important;
    }

    /* Modal box becomes a bottom sheet */
    .modal-box {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 24px 24px 0 0 !important;
        padding: 10px 20px 32px !important;
        max-height: 88vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        animation: slideUpSheet 0.35s cubic-bezier(0.32, 0.72, 0, 1) !important;
    }

    /* Drag-handle pill at the top of the sheet */
    .modal-box::before {
        content: '';
        display: block;
        width: 40px;
        height: 4px;
        background: #DEDEDE;
        border-radius: 2px;
        margin: 0 auto 22px;
    }

    .share-modal-box,
    .payment-modal-box,
    .create-gift-modal .modal-box {
        max-width: 100% !important;
    }

    /* Keep share buttons in a 2×2 grid (better than 1 column) */
    .share-options-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .modal-header h2 {
        font-size: 24px !important;
        margin-bottom: 4px;
    }

    .close-modal-btn {
        top: 14px !important;
        right: 18px !important;
        font-size: 22px;
    }
}

/* ── MODALS: Small Phones (≤480px) ────────────────────────── */
@media (max-width: 480px) {

    .modal-box {
        padding: 10px 15px 28px !important;
        max-height: 92vh;
    }

    .modal-header h2 {
        font-size: 20px !important;
    }

    /* Gift type toggle buttons */
    .gift-type-btn {
        font-size: 13px;
        padding: 9px 8px;
    }

    /* Photo upload slots: tighter gap on small phones */
    .create-gift-photos {
        gap: 8px;
    }
}

/* ── HOME: TABLET — 769px to 1024px ─────────────────────── */
@media (min-width: 769px) and (max-width: 1024px) {

    /* Blog grid: featured full-width, 2 standard cards side-by-side */
    .blog-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .featured-card {
        grid-column: 1 / -1;
    }

    /* Celebration types: comfortable padding on tablet */
    .celebration-types-section {
        padding: 110px 30px 60px;
    }

    /* How it works: center the image column on tablet */
    .hiw-left {
        display: flex;
        justify-content: center;
    }

    .image-wrapper {
        display: inline-block;
        position: relative;
    }
}

/* ── HOME: MOBILE — ≤768px ───────────────────────────────── */
@media (max-width: 768px) {

    /* Ensure cards-grid stays 1 column on mobile */
    .cards-grid {
        grid-template-columns: 1fr !important;
    }

    /* Remove orphan-card centering rule on mobile */
    .cards-grid>.celebration-card:last-child:nth-child(2n+1) {
        grid-column: auto !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    /* How it works: center image on mobile */
    .hiw-left {
        display: flex;
        justify-content: center;
        padding: 0 20px;
    }

    .image-wrapper {
        display: inline-block;
        position: relative;
    }

    .main-gift-img {
        max-width: 250px;
        display: block;
        margin: 0 auto;
    }

    .floating-balloon {
        width: 65px;
        left: 0;
        top: -15px;
    }

    /* Celebration types: CTA button full-width */
    .ct-cta-area {
        width: 100%;
    }

    .ct-cta-area .btn-cta-secondary {
        display: block;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

    /* FAQ: CTA button full-width */
    .btn-faq-custom {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    /* Blog: CTA button full-width */
    .blog-header-right {
        width: 100%;
    }

    .blog-header-right .btn-cta-secondary {
        display: block;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

    /* Testimonials: prevent card overflow */
    .testi-card {
        max-width: 100%;
        box-sizing: border-box;
    }

    .testi-floating-group {
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box;
    }
}

/* ── HOME: SMALL PHONES — ≤480px ────────────────────────── */
@media (max-width: 480px) {

    .main-gift-img {
        max-width: 200px;
    }

    /* Tighter padding on how-it-works */
    .how-it-works-section {
        padding: 30px 0;
    }

    /* Celebration card: reduce padding on very small phones */
    .celebration-card {
        padding: 24px 18px 40px;
    }
}

/* ============================================================
   DOCUMENTO TÉCNICO 2026 — scoped UX/UI refinements
   ============================================================ */

/* Homepage: clearer hierarchy and consistent card rhythm */
@media (min-width: 1321px) {
    .home-page .banner-nav {
        max-width: calc(100% - 360px);
        height: 52px;
        padding-left: 16px;
    }

    .home-page .banner-nav a {
        padding-inline: clamp(9px, 0.8vw, 14px);
        font-size: clamp(15px, 1vw, 17px);
    }

    .home-page .search-box {
        margin-left: 10px;
    }
}

.home-page #banner-home {
    max-width: 610px;
}

.home-page #banner-home p {
    max-width: 570px;
}

.home-page .steps-container {
    align-items: stretch;
}

.home-page .step-card {
    min-height: 132px;
    border: 1px solid rgba(58, 58, 58, 0.08);
    box-shadow: 0 10px 28px rgba(58, 58, 58, 0.06);
}

.home-page .faq-container {
    align-items: flex-start;
    gap: clamp(40px, 6vw, 90px);
}

.home-page .faq-question {
    min-height: 60px;
    line-height: 1.35;
}

.home-page .faq-answer p {
    line-height: 1.65;
}

.home-page .testi-card {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.home-page .blog-section {
    padding-top: clamp(70px, 7vw, 110px);
    padding-bottom: clamp(90px, 8vw, 130px);
}

.home-page .newsletter-card {
    margin-top: 0;
}

/* Creation flow: lighter, guided cards and a reliable desktop preview */
.create-flow-page .canvas-split-container {
    gap: 32px;
    padding-bottom: 24px;
}

.create-flow-page .interaction-zone {
    min-width: 0;
}

.create-flow-page .form-step-card {
    border: 1px solid rgba(58, 58, 58, 0.09);
    border-radius: 20px;
    padding: clamp(24px, 3vw, 34px);
    margin-bottom: 22px;
    box-shadow: 0 12px 34px rgba(58, 58, 58, 0.055);
}

.create-flow-page .form-step-card:hover {
    transform: none;
    box-shadow: 0 16px 42px rgba(58, 58, 58, 0.075);
}

.create-flow-page .type-card .card-content,
.create-flow-page .cado-input,
.create-flow-page .upload-box {
    border-color: rgba(58, 58, 58, 0.14);
}

.create-flow-page .type-card input:checked + .card-content,
.create-flow-page .cado-input:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(227, 106, 75, 0.13);
}

.create-flow-page .live-canvas-zone {
    top: 24px;
    align-self: flex-start;
}

.create-flow-page .canvas-sticky-wrapper {
    border: 1px solid rgba(58, 58, 58, 0.09);
    border-radius: 22px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    box-shadow: 0 18px 48px rgba(58, 58, 58, 0.1);
    scrollbar-width: thin;
}

.create-flow-page .preview-banner-mock {
    min-height: 230px;
    height: auto;
    aspect-ratio: 16 / 10;
    background-color: #F4DFC8;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.create-flow-page .preview-banner-mock.preview-type-baby {
    background-position: center 38%;
}

.create-flow-page .preview-banner-mock.preview-type-wedding {
    background-position: center 28%;
}

.create-flow-page .preview-overlay {
    background: linear-gradient(180deg, rgba(35, 30, 26, 0.08), rgba(35, 30, 26, 0.6));
}

.create-flow-page .preview-info-mock {
    padding: 24px;
}

.image-position-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    color: #6B6B6B;
    font: 500 13px var(--font-text);
}

.image-position-buttons {
    display: inline-flex;
    padding: 3px;
    border: 1px solid rgba(58, 58, 58, 0.12);
    border-radius: 999px;
    background: #FFFFFF;
}

.image-position-btn {
    width: 34px;
    height: 30px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #777777;
    cursor: pointer;
}

.image-position-btn.active {
    color: #FFFFFF;
    background: var(--primary-orange);
}

.preview-stat[hidden] {
    display: none !important;
}

/* Curated gift ideas: icon system, no public prices, calmer selection cards */
.create-flow-page .gift-marketplace-card {
    background: #FFFCF7;
}

.create-flow-page .gm-header {
    margin-bottom: 26px;
}

.create-flow-page .gm-subtitle {
    max-width: 680px;
    color: #5F5F5F;
    line-height: 1.55;
}

.create-flow-page .gm-categories {
    gap: 8px;
}

.create-flow-page .gm-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-color: rgba(58, 58, 58, 0.12);
    background: #FFFFFF;
}

.create-flow-page .gm-chip i {
    color: var(--primary-orange);
}

.create-flow-page .gm-chip.active i {
    color: #FFFFFF;
}

.create-flow-page .gm-gift-card {
    min-height: 154px;
    border: 1px solid rgba(58, 58, 58, 0.1);
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(58, 58, 58, 0.045);
}

.create-flow-page .gm-gift-card:hover {
    border-color: rgba(227, 106, 75, 0.55);
    box-shadow: 0 14px 32px rgba(227, 106, 75, 0.12);
}

.create-flow-page .gm-gift-card.selected {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(227, 106, 75, 0.12);
}

.create-flow-page .gm-emoji {
    width: 48px;
    height: 48px;
    margin: 0 auto 13px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF2EA;
    color: var(--primary-orange);
    font-size: 21px;
}

.create-flow-page .gm-gift-price {
    display: none !important;
}

.create-flow-page .gm-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.create-flow-page .gm-tag > i {
    color: var(--primary-orange);
}

.create-flow-page .interna-site-footer .footer-orange-bg {
    padding-top: 42px;
}

.create-flow-page .interna-site-footer .footer-content-wrapper {
    padding-bottom: 30px;
}

/* Guest landing: emotional image, softer information/RSVP/gift surfaces */
.guest-landing-page .party-header-text {
    width: 100%;
    margin-bottom: 34px;
}

.guest-landing-page .party-photo-box {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 16px 38px rgba(58, 58, 58, 0.1);
}

.guest-landing-page .party-main-img {
    min-height: 0;
    border-radius: 0;
    object-position: center 38%;
}

.guest-landing-page .party-info-card {
    border: 1px solid rgba(58, 58, 58, 0.09);
    border-radius: 24px;
    box-shadow: 0 16px 38px rgba(58, 58, 58, 0.075);
}

.guest-landing-page .party-description {
    color: #5F5F5F;
}

.guest-landing-page .countdown-area {
    width: fit-content;
    padding: 12px 14px;
    border-radius: 16px;
    background: #FFF4EC;
}

.guest-landing-page .time-box {
    width: 38px;
    height: 46px;
    border-radius: 10px;
    font-size: 25px;
    box-shadow: none;
}

.guest-landing-page .attendance-cta-box {
    border: 1px solid rgba(58, 58, 58, 0.08);
    border-radius: 24px;
    box-shadow: 0 16px 38px rgba(58, 58, 58, 0.075);
}

.guest-landing-page .attendance-left h2 {
    font-size: clamp(34px, 4vw, 46px);
}

.guest-landing-page .btn-confirm-presence {
    min-height: 50px;
    padding-inline: 34px;
}

.guest-landing-page .cta-note {
    max-width: 230px;
    color: #6D6D6D;
    font-size: 13px;
}

.guest-landing-page .gift-card-item {
    border: 1px solid rgba(58, 58, 58, 0.09);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 10px 28px rgba(58, 58, 58, 0.055);
}

.guest-landing-page .btn-contribute {
    min-height: 48px;
    padding-inline: 18px;
}

/* Mobile safe areas for browser chrome and device insets */
@media (max-width: 768px) {
    body {
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .btn-cta,
    .btn-create-page,
    .btn-confirm-presence,
    .btn-contribute,
    .btn-confirm-final,
    .news-form button {
        min-height: 48px;
    }

    .form-footer,
    .cta-actions,
    .modal-box {
        padding-bottom: calc(20px + env(safe-area-inset-bottom, 0)) !important;
    }

    /* Separate homepage copy from the family photo so text never covers faces. */
    .home-page .banner-container:not(.internal-mode):not(.banner-interna) {
        min-height: 800px;
        padding: 0 20px 24px;
        background: #6C4A2B;
        border-radius: 0 0 28px 28px;
        overflow: hidden;
    }

    .home-page .banner-container:not(.internal-mode):not(.banner-interna)::before {
        top: 440px;
        right: 16px;
        bottom: 18px;
        left: 16px;
        width: auto;
        height: auto;
        border-radius: 24px;
        background-image: url('img/banner1.png');
        background-size: cover;
        background-position: 73% center;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .home-page #banner-home {
        width: 100%;
        max-width: 100%;
        margin: 112px 0 0;
        padding: 0;
    }

    .home-page #banner-home h1 {
        font-size: clamp(32px, 9vw, 42px);
        line-height: 1.08;
        margin-bottom: 16px;
    }

    .home-page #banner-home .divider {
        margin-bottom: 16px;
    }

    .home-page #banner-home p {
        max-width: 34ch;
        margin-bottom: 22px;
        font-size: 16px;
        line-height: 1.45;
    }

    .home-page #banner-home .btn-cta {
        width: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 13px 26px;
        text-decoration: none;
    }

    .home-page .how-it-works-section,
    .home-page .faq-section,
    .home-page .testimonials-section,
    .home-page .blog-section {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .home-page .step-card {
        min-height: 0;
    }

    .home-page .testi-card {
        min-height: 0;
    }

    .home-page .newsletter-card {
        padding-top: 36px;
        padding-bottom: 36px;
    }

    .create-flow-page .canvas-split-container {
        gap: 20px;
        margin-top: 24px;
        padding-inline: 14px;
    }

    .create-flow-page .live-canvas-zone {
        position: relative;
        top: 0;
    }

    .create-flow-page .canvas-sticky-wrapper {
        max-height: none;
        overflow: visible;
    }

    .create-flow-page .form-step-card {
        padding: 22px 18px;
        margin-bottom: 16px;
    }

    .create-flow-page .gm-header {
        align-items: center;
    }

    .create-flow-page .gm-counter-badge {
        width: 58px;
        height: 58px;
        font-size: 18px;
    }

    .create-flow-page .gm-categories {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
        scroll-snap-type: x proximity;
    }

    .create-flow-page .gm-chip {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .guest-landing-page .kids-party-wrapper {
        margin-top: 94px;
        padding-inline: 14px;
    }

    .guest-landing-page .party-header-text {
        margin: 26px 0 24px;
    }

    .guest-landing-page .party-content-grid {
        gap: 18px;
        margin-bottom: -74px;
    }

    .guest-landing-page .party-info-card {
        padding: 24px 20px;
    }

    .guest-landing-page .party-details-row {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 20px;
    }

    .guest-landing-page .countdown-area {
        width: 100%;
        justify-content: center;
    }

    .guest-landing-page .kids-gifts-section {
        margin-top: 74px;
        padding-inline: 14px;
    }

    .guest-landing-page .attendance-cta-box {
        margin: -42px 0 52px;
        padding: 28px 20px;
        gap: 22px;
    }

    .guest-landing-page .attendance-right {
        width: 100%;
        justify-content: center;
    }

    .guest-landing-page .cta-decoration {
        display: none;
    }

    .guest-landing-page .cta-actions,
    .guest-landing-page .btn-confirm-presence {
        width: 100%;
    }

    .guest-landing-page .gifts-header-text {
        margin-bottom: 36px;
    }

    .guest-landing-page .gifts-header-text h2 {
        font-size: 34px;
    }
}

@media (max-width: 360px) {
    .home-page .banner-container:not(.internal-mode):not(.banner-interna) {
        min-height: 790px;
    }

    .home-page .banner-container:not(.internal-mode):not(.banner-interna)::before {
        top: 430px;
    }

    .home-page #banner-home h1 {
        font-size: 28px;
    }
}

/* Home banner: keep its artwork inside the same silhouette used by the blog. */
.banner-container:not(.internal-mode):not(.banner-interna) {
    --home-banner-drop: 0px;
    background-image: none;
    isolation: isolate;
}

.banner-container:not(.internal-mode):not(.banner-interna)::before {
    content: "";
    position: absolute;
    top: var(--home-banner-drop);
    right: 0;
    left: 0;
    height: 100%;
    display: block;
    background-image: url('img/banner-v3.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    -webkit-mask-image: url('img/banner-interna.png');
    mask-image: url('img/banner-interna.png');
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    pointer-events: none;
    z-index: 0;
}

.banner-container:not(.internal-mode):not(.banner-interna)::after {
    content: none;
}

@media (min-width: 769px) {
    .banner-container:not(.internal-mode):not(.banner-interna) {
        aspect-ratio: 1155 / 588;
    }

    .banner-container:not(.internal-mode):not(.banner-interna)>.logo-area {
        top: clamp(36px, 3.7vw, 70px);
        z-index: 20;
    }

    .banner-container:not(.internal-mode):not(.banner-interna)>.logo-area .logo {
        max-width: clamp(112px, 11vw, 150px);
    }

    .banner-container:not(.internal-mode):not(.banner-interna)>.header-right {
        top: clamp(-12px, -0.6vw, -4px);
        right: 0;
        z-index: 20;
    }

    .banner-container:not(.internal-mode):not(.banner-interna)>.header-right .login-area {
        transform: translateY(clamp(-26px, -1.6vw, -18px));
    }

    .banner-container:not(.internal-mode):not(.banner-interna)>.banner-nav {
        top: clamp(42px, 3.8vw, 72px);
        z-index: 20;
    }
}

@media (min-width: 1321px) {
    .banner-container:not(.internal-mode):not(.banner-interna) {
        --home-banner-drop: clamp(36px, 2.8vw, 44px);
    }
}

@media (max-width: 768px) {
    .banner-container:not(.internal-mode):not(.banner-interna)::before {
        background-size: cover;
        background-position: 57% center;
        -webkit-mask-size: cover;
        mask-size: cover;
        -webkit-mask-position: 57% center;
        mask-position: 57% center;
    }

    .banner-container:not(.internal-mode):not(.banner-interna)>.logo-area {
        z-index: 30;
    }

    .banner-container:not(.internal-mode):not(.banner-interna)>.hamburger-toggle+.hamburger-icon {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        gap: 5px !important;
        position: absolute !important;
        top: 18px !important;
        right: 18px !important;
        left: auto !important;
        width: 38px !important;
        height: 38px !important;
        padding: 5px !important;
        border-radius: 8px !important;
        background-color: #3A3A3A !important;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 99999 !important;
    }

    .banner-container:not(.internal-mode):not(.banner-interna)>.hamburger-toggle+.hamburger-icon span {
        display: block !important;
        width: 100% !important;
        height: 2px !important;
        background-color: #FFFFFF !important;
        border-radius: 2px !important;
    }
}

/* Mobile: prevent testimonial section from creating right-side overflow */
@media (max-width: 768px) {
    .bkg-testiminial {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow-x: clip;
    }

    .testimonials-section,
    .testi-container,
    .testi-left-wrapper,
    .testi-floating-group,
    .testi-card {
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .testi-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: hidden;
    }

    .testi-floating-group {
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        left: auto !important;
        right: auto !important;
    }

    .testi-card {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* Informational pages: Privacy, Terms and FAQ */
.info-header {
    min-height: 520px;
}

.privacy-banner {
    background-image: url('img/banner-privacy.png');
}

.terms-banner {
    background-image: url('img/banner-terms.png');
}

.faq-banner {
    background-image: url('img/banner-faq.png');
}

.fun-birthday-banner {
    background-image: url('img/banner-blog-fun-birthday.png');
}

.personal-page-banner {
    background-image: url('img/banner-blog-personal-page.png');
}

.birthday-traditions-banner {
    background-image: url('img/banner-blog-birthday-traditions.png');
}

.info-page {
    width: 100%;
    padding: 80px 0 40px;
}

.info-content {
    width: min(980px, 100%);
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.info-updated {
    color: var(--primary-orange);
    font-family: var(--font-titles);
    font-weight: 700;
    margin-bottom: 28px;
}

.info-content h2 {
    font-size: 30px;
    margin: 34px 0 12px;
}

.info-content h2:first-of-type {
    margin-top: 0;
}

.info-content p {
    color: #5A5A5A;
    font-size: 18px;
}

.info-faq-section {
    padding-top: 0;
}

.info-faq-section .faq-container {
    align-items: flex-start;
}

/* Blog index and post pages */
.blog-header-right .btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.blog-index-page,
.blog-post-page {
    width: 100%;
    background: #FFF8E9;
    padding: 80px 0 60px;
}

.blog-listing-content,
.post-article {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.blog-listing-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 40px;
}

.blog-listing-intro h2 {
    font-size: 48px;
    line-height: 1.1;
    color: var(--dark-grey);
    margin: 8px 0 15px;
}

.blog-listing-intro p {
    max-width: 470px;
    margin: 0;
    color: #5A5A5A;
}

.blog-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.blog-list-card {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.blog-list-image-link {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.blog-list-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.blog-list-card:hover .blog-list-img {
    transform: scale(1.04);
}

.blog-list-card-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.blog-list-card-body h3 {
    font-size: 24px;
    line-height: 1.2;
    margin: 8px 0 14px;
}

.blog-list-card-body h3 a {
    color: var(--dark-grey);
    text-decoration: none;
}

.blog-list-card-body p {
    font-size: 16px;
    color: #5A5A5A;
    margin: 0 0 24px;
}

.blog-list-card-body .btn-read-more {
    margin-top: auto;
}

.post-article {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 42px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.07);
}

.post-cover-wrap {
    width: 100%;
    aspect-ratio: 16 / 8;
    border-radius: 20px;
    overflow: hidden;
}

.post-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 26px auto 0;
    max-width: 820px;
    color: var(--primary-orange);
    font-family: var(--font-titles);
    font-size: 15px;
    font-weight: 700;
}

.post-article>.post-meta-row:first-child {
    margin-top: 0;
}

.post-body {
    max-width: 820px;
    margin: 28px auto 0;
}

.post-lead {
    font-size: 22px;
    color: #3E3E3E;
}

.post-body h2 {
    font-size: 30px;
    color: var(--dark-grey);
    margin: 36px 0 12px;
}

.post-body p {
    color: #5A5A5A;
}

.post-list {
    margin: 24px 0 0;
    padding-left: 22px;
}

.post-list li {
    color: #5A5A5A;
    font-family: var(--font-text);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.post-nav {
    max-width: 820px;
    margin: 42px auto 0;
    padding-top: 28px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.post-nav a {
    color: var(--primary-orange);
    font-family: var(--font-titles);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .info-header {
        min-height: 420px;
    }

    .info-header .hero-content {
        width: calc(100% - 110px);
        max-width: calc(100% - 110px);
        margin-left: 32px;
        padding-right: 0;
    }

    .info-header .hero-content h1 {
        font-size: clamp(28px, 8.2vw, 36px);
        line-height: 1.15;
        overflow-wrap: break-word;
    }

    .info-header .hero-content p {
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .info-page {
        padding: 35px 0 20px;
    }

    .info-content {
        border-radius: 18px;
        padding: 30px 20px;
    }

    .info-content h2 {
        font-size: 24px;
    }

    .info-content p {
        font-size: 16px;
    }

    .blog-index-page,
    .blog-post-page {
        padding: 35px 0 30px;
        overflow-x: hidden;
    }

    .blog-post-page {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        padding-left: 14px;
        padding-right: 14px;
    }

    .blog-listing-content,
    .post-article {
        width: min(100% - 28px, 1120px);
    }

    .blog-listing-intro {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .blog-listing-intro h2 {
        font-size: 36px;
    }

    .blog-listing-grid {
        grid-template-columns: 1fr;
    }

    .blog-list-card-body {
        padding: 24px 20px;
    }

    .post-article {
        border-radius: 18px;
        padding: 24px 18px;
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden;
    }

    .post-cover-wrap {
        aspect-ratio: 4 / 3;
        border-radius: 16px;
    }

    .post-body,
    .post-body p,
    .post-list,
    .post-list li {
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .post-meta-row,
    .post-body,
    .post-nav {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .post-lead {
        font-size: 19px;
    }

    .post-meta-row {
        flex-direction: column;
        gap: 6px;
    }

    .post-body h2 {
        font-size: 24px;
    }

    .post-list li {
        font-size: 16px;
    }

    .post-nav {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================================
   UI SYSTEM REVIEW 2026 -- rhythm, states and host creation flow
   ============================================================ */

:root {
    --ui-space-1: 4px;
    --ui-space-2: 8px;
    --ui-space-3: 12px;
    --ui-space-4: 16px;
    --ui-space-5: 24px;
    --ui-space-6: 32px;
    --ui-space-7: 48px;
    --ui-space-8: 64px;
    --ui-section-space: clamp(64px, 7vw, 104px);
    --ui-content-width: 1180px;
    --ui-control-height: 48px;
    --ui-radius-sm: 12px;
    --ui-radius-md: 18px;
    --ui-radius-lg: 24px;
    --ui-line: rgba(58, 58, 58, 0.12);
    --ui-line-strong: rgba(58, 58, 58, 0.2);
    --ui-surface: #FFFFFF;
    --ui-surface-soft: #FFF9F3;
    --ui-shadow-sm: 0 8px 22px rgba(58, 58, 58, 0.055);
    --ui-shadow-md: 0 16px 42px rgba(58, 58, 58, 0.09);
    --ui-focus: 0 0 0 3px rgba(227, 106, 75, 0.2);
}

html {
    scroll-behavior: smooth;
}

:where(a, button, input, textarea, select):focus-visible {
    outline: 3px solid rgba(227, 106, 75, 0.32);
    outline-offset: 3px;
}

/* Consistent vertical rhythm across the public surfaces in scope. */
.home-page .how-it-works-section,
.home-page .celebration-types-section,
.home-page .faq-section,
.home-page .testimonials-section,
.home-page .blog-section {
    padding-top: var(--ui-section-space);
    padding-bottom: var(--ui-section-space);
}

.home-page .section-tag {
    margin-bottom: var(--ui-space-4);
}

.home-page :where(.hiw-right, .ct-text-content, .faq-left, .testi-right-content, .blog-header-left) h2 {
    margin-bottom: var(--ui-space-3);
}

.home-page :where(.section-desc, .ct-text-content p, .faq-left p, .gifts-header-text p) {
    margin-top: var(--ui-space-4);
}

.home-page .steps-container,
.home-page .cards-grid,
.home-page .blog-grid {
    gap: var(--ui-space-5);
}

.home-page .celebration-types-section {
    margin-top: 0;
    margin-bottom: 0;
}

.home-page :where(.faq-left h2, .blog-header-left h2) {
    margin-top: 0;
}

.home-page .section-desc {
    margin-bottom: var(--ui-space-5);
}

.home-page .step-card {
    padding: var(--ui-space-5);
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.home-page .step-card:hover {
    transform: none;
    background-color: #FFF0EB;
    box-shadow: var(--ui-shadow-sm);
}

.home-page .standard-card .blog-content-std {
    flex: 1;
}

.home-page .standard-card .btn-read-more {
    margin-top: auto;
}

.home-page .sb-input-container:focus-within,
.home-page .news-form:focus-within {
    outline: 3px solid rgba(227, 106, 75, 0.32);
    outline-offset: 3px;
}

.home-page .faq-question:hover {
    color: var(--dark-grey);
    border-color: rgba(227, 106, 75, 0.45);
    background-color: #FFF5F1;
}

.home-page .faq-question:hover .icon-toggle {
    color: var(--primary-orange);
}

.home-page .faq-question.active,
.home-page .faq-question.active:hover {
    color: #FFFFFF;
    border-color: var(--primary-orange);
    background-color: var(--primary-orange);
}

.home-page .faq-question.active .icon-toggle,
.home-page .faq-question.active:hover .icon-toggle {
    color: #FFFFFF;
}

.home-page .celebration-card {
    border-color: var(--ui-line);
    background-color: #FFFFFF;
    box-shadow: var(--ui-shadow-sm);
}

.home-page .celebration-card:hover {
    border-color: rgba(227, 106, 75, 0.38);
    background-color: #FFFFFF;
    transform: translateY(-4px);
    box-shadow: var(--ui-shadow-md);
}

.home-page .celebration-card:hover::before {
    opacity: 0;
}

.home-page .celebration-card:hover h3,
.home-page .celebration-card:hover .card-desc {
    color: var(--dark-grey);
}

.home-page .celebration-card .btn-card-hover {
    opacity: 1;
    pointer-events: auto;
    color: var(--dark-grey);
    box-shadow: 0 6px 16px rgba(247, 180, 62, 0.24);
}

.home-page .celebration-card .btn-card-hover:hover {
    background-color: #F4A91E;
    transform: translate(-50%, calc(50% - 2px));
}

/* Host creation: app-like shell inspired by the supplied reference. */
.create-flow-page {
    background: #FBF9F4;
}

.create-flow-page .banner-container.internal-mode {
    padding-bottom: var(--ui-space-8);
    background:
        radial-gradient(circle at 8% 22%, rgba(247, 180, 62, 0.1), transparent 28%),
        linear-gradient(180deg, #FFFDF9 0%, #FBF8F1 100%);
}

.creation-page-header {
    width: min(var(--ui-content-width), calc(100% - 40px));
    margin: var(--ui-space-6) auto 0;
    text-align: center;
}

.creation-kicker {
    display: inline-flex;
    color: var(--primary-orange);
    font-family: var(--font-titles);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.creation-page-header h1 {
    margin: var(--ui-space-2) 0 var(--ui-space-2);
    color: var(--dark-grey);
    font-family: var(--font-titles);
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.08;
}

.creation-page-header p {
    max-width: 590px;
    margin: 0 auto;
    color: #6A6A6A;
    font-size: 18px;
    line-height: 1.6;
}

.creation-stepper {
    position: sticky;
    top: 12px;
    z-index: 50;
    width: min(760px, calc(100% - 40px));
    margin: var(--ui-space-6) auto 0;
    padding: var(--ui-space-3) var(--ui-space-5);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border: 1px solid rgba(58, 58, 58, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 28px rgba(58, 58, 58, 0.08);
    backdrop-filter: blur(14px);
}

.creation-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #8A8A8A;
    text-decoration: none;
    transition: color 160ms ease;
}

.creation-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 14px;
    left: calc(50% + 18px);
    width: calc(100% - 36px);
    height: 1px;
    background: rgba(58, 58, 58, 0.14);
}

.creation-step > span {
    position: relative;
    z-index: 1;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(58, 58, 58, 0.18);
    border-radius: 50%;
    background: #FFFFFF;
    font: 700 12px var(--font-titles);
    transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.creation-step small {
    font: 500 12px var(--font-text);
    white-space: nowrap;
}

.creation-step:hover,
.creation-step.active {
    color: var(--primary-orange);
}

.creation-step:hover > span {
    transform: translateY(-1px);
    border-color: rgba(227, 106, 75, 0.6);
}

.creation-step.active > span {
    color: #FFFFFF;
    border-color: var(--primary-orange);
    background: var(--primary-orange);
    box-shadow: 0 5px 12px rgba(227, 106, 75, 0.28);
}

.create-flow-page .canvas-split-container {
    width: min(var(--ui-content-width), calc(100% - 40px));
    max-width: none;
    margin: var(--ui-space-6) auto 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.62fr) minmax(320px, 0.78fr);
    align-items: start;
    gap: var(--ui-space-6);
}

.create-flow-page .interaction-zone {
    width: auto;
    min-width: 0;
}

.create-flow-page .creation-form {
    gap: var(--ui-space-5);
}

.create-flow-page .form-step-card {
    scroll-margin-top: 118px;
    margin: 0;
    padding: 28px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-radius-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--ui-shadow-sm);
}

.create-flow-page .form-step-card:hover {
    border-color: var(--ui-line);
    box-shadow: var(--ui-shadow-sm);
}

.form-section-heading {
    display: flex;
    align-items: center;
    gap: var(--ui-space-3);
    margin-bottom: var(--ui-space-5);
}

.form-section-heading.compact-heading {
    margin-bottom: var(--ui-space-2);
}

.form-section-icon,
.media-setting-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: var(--ui-radius-sm);
    background: #FFF0E8;
    color: var(--primary-orange);
}

.form-section-heading h2 {
    margin: 0;
    color: var(--dark-grey);
    font-family: var(--font-titles);
    font-size: 26px;
    line-height: 1.25;
}

.form-section-heading p {
    margin: 3px 0 0;
    color: #7A7A7A;
    font-size: 15px;
    line-height: 1.5;
}

.create-flow-page .type-selection-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--ui-space-3);
}

.create-flow-page .type-card {
    position: relative;
    min-width: 0;
}

.create-flow-page .type-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    display: block;
    opacity: 0;
    pointer-events: none;
}

.create-flow-page .type-card .card-content {
    height: 126px;
    min-height: 0;
    padding: var(--ui-space-4);
    justify-content: center;
    gap: var(--ui-space-2);
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-radius-md);
    background: #FFFFFF;
    color: var(--dark-grey);
    box-shadow: none;
    transform: none;
    transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.create-flow-page .type-card .card-content::before {
    content: none;
}

.create-flow-page .type-card .card-content::after {
    content: '\2713';
    position: absolute;
    top: 9px;
    right: 9px;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary-orange);
    color: #FFFFFF;
    font: 700 11px var(--font-titles);
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 160ms ease, transform 160ms ease;
}

.create-flow-page .type-card .card-image-box {
    display: none;
}

.create-flow-page .type-card .card-content > i {
    margin: 0;
    color: var(--primary-orange);
    font-size: 27px;
}

.create-flow-page .type-card .card-content > span {
    margin: 0;
    color: var(--dark-grey);
    font-family: var(--font-titles);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.create-flow-page .type-card:hover .card-content {
    color: var(--dark-grey);
    border-color: rgba(227, 106, 75, 0.46);
    background: #FFF9F5;
    box-shadow: 0 8px 18px rgba(227, 106, 75, 0.09);
    transform: translateY(-2px);
}

.create-flow-page .type-card:hover .card-content > i,
.create-flow-page .type-card:hover .card-content > span {
    color: inherit;
}

.create-flow-page .type-card input:checked + .card-content {
    color: var(--dark-grey);
    border-color: var(--primary-orange);
    background: #FFF5EF;
    box-shadow: 0 0 0 2px rgba(227, 106, 75, 0.1);
    transform: none;
}

.create-flow-page .type-card input:checked + .card-content::after {
    opacity: 1;
    transform: scale(1);
}

.create-flow-page .type-card input:checked + .card-content > i,
.create-flow-page .type-card input:checked + .card-content > span {
    color: inherit;
}

.create-flow-page .type-card input:focus-visible + .card-content {
    outline: 3px solid rgba(227, 106, 75, 0.3);
    outline-offset: 3px;
}

.create-flow-page .grid-2-col {
    gap: var(--ui-space-4);
}

.create-flow-page .input-label {
    margin-bottom: 7px;
    color: #595959;
    font-size: 14px;
    letter-spacing: 0.02em;
    text-transform: none;
}

.create-flow-page .cado-input {
    min-height: var(--ui-control-height);
    padding: 12px 14px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-radius-sm);
    background: #FFFFFF;
    font-size: 16px;
    line-height: 1.45;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.create-flow-page .cado-input:hover {
    border-color: var(--ui-line-strong);
}

.create-flow-page .cado-input:focus {
    border-color: var(--primary-orange);
    background: #FFFFFF;
    box-shadow: var(--ui-focus);
    transform: none;
}

.create-flow-page .text-area {
    min-height: 92px;
    height: 92px;
    border-radius: var(--ui-radius-sm);
    resize: vertical;
}

.details-primary-grid {
    align-items: start;
}

.media-setting-row {
    margin-top: var(--ui-space-4);
    padding: var(--ui-space-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ui-space-4);
    border: 1px solid rgba(58, 58, 58, 0.09);
    border-radius: var(--ui-radius-md);
    background: #FCFBF8;
}

.media-setting-copy,
.media-setting-actions {
    display: flex;
    align-items: center;
    gap: var(--ui-space-3);
}

.media-setting-copy strong,
.media-setting-copy small {
    display: block;
}

.media-setting-copy strong {
    color: var(--dark-grey);
    font: 700 16px var(--font-titles);
}

.media-setting-copy small {
    margin-top: 2px;
    color: #7A7A7A;
    font: 400 14px/1.45 var(--font-text);
}

.create-flow-page .upload-box {
    appearance: none;
    width: auto;
    height: 42px;
    padding: 0 14px;
    flex-direction: row;
    gap: var(--ui-space-2);
    border: 1px solid rgba(227, 106, 75, 0.38);
    border-radius: 999px;
    background: #FFFFFF;
    color: var(--primary-orange);
    font: 700 14px var(--font-titles);
    white-space: nowrap;
}

.create-flow-page #bannerUploadLabel {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.create-flow-page .upload-box:hover {
    border-color: var(--primary-orange);
    background: #FFF4EE;
    transform: translateY(-1px);
}

.create-flow-page .image-position-controls {
    margin: 0;
}

.create-flow-page .image-position-btn {
    transition: color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.create-flow-page .image-position-btn:hover {
    color: var(--primary-orange);
    background: #FFF0E8;
    filter: none;
    box-shadow: none;
    transform: translateY(-1px);
}

.create-flow-page .image-position-btn.active:hover {
    color: #FFFFFF;
    background: var(--primary-orange);
    transform: none;
}

.create-flow-page .gift-marketplace-card {
    background: rgba(255, 252, 247, 0.96);
}

.create-flow-page .gm-header {
    align-items: flex-start;
    margin-bottom: var(--ui-space-4);
}

.create-flow-page .gm-title-group {
    min-width: 0;
}

.create-flow-page .gm-subtitle {
    margin: var(--ui-space-3) 0 0 50px;
    max-width: 590px;
    color: #666666;
    font-size: 15px;
    line-height: 1.55;
}

.create-flow-page .gm-counter-badge {
    width: auto;
    height: 38px;
    padding: 0 13px;
    border-radius: 999px;
    font-size: 15px;
    box-shadow: 0 6px 14px rgba(227, 106, 75, 0.2);
}

.create-flow-page .gm-toolbar {
    margin-bottom: var(--ui-space-3);
}

.create-flow-page .gm-search-wrap {
    min-height: var(--ui-control-height);
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-radius-sm);
    background: #FFFFFF;
}

.create-flow-page .gm-search-wrap:focus-within {
    border-color: var(--primary-orange);
    box-shadow: var(--ui-focus);
}

.create-flow-page .gm-categories {
    margin-bottom: var(--ui-space-4);
    gap: var(--ui-space-2);
}

.create-flow-page .gm-chip {
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid var(--ui-line);
    border-radius: 999px;
    color: #585858;
    font-size: 14px;
    transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.create-flow-page .gm-chip:hover {
    color: var(--primary-orange);
    border-color: rgba(227, 106, 75, 0.42);
    background: #FFF6F0;
    transform: translateY(-1px);
}

.create-flow-page .gm-chip.active,
.create-flow-page .gm-chip.active:hover {
    color: #FFFFFF;
    border-color: var(--primary-orange);
    background: var(--primary-orange);
    filter: none;
    box-shadow: none;
    transform: none;
}

.create-flow-page .gm-grid {
    gap: var(--ui-space-3);
}

.create-flow-page .gm-gift-card {
    appearance: none;
    min-height: 132px;
    padding: var(--ui-space-4);
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-radius-md);
    color: var(--dark-grey);
    font-family: inherit;
    text-align: center;
    cursor: pointer;
    box-shadow: none;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.create-flow-page .gm-gift-card:hover {
    border-color: rgba(227, 106, 75, 0.48);
    background: #FFF9F5;
    box-shadow: 0 9px 20px rgba(227, 106, 75, 0.09);
    transform: translateY(-2px);
}

.create-flow-page .gm-gift-card.selected,
.create-flow-page .gm-gift-card.selected:hover {
    border-color: var(--primary-orange);
    background: #FFF3EC;
    box-shadow: 0 0 0 2px rgba(227, 106, 75, 0.1);
    filter: none;
    transform: none;
}

.create-flow-page .gm-gift-card.disabled:not(.selected) {
    cursor: not-allowed;
}

.create-flow-page .gm-gift-name {
    font-size: 15px;
    line-height: 1.35;
}

.create-flow-page .btn-see-more,
.create-flow-page .btn-create-gift {
    min-height: 42px;
    border-color: rgba(227, 106, 75, 0.35);
    background: #FFFFFF;
    color: var(--primary-orange);
    font-size: 16px;
    transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.create-flow-page .btn-see-more:hover,
.create-flow-page .btn-create-gift:hover {
    color: #C94F34;
    border-color: var(--primary-orange);
    background: #FFF4EE;
    box-shadow: 0 7px 16px rgba(227, 106, 75, 0.1);
    transform: translateY(-1px);
}

.create-flow-page .form-footer {
    margin: 0;
    padding: var(--ui-space-2) 0 0;
    flex-direction: column;
    align-items: center;
    gap: var(--ui-space-3);
}

.create-flow-page .btn-create-page {
    width: 100%;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--ui-space-3);
    border: 1px solid var(--primary-orange);
    border-radius: var(--ui-radius-sm);
    background: linear-gradient(135deg, #F47B5E, #EB6246);
    color: #FFFFFF;
    font-size: 18px;
    box-shadow: 0 10px 22px rgba(227, 106, 75, 0.24);
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.create-flow-page .btn-create-page:hover {
    color: #FFFFFF;
    border-color: var(--primary-orange);
    background: linear-gradient(135deg, #F47B5E, #EB6246);
    filter: brightness(1.035);
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(227, 106, 75, 0.3);
}

.create-flow-page .btn-create-page:active {
    transform: translateY(0);
    box-shadow: 0 7px 16px rgba(227, 106, 75, 0.24);
}

.form-privacy-note {
    margin: 0;
    color: #777777;
    font-size: 14px;
    line-height: 1.5;
}

.form-privacy-note i {
    margin-right: 5px;
    color: #B68739;
}

.create-flow-page .live-canvas-zone {
    flex: 0 1 32%;
    top: 104px;
    scroll-margin-top: 118px;
}

.create-flow-page .canvas-sticky-wrapper {
    max-height: none;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.create-flow-page .preview-badge {
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    z-index: 3;
    width: fit-content;
    height: 26px;
    margin: var(--ui-space-2) 0 0;
    align-self: center;
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 26px;
    padding: 0 9px;
    border: 1px solid rgba(227, 106, 75, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--primary-orange);
    font-size: 10px;
    letter-spacing: 0.08em;
}

.create-flow-page .live-preview-box {
    overflow: hidden;
    border: 1px solid rgba(181, 132, 74, 0.2);
    border-radius: 22px;
    background: #FFF9ED;
    box-shadow: 0 18px 44px rgba(102, 72, 43, 0.14);
}

.create-flow-page .preview-banner-mock {
    position: relative;
    min-height: 190px;
    height: auto;
    aspect-ratio: 2 / 1;
    display: grid;
    grid-template-columns: 44% 56%;
    align-items: stretch;
    justify-content: stretch;
    overflow: hidden;
    background: #FFF9ED;
}

.create-flow-page .preview-banner-mock::after {
    content: '\2726';
    position: absolute;
    top: 10px;
    right: 12px;
    color: rgba(218, 164, 78, 0.55);
    font-size: 18px;
}

.preview-photo-pane {
    min-width: 0;
    width: 100%;
    height: 100%;
    align-self: stretch;
    background-color: #EFD8BE;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-position 220ms ease;
}

.preview-photo-pane.preview-type-baby {
    background-image: url('img/card-1.png');
}

.preview-photo-pane.preview-type-kids {
    background-image: url('img/card-2.png');
}

.preview-photo-pane.preview-type-wedding {
    background-image: url('img/card-3.png');
}

.preview-photo-pane.preview-type-baby {
    background-position: center 38%;
}

.preview-photo-pane.preview-type-wedding {
    background-position: center 28%;
}

.create-flow-page .preview-copy-pane {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding: clamp(12px, 1.5vw, 18px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dark-grey);
    background:
        radial-gradient(circle at 88% 16%, rgba(247, 180, 62, 0.15), transparent 20%),
        linear-gradient(145deg, #FFFDF8, #FFF5E5);
}

.create-flow-page .preview-kicker {
    margin-bottom: 6px;
    color: #B37A42;
    font: 700 9px var(--font-titles);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.create-flow-page .preview-text h1 {
    width: 100%;
    max-width: 12ch;
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 var(--ui-space-2);
    color: #C65A3F;
    font-size: clamp(20px, 1.9vw, 28px);
    line-height: 1.02;
    text-align: center;
    overflow-wrap: anywhere;
    text-wrap: balance;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.create-flow-page .preview-text p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #6E6259;
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
    opacity: 1;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.create-flow-page .preview-info-mock {
    min-height: 54px;
    padding: 12px 16px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--ui-space-2);
    border-top: 1px solid rgba(181, 132, 74, 0.16);
    background: #FFFFFF;
}

.create-flow-page .preview-stat {
    width: fit-content;
    min-height: 28px;
    padding: 0 9px;
    gap: 6px;
    border-radius: 999px;
    background: #FFF4E9;
    color: #655C55;
    font-size: 12px;
}

.create-flow-page .preview-stat i {
    font-size: 11px;
}

.create-flow-page .canvas-hint {
    padding: var(--ui-space-3) 0 0;
    color: #858585;
    font-size: 13px;
}

.create-flow-page .interna-site-footer {
    display: none;
}

/* Guest landing hover states: keep content readable instead of color-flooding cards. */
.guest-landing-page {
    --guest-header-gap: clamp(88px, 8vw, 112px);
    --party-overlap: clamp(82px, 8vw, 112px);
    --party-cta-overlap: clamp(44px, 4vw, 58px);
}

.guest-landing-page .kids-party-wrapper {
    margin-top: var(--guest-header-gap);
}

.guest-landing-page .party-content-grid {
    margin-bottom: calc(-1 * var(--party-overlap));
}

.guest-landing-page .kids-gifts-section {
    margin-top: var(--party-overlap);
}

.guest-landing-page .attendance-cta-box {
    margin-top: calc(-1 * var(--party-cta-overlap));
}

.guest-landing-page .gift-card-item {
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.guest-landing-page .gift-card-item:hover {
    border-color: rgba(227, 106, 75, 0.38);
    background: #FFFFFF;
    transform: translateY(-4px);
    box-shadow: var(--ui-shadow-md);
}

.guest-landing-page .gift-card-item:hover::before {
    opacity: 0;
}

.guest-landing-page .gift-card-item:hover h3 {
    color: var(--dark-grey);
}

.guest-landing-page .gift-card-item:hover .btn-contribute {
    color: #FFFFFF;
    background: var(--primary-orange);
}

.guest-landing-page :where(.btn-confirm-presence, .btn-contribute) {
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.guest-landing-page :where(.btn-confirm-presence, .btn-contribute):hover {
    filter: brightness(1.04);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(227, 106, 75, 0.24);
}

.guest-landing-page :where(.btn-confirm-presence, .btn-contribute):active {
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .creation-page-header {
        margin-top: var(--ui-space-5);
    }

    .create-flow-page .canvas-split-container {
        grid-template-columns: minmax(0, 1fr);
    }

    .create-flow-page .interaction-zone,
    .create-flow-page .live-canvas-zone {
        width: 100%;
    }

    .create-flow-page .live-canvas-zone {
        position: relative;
        top: 0;
        grid-row: 1;
    }

    .create-flow-page .interaction-zone {
        grid-row: 2;
    }

    .create-flow-page .preview-badge {
        margin-top: var(--ui-space-2);
    }

    .create-flow-page .live-preview-box {
        width: min(680px, 100%);
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    :root {
        --ui-section-space: 56px;
    }

    .guest-landing-page {
        --guest-header-gap: 82px;
        --party-overlap: 68px;
        --party-cta-overlap: 40px;
    }

    .home-page .how-it-works-section,
    .home-page .celebration-types-section,
    .home-page .faq-section,
    .home-page .testimonials-section,
    .home-page .blog-section {
        padding-top: var(--ui-section-space);
        padding-bottom: var(--ui-section-space);
    }

    .create-flow-page .banner-container.internal-mode {
        min-height: 0;
        padding-top: 0;
        padding-right: 0;
        padding-bottom: 34px;
        padding-left: 0;
    }

    .create-flow-page .banner-container.internal-mode > .logo-area {
        top: 0;
        left: 0;
        width: 100%;
        height: 76px;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .create-flow-page .banner-container.internal-mode > .logo-area .logo {
        width: auto;
        max-width: 112px;
    }

    .creation-page-header {
        display: none;
    }

    .creation-stepper {
        top: 8px;
        width: calc(100% - 24px);
        margin-top: 0;
        padding: 10px 8px;
        border-radius: var(--ui-radius-md);
    }

    .creation-step small {
        max-width: 62px;
        overflow: hidden;
        font-size: 10px;
        text-overflow: ellipsis;
    }

    .creation-step:not(:last-child)::after {
        left: calc(50% + 16px);
        width: calc(100% - 32px);
    }

    .create-flow-page .canvas-split-container {
        width: calc(100% - 24px);
        margin-top: var(--ui-space-5);
        gap: var(--ui-space-5);
    }

    .create-flow-page .live-preview-box {
        border-radius: var(--ui-radius-md);
    }

    .create-flow-page .preview-banner-mock {
        aspect-ratio: 1.9 / 1;
        grid-template-columns: 43% 57%;
    }

    .create-flow-page .preview-text h1 {
        font-size: clamp(21px, 7vw, 29px);
    }

    .create-flow-page .form-step-card {
        padding: 24px 18px !important;
        border-radius: var(--ui-radius-md);
    }

    .form-section-heading {
        margin-bottom: 18px;
    }

    .form-section-heading h2 {
        font-size: 23px;
    }

    .create-flow-page .type-selection-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--ui-space-2);
    }

    .create-flow-page .type-card .card-content {
        height: 108px;
        padding: 12px 8px;
        border-radius: 14px;
    }

    .create-flow-page .type-card .card-content > i {
        font-size: 23px;
    }

    .create-flow-page .type-card .card-content > span {
        font-size: 13px;
    }

    .create-flow-page .grid-2-col {
        grid-template-columns: 1fr;
        gap: var(--ui-space-4);
    }

    .media-setting-row {
        align-items: stretch;
        flex-direction: column;
    }

    .media-setting-actions {
        justify-content: space-between;
    }

    .create-flow-page .gm-subtitle {
        margin-left: 0;
    }

    .create-flow-page .gm-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--ui-space-2);
    }

    .create-flow-page .gm-gift-card {
        min-height: 118px;
        padding: 13px 10px;
    }

    .create-flow-page .gm-emoji {
        width: 42px;
        height: 42px;
        margin-bottom: 9px;
    }

    .create-flow-page .form-footer {
        position: sticky;
        bottom: 0;
        z-index: 35;
        margin: 0 -12px -12px;
        padding: 14px 12px calc(12px + env(safe-area-inset-bottom, 0)) !important;
        border-top: 1px solid rgba(58, 58, 58, 0.08);
        background: rgba(251, 249, 244, 0.94);
        backdrop-filter: blur(14px);
    }

    .create-flow-page .btn-create-page {
        min-height: 52px;
    }

    .guest-landing-page .kids-gifts-section {
        padding-top: 0;
        padding-bottom: var(--ui-section-space);
    }
}

@media (max-width: 420px) {
    .creation-step small {
        font-size: 9px;
    }

    .create-flow-page .preview-copy-pane {
        padding: 12px;
    }

    .create-flow-page .preview-text h1 {
        font-size: 20px;
    }

    .create-flow-page .preview-text p {
        -webkit-line-clamp: 2;
    }

    .media-setting-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .create-flow-page .upload-box {
        justify-content: center;
    }

    .create-flow-page .image-position-controls {
        justify-content: space-between;
    }
}

@media (min-width: 1321px) {
    .home-page .banner-container:not(.internal-mode):not(.banner-interna) > .header-right {
        top: clamp(36px, 3.7vw, 70px);
        right: clamp(12px, 1.2vw, 24px);
        gap: 8px;
        transform: translateY(-27px);
    }

    .home-page .header-right .social-icons {
        gap: 6px;
        margin-bottom: 0;
    }

    .home-page .header-right .social-icons a {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .home-page .header-right .social-icons a:nth-child(3) {
        margin-right: 4px;
    }

    .home-page .banner-container:not(.internal-mode):not(.banner-interna) > .header-right .login-area {
        transform: none;
    }

    .home-page .header-right .btn-login {
        min-height: 46px;
        padding: 12px 32px;
        justify-content: center;
    }
}

/* Home: keep the floating celebration search clear of the next section heading. */
@media (min-width: 1025px) {
    .home-page .search-banner-wrapper {
        transform: translateY(-48px);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .home-page .search-banner-wrapper {
        transform: translateY(-24px);
    }
}

/* Home header: mirror the balanced desktop fit used by the blog header. */
@media (min-width: 1321px) {
    .home-page .banner-container:not(.internal-mode):not(.banner-interna) > .logo-area {
        top: 80px;
        z-index: 20;
    }

    .home-page .banner-container:not(.internal-mode):not(.banner-interna) > .logo-area .logo {
        max-width: 150px;
    }

    .home-page .banner-container:not(.internal-mode):not(.banner-interna) > .header-right {
        top: 1%;
        right: 10px;
        gap: 12px;
        transform: none;
        z-index: 20;
    }

    .home-page .header-right .social-icons {
        gap: 10px;
        margin-bottom: 15px;
    }

    .home-page .header-right .social-icons a {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .home-page .header-right .social-icons a:nth-child(3) {
        margin-right: 10px;
    }

    .home-page .banner-container:not(.internal-mode):not(.banner-interna) > .header-right .login-area {
        transform: none;
    }

    .home-page .header-right .btn-login {
        min-height: 0;
        padding: 16px 45px;
        justify-content: flex-start;
    }

    .home-page .banner-nav {
        top: 80px;
        max-width: none;
        height: 55px;
        padding-left: 25px;
    }

    .home-page .banner-nav a {
        padding-inline: 15px;
        font-size: 18px;
    }
}

/* Match the blog's existing notebook-scale header rules. */
@media (min-width: 1321px) and (max-width: 1400px) {
    .home-page .banner-container:not(.internal-mode):not(.banner-interna) > .logo-area {
        top: 70px;
    }

    .home-page .banner-container:not(.internal-mode):not(.banner-interna) > .logo-area .logo {
        max-width: 150px;
    }

    .home-page .banner-container:not(.internal-mode):not(.banner-interna) > .header-right {
        top: -1%;
        right: -10px;
    }
}

/* ========================================================================== */
/* DOCUMENT COMPLETION: CREATION, SHARING, PAYMENTS AND HOST TOOLS             */
/* ========================================================================== */

.create-flow-page .field-help {
    display: block;
    margin-top: 7px;
    color: #766f69;
    font-size: 14px;
    line-height: 1.5;
}

.event-logistics-grid {
    margin-top: 22px;
}

.btn-view-location {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    color: var(--primary-orange);
    font-family: var(--font-titles);
    font-size: 16px;
    line-height: 1.45;
    font-weight: 700;
    text-decoration: none;
}

.btn-view-location:hover {
    text-decoration: underline;
}

.host-setup-modal-box {
    width: min(92vw, 680px);
    max-width: 680px;
    max-height: min(88vh, 760px);
    padding: clamp(28px, 5vw, 48px);
    overflow-y: auto;
}

.host-setup-modal-box .modal-header {
    margin-bottom: 26px;
}

.setup-kicker,
.share-panel-kicker {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--primary-orange);
    font-family: var(--font-titles);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.host-setup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.host-setup-form[hidden],
.host-setup-saved[hidden] {
    display: none;
}

.host-consent-row {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #5f5954;
    font-size: 14px;
    line-height: 1.5;
}

.host-consent-row input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary-orange);
}

.host-consent-row a {
    color: var(--primary-orange);
    font-weight: 700;
}

.setup-fee-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 18px;
    border: 1px solid rgba(227, 106, 75, .24);
    border-radius: 14px;
    background: #fff8f3;
    color: var(--dark-grey);
}

.setup-fee-summary strong {
    color: var(--primary-orange);
    font-size: 22px;
}

.integration-note {
    margin: -6px 0 0;
    color: #827a74;
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
}

.host-setup-saved {
    padding: 16px 4px 2px;
    text-align: center;
}

.host-setup-saved > i {
    margin-bottom: 16px;
    color: #2e9d65;
    font-size: 52px;
}

.host-setup-saved h3 {
    margin: 0 0 10px;
    color: var(--dark-grey);
    font-size: 26px;
}

.host-setup-saved p {
    max-width: 500px;
    margin: 0 auto 24px;
    color: #68615c;
    line-height: 1.6;
}

.wallet-pay-content {
    padding: 28px 8px 8px;
    text-align: center;
}

.btn-google-pay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    margin: 10px 0 6px;
    border: 0;
    border-radius: 9px;
    background: #111;
    color: #fff;
    cursor: pointer;
    font-family: var(--font-titles);
    font-size: 17px;
    font-weight: 700;
}

.share-modal-box {
    width: min(94vw, 980px);
    max-width: 980px;
    max-height: 92vh;
    padding: clamp(26px, 4vw, 46px);
    overflow-y: auto;
}

.share-compose-field {
    margin-top: 24px;
    text-align: left;
}

.share-compose-field label,
.share-qr-copy label {
    display: block;
    margin-bottom: 7px;
    color: var(--dark-grey);
    font-family: var(--font-titles);
    font-size: 14px;
    font-weight: 800;
}

.share-compose-field textarea {
    width: 100%;
    min-height: 108px;
    resize: vertical;
}

.share-compose-field small {
    display: block;
    margin-top: 6px;
    color: #7d756f;
    font-size: 12px;
}

.share-option-btn {
    border: 0;
    cursor: pointer;
}

.share-option-btn.email {
    background: #3973d5;
}

.share-option-btn.messages {
    background: #7357b8;
}

.share-option-btn.copy {
    background: #5e5752;
}

.share-qr-panel {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(300px, 1.15fr);
    gap: clamp(22px, 4vw, 42px);
    align-items: center;
    margin-top: 30px;
    padding: clamp(20px, 3vw, 32px);
    border: 1px solid rgba(227, 106, 75, .2);
    border-radius: 22px;
    background: #fffaf6;
    text-align: left;
}

.share-qr-copy h3 {
    margin: 0 0 8px;
    color: var(--dark-grey);
    font-size: clamp(22px, 3vw, 30px);
}

.share-qr-copy > p {
    margin: 0 0 20px;
    color: #69615c;
    line-height: 1.55;
}

.share-download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.share-download-actions button {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 13px;
}

.share-preview-stack {
    display: grid;
    grid-template-columns: 120px minmax(180px, 1fr);
    gap: 16px;
    align-items: start;
}

#shareQrCanvas,
#invitePreviewCanvas {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(61, 47, 40, .12);
}

#shareQrCanvas {
    width: 120px;
    padding: 9px;
}

#invitePreviewCanvas {
    width: min(100%, 260px);
    justify-self: center;
}

.share-feedback {
    min-height: 20px;
    margin: 14px 0 -4px;
    color: #2e7d53;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.btn-thank-you {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 4px;
    color: var(--primary-orange);
    font-family: var(--font-titles);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.btn-thank-you:hover {
    text-decoration: underline;
}

.btn-bulk-thanks {
    white-space: nowrap;
}

.statement-page .search-filter-box {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(150px, .45fr);
    gap: 10px;
    max-width: 620px;
}

/* Keep the home header clear of the decorative hero shape on mid-size screens. */
@media (min-width: 769px) and (max-width: 1320px) {
    .home-page .banner-container:not(.internal-mode):not(.banner-interna) {
        --home-banner-drop: clamp(22px, 2.8vw, 34px);
    }

    .home-page .banner-container:not(.internal-mode):not(.banner-interna) > .logo-area {
        top: clamp(48px, 5vw, 66px);
    }

    .home-page .banner-container:not(.internal-mode):not(.banner-interna) > .logo-area .logo {
        width: auto;
        max-width: clamp(106px, 9.5vw, 132px);
    }

    .home-page .banner-container:not(.internal-mode):not(.banner-interna) > .header-right {
        top: clamp(8px, 1.2vw, 16px);
        right: clamp(8px, 1.4vw, 18px);
    }

    .home-page .banner-container:not(.internal-mode):not(.banner-interna) > .header-right .login-area {
        transform: none;
    }

    .home-page .banner-container:not(.internal-mode):not(.banner-interna) > .banner-nav {
        top: clamp(52px, 5vw, 68px);
    }
}

@media (max-width: 720px) {
    .share-modal-box {
        width: calc(100% - 24px);
        max-height: calc(100dvh - 24px);
        padding: 28px 18px;
    }

    .share-options-grid,
    .share-qr-panel,
    .share-preview-stack {
        grid-template-columns: 1fr;
    }

    .share-options-grid {
        gap: 10px;
        margin: 20px 0;
    }

    .copy-input-group {
        align-items: stretch;
        flex-direction: column;
        border-radius: 14px;
    }

    .copy-input-group button {
        border-radius: 10px;
    }

    .share-qr-panel {
        padding: 20px 16px;
    }

    .share-preview-stack {
        justify-items: center;
    }

    #shareQrCanvas {
        width: 150px;
    }

    #invitePreviewCanvas {
        width: min(100%, 300px);
    }

    .share-download-actions,
    .share-download-actions button {
        width: 100%;
    }

    .statement-page .search-filter-box {
        grid-template-columns: 1fr;
        max-width: none;
    }
}

/* ========================================================================== */
/* INTERNAL HOST PAGES: CONSISTENT WIDTH, RHYTHM AND RESPONSIVE BEHAVIOUR       */
/* ========================================================================== */

:is(.guest-list-page, .messages-page, .statement-page) .guest-list-container {
    width: min(calc(100% - 48px), 1200px);
    max-width: 1200px !important;
    padding: 40px 0;
}

:is(.guest-list-page, .statement-page) .guest-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

:is(.guest-list-page, .statement-page) .stat-item {
    width: auto;
    min-width: 0;
    min-height: 88px;
    padding: 16px 18px;
}

:is(.guest-list-page, .statement-page) .guest-list-actions > div:last-child {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px !important;
}

.share-modal-box .modal-header {
    display: block;
    margin-bottom: 18px;
    padding-right: 40px;
    text-align: left;
}

.share-modal-box .modal-header h2 {
    margin: 0;
}

.share-modal-box .modal-header p {
    margin: 7px 0 0;
}

.share-modal-box {
    max-height: calc(100dvh - 24px);
    padding: 28px 32px;
}

.share-modal-box .share-compose-field {
    margin-top: 16px;
}

.share-modal-box .share-compose-field textarea {
    min-height: 92px;
}

.share-modal-box .share-options-grid {
    margin: 18px 0;
}

.share-modal-box .share-qr-panel {
    gap: 24px;
    margin-top: 20px;
    padding: 22px;
}

.share-modal-box .share-preview-stack {
    grid-template-columns: 104px minmax(170px, 1fr);
    gap: 12px;
}

.share-modal-box #shareQrCanvas {
    width: 104px;
}

.share-modal-box #invitePreviewCanvas {
    width: min(100%, 210px);
}

@media (max-width: 900px) {
    :is(.guest-list-page, .statement-page) .guest-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    :is(.host-dashboard-page, .guest-list-page, .messages-page, .statement-page) .banner-container.internal-mode {
        min-height: 0 !important;
        padding-top: 76px !important;
        padding-right: 0 !important;
        padding-bottom: 30px !important;
        padding-left: 0 !important;
    }

    :is(.host-dashboard-page, .guest-list-page, .messages-page, .statement-page) .banner-container.internal-mode > .logo-area {
        position: absolute !important;
        top: 0 !important;
        right: auto !important;
        left: 20px !important;
        width: auto !important;
        height: 76px;
        margin: 0 !important;
        display: flex;
        align-items: center;
    }

    :is(.host-dashboard-page, .guest-list-page, .messages-page, .statement-page) .banner-container.internal-mode > .logo-area .logo {
        width: auto;
        max-width: 120px;
    }

    :is(.host-dashboard-page, .guest-list-page, .messages-page, .statement-page) .banner-container.internal-mode > .hamburger-icon {
        top: 18px !important;
        right: 18px !important;
    }

    :is(.guest-list-page, .messages-page, .statement-page) .guest-list-container {
        width: calc(100% - 32px);
        margin: 0 auto;
        padding: 22px 0 34px;
    }

    :is(.guest-list-page, .messages-page, .statement-page) .guest-list-header {
        margin-bottom: 22px;
        text-align: center;
    }

    :is(.guest-list-page, .messages-page, .statement-page) .guest-list-header h1 {
        margin-top: 0 !important;
    }

    :is(.guest-list-page, .statement-page) .guest-stats {
        gap: 12px;
        margin-top: 18px;
    }

    :is(.guest-list-page, .statement-page) .stat-item {
        min-height: 96px;
        padding: 14px;
        align-items: center;
    }

    :is(.guest-list-page, .statement-page) .stat-item strong {
        font-size: 20px !important;
    }

    :is(.guest-list-page, .statement-page) .stat-item p {
        font-size: 13px;
        line-height: 1.3;
    }

    :is(.guest-list-page, .statement-page) .guest-list-actions {
        gap: 12px;
        margin-bottom: 22px;
    }

    :is(.guest-list-page, .statement-page) .guest-list-actions > div,
    :is(.guest-list-page, .statement-page) .search-filter-box {
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    :is(.guest-list-page, .statement-page) .guest-list-actions > div:last-child > button {
        flex: 1 1 100%;
        width: 100%;
        max-width: none;
    }

    .messages-page .guest-list-actions {
        width: 100%;
        gap: 12px !important;
        margin-bottom: 24px;
    }

    .messages-page .search-filter-box,
    .messages-page .search-filter-box input,
    .messages-page .filter-pills,
    .messages-page .btn-bulk-thanks {
        width: 100%;
        min-width: 0;
        max-width: none !important;
    }

    .messages-page .filter-pills {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px !important;
    }

    .messages-page .filter-pills .cat-pill {
        min-width: 0;
        padding: 10px 6px;
        line-height: 1.2;
        white-space: normal;
    }

    .messages-page .messages-masonry-grid {
        width: 100%;
        margin-top: 0;
        column-gap: 0;
    }

    .messages-page .message-card {
        max-width: 100%;
        padding: 22px 20px;
        overflow-wrap: anywhere;
    }

    .share-modal-box .modal-header {
        display: block;
        min-height: 0;
        margin-bottom: 18px;
        padding-right: 34px;
    }

    .share-modal-box .modal-header h2 {
        max-width: none;
        font-size: 24px !important;
        line-height: 1.2;
    }

    .share-modal-box .modal-header p {
        margin-top: 6px;
        font-size: 14px;
        line-height: 1.45;
    }

    .share-modal-box .share-compose-field textarea {
        min-height: 128px;
    }

    .share-modal-box .share-qr-panel {
        margin-top: 18px;
        padding: 20px 16px;
    }
}

@media (max-width: 430px) {
    :is(.guest-list-page, .statement-page) .stat-item {
        gap: 8px;
        min-height: 92px;
        padding: 12px 10px;
    }

    :is(.guest-list-page, .statement-page) .stat-item i {
        font-size: 21px;
    }
}

/* RSVP modal — cap height, scroll inside, keep close & confirm buttons visible */
#rsvpModal .modal-box {
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 30px 0 0;
}

#rsvpModal .close-modal-btn {
    z-index: 5;
}

#rsvpModal .modal-header {
    padding: 0 40px 12px;
    flex-shrink: 0;
}

#rsvpModal .rsvp-form,
#rsvpModal #rsvpSuccess {
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
    padding: 0 40px 30px;
}

#rsvpModal .btn-confirm-final {
    position: sticky;
    bottom: 0;
    margin-top: 16px;
    z-index: 2;
}

/* --- SITE PAGINATION --- */
.site-pagination {
    display: inline-block;
}

.site-pagination-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.site-pagination-item .site-pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    background: #fff;
    color: var(--dark-grey);
    border: 1px solid #e5e5e5;
    font-family: var(--font-text);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background .15s, color .15s, border-color .15s, transform .15s;
    cursor: pointer;
    user-select: none;
}

.site-pagination-item a.site-pagination-link:hover {
    background: var(--bg-cream);
    border-color: var(--accent-yellow);
    color: var(--dark-grey);
    transform: translateY(-1px);
}

.site-pagination-item.active .site-pagination-link {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: #fff;
    cursor: default;
}

.site-pagination-item.disabled .site-pagination-link {
    background: #f5f5f5;
    color: #bbb;
    border-color: #eee;
    cursor: not-allowed;
}

/* --- MESSAGES PAGE BACKGROUND ---
   The static build carried this as an inline body style; the app sets the page
   through a body class instead, so it lives here. */
body.messages-page {
    background-color: #fcfbf8;
}

/* --- POSTCODE SUGGESTIONS (celebration create) --- */
.postcode-group {
    position: relative;
}

.postcode-suggestions {
    list-style: none;
    margin: 4px 0 0;
    padding: 6px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
    max-height: 220px;
    overflow-y: auto;
}

.postcode-suggestions button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 10px;
    border: none;
    background: none;
    border-radius: 8px;
    font: inherit;
    font-size: 14px;
    color: var(--dark-grey);
    cursor: pointer;
}

.postcode-suggestions button:hover,
.postcode-suggestions button:focus-visible {
    background: var(--bg-cream);
}

/* --- TESTIMONIAL AVATAR FALLBACK ---
   Shown when the author has no photo. */
.user-avatar-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-yellow);
    color: var(--dark-grey);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
}

/* --- CUSTOM GIFT PHOTO SLOTS ---
   Each slot shows the chosen photo, so picking one is visibly confirmed. */
.photo-upload-slot {
    position: relative;
    aspect-ratio: 1;
    border: 1px dashed #d9d2c5;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-upload-slot.filled {
    border-style: solid;
    border-color: var(--primary-orange);
}

.photo-slot-state {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: #8A817A;
}

.photo-slot-empty {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

.photo-slot-empty i {
    font-size: 20px;
    color: var(--primary-orange);
}

.photo-slot-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-slot-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-slot-remove:hover {
    background: rgba(0, 0, 0, .75);
}

/* --- CHECKOUT AND CONFIRMATION PANELS ---
   .limit-celebration only caps the width; these pages have no flex parent to
   centre them, so they get their own container. */
.checkout-panel {
    width: 100%;
    max-width: 640px;
    margin-inline: auto;
    padding: 0 20px 60px;
}

.checkout-panel .form-step-card {
    margin-inline: auto;
}

.checkout-status {
    text-align: center;
}

.checkout-status .checkout-spinner {
    font-size: 34px;
    color: var(--primary-orange);
    margin-bottom: 16px;
}

.checkout-status h1 {
    margin-bottom: 12px;
}

.checkout-status .checkout-hint {
    color: #8A817A;
    font-size: 14px;
    margin-top: 18px;
}

.checkout-icon-success {
    font-size: 42px;
    color: #2E7D32;
    margin-bottom: 12px;
}

.checkout-icon-warning {
    font-size: 42px;
    color: var(--accent-yellow);
    margin-bottom: 12px;
}

/* --- SHARE QR PANEL: LET IT SHRINK ---
   Grid items default to min-width:auto, so the preview stack refused to go below
   its content width (120px + 180px + gap) and spilled past the modal, which
   clips. Zero minimums let both columns shrink, and narrow screens stack. */
.share-qr-panel {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}

.share-qr-panel > * {
    min-width: 0;
}

.share-preview-stack {
    grid-template-columns: 120px minmax(0, 1fr);
    min-width: 0;
}

.share-preview-stack > * {
    min-width: 0;
}

@media (max-width: 820px) {
    .share-qr-panel {
        grid-template-columns: 1fr;
    }

    .share-preview-stack {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    #invitePreviewCanvas {
        max-width: min(100%, 320px);
    }
}

/* --- CELEBRATION NOT LIVE YET ---
   Shown while Stripe onboarding is incomplete, in place of the share actions. */
.party-not-live {
    margin: 10px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: #FFF6E5;
    border: 1px solid rgba(247, 180, 62, .5);
    color: #8a6d1f;
    font-size: 13px;
    line-height: 1.4;
}

.party-not-live a {
    color: var(--primary-orange);
    font-weight: 600;
    text-decoration: underline;
}
