/* =========================================================
   FRENCHSOGOOD - COOKIE MODAL DEMO
========================================================= */

.fsg-cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(8, 0, 107, 0.72);
    backdrop-filter: blur(5px);
}

.fsg-cookie-modal.is-visible {
    display: flex;
}

.fsg-cookie-box {
    position: relative;
    width: min(620px, 100%);
    background: #fff;
    color: #111;
    border: 3px solid #08006b;
    border-radius: 24px;
    padding: 34px 34px 30px;
    box-shadow: 0 28px 70px rgba(0,0,0,0.35);
    text-align: center;
    animation: fsgCookiePop 0.35s ease both;
}

.fsg-cookie-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #08006b;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.fsg-cookie-close:hover {
    background: #e30613;
    transform: rotate(90deg);
}

.fsg-cookie-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #08006b;
    color: #fff;
    border-radius: 50%;
    font-size: 36px;
    box-shadow: 0 12px 26px rgba(8,0,107,0.28);
}

.fsg-cookie-content h2 {
    margin: 0 0 14px;
    color: #08006b;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1;
    text-transform: uppercase;
}

.fsg-cookie-content p {
    margin: 0 auto 12px;
    max-width: 520px;
    font-size: 16px;
    line-height: 1.6;
}

.fsg-cookie-small {
    color: #666;
    font-size: 13px !important;
}

.fsg-cookie-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.fsg-cookie-btn {
    min-width: 140px;
    border: 0;
    border-radius: 999px;
    padding: 13px 24px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.fsg-cookie-refuse {
    background: #f1f1f1;
    color: #08006b;
    border: 2px solid #08006b;
}

.fsg-cookie-refuse:hover {
    background: #08006b;
    color: #fff;
    transform: translateY(-2px);
}

.fsg-cookie-accept {
    background: #e30613;
    color: #fff;
    border: 2px solid #e30613;
}

.fsg-cookie-accept:hover {
    background: #08006b;
    border-color: #08006b;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(8,0,107,0.25);
}

@keyframes fsgCookiePop {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 560px) {
    .fsg-cookie-modal {
        padding: 16px;
    }

    .fsg-cookie-box {
        padding: 30px 20px 24px;
        border-radius: 20px;
    }

    .fsg-cookie-actions {
        flex-direction: column;
    }

    .fsg-cookie-btn {
        width: 100%;
    }
}