/* SnapCatalog — bandeau consentement cookies */
.sc-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.sc-cookie-banner__inner {
  pointer-events: auto;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #0b1728;
  color: #f7f9ff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.sc-cookie-banner__text {
  flex: 1 1 280px;
  min-width: 0;
}

.sc-cookie-banner__title {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.sc-cookie-banner__body {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #c5d0e6;
}

.sc-cookie-banner__body a {
  color: #8ec5ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sc-cookie-banner__body a:hover,
.sc-cookie-banner__body a:focus-visible {
  color: #fff;
}

.sc-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 0 0 auto;
}

.sc-cookie-btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 16px;
  border-radius: 10px;
  line-height: 1.2;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.sc-cookie-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.sc-cookie-btn--refuse {
  background: transparent;
  color: #e8eefc;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.sc-cookie-btn--refuse:hover {
  background: rgba(255, 255, 255, 0.08);
}

.sc-cookie-btn--accept {
  background: #1276e5;
  color: #fff;
}

.sc-cookie-btn--accept:hover {
  background: #0f66c7;
}

@media (max-width: 560px) {
  .sc-cookie-banner__actions {
    width: 100%;
  }

  .sc-cookie-btn {
    flex: 1 1 auto;
    text-align: center;
  }
}
