/* Tourgo Meilisearch Search UI
   Scoped intentionally under .tourgo-app-shell to avoid Elementor layout collisions. */

.tourgo-app-shell{
  --tourgo-ms-max-width:1200px;
  --tourgo-orange:#f26a21;
  --tourgo-orange-dark:#d95711;
  --tourgo-orange-soft:#fff4ec;
  --tourgo-navy:#18304f;
  --tourgo-text:#26364a;
  --tourgo-muted:#6b7789;
  --tourgo-line:rgba(24,48,79,.14);
  --tourgo-shadow:0 14px 36px rgba(24,48,79,.12);
  direction:rtl;
  width:100%;
  max-width:var(--tourgo-ms-max-width,1200px);
  margin:0 auto;
  box-sizing:border-box;
  font-family:inherit;
  color:var(--tourgo-text);
}

.tourgo-app-shell,
.tourgo-app-shell *{
  box-sizing:border-box;
}

.tourgo-app-shell .tourgo-ms-search{
  width:100%;
  max-width:100%;
  margin:0 auto;
  padding:0;
  direction:rtl;
  font-family:inherit;
  color:inherit;
}

.tourgo-app-shell .tourgo-ms-shell{
  width:100%;
  max-width:100%;
  margin:0 auto;
  padding:0;
  background:transparent;
  border:0;
  border-radius:24px;
}

.tourgo-app-shell.tourgo-app-surface-card .tourgo-ms-shell,
.tourgo-app-shell.tourgo-app-surface-glass .tourgo-ms-shell{
  padding:24px;
  background:rgba(255,255,255,.94);
  border:1px solid rgba(24,48,79,.08);
  box-shadow:var(--tourgo-shadow);
}

.tourgo-app-shell .tourgo-ms-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin:0 0 16px;
}

.tourgo-app-shell .tourgo-ms-title{
  margin:0;
  color:var(--tourgo-navy);
  font-size:clamp(24px,3vw,42px);
  line-height:1.08;
  font-weight:900;
  letter-spacing:-.04em;
}

.tourgo-app-shell .tourgo-ms-subtitle{
  margin:6px 0 0;
  color:var(--tourgo-muted);
  font-size:clamp(14px,1.2vw,17px);
  line-height:1.55;
  font-weight:600;
}

.tourgo-app-shell .tourgo-ms-ai-badge,
.tourgo-app-shell .tourgo-ms-inline-explain strong{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  white-space:nowrap;
  border-radius:999px;
  padding:8px 14px;
  background:#fff8f3;
  color:var(--tourgo-orange);
  border:1px solid rgba(242,106,33,.32);
  font-size:13px;
  font-weight:900;
}

.tourgo-app-shell .tourgo-ms-ai-badge::before{
  content:'✦';
  font-size:14px;
}

.tourgo-app-shell .tourgo-ms-inline-explain{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin:0 0 12px;
  color:var(--tourgo-muted);
  font-size:14px;
  line-height:1.45;
}

.tourgo-app-shell .tourgo-ms-difference{
  margin:12px 0 0;
  color:var(--tourgo-muted);
  font-size:13px;
  line-height:1.55;
  font-weight:600;
  text-align:center;
}

.tourgo-app-shell .tourgo-ms-label{
  display:block;
  width:0;
  height:0;
  overflow:hidden;
  font-size:0;
  line-height:0;
}

.tourgo-app-shell .tourgo-ms-input-wrap{
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:10px;
  align-items:center;
  width:100%;
  max-width:100%;
  padding:8px;
  border:1px solid rgba(242,106,33,.45);
  border-radius:20px;
  background:#fff;
  box-shadow:0 10px 28px rgba(24,48,79,.08);
}

.tourgo-app-shell.tourgo-app-surface-transparent .tourgo-ms-input-wrap{
  background:rgba(255,255,255,.94);
}

.tourgo-app-shell .tourgo-ms-input{
  display:block;
  width:100%;
  min-width:0;
  min-height:50px;
  border:0;
  border-radius:14px;
  padding:0 16px;
  background:transparent;
  color:var(--tourgo-navy);
  font-family:inherit;
  font-size:clamp(15px,1.3vw,18px);
  font-weight:700;
  line-height:1.2;
  direction:rtl;
  text-align:right;
  outline:none;
}

