/* ═══════════════════════════════════════════
   Super Coloriage - Main Stylesheet
   Child theme de GeneratePress
   ═══════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --sc-purple: #8B5CF6;
  --sc-pink: #EC4899;
  --sc-blue: #3B82F6;
  --sc-gradient: linear-gradient(to right, var(--sc-purple), var(--sc-pink), var(--sc-blue));
  --sc-radius: 16px;
  --sc-radius-sm: 12px;
  --sc-radius-full: 9999px;
  --sc-shadow: 0 1px 3px rgba(0,0,0,0.1);
  --sc-shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
}

/* ── Reset GP defaults ── */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1f2937;
  background: #fff;
}

/* Override GeneratePress container to full-width */
.site-content,
.inside-article,
.entry-content,
#content,
.content-area,
.site-main {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  display: block !important;
}

.container,
.grid-container {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

/* Fix GP grid layout that forces columns */
#page.site {
  display: block !important;
}

.site-main > article {
  padding: 0 !important;
}

/* Hero must break out of any container */
.sc-hero {
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  box-sizing: border-box;
}

/* Remove GP sidebar */
#right-sidebar,
#left-sidebar,
.sidebar,
.widget-area {
  display: none !important;
}

/* Remove GP post meta/header/footer */
.entry-meta,
.post-navigation,
.entry-header,
.page-header {
  display: none !important;
}

/* Fix GP content wrapper width */
.no-sidebar .site-main {
  width: 100% !important;
  float: none !important;
}

/* ── Header ── */
.sc-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--sc-gradient);
  border-bottom: 1px solid rgba(147, 51, 234, 0.3);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.sc-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  height: 64px;
}

.sc-header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}

.sc-header__logo img {
  width: 55px;
  height: auto;
  border-radius: 8px;
}

.sc-header__nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.sc-header__nav a {
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.sc-header__nav a:hover {
  opacity: 0.85;
}

/* Mega-menu dropdown */
.sc-dropdown {
  position: relative;
}

.sc-dropdown__trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.sc-dropdown__trigger svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.sc-dropdown.is-open .sc-dropdown__trigger svg {
  transform: rotate(180deg);
}

.sc-dropdown__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0.5rem;
  width: 780px;
  background: #fff;
  border-radius: var(--sc-radius);
  box-shadow: var(--sc-shadow-lg);
  border: 1px solid #f3f4f6;
  padding: 0.75rem;
  z-index: 100;
}

.sc-dropdown.is-open .sc-dropdown__menu {
  display: block;
}

.sc-dropdown__header {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 0.5rem;
}

.sc-dropdown__header a {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sc-purple) !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sc-dropdown__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.sc-dropdown__group {
  padding: 0.5rem;
}

.sc-dropdown__group-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 0.5rem;
  margin-bottom: 0.25rem;
}

.sc-dropdown__group a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #374151 !important;
  transition: background 0.15s;
}

.sc-dropdown__group a:hover {
  background: #f3e8ff;
  color: var(--sc-purple) !important;
}

/* Search bar */
.sc-search {
  display: none;
  align-items: center;
}

.sc-search__wrapper {
  display: flex;
  align-items: center;
}

.sc-search__input {
  height: 36px;
  width: 192px;
  border: none;
  border-radius: var(--sc-radius-full) 0 0 var(--sc-radius-full) !important;
  background: rgba(255,255,255,0.9);
  padding: 0 0.75rem;
  font-size: 0.875rem;
  color: #1f2937;
  outline: none;
  transition: all 0.2s;
}

.sc-search__input::placeholder {
  color: #9ca3af;
}

.sc-search__input:focus {
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.5);
}

.sc-search__btn {
  height: 36px;
  width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0 var(--sc-radius-full) var(--sc-radius-full) 0;
  background: #fff;
  color: var(--sc-purple);
  cursor: pointer;
  transition: background 0.15s;
  padding: 0;
  line-height: 1;
}

.sc-search__btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--sc-purple);
  flex-shrink: 0;
}

.sc-search__btn:hover {
  background: #f3e8ff;
}

/* Mobile search icon in header */
.sc-header__search-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #fff;
  border-radius: 8px;
  transition: background 0.15s;
}

.sc-header__search-link:hover {
  background: rgba(255,255,255,0.2);
}

