/* ============================================================
   PIXAPOP COOKIE CONSENT — Banner styles
   ============================================================ */

#pxp-consent-wrap{
  position:fixed;
  z-index:999999;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;
  font-size:14px;
  line-height:1.5;
  color:#1f2937;
}

/* Overlay */
#pxp-overlay{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  z-index:999998;
  opacity:0;
  transition:opacity .3s;
}
#pxp-overlay.pxp-show{display:block;opacity:1}

/* Banner */
#pxp-banner{
  position:fixed;
  bottom:20px;
  max-width:420px;
  width:calc(100% - 40px);
  background:#fff;
  border-radius:14px;
  box-shadow:0 8px 32px rgba(0,0,0,.15);
  padding:24px;
  z-index:999999;
  transform:translateY(20px);
  opacity:0;
  transition:transform .4s cubic-bezier(.16,1,.3,1), opacity .4s;
}
#pxp-banner.pxp-show{transform:translateY(0);opacity:1}

/* Position modifiers */
.pxp-pos-bottom-right #pxp-banner{right:20px}
.pxp-pos-bottom-left  #pxp-banner{left:20px}
.pxp-pos-bottom-center #pxp-banner{left:50%;transform:translate(-50%,20px)}
.pxp-pos-bottom-center #pxp-banner.pxp-show{transform:translate(-50%,0)}

