/* PDG: Complianz "Manage consent" tab -> small round cookie icon, bottom-left, above sticky bottom bars.
   --pdg-cmplz-lift is set by complianz-autocollapse.js (height of the sticky bar currently at the bottom). */
#cmplz-manage-consent .cmplz-manage-consent {
  position: fixed !important; left: 20px !important; right: auto !important;
  bottom: calc(var(--pdg-cmplz-lift, 0px) + 20px) !important;
  width: 44px !important; height: 44px !important; min-width: 0 !important; padding: 0 !important; margin: 0 !important;
  border: 1px solid rgba(0,0,0,.08) !important; border-radius: 50% !important;
  background: #fff !important; color: transparent !important; font-size: 0 !important; line-height: 0 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.18), 0 1px 2px rgba(0,0,0,.12) !important;
  animation: none !important; transition: transform .15s ease, box-shadow .15s ease;
  z-index: 99990 !important; /* above theme nav (801) and product bar (9998), below the banner (99999) */
  overflow: hidden; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
#cmplz-manage-consent .cmplz-manage-consent::before {
  content: "\1F36A"; /* cookie emoji */
  font-size: 22px; line-height: 44px; color: #000; display: block; width: 100%; text-align: center;
}
#cmplz-manage-consent .cmplz-manage-consent:hover,
#cmplz-manage-consent .cmplz-manage-consent:focus-visible { transform: scale(1.06); box-shadow: 0 4px 14px rgba(0,0,0,.25) !important; }
#cmplz-manage-consent .cmplz-manage-consent:focus-visible { outline: 2px solid #267a48 !important; outline-offset: 2px; }
/* Hidden while the banner itself is open (Complianz toggles cmplz-dismissed / cmplz-show on the tab) */
#cmplz-manage-consent .cmplz-manage-consent.cmplz-dismissed { display: none !important; }

/* Mobile: Complianz free hides the tab at <=768px ("Hover on desktop - hide on mobile"). Force it visible. */
@media (max-width: 768px) {
  #cmplz-manage-consent .cmplz-manage-consent.cmplz-show { display: block !important; }
  #cmplz-manage-consent .cmplz-manage-consent {
    left: 12px !important;
    /* JS-measured lift; fallback = Ecomus mobile nav (67px) if JS hasn't run yet */
    bottom: calc(var(--pdg-cmplz-lift, 67px) + 12px) !important;
  }
}
/* No-JS fallbacks (iOS safe area) when the lift variable isn't set */
@supports (bottom: env(safe-area-inset-bottom)) {
  html:not([style*="--pdg-cmplz-lift"]) #cmplz-manage-consent .cmplz-manage-consent { margin-bottom: env(safe-area-inset-bottom) !important; }
}
@media (prefers-reduced-motion: reduce) { #cmplz-manage-consent .cmplz-manage-consent { transition: none; } }
