:root{
  --cc-radius: 24px;
  --cc-bg: rgba(255,255,255,.92);
  --cc-line: rgba(0,0,0,.08);
  --cc-text: rgba(0,0,0,.78);
  --cc-muted: rgba(0,0,0,.55);
  --cc-shadow: 0 18px 60px rgba(0,0,0,.18);

  /* ✅ Verde pastel (ajústelo si quiere más/menos intensidad) */
  --cc-grad-1: #a7f3d0; /* mint pastel */
  --cc-grad-2: #34d399; /* emerald suave */

  /* Why Book Direct highlight */
  --cc-direct-inset: 12px;
}

.cc-overlay{ position:fixed; inset:0; z-index:9999; }

.cc-backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.22);       /* un toque menos oscuro */
  backdrop-filter: blur(3px);         /* ✅ menos difuminado */
  -webkit-backdrop-filter: blur(3px);
}

.cc-sheet{
  position:absolute;
  left:50%;
  bottom:18px;
  transform: translateX(-50%);
  width:min(560px, 92vw);
  background: var(--cc-bg);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--cc-radius);
  box-shadow: var(--cc-shadow);
  overflow:hidden;
}

.cc-handle{
  width:54px; height:6px;
  border-radius: 999px;
  background: rgba(0,0,0,.12);
  margin: 8px auto 4px; /* menos espacio arriba */
}


.cc-header{
  display:flex; align-items:center; justify-content:space-between;
  padding: 10px 16px 6px;
}

/* Solo para accesibilidad: título del diálogo (oculto visualmente) */
.cc-sr-only{
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}

/* Fila superior: 🌐 Language + X (mismo renglón) */
.cc-toprow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 8px 16px 6px; /* compacto para que no haya tanto aire */
}

.cc-toprow-title{
  font-size:18px;            /* ✅ mismo tamaño “título” que antes */
  font-weight:700;
  color: rgba(0,0,0,.82);
  letter-spacing: -.1px;
}

/* Subtítulo Cookies: mismo tamaño, pero con un pelín de separación */
.cc-toprow-title--sub{
  padding: 6px 16px 6px;
}

/* Section title style (matches Language/Cookies titles but NOT targeted by JS) */
.cc-sectionTitle{
  font-size:18px;
  font-weight:700;
  color: rgba(0,0,0,.82);
  letter-spacing: -.1px;
  padding: 6px 16px 6px; /* same spacing as .cc-toprow-title--sub */
}


/* ==========================================================
   Why Book Direct — highlighted background (full-width)
   ========================================================== */
.cc-directZone{
  position: relative;
  margin: 10px 0 12px;
  padding: 10px 0 12px; /* prevents margin-collapsing + gives breathing room */
}

.cc-directZone::before{
  content:"";
  position:absolute;
  left: var(--cc-direct-inset);
  right: var(--cc-direct-inset);
  top: 0;
  bottom: 0;
  border-radius: 20px;
  background:
    radial-gradient(120% 90% at 14% 18%, rgba(255, 212, 150, .62), transparent 62%),
    radial-gradient(120% 90% at 86% 34%, rgba(255, 214, 140, .50), transparent 66%),
    radial-gradient(140% 120% at 50% 120%, rgba(255, 246, 210, .62), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,.12));
  box-shadow:
    inset 0 0 0 3px rgba(52, 211, 153, .28),
    0 10px 24px rgba(0,0,0,.08);
  pointer-events:none;
}

.cc-directZone > *{
  position: relative;
  z-index: 1;
}

/* Extra left margin inside the Why Book Direct highlight box */
.cc-directZone .cc-sectionTitle{
  padding: 6px 16px 6px 26px; /* 16px + 10px */
}

.cc-directZone .cc-directList{
  padding: 2px 16px 16px 26px; /* 16px + 10px */
}

