/* Existing brand background and white text are inherited from custom.css. */
#garant-cookie-notice {
  left: 16px;
  right: auto;
  bottom: 16px;
  width: min(600px, calc(100% - 32px));
}
#garant-cookie-notice[hidden] { display: none; }
#garant-cookie-notice .cookieWidget {
  position: relative;
  gap: 12px;
  padding: 12px 14px 15px;
  overflow: hidden;
  border-radius: 12px;
}
#garant-cookie-notice .cookieWidget__text {
  flex: 1 1 auto;
  width: auto;
  height: auto;
  min-width: 0;
  font-size: 13px;
  line-height: 1.4;
}
.cookieWidget__dismiss {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(244, 244, 244, 0.5);
  color: #000;
  cursor: pointer;
}
.cookieWidget__dismiss:hover { background: rgba(244, 244, 244, 0.7); }
.cookieWidget__dismiss:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cookieWidget__progress {
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: #fff;
  transform-origin: left center;
}
#garant-cookie-notice:not([hidden]) .cookieWidget__progress {
  animation: garant-cookie-countdown 10s linear forwards;
}
@keyframes garant-cookie-countdown {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}
@media (max-width: 766px) {
  #garant-cookie-notice { left: 12px; right: 12px; bottom: 100px; width: auto; }
  #garant-cookie-notice .cookieWidget__text { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  #garant-cookie-notice .cookieWidget__progress { animation: none; }
}

