/* === FORCE CLUBKIDS SEARCH VISIBILITY (THEME OVERRIDE) === */
.ck-search-wrapper,
.ck-search-wrapper * {
  box-sizing: border-box;
}

.ck-search-wrapper {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.entry-content .ck-search-wrapper,
.wp-block-group .ck-search-wrapper,
.container .ck-search-wrapper {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ===============================
   CLUBKIDS – SEARCH BAR (UI)
   =============================== */

.ck-search-wrapper {
  background: linear-gradient(135deg, #eaf6ff, #f7fbff);
  padding: 60px 20px;
}

.ck-search-card {
  width: 100% !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  background: #ffffff !important;
  border-radius: 26px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12) !important;
  padding: 42px !important;
}

/* ---------- HEADER ---------- */

.ck-search-header {
  text-align: center;
  margin-bottom: 32px;
}

.ck-search-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a2b4c;
  margin-bottom: 6px;
}

.ck-search-header p {
  font-size: 15px;
  color: #6b7280;
}

/* ---------- GRID ---------- */

.ck-search-row {
  display: grid;
  grid-template-columns: 1.3fr 1.3fr 1fr 1fr 1.2fr;
  gap: 16px;
  align-items: center;
}

.ck-search-row .ck-field {
  width: 100%;
}

/* ---------- INPUTS ---------- */

.ck-search-row .ck-field select,
.ck-search-row .ck-field input {
  width: 100%;
  padding: 16px 20px;
  border-radius: 999px;
  border: 1px solid #dbeaf7;
  font-size: 15px;
  background: #f9fafb;
  transition: all 0.2s ease;
}

.ck-search-row .ck-field select:focus,
.ck-search-row .ck-field input:focus {
  outline: none;
  border-color: #0aa2e1;
  background: #ffffff;
}

/* ---------- PASSENGERS ---------- */

.ck-passengers {
  position: relative;
}

.ck-passengers-toggle {
  width: 100%;
  padding: 16px 20px;
  border-radius: 999px;
  border: 1px solid #dbeaf7;
  background: #f9fafb;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
}

.ck-passengers-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.15);
  padding: 18px;
  width: 260px;
  display: none;
  z-index: 100;
}

.ck-passengers-panel.active {
  display: block;
}

.ck-passenger-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.ck-passenger-row span {
  font-weight: 500;
}

.ck-passenger-row small {
  display: block;
  color: #6b7280;
  font-size: 12px;
}

.ck-counter {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ck-counter button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: #0aa2e1;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
}

.ck-counter span {
  min-width: 22px;
  text-align: center;
  font-weight: 600;
}

/* ---------- ACTION ---------- */

.ck-search-actions {
  margin-top: 36px;
  text-align: center;
}

.ck-search-btn {
  padding: 16px 48px;
  border-radius: 999px;
  background: #0aa2e1;
  color: #ffffff;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.ck-search-btn:hover {
  background: #098fc6;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {
  .ck-search-card {
    padding: 28px 22px;
  }

  .ck-search-row {
    grid-template-columns: 1fr;
  }
}