/* Mobile toggle — hidden on desktop, visible on mobile */
header.sc-header .sc-header__mobile {
  display: none;
  align-items: center;
  gap: 4px;
}

@media (max-width: 767px) {
  header.sc-header .sc-header__mobile {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

header.sc-header .sc-header__mobile button,
header.sc-header .sc-header__mobile a,
header.sc-header .sc-header__mobile-btn,
header.sc-header .sc-header__search-link {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: #fff !important;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s;
  padding: 0;
  line-height: 1;
}

header.sc-header .sc-header__mobile button svg,
header.sc-header .sc-header__mobile a svg {
  display: block !important;
  width: 24px;
  height: 24px;
  stroke: #fff;
}

header.sc-header .sc-header__mobile-btn:hover,
header.sc-header .sc-header__search-link:hover {
  background: rgba(255,255,255,0.2);
}

/* Mobile search overlay */
.sc-search-overlay {
  display: none;
  background: var(--sc-gradient);
  padding: 0.75rem 1rem;
}

.sc-search-overlay.is-open {
  display: block !important;
}

.sc-search-overlay form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sc-search-overlay__field {
  flex: 1;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: var(--sc-radius-full);
  overflow: hidden;
}

.sc-search-overlay__field input {
  flex: 1;
  height: 44px;
  border: none !important;
  padding: 0 1rem;
  font-size: 1rem;
  outline: none;
  background: transparent;
  color: #1f2937;
  -webkit-appearance: none;
}

.sc-search-overlay__field input::placeholder {
  color: #9ca3af;
}

.sc-search-overlay__submit {
  width: 44px;
  height: 44px;
  border: none;
  background: var(--sc-purple);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}

.sc-search-overlay__submit svg {
  stroke: #fff;
}

.sc-search-overlay #sc-search-close {
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}

.sc-search-overlay #sc-search-close svg {
  stroke: #fff;
}

/* Mobile menu */
.sc-mobile-menu {
  display: none;
  background: linear-gradient(to right, #7c3aed, #db2777, #2563eb);
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 1rem;
  max-height: 80vh;
  overflow-y: auto;
}

.sc-mobile-menu.is-open {
  display: block;
}

.sc-mobile-menu a {
  display: block;
  color: #fff;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: var(--sc-radius-sm);
  text-decoration: none;
  transition: background 0.15s;
}

.sc-mobile-menu a:hover {
  background: rgba(255,255,255,0.2);
}

.sc-mobile-menu__group-title {
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 0.75rem 0.25rem;
}

.sc-mobile-menu__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.sc-mobile-menu__divider {
  border-top: 1px solid rgba(255,255,255,0.2);
  margin: 0.5rem 0;
}

/* ── Hero Section ── */
.sc-hero {
  background: linear-gradient(135deg, var(--sc-purple), var(--sc-pink), var(--sc-blue));
  padding: 1.5rem 1rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sc-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sc-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}

.sc-hero__blob--1 {
  top: -80px;
  left: -80px;
  width: 288px;
  height: 288px;
  background: rgba(255,255,255,0.1);
}

.sc-hero__blob--2 {
  bottom: -80px;
  right: -80px;
  width: 384px;
  height: 384px;
  background: rgba(59,130,246,0.15);
}

.sc-hero__content {
  position: relative;
  max-width: 896px;
  margin: 0 auto;
}

.sc-hero__logo {
  width: 180px;
  height: auto;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
}

.sc-hero__subtitle {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

.sc-hero__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
}

.sc-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 1rem;
  border-radius: var(--sc-radius-full);
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s;
}

.sc-hero__pill:hover {
  background: #fff;
  color: var(--sc-purple);
  transform: scale(1.05);
}

/* ── Cards Grid ── */
.sc-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.sc-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.sc-section__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
}

.sc-section__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sc-purple);
  text-decoration: none;
}

.sc-section__link:hover {
  color: #7c3aed;
}

/* Coloring cards grid */
.sc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.sc-card {
  display: block;
  border-radius: var(--sc-radius);
  border: 1px solid #f3f4f6;
  background: #fff;
  box-shadow: var(--sc-shadow);
  overflow: hidden;
  text-decoration: none;
  transition: all 0.2s;
}

