/*!
 * Copyright (c) VARGASIA, S.L.u. - Author: Rafa Vargas
 * vargasia-consent 1.0 (shared by M1 and M2). Bottom panel; doesn't block the shop. Accent per shop:
 * --vc-accent, set by consent.js from the script tag's data-accent; default dark grey.
 * "Aceptar" and "Rechazar" share one style on purpose (AEPD: same prominence). Theme styles (Porto, Sinergia)
 * restyle buttons, hence the .vc-root prefix and !important on colours.
 */
.vc-root {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 2147483000;
    padding: 0 8px 8px; box-sizing: border-box; pointer-events: none;
    font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #1f2328;
}
.vc-box {
    pointer-events: auto; max-width: 960px; margin: 0 auto; padding: 16px 20px; box-sizing: border-box;
    background: #fff; border-radius: 8px; box-shadow: 0 -2px 24px rgba(0, 0, 0, .18);
    max-height: 85vh; overflow: hidden auto;
}
.vc-title { margin: 0 0 6px; font-size: 17px; font-weight: 700; line-height: 1.3; color: inherit; }
.vc-text { margin: 0 0 12px; }
.vc-link { color: var(--vc-accent, #1f2328); text-decoration: underline; }
.vc-purposes { margin: 0 0 12px; border-top: 1px solid #e3e6ea; }
.vc-purpose { padding: 10px 0; border-bottom: 1px solid #e3e6ea; }
.vc-purpose-title { margin: 0 0 4px; font-weight: 600; display: block; }
.vc-purpose-text { margin: 0; font-size: 14px; color: #4a5058; }
.vc-switch { cursor: pointer; }
.vc-switch input { width: 18px; height: 18px; vertical-align: -3px; margin: 0 6px 0 0; accent-color: var(--vc-accent, #1f2328); }
.vc-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.vc-root .vc-btn {
    flex: 0 1 auto; width: auto; height: auto; margin: 0; min-width: 128px; min-height: 44px; padding: 10px 18px; border-radius: 6px; cursor: pointer;
    font: inherit; font-weight: 600; line-height: 1.2; text-transform: none; letter-spacing: normal;
    border: 2px solid var(--vc-accent, #1f2328); box-shadow: none;
}
.vc-root .vc-main, .vc-root .vc-main:hover, .vc-root .vc-main:focus {
    background: var(--vc-accent, #1f2328) !important; color: #fff !important; border-color: var(--vc-accent, #1f2328) !important;
}
.vc-root .vc-alt, .vc-root .vc-alt:hover, .vc-root .vc-alt:focus {
    background: #fff !important; color: var(--vc-accent, #1f2328) !important; border-color: var(--vc-accent, #1f2328) !important;
}
.vc-root .vc-btn:hover { filter: brightness(1.12); }
.vc-btn:focus-visible, .vc-link:focus-visible, .vc-switch input:focus-visible { outline: 3px solid #0a66c2; outline-offset: 2px; }
@media (max-width: 600px) {
    .vc-box { padding: 14px; }
    .vc-actions { justify-content: stretch; }
    .vc-root .vc-btn { flex: 1 1 100%; }
}
@media print { .vc-root { display: none; } }
