/* =========================================================
   GDPR Cookie Consent Banner
   ========================================================= */
#xc-cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(104, 29, 73, 0.25);
    padding: 24px 26px;
    z-index: 99999;
    font-family: "Inter", sans-serif;
    display: none;
}
#xc-cookie-banner.show { display: block; animation: xcCookieUp .35s ease; }
@keyframes xcCookieUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

#xc-cookie-banner h4 {
    font-family: "Lora", serif;
    font-size: 16px;
    color: var(--xoomcare-base, #681D49);
    margin: 0 0 8px;
}
#xc-cookie-banner p {
    font-size: 13.5px;
    line-height: 1.6;
    color: #4a4a4a;
    margin: 0 0 16px;
}
#xc-cookie-banner p a { color: var(--xoomcare-secondary, #DE347F); font-weight: 600; text-decoration: underline; }

.xc-cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.xc-cookie-btn {
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: filter .15s;
}
.xc-cookie-btn:hover { filter: brightness(0.93); }
.xc-cookie-btn--accept { background: var(--xoomcare-base, #681D49); color: #fff; }
.xc-cookie-btn--reject { background: #f1eef2; color: #4a4a4a; }
.xc-cookie-btn--manage { background: transparent; color: var(--xoomcare-base, #681D49); text-decoration: underline; padding-left: 4px; padding-right: 4px; }

#xc-cookie-prefs { display: none; margin-top: 16px; border-top: 1px solid #eee; padding-top: 16px; }
#xc-cookie-prefs.show { display: block; }
.xc-cookie-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}
.xc-cookie-row strong { font-size: 13.5px; display: block; margin-bottom: 2px; }
.xc-cookie-row span { font-size: 12px; color: #8a8a8a; }
.xc-cookie-toggle {
    position: relative;
    width: 42px; height: 24px;
    flex-shrink: 0;
    border-radius: 20px;
    background: #ddd;
    cursor: pointer;
    transition: background .2s;
}
.xc-cookie-toggle.on { background: var(--xoomcare-secondary, #DE347F); }
.xc-cookie-toggle.disabled { background: #cbb9c4; cursor: not-allowed; }
.xc-cookie-toggle::after {
    content: "";
    position: absolute;
    top: 3px; left: 3px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: left .2s;
}
.xc-cookie-toggle.on::after { left: 21px; }

@media (max-width: 560px) {
    #xc-cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 18px; }
    .xc-cookie-actions { flex-direction: column; }
    .xc-cookie-btn { width: 100%; }
}