.sc-card:hover {
  box-shadow: var(--sc-shadow-lg);
  transform: translateY(-4px);
}

.sc-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--sc-purple);
}

.sc-card__image {
  aspect-ratio: 1;
  overflow: hidden;
  background: #f9fafb;
}

.sc-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}

.sc-card:hover .sc-card__image img {
  transform: scale(1.05);
}

.sc-card__body {
  padding: 0.75rem;
}

.sc-card__title {
  font-weight: 700;
  font-size: 0.875rem;
  color: #1f2937;
  margin: 0 0 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sc-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Badges */
.sc-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 12px;
  border-radius: var(--sc-radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.sc-badge--category {
  background: #dbeafe;
  color: #1e40af;
}

.sc-badge--easy {
  background: #dcfce7;
  color: #166534;
}

.sc-badge--medium {
  background: #fef3c7;
  color: #92400e;
}

.sc-badge--hard {
  background: #fee2e2;
  color: #991b1b;
}

.sc-badge--grid {
  background: #f3f4f6;
  color: #374151;
}

/* Category cards grid */
.sc-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.sc-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  border-radius: var(--sc-radius);
  text-align: center;
  text-decoration: none;
  transition: all 0.2s;
}

.sc-cat-card:hover {
  box-shadow: var(--sc-shadow-lg);
  transform: translateY(-4px);
}

.sc-cat-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--sc-purple);
}

.sc-cat-card__emoji {
  font-size: 2.5rem;
  transition: transform 0.2s;
}

.sc-cat-card:hover .sc-cat-card__emoji {
  transform: scale(1.1);
}

.sc-cat-card__name {
  font-weight: 700;
  color: #1f2937;
}

.sc-cat-card__count {
  font-size: 0.75rem;
  color: #6b7280;
}