.tourgo-app-shell .tourgo-ms-input::placeholder{
  color:#9aa3af;
  font-weight:700;
}

.tourgo-app-shell .tourgo-ms-input:focus{
  outline:2px solid rgba(242,106,33,.20);
  outline-offset:2px;
}

.tourgo-app-shell .tourgo-ms-submit,
.tourgo-app-shell .tourgo-ms-mic{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:50px;
  border-radius:14px;
  border:1px solid transparent;
  padding:0 18px;
  font-family:inherit;
  font-size:14px;
  font-weight:900;
  line-height:1;
  white-space:nowrap;
  cursor:pointer;
  text-decoration:none;
  transition:transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease;
}

.tourgo-app-shell .tourgo-ms-submit{
  min-width:96px;
  background:linear-gradient(135deg,var(--tourgo-orange),#ff7b2a);
  color:#fff;
  box-shadow:0 10px 20px rgba(242,106,33,.22);
}

.tourgo-app-shell .tourgo-ms-submit:hover,
.tourgo-app-shell .tourgo-ms-submit:focus-visible{
  background:linear-gradient(135deg,#ff7b2a,var(--tourgo-orange-dark));
  transform:translateY(-1px);
}

.tourgo-app-shell .tourgo-ms-mic{
  background:#fff8f3;
  color:var(--tourgo-orange-dark);
  border-color:rgba(242,106,33,.28);
}

.tourgo-app-shell .tourgo-ms-mic:hover,
.tourgo-app-shell .tourgo-ms-mic:focus-visible{
  background:#fff0e5;
  border-color:rgba(242,106,33,.55);
  transform:translateY(-1px);
}

.tourgo-app-shell .tourgo-ms-mic-icon{
  font-size:16px;
  line-height:1;
}

.tourgo-app-shell .tourgo-ms-search.is-listening .tourgo-ms-mic{
  background:#ffeadc;
  color:#b73d06;
  animation:tourgoAppVoicePulse 1.2s ease-in-out infinite;
}

.tourgo-app-shell .tourgo-ms-prompts,
.tourgo-app-shell .tourgo-ms-history,
.tourgo-app-shell .tourgo-ms-tools,
.tourgo-app-shell .tourgo-ms-active,
.tourgo-app-shell .tourgo-ms-filters{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin:12px 0 0;
}

.tourgo-app-shell .tourgo-ms-prompts{
  justify-content:center;
}

.tourgo-app-shell .tourgo-ms-prompts > span,
.tourgo-app-shell .tourgo-ms-history > span,
.tourgo-app-shell .tourgo-ms-active-title,
.tourgo-app-shell .tourgo-ms-tool-label{
  color:var(--tourgo-muted);
  font-size:13px;
  font-weight:900;
}

.tourgo-app-shell .tourgo-ms-prompt,
.tourgo-app-shell .tourgo-ms-history-chip,
.tourgo-app-shell .tourgo-ms-prompt-inline,
.tourgo-app-shell .tourgo-ms-chip,
.tourgo-app-shell .tourgo-ms-info-chip,
.tourgo-app-shell .tourgo-ms-tool,
.tourgo-app-shell .tourgo-ms-clear,
.tourgo-app-shell .tourgo-ms-mini,
.tourgo-app-shell .tourgo-ms-copy,
.tourgo-app-shell .tourgo-ms-card-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  border:1px solid rgba(242,106,33,.25);
  border-radius:999px;
  padding:0 12px;
  background:#fff8f3;
  color:#a8470d;
  font-family:inherit;
  font-size:12px;
  font-weight:900;
  line-height:1;
  white-space:nowrap;
  text-decoration:none;
  cursor:pointer;
}

.tourgo-app-shell .tourgo-ms-prompt:hover,
.tourgo-app-shell .tourgo-ms-history-chip:hover,
.tourgo-app-shell .tourgo-ms-prompt-inline:hover,
.tourgo-app-shell .tourgo-ms-tool:hover,
.tourgo-app-shell .tourgo-ms-clear:hover,
.tourgo-app-shell .tourgo-ms-mini:hover,
.tourgo-app-shell .tourgo-ms-copy:hover,
.tourgo-app-shell .tourgo-ms-card-secondary:hover{
  background:#fff0e5;
  border-color:rgba(242,106,33,.45);
}

.tourgo-app-shell .tourgo-ms-smart-groups{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin:18px 0 0;
  padding-top:18px;
  border-top:1px solid rgba(24,48,79,.10);
}

.tourgo-app-shell .tourgo-ms-smart-title{
  margin:0 0 8px;
  color:var(--tourgo-navy);
  font-size:15px;
  font-weight:900;
}

.tourgo-app-shell .tourgo-ms-info-chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.tourgo-app-shell .tourgo-ms-info-chip{
  background:#f7f2ed;
  color:#4b5563;
  border-color:transparent;
  cursor:default;
}

.tourgo-app-shell button.tourgo-ms-info-chip{
  cursor:pointer;
}

.tourgo-app-shell .tourgo-ms-select,
.tourgo-app-shell .tourgo-ms-sort{
  min-height:36px;
  max-width:190px;
  border:1px solid var(--tourgo-line);
  border-radius:999px;
  padding:0 12px;
  background:#fff;
  color:var(--tourgo-text);
  font-family:inherit;
  font-size:13px;
  font-weight:700;
}

.tourgo-app-shell .tourgo-ms-select:focus,
.tourgo-app-shell .tourgo-ms-sort:focus{
  outline:2px solid rgba(242,106,33,.18);
  outline-offset:2px;
}

.tourgo-app-shell .tourgo-ms-clear-hidden{
  display:none;
}

.tourgo-app-shell .tourgo-ms-status{
  min-height:18px;
  margin:10px 0 0;
  color:var(--tourgo-muted);
  font-size:13px;
  font-weight:800;
  text-align:center;
}

.tourgo-app-shell .tourgo-ms-results{
  display:none;
  width:100%;
  max-width:100%;
  margin:16px 0 0;
  background:transparent;
  border:0;
  box-shadow:none;
  overflow:visible;
}

.tourgo-app-shell .tourgo-ms-results.has-results{
  display:block;
}

.tourgo-app-shell .tourgo-ms-results-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 12px;
  padding:0 2px;
  color:var(--tourgo-navy);
}

