/* * ТОЗИ ФАЙЛ СЪДЪРЖА ВСИЧКИ CUSTOM СТИЛОВЕ
 * Tailwind CSS се зарежда отделно и се използва за основните класове.
 * Customizing Tailwind's default theme to match the brand's aesthetic.
 */

body {
    font-family: 'Inter', sans-serif;
    background-color: #fdfcf7; /* Нов фон на страницата: Почти бял/Крем */
    color: #333333;
}

.container {
    max-width: 1200px;
}

/* ========================================================= */
/* АНИМАЦИИ (CSS for Tailwind classes) */
/* ========================================================= */

/* Анимация за CTA бутона (pulse) */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
}
.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Анимация за плаващия балон (pop effect) */
@keyframes floating-pop {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

/* НОВА АНИМАЦИЯ: Редуване на цветовете на балона (розово <-> синьо) */
@keyframes color-shift {
  0%, 100% {
    background-color: #FF9900;
    box-shadow: 0 0 10px rgba(255, 153, 0, 0.4);
    transform: scale(1);
  }
  50% {
    background-color: #FF9900;
    box-shadow: 0 0 25px rgba(255, 153, 0, 0.8);
    transform: scale(1.05);
  }
}

/* ========================================================= */
/* МОДАЛИ (MODALS) */
/* ========================================================= */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background-color: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    max-width: 90%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    width: 500px;
}

/* ========================================================= */
/* КАРУСЕЛ (REVIEWS CAROUSEL) */
/* ========================================================= */

.carousel-container {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overflow-x: scroll;
    scrollbar-width: none; /* Firefox */
    display: flex;
    gap: 1.5rem;
    padding-bottom: 20px;
}

.carousel-item {
    flex: 0 0 90%;
    scroll-snap-align: center;
}

.carousel-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

@media (min-width: 768px) {
    .carousel-item {
        flex: 0 0 45%;
    }
}

@media (min-width: 1024px) {
    .carousel-item {
        flex: 0 0 30%;
    }
}

/* ========================================================= */
/* ПЛАВАЩ БАЛОН (FLOATING PRICE BUBBLE) */
/* ========================================================= */

.floating-bubble {
    /* СТИЛОВЕ ПОД 768px (МОБИЛЕН) */
    position: fixed;
    bottom: 0; /* Прилепва плътно до долу */
    left: 0;
    right: 0;
    width: 100%; /* Гарантира пълна ширина */
    z-index: 50;
    padding: 1rem 1.5rem;
    color: #333333;
    border-radius: 3; /* Без закръглени ъгли на мобилен */
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s ease-in-out, background-color 1s ease;
    cursor: pointer;
    
    /* КОМБИНИРАНА АНИМАЦИЯ - работи на мобилен */
    animation: floating-pop 2s infinite ease-in-out, color-shift 4s infinite alternate;
}

.floating-bubble:hover {
    /* Деактивираме анимацията при докосване/hover на мобилен */
    background-color: rgba(245, 224, 224, 0.95);
    transform: scale(1.0);
    animation: none;
}

@media (min-width: 768px) {
    .floating-bubble {
        /* ВРЪЩАНЕ на стиловете за ДЕСКТОП/таблет */
        bottom: 1rem;
        right: 1rem;
        left: auto;
        width: auto;
        border-radius: 9999px; /* Връщаме балона */
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        flex-direction: column;
        transform: none;
        padding: 1rem 1.5rem; /* Връщаме десктоп паддинга */
        
        /* КОМБИНИРАНА АНИМАЦИЯ */
        animation: floating-pop 2s infinite ease-in-out, color-shift 4s infinite alternate;
    }

    .floating-bubble:hover {
        /* Ховър ефект за ДЕСКТОП */
        background-color: rgba(245, 224, 224, 0.95);
        transform: scale(1.05);
        animation: none;
    }
}

/* ========================================================= */
/* FAQ ACCORDION STYLES (НОВИ СТИЛОВЕ) */
/* ========================================================= */

.faq-item {
    border-radius: 0.75rem; /* rounded-xl */
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.06); /* shadow-md */
    transition: all 0.3s ease;
    background-color: #f5e0e0; /* <-- ПРОМЕНЕНО: Blush (розов фон) за неактивния елемент */
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    font-size: 1.125rem; /* text-lg */
    font-weight: 600; /* semibold */
    color: #333333; /* text-dark */
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.3s ease;
}

/* Активен (отворен) въпрос */
.faq-question[aria-expanded="true"] {
    background-color: #d4af37; /* accent - Златен фон за активния */
    color: white;
}

