/* ============================================================================
   TIỆM QUÀ NHÀ BUNNY — CORE STYLESHEET
   PALETTE: HỒNG PASTEL (#FB7185) • SAN HÔ ROSE (#E11D48) • KEM BƠ NUDE (#FFF8F0)
   100% ĐỒNG BỘ THEO BẢNG MÀU LOGO TIỆM QUÀ NHÀ BUNNY
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Dancing+Script:wght@600;700&family=Patrick+Hand&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
    --color-bunny-pink: #FB7185;
    --color-bunny-pink-deep: #E11D48;
    --color-bunny-cream: #FFFDF5;
    --color-bunny-coral: #FDA4AF;
    --color-bunny-rose: #F43F5E;
    --color-bunny-border: rgba(251, 113, 133, 0.25);
    --font-handwriting: 'Dancing Script', 'Caveat', cursive;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #FFFDF8;
    color: #2D3748;
    overflow-x: hidden;
}

/* Handwritten Font for Card & Letters */
.font-handwrite {
    font-family: 'Caveat', 'Dancing Script', cursive;
}

.font-letter-title {
    font-family: 'Dancing Script', cursive;
}

/* Ribbon & Badge Styling */
.ribbon-banner {
    position: relative;
    background: linear-gradient(135deg, #FB7185, #E11D48);
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.25);
}

.ribbon-banner::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 10px;
    border-top: 6px solid #9F1239;
    border-left: 6px solid transparent;
}

/* Dấu Sáp Niêm Phong Cổ Điển (Wax Seal Stamp) */
.wax-seal {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #EF4444, #991B1B);
    box-shadow: 0 4px 10px rgba(153, 27, 27, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.4), inset 0 -2px 4px rgba(0, 0, 0, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FEE2E2;
    font-size: 20px;
    position: relative;
    border: 2px solid #7F1D1D;
    user-select: none;
}

.wax-seal::after {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px dashed rgba(254, 226, 226, 0.5);
    border-radius: 50%;
}

/* Hover Lift Effect */
.hover-lift {
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -8px rgba(251, 113, 133, 0.2);
}

/* Heart Float Animation */
@keyframes floatingHearts {
    0% {
        transform: translateY(0) scale(0.8) rotate(0deg);
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-80px) scale(1.2) rotate(15deg);
        opacity: 0;
    }
}

.heart-particle {
    position: absolute;
    pointer-events: none;
    animation: floatingHearts 2.5s ease-in-out infinite;
}

/* Letter Texture Paper */
.paper-texture {
    background-color: #FFFDF7;
    background-image: radial-gradient(#FDA4AF 0.5px, transparent 0.5px), radial-gradient(#FB7185 0.5px, #FFFDF7 0.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #FFF5F7;
}
::-webkit-scrollbar-thumb {
    background: #FDA4AF;
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #FB7185;
}

/* Live Toast Notification */
#liveToast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 999;
    max-width: 380px;
    background: white;
    border: 2px solid #FBCFE8;
    border-radius: 20px;
    box-shadow: 0 10px 30px -5px rgba(244, 114, 182, 0.3);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
}

#liveToast.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Pulse Glow for Order Buttons */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(225, 29, 72, 0);
    }
}

.pulse-button {
    animation: pulseGlow 2s infinite;
}


/* Floating Chat Bubbles (Refined, Compact, Non-intrusive) */
.floating-bubble-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

@keyframes bubbleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.bubble-floating {
    animation: bubbleFloat 3.5s ease-in-out infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(0.96);
        box-shadow: 0 0 0 0 rgba(251, 113, 133, 0.5);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(251, 113, 133, 0);
    }
    100% {
        transform: scale(0.96);
        box-shadow: 0 0 0 0 rgba(251, 113, 133, 0);
    }
}

.pulse-bunny {
    animation: pulseRing 2.4s infinite;
}

@keyframes pulseZalo {
    0% {
        transform: scale(0.96);
        box-shadow: 0 0 0 0 rgba(0, 104, 255, 0.4);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 104, 255, 0);
    }
    100% {
        transform: scale(0.96);
        box-shadow: 0 0 0 0 rgba(0, 104, 255, 0);
    }
}

.pulse-zalo {
    animation: pulseZalo 2.4s infinite;
}

/* Soft Menu Glassmorphic Pill styling */
.nav-pill-item {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav-pill-item:hover {
    transform: translateY(-2px);
}

/* Modal Center Guarantee */
#checkoutModal:not(.hidden),
#quizModal:not(.hidden) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}


