/* ========================================================= */
/* BRILLIANT FLOWERS AZURE - FULL STYLESHEET (V3.2)          */
/* ========================================================= */

/* 1. Глобални променливи (Цветова палитра) */
:root {
    --color-bg-page: #fff1f2;       /* Rose Gold 50 */
    --color-bg-card: #ffffff;       /* White */
    --color-bg-accent: #ffe4e6;     /* Rose Gold 100 */
    --color-text-main: #0c4a6e;     /* Cyan 900 */
    --color-primary: #0284c7;       /* Cyan 600 */
    --color-primary-light: #38bdf8; /* Cyan 400 */
    --color-secondary: #64748b;     /* Slate 500 */
    --color-cta: #0284c7;           /* Call to Action */
    --color-border: #fecdd3;        /* Rose Gold 200 */
}

/* 2. Основни настройки */
body {
    background-color: var(--color-bg-page) !important;
    font-family: 'Inter', sans-serif;
    color: var(--color-text-main);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif-font {
    font-family: 'Playfair Display', serif;
}

/* 3. Пренаписване на класове (Overrides) */
.bg-blush {
    background-color: var(--color-bg-accent) !important;
    border-color: var(--color-border) !important;
    color: var(--color-primary);
}

.text-accent-dark {
    color: var(--color-primary) !important;
}

.border-accent-dark {
    border-color: #fb7185 !important;
}

/* 4. Ценови Карти (Pricing Cards) */
.pricing-card {
    background-color: #ffffff;
    border: 2px solid #fb7185 !important; /* Розова рамка */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1rem;
    position: relative;
    overflow: visible;
    cursor: pointer;
    z-index: 1;
}

.pricing-card.selected {
    background-color: #fff1f2 !important; 
    transform: scale(1.03);
    box-shadow: 0 10px 25px -5px rgba(251, 113, 133, 0.25);
    z-index: 10;
}

.pricing-card:not(.selected):hover {
    background-color: #ffe4e6; 
    transform: translateY(-2px);
}

/* 5. Плаващи елементи (Кошница) */
/* Коригиран Нов код със стилистиката на Стария */
.floating-cart-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9990;
    display: flex;
    align-items: center;
    gap: 12px;
    background: white; /* Цвят от стария код */
    padding: 8px 16px 8px 8px; /* Размери от стария код */
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); /* Сянка от стария код */
    cursor: pointer;
    border: 1px solid #e2e8f0; /* Граница от стария код */
    transition: transform 0.2s ease; /* Плавност при натискане */
    -webkit-tap-highlight-color: transparent;
}

/* Поведение при натискане/ховър (лек акцент, без да променяме основната визия) */
.floating-cart-btn:active {
    transform: scale(0.95);
}

.cart-icon-circle {
    background: #be123c; /* Цвят (бордо) от стария код */
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #f59e0b; /* Жълт цвят от стария код */
    color: white;
    font-size: 11px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* Допълнителни стилове за селекция, ако са необходими за поведението */
.pricing-card.selected {
    border-color: #be123c;
    background-color: #fff0f1;
    transform: scale(1.02);
    box-shadow: 0 4px 15px -1px rgba(190, 18, 60, 0.3);
}

/* 6. Анимации */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

@keyframes pulse-cyan {
    0% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(2, 132, 199, 0); }
    100% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
}

.animate-pulse-custom {
    animation: pulse-cyan 2s infinite;
}

/* 7. Marquee (Лентата с бягащ текст) - ТОВА ЩЕ ОПРАВИ ДВОЙНАТА ЛЕНТА */
.marquee-wrapper {
    display: flex;
    overflow: hidden;
    white-space: nowrap; /* Важно: Забранява пренасянето на нов ред */
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    width: 100%;
}

.marquee-track {
    display: flex;
    width: max-content; 
    animation: scroll 40s linear infinite;
}

.marquee-track span {
    padding-right: 4rem; 
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 8. Модали */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(12, 74, 110, 0.7);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
}

/* 9. Upsell елементи */
.upsell-option {
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.upsell-option:hover {
    transform: translateY(-2px);
    border-color: var(--color-primary-light);
}

/* 10. FAQ */
.faq-question {
    cursor: pointer;
    background: white;
    transition: background-color 0.3s ease;
}
.faq-question:hover {
    background-color: #fff1f2;
}
.faq-answer {
    border-top: 1px solid var(--color-border);
}

/* ========================= */
/* 🌸 PETAL FALL EFFECT 🌸   */
/* ТОВА ЩЕ ОПРАВИ ЦВЕТЯТА  */
/* ========================= */

.snowflake {
    position: absolute; /* Важно: Позволява JS да ги мести */
    top: -30px;
    color: #fda4af;
    text-shadow: 0 0 2px rgba(251, 113, 133, 0.4); 
    pointer-events: none;
    user-select: none;
    z-index: 9997 !important; 
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-30px) translateX(0) rotate(0deg);
        opacity: 0.9;
    }
    100% {
        transform: translateY(105vh) translateX(50px) rotate(360deg);
        opacity: 0.2;
    }
}

/* ========================= */
/* MOBILE FIXES              */
/* ========================= */
@media (max-width: 640px) {
    .floating-cart-btn {
        bottom: 15px;
        right: 15px;
        left: 15px;
        justify-content: space-between;
        padding: 10px 16px 10px 10px;
        margin-bottom: env(safe-area-inset-bottom);
    }
    
    h1 {
        font-size: 2rem !important; 
        line-height: 1.2 !important;
    }
}