/* Икона на акордеона */
.faq-icon {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    background-color: #f0e9d2; /* primary (по-светъл фон за отговор) */
    color: #333333;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 1.5rem; /* Начален паддинг (скрит) */
}

.faq-answer.active {
    max-height: 500px; /* Достатъчно голяма височина за показване */
    padding: 1rem 1.5rem; /* Краен паддинг (показан) */
}

.faq-answer p {
    margin-bottom: 0.5rem;
}

/* Стил за бутоните в отговорите (Удължител, Клипс) */
.faq-button {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background-color: #a3812a; /* accent-dark */
    color: white;
    font-weight: bold;
    transition: background-color 0.2s;
    margin-top: 1rem;
    /* Подравняване на чекбокса */
}

.faq-button input[type="checkbox"] {
    margin-right: 0.75rem;
    height: 1.25rem;
    width: 1.25rem;
    /* Custom checkmark color matching secondary/accent */
    color: #f0e9d2;
    /* Overrides Tailwind default color for checkbox */
    accent-color: #a3812a;
}

/* ========================================================= */
/* ДРУГИ СТИЛОВЕ */
/* ========================================================= */

.text-shadow {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* ВОДЕН ЗНАК - Коригирано за показване на логото */
.watermark {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 550px;
  object-fit: contain;
  opacity: 0.1;
  z-index: -1;
  pointer-events: none;
}


/* Адаптация за мобилни устройства */
@media (max-width: 768px) {
    .watermark {
        width: 400px;
        height: 300px;
        opacity: 0.08;
    }
}

@media (max-width: 480px) {
    .watermark {
        width: 250px;
        height: 180px;
        opacity: 0.06;
    }
}

@media (max-width: 360px) {
    .watermark {
        display: none;
    }
}

.centered-label {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.overflow-x-auto, .overflow-x-scroll {
    /* Основният стил за гладко скролване с докосване на iOS */
    -webkit-overflow-scrolling: touch;
    /* Уверете се, че потребителят може да контролира скролването */
    touch-action: pan-x;
}

/* Цветове */
:root {
    --baby-pink: #fdeef4;
    --baby-blue: #e6f3ff;
    --primary-pink: #e91e63;
    --accent-yellow: #ffeb3b;
    --gray-900: #212121;
    --gray-700: #616161;
    --gray-600: #757575;
    --gray-500: #9e9e9e;
}

/* Общ стил за картите */
.pricing-card {
    border: 2px solid transparent;
    border-radius: 1rem;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Карта 1 и 3 — бебешко розово */
.pricing-card[data-qty="1"],
.pricing-card[data-qty="3"] {
    background-color: var(--baby-pink);
}

/* Карта 2 — бебешко синьо */
.pricing-card[data-qty="2"] {
    background-color: var(--baby-blue);
}

/* Ховър и фокус ефект */
.pricing-card:hover,
.pricing-card:focus-within {
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.2);
    transform: translateY(-4px);
}

/* Центриране на бейджа "Най-продавано" */
.best-seller-badge {
    position: absolute;
    top: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-yellow);
    color: var(--gray-900);
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}
.best-seller-badge {
    position: absolute;
    top: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-yellow);
    color: var(--gray-900);
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: inline-block;
    white-space: nowrap;
    line-height: 1.5;
}
/* Променя цвета на фона, рамката и увеличава избраната карта */
.pricing-card.selected {
    background-color: #f5e0e0; /* blush color */
    border-color: #a3812a; /* accent-dark color */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* stronger shadow */
    transform: scale(1.1); /* увеличаване с 10% */
    transition: all 0.3s ease-in-out;
}


/* ========================================================= */
/* ЗЛАТЕН СЕРТИФИКАЦИОНЕН ПЕЧАТ (SVG ICON) */
/* ========================================================= */

.certified-seal {
    pointer-events: none; /* За да не блокира кликове върху изображението отдолу */
}

.certified-seal svg {
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3)); /* Сянка за по-реалистичен вид */
    opacity: 0.95; /* Лека прозрачност */
}

/* Адаптация за мобилни устройства */
@media (max-width: 640px) {
    .certified-seal {
        top: 0.5rem; 
        left: 0.5rem;
    }
    .certified-seal svg {
        width: 40px; /* По-малък размер на иконата */
        height: 40px;
    }
}
.trust-seal:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
/* Специфични стилове за бутона "Приемам всички" */
.btn-gold {
    transition: all 0.2s ease-in-out;
}
.btn-gold:hover {
    /* Добавяне на лека сянка и повдигане при hover */
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transform: translateY(-1px);
}

/* Осигурява, че банерът за бисквитки винаги е над всичко */
.cookie-banner {
    z-index: 50; 
}
