/* Banner de cookies Positex */
.px-cookie-banner[hidden], .px-cookie-modal[hidden] { display: none !important; }
.px-cookie-banner {
    position: fixed; z-index: 999990; left: 20px; right: 20px; bottom: 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 22px;
    padding: 20px 22px; background: #fff; color: #263238; border: 1px solid #e4e7eb;
    border-radius: 12px; box-shadow: 0 8px 35px rgba(0,0,0,.22);
    font-family: Arial, sans-serif; max-width: 1180px; margin: 0 auto;
}
.px-cookie-copy { flex: 1; min-width: 0; }
.px-cookie-title { display: block; font-size: 17px; margin-bottom: 7px; color: #064f91; }
.px-cookie-copy p { margin: 0; font-size: 13px; line-height: 1.55; }
.px-cookie-copy a { color: #064f91; text-decoration: underline; }
.px-cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.px-cookie-btn { cursor: pointer; border-radius: 6px; padding: 11px 14px; font-size: 13px; font-weight: 700; border: 1px solid transparent; }
.px-cookie-accept { background: #f16326; color: #fff; border-color: #f16326; }
.px-cookie-reject, .px-cookie-config { background: #fff; color: #064f91; border-color: #064f91; }
.px-cookie-btn:hover { filter: brightness(.96); }
.px-cookie-modal { position: fixed; z-index: 999999; inset: 0; background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center; padding: 18px; font-family: Arial, sans-serif; }
.px-cookie-modal-card { position: relative; background: #fff; color: #263238; border-radius: 12px; padding: 26px; width: 100%; max-width: 540px; box-shadow: 0 12px 45px rgba(0,0,0,.28); }
.px-cookie-modal-card h2 { color: #064f91; font-size: 22px; margin: 0 30px 8px 0; }
.px-cookie-modal-card > p { font-size: 14px; line-height: 1.5; margin-bottom: 18px; }
.px-cookie-close { position: absolute; top: 10px; right: 14px; border: 0; background: transparent; font-size: 28px; cursor: pointer; }
.px-cookie-option { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 14px 0; border-top: 1px solid #eceff1; }
.px-cookie-option strong, .px-cookie-option small { display: block; }
.px-cookie-option small { margin-top: 4px; color: #5e6870; font-size: 12px; line-height: 1.4; max-width: 390px; }
.px-cookie-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.px-cookie-switch span { display: block; width: 42px; height: 24px; border-radius: 20px; background: #aab2b8; position: relative; cursor: pointer; flex: 0 0 auto; }
.px-cookie-switch span:after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: white; border-radius: 50%; transition: .18s; }
.px-cookie-switch input:checked + span { background: #064f91; }
.px-cookie-switch input:checked + span:after { transform: translateX(18px); }
.px-cookie-switch input:disabled + span { opacity: .65; cursor: not-allowed; }
.px-cookie-modal-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
@media (max-width: 760px) {
    .px-cookie-banner { left: 10px; right: 10px; bottom: 10px; display: block; padding: 16px; max-height: 80vh; overflow: auto; }
    .px-cookie-title { font-size: 16px; }
    .px-cookie-copy p { font-size: 12px; }
    .px-cookie-actions { display: grid; grid-template-columns: 1fr; margin-top: 13px; }
    .px-cookie-btn { width: 100%; }
    .px-cookie-modal-card { padding: 22px 17px; }
    .px-cookie-modal-actions { display: grid; grid-template-columns: 1fr; }
}