/* Pastel colors for category cards */
.sc-cat-card:nth-child(8n+1) { background: #fce7f3; }
.sc-cat-card:nth-child(8n+2) { background: #dbeafe; }
.sc-cat-card:nth-child(8n+3) { background: #dcfce7; }
.sc-cat-card:nth-child(8n+4) { background: #fef3c7; }
.sc-cat-card:nth-child(8n+5) { background: #f3e8ff; }
.sc-cat-card:nth-child(8n+6) { background: #ffedd5; }
.sc-cat-card:nth-child(8n+7) { background: #ccfbf1; }
.sc-cat-card:nth-child(8n+8) { background: #fce7f3; }

/* ── Single Coloriage Page ── */
.sc-single {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

.sc-single__image-wrap {
  display: flex;
  justify-content: center;
}

.sc-single__image {
  width: 100%;
  max-width: 672px;
  aspect-ratio: 1;
  border-radius: var(--sc-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--sc-shadow-lg);
  border: 1px solid #f3f4f6;
}

.sc-single__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.sc-single__info {
  text-align: center;
  margin-top: 1.5rem;
}

.sc-single__title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1f2937;
}

.sc-single__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.sc-single__pixel-instruction {
  max-width: 672px;
  margin: 1rem auto;
  text-align: center;
  padding: 0.75rem 1rem;
  background: #f9fafb;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #6b7280;
}

/* Action buttons */
.sc-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.sc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--sc-radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
  border: 2px solid;
}

.sc-btn--print {
  background: #fff;
  color: var(--sc-blue);
  border-color: var(--sc-blue);
}

.sc-btn--print:hover {
  background: #eff6ff;
}

.sc-btn--download {
  background: var(--sc-blue);
  color: #fff;
  border-color: var(--sc-blue);
}

.sc-btn--download:hover {
  background: #2563eb;
}

/* ── Breadcrumb ── */
.sc-breadcrumb {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.sc-breadcrumb a {
  color: #6b7280;
  text-decoration: none;
  display: inline;
}

.sc-breadcrumb a:hover {
  color: var(--sc-purple);
}

.sc-breadcrumb__sep {
  margin: 0 0.5rem;
  color: #d1d5db;
  display: inline;
}

/* ── Category Header ── */
.sc-cat-header {
  border-radius: var(--sc-radius);
  background: linear-gradient(to right, #faf5ff, #fdf2f8);
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
}

.sc-cat-header__top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sc-cat-header__emoji {
  font-size: 2.5rem;
}

.sc-cat-header__title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.sc-cat-header__count {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.sc-cat-header__desc {
  color: #4b5563;
  margin-top: 1rem;
  max-width: 672px;
}

/* ── Pagination ── */
.sc-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 0;
}

.sc-pagination a,
.sc-pagination span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
}

.sc-pagination a {
  background: #ede9fe;
  color: #7c3aed;
}

.sc-pagination a:hover {
  background: #ddd6fe;
}

.sc-pagination .disabled {
  background: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
}

.sc-pagination__current {
  font-size: 0.875rem;
  color: #6b7280;
}

/* ── Footer ── */
.sc-footer {
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  padding: 2rem 1rem;
}

.sc-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.sc-footer__brand {
  font-weight: 600;
  font-size: 0.875rem;
  color: #4b5563;
}

.sc-footer__nav {
  display: flex;
  gap: 1rem;
}

.sc-footer__nav a {
  color: #6b7280;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.15s;
}

.sc-footer__nav a:hover {
  color: #374151;
}

.sc-footer__nav a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--sc-purple);
  border-radius: 4px;
}

/* ── Skip to content ── */
.sc-skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--sc-purple);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}

.sc-skip-link:focus {
  top: 0;
}

/* ── Global focus-visible ── */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--sc-purple);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Lazy load placeholder ── */
img {
  background-color: #f9fafb;
}

.sc-footer__copy {
  font-size: 0.75rem;
  color: #9ca3af;
  text-align: center;
  margin-top: 0.5rem;
}

/* ── Static Pages (A propos, Mentions legales) ── */
.sc-page {
  max-width: 768px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.sc-page__title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 2rem;
}

.sc-page__content {
  color: #4b5563;
  line-height: 1.8;
}

.sc-page__content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.sc-page__content p {
  margin-bottom: 1rem;
}

.sc-page__content strong {
  color: #1f2937;
}

/* ── Ad Banner Placeholder ── */
.sc-ad {
  max-width: 728px;
  margin: 1rem auto;
  text-align: center;
}

/* ── Responsive ── */
@media (min-width: 640px) {
  .sc-grid { grid-template-columns: repeat(3, 1fr); }
  .sc-cat-grid { grid-template-columns: repeat(3, 1fr); }
  .sc-footer__inner { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 768px) {
  .sc-header__nav { display: flex; }
  .sc-search { display: flex; }
  header.sc-header .sc-header__mobile { display: none !important; }
  .sc-search-overlay { display: none !important; }
  .sc-search-overlay.is-open { display: none !important; }
  .sc-hero__subtitle { font-size: 1.25rem; }
}

@media (min-width: 1024px) {
  .sc-grid { grid-template-columns: repeat(4, 1fr); }
  .sc-cat-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}

@media (min-width: 1280px) {
  .sc-cat-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ── Cookie Consent Banner ── */
#sc-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  padding: 1rem;
}

.sc-cookie-banner__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.sc-cookie-banner__text {
  font-size: 0.875rem;
  color: #4b5563;
  text-align: center;
  margin: 0;
  line-height: 1.5;
}

.sc-cookie-banner__text a {
  color: var(--sc-purple);
  text-decoration: underline;
}

.sc-cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.sc-cookie-btn {
  padding: 0.6rem 1.5rem;
  border-radius: var(--sc-radius-full);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  border: 2px solid;
  transition: all 0.15s;
}

.sc-cookie-btn--accept {
  background: var(--sc-purple);
  color: #fff;
  border-color: var(--sc-purple);
}

.sc-cookie-btn--accept:hover {
  background: #7c3aed;
  border-color: #7c3aed;
}

.sc-cookie-btn--refuse {
  background: #fff;
  color: #6b7280;
  border-color: #d1d5db;
}

.sc-cookie-btn--refuse:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.sc-cookie-link {
  cursor: pointer;
  color: #6b7280;
  text-decoration: underline;
  font-size: 0.875rem;
  background: none;
  border: none;
  padding: 0;
}

.sc-cookie-link:hover {
  color: var(--sc-purple);
}

@media (min-width: 640px) {
  .sc-cookie-banner__inner {
    flex-direction: row;
    text-align: left;
  }
  .sc-cookie-banner__text {
    text-align: left;
  }
}