.pxp-banner-title{font-size:17px;display:block;margin-bottom:6px;color:#111827}
.pxp-banner-text p{margin:0 0 18px;color:#4b5563;font-size:13px}
.pxp-banner-actions{display:flex;gap:8px;flex-wrap:wrap}

/* Buttons — !important to override theme/Elementor defaults */
.pxp-btn{
  border:none!important;
  border-radius:8px!important;
  padding:10px 18px!important;
  font-size:13px!important;
  font-weight:600!important;
  cursor:pointer!important;
  transition:all .2s!important;
  white-space:nowrap!important;
  line-height:1.2!important;
  text-decoration:none!important;
  text-transform:uppercase!important;
  letter-spacing:.5px!important;
}
.pxp-btn-primary{background:var(--pxp-cc-primary,#111827)!important;color:#fff!important}
.pxp-btn-primary:hover{background:var(--pxp-cc-primary-hover,#374151)!important;color:#fff!important}
.pxp-btn-secondary{background:var(--pxp-cc-accent,#f3f4f6)!important;color:#374151!important}
.pxp-btn-secondary:hover{background:var(--pxp-cc-accent-hover,#e5e7eb)!important;color:#374151!important}
.pxp-btn-outline{background:transparent!important;color:#374151!important;border:1.5px solid #d1d5db!important}
.pxp-btn-outline:hover{border-color:#9ca3af!important;background:#f9fafb!important;color:#374151!important}

/* Modal */
#pxp-modal{
  display:none;
  position:fixed;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%) scale(.95);
  max-width:500px;
  width:calc(100% - 32px);
  max-height:90vh;
  background:#fff;
  border-radius:16px;
  box-shadow:0 20px 60px rgba(0,0,0,.2);
  z-index:999999;
  opacity:0;
  transition:transform .35s cubic-bezier(.16,1,.3,1), opacity .3s;
  overflow:hidden;
}
#pxp-modal.pxp-show{display:block;transform:translate(-50%,-50%) scale(1);opacity:1}

.pxp-modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px 16px;border-bottom:1px solid #f3f4f6}
.pxp-modal-header strong{font-size:17px;color:#111827}
#pxp-modal-close{background:none;border:none;font-size:24px;color:#9ca3af;cursor:pointer;padding:0 4px;line-height:1}
#pxp-modal-close:hover{color:#374151}
.pxp-modal-body{padding:16px 24px;overflow-y:auto;max-height:calc(90vh - 150px)}
.pxp-modal-intro{margin:0 0 16px;color:#6b7280;font-size:13px}
.pxp-modal-privacy{margin:14px 0 4px;font-size:12px}
.pxp-modal-privacy a{color:#374151;text-decoration:underline}
.pxp-modal-footer{display:flex;gap:8px;justify-content:flex-end;padding:16px 24px;border-top:1px solid #f3f4f6}

/* Categories */
.pxp-cat{border:1px solid #f3f4f6;border-radius:10px;padding:14px 16px;margin-bottom:10px}
.pxp-cat-header{display:flex;align-items:center;justify-content:space-between;gap:16px}
.pxp-cat-header strong{font-size:14px;display:block;color:#111827}
.pxp-cat-desc{font-size:12px;color:#6b7280;display:block;margin-top:2px}

/* Toggle switch */
.pxp-toggle{position:relative;display:inline-block;width:44px;min-width:44px;height:24px;cursor:pointer;vertical-align:middle;margin:0;padding:0}
.pxp-toggle input{opacity:0;width:0;height:0;position:absolute;pointer-events:none}
.pxp-slider{position:absolute;cursor:pointer;inset:0;background:#d1d5db;border-radius:24px;transition:.3s}
.pxp-slider::before{content:"";position:absolute;height:18px;width:18px;left:3px;bottom:3px;background:#fff;border-radius:50%;transition:.3s;box-shadow:0 1px 3px rgba(0,0,0,.15)}
.pxp-toggle input:checked+.pxp-slider{background:var(--pxp-cc-primary,#111827)}
.pxp-toggle input:checked+.pxp-slider::before{transform:translateX(20px)}
.pxp-toggle-locked{cursor:not-allowed}
.pxp-toggle-locked .pxp-slider{background:#9ca3af;cursor:not-allowed}

/* FAB */
#pxp-settings-fab{
  position:fixed!important;
  bottom:20px;
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  min-height:46px!important;
  padding:0!important;
  border-radius:50%!important;
  background:var(--pxp-cc-primary,#111827)!important;
  color:#fff!important;
  border:0!important;
  cursor:pointer!important;
  align-items:center!important;
  justify-content:center!important;
  box-shadow:0 4px 14px rgba(0,0,0,.2)!important;
  z-index:999997!important;
  line-height:1!important;
  text-decoration:none!important;
  appearance:none!important;
  transition:transform .2s, box-shadow .2s!important;
}
#pxp-settings-fab.pxp-pos-bottom-right{right:20px}
#pxp-settings-fab.pxp-pos-bottom-left{left:20px}
#pxp-settings-fab.pxp-pos-bottom-center{right:20px}
#pxp-settings-fab:hover{transform:scale(1.08);box-shadow:0 6px 20px rgba(0,0,0,.25)}
#pxp-settings-fab .pxp-settings-fab-icon{
  display:block!important;
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  min-height:22px!important;
  color:#fff!important;
  fill:none!important;
  stroke:currentColor!important;
  pointer-events:none!important;
}
#pxp-settings-fab .pxp-settings-fab-icon *{
  fill:none!important;
  stroke:currentColor!important;
}

/* ============================================================
   COOKIE TABEL — shortcode [pxp_cc_cookies]
   ============================================================ */
.pxp-cc-cookies-table{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;
  font-size:14px;
  color:#1f2937;
  margin:0 0 32px;
}
.pxp-cc-cookies-table h3{
  font-size:18px;
  color:#111827;
  margin:24px 0 12px;
  font-weight:600;
}
.pxp-cc-cookies-table table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:10px;
  overflow:hidden;
  margin:0 0 16px;
}
.pxp-cc-cookies-table th,
.pxp-cc-cookies-table td{
  text-align:left;
  padding:10px 14px;
  border-bottom:1px solid #f3f4f6;
  vertical-align:top;
  font-size:13px;
}
.pxp-cc-cookies-table th{
  background:#f9fafb;
  color:#374151;
  font-weight:600;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.4px;
}
.pxp-cc-cookies-table tr:last-child td{border-bottom:none}
.pxp-cc-cookies-table code{
  background:#f3f4f6;
  color:#111827;
  padding:2px 6px;
  border-radius:4px;
  font-size:12px;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
}
@media (max-width:640px){
  .pxp-cc-cookies-table table,
  .pxp-cc-cookies-table thead,
  .pxp-cc-cookies-table tbody,
  .pxp-cc-cookies-table tr,
  .pxp-cc-cookies-table td{display:block;width:100%}
  .pxp-cc-cookies-table thead{display:none}
  .pxp-cc-cookies-table tr{border-bottom:1px solid #e5e7eb;padding:8px 0}
  .pxp-cc-cookies-table td{border:none;padding:4px 14px}
  .pxp-cc-cookies-table td::before{
    content:attr(data-label);
    display:block;
    font-size:11px;
    text-transform:uppercase;
    color:#6b7280;
    font-weight:600;
    letter-spacing:.4px;
  }
}

/* ============================================================
   EMBED PLACEHOLDER
   ============================================================ */
.pxp-cc-embed-ph{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  background:#f9fafb;
  border:1px solid #e5e7eb;
  border-radius:12px;
  color:#1f2937;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;
  font-size:14px;
  line-height:1.5;
  overflow:hidden;
  margin:0 auto;
}
.pxp-cc-embed-ph-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:10px;
  padding:24px 28px;
  max-width:480px;
}
.pxp-cc-embed-ph-icon{
  color:#9ca3af;
  display:flex;
  align-items:center;
  justify-content:center;
}
.pxp-cc-embed-ph-title{
  font-size:15px;
  color:#111827;
  font-weight:600;
}
.pxp-cc-embed-ph-text{
  margin:0;
  color:#4b5563;
  font-size:13px;
}
.pxp-cc-embed-ph-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:center;
  margin-top:6px;
}
@media (max-width:480px){
  .pxp-cc-embed-ph-inner{padding:18px 16px;gap:8px}
  .pxp-cc-embed-ph-actions{flex-direction:column;width:100%}
  .pxp-cc-embed-ph-actions .pxp-btn{width:100%}
}

/* Mobile */
@media (max-width:480px){
  #pxp-banner{bottom:0;right:0!important;left:0!important;max-width:100%;width:100%;border-radius:14px 14px 0 0}
  .pxp-pos-bottom-center #pxp-banner{transform:translateY(20px)}
  .pxp-pos-bottom-center #pxp-banner.pxp-show{transform:translateY(0)}
  .pxp-banner-actions{flex-direction:column}
  .pxp-banner-actions .pxp-btn{width:100%;text-align:center}
  #pxp-modal{max-height:85vh;width:calc(100% - 16px)}
  .pxp-modal-body{max-height:calc(85vh - 150px)}
  #pxp-settings-fab{bottom:12px;right:12px;left:auto}
  #pxp-settings-fab.pxp-pos-bottom-left{left:12px;right:auto}
}
