/* Bannière cookies — style e-commerce / RGPD */

.po-cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(20, 20, 20, 0.45);
  backdrop-filter: blur(2px);
  animation: poCookieFadeIn 0.35s ease;
}

.po-cookie-banner--info {
  pointer-events: auto;
}

.po-cookie-banner--info .po-cookie-inner--info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 20px;
  border-radius: 12px;
}

.po-cookie-banner--info .po-cookie-sub {
  margin: 0;
  flex: 1;
  min-width: 200px;
  font-size: 0.82rem;
}

.po-cookie-open:has(.po-cookie-banner--info) {
  padding-bottom: 0;
}

body.po-cookie-open:has(.po-cookie-banner--info) {
  padding-bottom: 0;
}

.po-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  padding: 0 16px calc(16px + env(safe-area-inset-bottom));
  pointer-events: none;
  animation: poCookieSlideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.po-cookie-inner {
  pointer-events: auto;
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  color: #141414;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.06);
  padding: 24px 28px 28px;
}

@media (min-width: 768px) {
  .po-cookie-banner {
    padding: 0 24px 24px;
  }

  .po-cookie-inner {
    border-radius: 16px;
    padding: 28px 32px;
  }
}

.po-cookie-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.po-cookie-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  background: #f3f3f0;
  border-radius: 12px;
}

.po-cookie-title {
  margin: 0 0 4px;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.po-cookie-sub {
  margin: 0;
  font-size: 0.9rem;
  color: #6e6e6e;
  line-height: 1.55;
  max-width: 52rem;
}

.po-cookie-sub a {
  color: #141414;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.po-cookie-sub a:hover {
  color: #0054a6;
}

.po-cookie-list {
  margin: 12px 0 0;
  padding: 0 0 0 18px;
  font-size: 0.82rem;
  color: #6e6e6e;
  line-height: 1.5;
}

.po-cookie-actions {
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  margin-top: 20px;
}

@media (min-width: 640px) {
  .po-cookie-actions {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 18px;
  }
}

.po-cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  width: 100%;
}

@media (min-width: 640px) {
  .po-cookie-btn {
    width: auto;
    min-width: 160px;
  }
}

.po-cookie-btn:active {
  transform: scale(0.98);
}

.po-cookie-btn--accept {
  background: #c8f542;
  color: #141414;
  border-color: #b8e032;
  box-shadow: 0 2px 12px rgba(200, 245, 66, 0.35);
}

.po-cookie-btn--accept:hover {
  background: #d4f75a;
}

.po-cookie-btn--refuse {
  background: #fff;
  color: #6e6e6e;
  border-color: #e2e2de;
}

.po-cookie-btn--refuse:hover {
  border-color: #141414;
  color: #141414;
}

body.po-cookie-open {
  overflow: hidden;
}

@keyframes poCookieFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes poCookieSlideUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}