/* Spacing inside the highlighted zone */
#ccDirectTitle{ margin: 0 0 6px; }
/* Fila Language: English — switch — Español */
.cc-lang{
  padding: 0 16px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.cc-lang-label{
  border:0;
  background: transparent;
  padding: 8px 10px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  color: rgba(0,0,0,.70);
  cursor:pointer;
}

.cc-lang-label.is-active{
  background: rgba(0,0,0,.06);
  color: rgba(0,0,0,.86);
}

.cc-lang-switch{
  flex: 0 0 auto;
}


.cc-title{ display:flex; align-items:center; gap:10px; }
.cc-title h2{ margin:0; font-size:18px; font-weight:700; color: rgba(0,0,0,.82); }
.cc-emoji{ font-size:18px; }

.cc-x{
  border:0; background:transparent;
  font-size:18px; line-height:1;
  padding:8px; border-radius:12px;
  color: rgba(0,0,0,.55);
}
.cc-x:active{ background: rgba(0,0,0,.06); }

.cc-text{
  margin:0;
  padding: 0 16px 12px;
  color: var(--cc-text);
  font-size: 14px;
  line-height: 1.35;
}

.cc-link{ color: rgba(0,0,0,.72); text-decoration: underline; }

.cc-actions{ padding: 0 16px 10px; }
.cc-row{ display:flex; gap:10px; margin-top:8px; }

.cc-btn{
  width:100%;
  border-radius: 999px;
  height: 44px;
  border: 1px solid var(--cc-line);
  background: rgba(255,255,255,.6);
  color: rgba(0,0,0,.82);
  font-weight: 650;
  font-size: 14px;
  letter-spacing: .1px;
  cursor: pointer;
}

.cc-primary{
  border: none;
  color: #fff;
  background: linear-gradient(90deg, var(--cc-grad-1), var(--cc-grad-2));
}

.cc-outline{
  flex: 1;
  background: rgba(255,255,255,.55);
}

.cc-ghost{
  flex: 1;
  background: transparent;
}

.cc-prefs{
  border-top: 1px solid var(--cc-line);
  padding: 12px 16px 16px;
  background: rgba(255,255,255,.78);
}

.cc-pref-item{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--cc-line);
}
.cc-pref-item:last-of-type{ border-bottom: none; }

.cc-pref-left{ display:flex; align-items:center; gap:12px; }
.cc-icon{ width:22px; text-align:center; opacity:.9; }

.cc-pref-name{ font-weight:700; font-size:14px; color: rgba(0,0,0,.82); }
.cc-pref-desc{ font-size:12px; color: var(--cc-muted); margin-top:2px; }

.cc-badge{
  font-size:12px; font-weight:650;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  color: rgba(0,0,0,.65);
  white-space: nowrap;
}

/* Switch */
.cc-switch{ position:relative; width:48px; height:28px; }
.cc-switch input{ opacity:0; width:0; height:0; }

.cc-slider{
  position:absolute; inset:0;
  background: rgba(0,0,0,.15);
  border-radius: 999px;
  transition: .18s ease;
}

.cc-slider::before{
  content:"";
  position:absolute;
  height:22px; width:22px;
  left:3px; top:3px;
  background:#fff;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  transition: .18s ease;
}

.cc-switch input:checked + .cc-slider{
  background: linear-gradient(90deg, var(--cc-grad-1), var(--cc-grad-2));
}
.cc-switch input:checked + .cc-slider::before{ transform: translateX(20px); }

.cc-save{ margin-top:12px; }


/* ==========================================================
   Direct booking promo (compact) — matches Language/Cookies sections
   ========================================================== */
.cc-directList{
  list-style: none;
  margin: 0;
  padding: 2px 16px 16px;
  display: grid;
  gap: 6px;
}

.cc-directList li{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.28;
  color: var(--cc-text);
  font-weight: 450;
}

.cc-check{
  width: 18px;
  text-align: center;
  flex: 0 0 auto;
  transform: translateY(1px);
}