.tourgo-app-shell .tourgo-ms-results-head strong{
  font-size:18px;
  font-weight:900;
}

.tourgo-app-shell .tourgo-ms-results-head span{
  color:var(--tourgo-muted);
  font-size:13px;
  font-weight:700;
}

.tourgo-app-shell .tourgo-ms-card-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  align-items:stretch;
}

.tourgo-app-shell .tourgo-ms-card{
  display:flex;
  flex-direction:column;
  width:100%;
  min-width:0;
  height:100%;
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(24,48,79,.10);
  border-radius:20px;
  box-shadow:0 10px 24px rgba(24,48,79,.10);
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.tourgo-app-shell .tourgo-ms-card:hover{
  transform:translateY(-2px);
  border-color:rgba(242,106,33,.34);
  box-shadow:0 16px 32px rgba(24,48,79,.14);
}

.tourgo-app-shell .tourgo-ms-card-media{
  display:block;
  width:100%;
  height:190px;
  flex:0 0 190px;
  overflow:hidden;
  background:#f3f5f8;
}

.tourgo-app-shell .tourgo-ms-card-image{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.tourgo-app-shell .tourgo-ms-card-image-fallback{
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--tourgo-orange);
  font-weight:900;
  background:linear-gradient(135deg,#fff8f3,#f8fafc);
}

.tourgo-app-shell .tourgo-ms-card-body{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  gap:10px;
  padding:18px;
  min-height:250px;
}

.tourgo-app-shell .tourgo-ms-card-kicker{
  color:var(--tourgo-orange);
  font-size:12px;
  line-height:1.2;
  font-weight:900;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.tourgo-app-shell .tourgo-ms-card-title{
  margin:0;
  color:var(--tourgo-navy);
  font-size:20px;
  line-height:1.3;
  font-weight:900;
  letter-spacing:-.025em;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.tourgo-app-shell .tourgo-ms-card-mini-meta,
.tourgo-app-shell .tourgo-ms-card-tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.tourgo-app-shell .tourgo-ms-card-mini-meta-item,
.tourgo-app-shell .tourgo-ms-tag{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:3px 9px;
  border-radius:999px;
  background:#f8fafc;
  color:#566276;
  border:1px solid rgba(24,48,79,.08);
  font-size:12px;
  font-weight:800;
}

.tourgo-app-shell .tourgo-ms-card-fields{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}

.tourgo-app-shell .tourgo-ms-card-field{
  min-width:0;
  padding:9px 10px;
  border:1px solid rgba(24,48,79,.08);
  border-radius:12px;
  background:#fbfcfd;
}

.tourgo-app-shell .tourgo-ms-card-field b{
  display:block;
  margin:0 0 4px;
  color:var(--tourgo-muted);
  font-size:11px;
  line-height:1.2;
  font-weight:900;
}

.tourgo-app-shell .tourgo-ms-card-field em{
  display:block;
  color:var(--tourgo-navy);
  font-style:normal;
  font-size:13px;
  line-height:1.35;
  font-weight:800;
  overflow:hidden;
  text-overflow:ellipsis;
}

.tourgo-app-shell .tourgo-ms-card-excerpt{
  margin:0;
  color:var(--tourgo-muted);
  font-size:13px;
  line-height:1.55;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.tourgo-app-shell .tourgo-ms-card-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:auto;
  padding-top:6px;
}

.tourgo-app-shell .tourgo-ms-card-primary,
.tourgo-app-shell .tourgo-ms-row-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  border-radius:999px;
  padding:0 18px;
  background:linear-gradient(135deg,var(--tourgo-orange),#ff7b2a);
  color:#fff;
  font-size:13px;
  font-weight:900;
  line-height:1;
  text-decoration:none;
  white-space:nowrap;
  box-shadow:0 8px 18px rgba(242,106,33,.20);
}

.tourgo-app-shell .tourgo-ms-card-primary:hover,
.tourgo-app-shell .tourgo-ms-row-action:hover{
  background:linear-gradient(135deg,#ff7b2a,var(--tourgo-orange-dark));
}

.tourgo-app-shell .tourgo-ms-more{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin:18px 0 0;
}

.tourgo-app-shell .tourgo-ms-load-more{
  min-height:38px;
  border:0;
  border-radius:999px;
  padding:0 18px;
  background:var(--tourgo-navy);
  color:#fff;
  font-family:inherit;
  font-size:13px;
  font-weight:900;
  cursor:pointer;
}

.tourgo-app-shell .tourgo-ms-more span{
  color:var(--tourgo-muted);
  font-size:13px;
  font-weight:700;
}

.tourgo-app-shell .tourgo-ms-empty{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  padding:24px;
  border:1px solid rgba(24,48,79,.08);
  border-radius:18px;
  background:#fff;
  color:var(--tourgo-muted);
  text-align:center;
}

.tourgo-app-shell .tourgo-ms-empty strong{
  color:var(--tourgo-navy);
  font-size:17px;
  font-weight:900;
}

.tourgo-app-shell .tourgo-ms-empty div{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:center;
}

.tourgo-app-shell .tourgo-ms-skeleton-wrap{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.tourgo-app-shell .tourgo-ms-skeleton{
  height:360px;
  border:1px solid rgba(24,48,79,.08);
  border-radius:20px;
  background:#fff;
  overflow:hidden;
}

.tourgo-app-shell .tourgo-ms-skeleton span,
.tourgo-app-shell .tourgo-ms-skeleton b,
.tourgo-app-shell .tourgo-ms-skeleton em{
  display:block;
  border-radius:12px;
  background:linear-gradient(90deg,#f1f4f8,#fff4ec,#f1f4f8);
  background-size:200% 100%;
  animation:tourgoAppPulse 1.2s ease-in-out infinite;
}

.tourgo-app-shell .tourgo-ms-skeleton span{
  width:100%;
  height:190px;
  border-radius:0;
}

.tourgo-app-shell .tourgo-ms-skeleton b,
.tourgo-app-shell .tourgo-ms-skeleton em{
  height:18px;
  margin:16px;
}

.tourgo-app-shell .tourgo-ms-skeleton em{
  width:60%;
  height:12px;
}

.tourgo-app-shell .tourgo-ms-row,
.tourgo-app-shell .tourgo-ms-saved-row{
  display:grid;
  grid-template-columns:58px 1fr auto;
  gap:12px;
  align-items:center;
  padding:12px;
  border:1px solid rgba(24,48,79,.08);
  border-radius:16px;
  background:#fff;
}

.tourgo-app-shell .tourgo-ms-thumb,
.tourgo-app-shell .tourgo-ms-thumb-fallback{
  width:58px;
  height:58px;
  border-radius:12px;
  object-fit:cover;
  background:#f1f4f8;
}

.tourgo-app-shell .tourgo-ms-thumb-fallback{
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--tourgo-orange);
  font-size:12px;
  font-weight:900;
}

.tourgo-app-shell .tourgo-ms-row-title{
  display:block;
  color:var(--tourgo-navy);
  font-size:16px;
  line-height:1.35;
  font-weight:900;
}

.tourgo-app-shell .tourgo-ms-row-meta{
  display:block;
  margin-top:4px;
  color:var(--tourgo-muted);
  font-size:12px;
  line-height:1.35;
}

.tourgo-app-shell .tourgo-ms-row-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.tourgo-app-shell.tourgo-app-size-mini .tourgo-ms-shell,
.tourgo-app-shell.tourgo-app-size-bar .tourgo-ms-shell{
  padding:0;
}

.tourgo-app-shell.tourgo-app-size-mini .tourgo-ms-input-wrap,
.tourgo-app-shell.tourgo-app-size-bar .tourgo-ms-input-wrap{
  border-radius:16px;
  padding:6px;
}

.tourgo-app-shell.tourgo-app-size-mini .tourgo-ms-input,
.tourgo-app-shell.tourgo-app-size-mini .tourgo-ms-submit,
.tourgo-app-shell.tourgo-app-size-mini .tourgo-ms-mic{
  min-height:42px;
}

.tourgo-app-shell.tourgo-app-size-mini .tourgo-ms-mic-text{
  display:none;
}

@media (max-width:1200px){
  .tourgo-app-shell .tourgo-ms-card-grid,
  .tourgo-app-shell .tourgo-ms-skeleton-wrap{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (max-width:920px){
  .tourgo-app-shell .tourgo-ms-card-grid,
  .tourgo-app-shell .tourgo-ms-skeleton-wrap{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .tourgo-app-shell .tourgo-ms-smart-groups{
    grid-template-columns:1fr;
  }
}

@media (max-width:680px){
  .tourgo-app-shell{
    max-width:100%;
    padding-inline:0;
  }
  .tourgo-app-shell.tourgo-app-surface-card .tourgo-ms-shell,
  .tourgo-app-shell.tourgo-app-surface-glass .tourgo-ms-shell{
    padding:16px;
    border-radius:18px;
  }
  .tourgo-app-shell .tourgo-ms-head{
    display:block;
    text-align:center;
  }
  .tourgo-app-shell .tourgo-ms-ai-badge{
    margin:0 auto 10px;
  }
  .tourgo-app-shell .tourgo-ms-input-wrap{
    grid-template-columns:1fr 1fr;
    gap:8px;
  }
  .tourgo-app-shell .tourgo-ms-input{
    grid-column:1 / -1;
    min-height:46px;
  }
  .tourgo-app-shell .tourgo-ms-submit,
  .tourgo-app-shell .tourgo-ms-mic{
    width:100%;
    min-height:46px;
  }
  .tourgo-app-shell .tourgo-ms-prompts,
  .tourgo-app-shell .tourgo-ms-history,
  .tourgo-app-shell .tourgo-ms-info-chips{
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-bottom:4px;
    justify-content:flex-start;
  }
  .tourgo-app-shell .tourgo-ms-card-grid,
  .tourgo-app-shell .tourgo-ms-skeleton-wrap{
    grid-template-columns:1fr;
    gap:14px;
  }
  .tourgo-app-shell .tourgo-ms-card-media{
    height:168px;
    flex-basis:168px;
  }
  .tourgo-app-shell .tourgo-ms-card-body{
    min-height:0;
    padding:14px;
  }
  .tourgo-app-shell .tourgo-ms-card-fields{
    grid-template-columns:1fr;
  }
  .tourgo-app-shell .tourgo-ms-results-head{
    display:block;
    text-align:right;
  }
  .tourgo-app-shell .tourgo-ms-results-head span{
    display:block;
    margin-top:4px;
  }
}

@keyframes tourgoAppPulse{
  0%{background-position:200% 0}
  100%{background-position:-200% 0}
}

@keyframes tourgoAppVoicePulse{
  0%,100%{box-shadow:0 0 0 0 rgba(242,106,33,.18),0 8px 18px rgba(242,106,33,.16)}
  50%{box-shadow:0 0 0 8px rgba(242,106,33,0),0 12px 24px rgba(242,106,33,.22)}
}


/* 2.3.0 Elementor-safe compact redesign
   The homepage shortcode now behaves like a small search component, not a page/section. */
.tourgo-app-shell{
  display:block !important;
  width:100% !important;
  max-width:var(--tourgo-ms-max-width,760px) !important;
  margin-inline:auto !important;
  margin-block:0 !important;
  padding:0 !important;
  direction:rtl !important;
  box-sizing:border-box !important;
  isolation:auto !important;
  overflow:visible !important;
}

.tourgo-app-shell .tourgo-ms-search,
.tourgo-app-shell .tourgo-ms-shell{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 auto !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  min-height:0 !important;
  overflow:visible !important;
}

.tourgo-app-shell.tourgo-app-surface-card .tourgo-ms-shell{
  padding:18px !important;
  background:rgba(255,255,255,.94) !important;
  border:1px solid rgba(24,48,79,.10) !important;
  border-radius:22px !important;
  box-shadow:0 12px 32px rgba(24,48,79,.12) !important;
}

/* Default hero/bar UI: one clean line. No large card. No Elementor takeover. */
.tourgo-app-shell.tourgo-app-size-bar .tourgo-ms-head,
.tourgo-app-shell.tourgo-app-size-mini .tourgo-ms-head,
.tourgo-app-shell.tourgo-app-size-bar .tourgo-ms-prompts,
.tourgo-app-shell.tourgo-app-size-mini .tourgo-ms-prompts,
.tourgo-app-shell.tourgo-app-size-bar .tourgo-ms-smart-groups,
.tourgo-app-shell.tourgo-app-size-mini .tourgo-ms-smart-groups,
.tourgo-app-shell.tourgo-app-size-bar .tourgo-ms-difference,
.tourgo-app-shell.tourgo-app-size-mini .tourgo-ms-difference{
  display:none !important;
}

.tourgo-app-shell.tourgo-app-size-bar .tourgo-ms-input-wrap,
.tourgo-app-shell.tourgo-app-size-mini .tourgo-ms-input-wrap{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  gap:8px !important;
  width:100% !important;
  min-height:56px !important;
  padding:6px !important;
  border-radius:999px !important;
  border:1px solid rgba(255,255,255,.65) !important;
  background:rgba(255,255,255,.92) !important;
  box-shadow:0 8px 22px rgba(24,48,79,.10) !important;
  backdrop-filter:blur(8px) !important;
  -webkit-backdrop-filter:blur(8px) !important;
}

.tourgo-app-shell.tourgo-app-surface-transparent.tourgo-app-size-bar .tourgo-ms-input-wrap,
.tourgo-app-shell.tourgo-app-surface-transparent.tourgo-app-size-mini .tourgo-ms-input-wrap{
  background:rgba(255,255,255,.88) !important;
}

.tourgo-app-shell.tourgo-app-size-bar .tourgo-ms-input,
.tourgo-app-shell.tourgo-app-size-mini .tourgo-ms-input{
  flex:1 1 auto !important;
  min-width:0 !important;
  width:auto !important;
  height:46px !important;
  min-height:46px !important;
  padding:0 16px !important;
  border:0 !important;
  border-radius:999px !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#18304f !important;
  font-size:16px !important;
  font-weight:800 !important;
  text-align:right !important;
  outline:none !important;
}

.tourgo-app-shell.tourgo-app-size-bar .tourgo-ms-input::placeholder,
.tourgo-app-shell.tourgo-app-size-mini .tourgo-ms-input::placeholder{
  color:#7a8595 !important;
  font-weight:700 !important;
}

.tourgo-app-shell.tourgo-app-size-bar .tourgo-ms-mic,
.tourgo-app-shell.tourgo-app-size-mini .tourgo-ms-mic{
  flex:0 0 44px !important;
  width:44px !important;
  min-width:44px !important;
  height:44px !important;
  min-height:44px !important;
  padding:0 !important;
  border-radius:999px !important;
  border:1px solid rgba(242,106,33,.25) !important;
  background:#fff7ed !important;
  color:#c2410c !important;
  box-shadow:none !important;
}

.tourgo-app-shell.tourgo-app-size-bar .tourgo-ms-mic-text,
.tourgo-app-shell.tourgo-app-size-mini .tourgo-ms-mic-text{
  display:none !important;
}

.tourgo-app-shell.tourgo-app-size-bar .tourgo-ms-mic-icon,
.tourgo-app-shell.tourgo-app-size-mini .tourgo-ms-mic-icon{
  font-size:18px !important;
}

.tourgo-app-shell.tourgo-app-size-bar .tourgo-ms-submit,
.tourgo-app-shell.tourgo-app-size-mini .tourgo-ms-submit{
  flex:0 0 auto !important;
  width:auto !important;
  min-width:86px !important;
  height:44px !important;
  min-height:44px !important;
  padding:0 18px !important;
  border-radius:999px !important;
  border:0 !important;
  background:#f26a21 !important;
  color:#fff !important;
  font-size:14px !important;
  font-weight:900 !important;
  box-shadow:none !important;
}

.tourgo-app-shell.tourgo-app-size-bar .tourgo-ms-submit:hover,
.tourgo-app-shell.tourgo-app-size-mini .tourgo-ms-submit:hover{
  background:#d95711 !important;
  transform:none !important;
}

/* Compact status and results; results remain inside the shortcode container. */
.tourgo-app-shell.tourgo-app-size-bar .tourgo-ms-status,
.tourgo-app-shell.tourgo-app-size-mini .tourgo-ms-status{
  margin-top:8px !important;
  min-height:0 !important;
  font-size:12px !important;
  color:#5f6b7a !important;
  text-align:center !important;
}

.tourgo-app-shell .tourgo-ms-results{
  display:none;
  margin-top:14px !important;
}

.tourgo-app-shell .tourgo-ms-results.has-results{
  display:block !important;
}

/* Equal aesthetic cards */
.tourgo-app-shell .tourgo-ms-card-grid{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:18px !important;
  align-items:stretch !important;
}

.tourgo-app-shell .tourgo-ms-card{
  height:100% !important;
  border-radius:20px !important;
  overflow:hidden !important;
  background:#fff !important;
  box-shadow:0 10px 28px rgba(24,48,79,.10) !important;
}

.tourgo-app-shell .tourgo-ms-card-media{
  height:178px !important;
  flex:0 0 178px !important;
}

.tourgo-app-shell .tourgo-ms-card-body{
  min-height:230px !important;
  display:flex !important;
  flex-direction:column !important;
}

.tourgo-app-shell .tourgo-ms-card-title{
  font-size:18px !important;
  line-height:1.35 !important;
  min-height:48px !important;
}

.tourgo-app-shell .tourgo-ms-card-primary{
  width:100% !important;
  background:#f26a21 !important;
  color:#fff !important;
  border-radius:999px !important;
  box-shadow:none !important;
}

/* Full card mode can show the designed explanation block, but still scoped and contained. */
.tourgo-app-shell.tourgo-app-size-card .tourgo-ms-shell{
  padding:24px !important;
}

.tourgo-app-shell.tourgo-app-size-card.tourgo-app-surface-transparent .tourgo-ms-shell{
  background:rgba(255,255,255,.72) !important;
  border:1px solid rgba(255,255,255,.55) !important;
  box-shadow:0 16px 38px rgba(24,48,79,.10) !important;
  backdrop-filter:blur(10px) !important;
  -webkit-backdrop-filter:blur(10px) !important;
}

@media (max-width:1100px){
  .tourgo-app-shell .tourgo-ms-card-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}

@media (max-width:860px){
  .tourgo-app-shell .tourgo-ms-card-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

@media (max-width:560px){
  .tourgo-app-shell.tourgo-app-size-bar .tourgo-ms-input-wrap,
  .tourgo-app-shell.tourgo-app-size-mini .tourgo-ms-input-wrap{
    flex-wrap:wrap !important;
    border-radius:20px !important;
    padding:8px !important;
  }
  .tourgo-app-shell.tourgo-app-size-bar .tourgo-ms-input,
  .tourgo-app-shell.tourgo-app-size-mini .tourgo-ms-input{
    flex:1 1 100% !important;
    width:100% !important;
  }
  .tourgo-app-shell.tourgo-app-size-bar .tourgo-ms-submit,
  .tourgo-app-shell.tourgo-app-size-mini .tourgo-ms-submit{
    flex:1 1 auto !important;
    width:auto !important;
  }
  .tourgo-app-shell .tourgo-ms-card-grid{
    grid-template-columns:1fr !important;
  }
}
