:root {
  --demo-primary: #6366f1;
  --demo-secondary: #0891b2;
  --color-1: #6366f1;
  --color-2: #0891b2;
}

.demo-enabled {
  padding-top: 58px;
}

html.demo-preload body {
  opacity: 0;
}

body.demo-enabled {
  --demo-page-top: #f4f1ff;
  --demo-page-bottom: #e7f2ff;
  --demo-surface: rgba(255, 255, 255, 0.9);
  --demo-text: #0f172a;
  --demo-muted: #64748b;
  --demo-block-border: rgba(99, 102, 241, 0.32);

  background:
    radial-gradient(circle at 10% -10%, color-mix(in srgb, var(--demo-primary) 24%, transparent), transparent 42%),
    radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--demo-secondary) 18%, transparent), transparent 40%),
    linear-gradient(180deg, var(--demo-page-top) 0%, var(--demo-page-bottom) 100%);
  color: var(--demo-text);
  font-family: 'Poppins', sans-serif;
}

body.demo-enabled main,
body.demo-enabled .section-card,
body.demo-enabled form,
body.demo-enabled .popup-content {
  background-color: transparent;
  opacity: 1;
}

body.demo-enabled .text-container,
body.demo-enabled .h3-container,
body.demo-enabled .profile-container,
body.demo-enabled .card {
  background: var(--demo-surface);
  opacity: 1;
  border: 1px solid var(--demo-block-border);
  border-radius: 14px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

body.demo-enabled .profile-container {
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 20px;
}

body.demo-enabled .profile-img.profile-img-person {
  width: clamp(170px, 24vw, 250px);
  max-width: 250px;
  min-width: 160px;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.55);
  border-radius: 18px;
  padding: 0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

body.demo-enabled .text-container {
  width: min(620px, 100%);
  margin: 0;
}

body.demo-enabled .text-container p {
  margin: 0;
}

body.demo-enabled nav,
body.demo-enabled .responsive-nav,
body.demo-enabled footer,
body.demo-enabled .panel-nav {
  background-color: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.22);
  backdrop-filter: blur(8px);
}

body.demo-enabled header {
  background: transparent;
}

body.demo-enabled nav {
  width: min(92%, 1100px);
  margin: 14px auto 0;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

body.demo-enabled .responsive-nav {
  width: min(92%, 760px);
  margin: 14px auto 0;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

body.demo-enabled h1,
body.demo-enabled h2,
body.demo-enabled h3,
body.demo-enabled h4,
body.demo-enabled p {
  color: var(--demo-text);
}

body.demo-enabled h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 5vw, 3.1rem);
  letter-spacing: 0;
  margin-top: 0.5rem;
}

body.demo-enabled h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  letter-spacing: 0;
}

body.demo-enabled h3 {
  font-size: clamp(1.04rem, 2vw, 1.36rem);
}

body.demo-enabled .subtitle {
  color: #4338ca;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.03em;
  font-size: clamp(1.08rem, 2.4vw, 1.75rem);
}

body.demo-enabled .card.color-1 {
  background: linear-gradient(140deg, #4f46e5, #0891b2);
  color: #ffffff;
}

body.demo-enabled .card.color-1 p,
body.demo-enabled .card.color-1 strong,
body.demo-enabled .card.color-1 .prices-hint {
  color: #ffffff;
}

body.demo-enabled .card.color-1 button {
  background: #0b122d;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
}

body.demo-enabled .panel-content h1 {
  color: var(--demo-text);
}

body.demo-enabled .panel-brand,
body.demo-enabled .panel-nav-links button,
body.demo-enabled footer p,
body.demo-enabled .correo-send {
  color: #0f172a;
}

body.demo-enabled .text-container p,
body.demo-enabled .h3-container p,
body.demo-enabled .plan-description {
  font-size: clamp(0.96rem, 1.2vw, 1.08rem);
  line-height: 1.65;
}

body.demo-enabled .demo-edit-hint {
  margin: 0 auto 12px;
  width: min(900px, 96%);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px dashed #c7d2fe;
  background: #312e81;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 600;
  text-align: center;
}

body.demo-enabled main {
  background: transparent !important;
  box-shadow: none !important;
  margin-top: 0;
  padding: 16px 18px;
}

body.demo-enabled .title-div {
  margin: 2rem 0 2.6rem;
}

body.demo-enabled nav ul a {
  color: #334155;
  font-weight: 600;
}

body.demo-enabled nav ul a:hover {
  color: #4338ca;
}

body.demo-enabled .responsive-menu {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  margin-top: 8px;
  padding: 6px;
  gap: 4px;
}

body.demo-enabled .responsive-menu li {
  margin: 0;
  padding: 0;
}

body.demo-enabled .responsive-menu a {
  color: #1e293b;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 8px;
  padding: 10px 12px;
}

body.demo-enabled .responsive-menu a:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #4f46e5 0%, #0891b2 100%);
}

body.demo-enabled .menu-icon {
  color: #4338ca;
}

body.demo-enabled .card.color-1 .reservar,
body.demo-enabled .btn-next {
  background: linear-gradient(135deg, #4f46e5 0%, #0891b2 100%);
  color: #fff;
}

body.demo-enabled .card.color-1 .reservar:hover,
body.demo-enabled .btn-next:hover {
  filter: brightness(1.07);
}

body.demo-enabled .popup-content {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.16);
}

body.demo-enabled .popup-input,
body.demo-enabled .popup-select,
body.demo-enabled .phone-row select,
body.demo-enabled .phone-row input,
body.demo-enabled .summary-box,
body.demo-enabled .price-info-box {
  background: rgba(255, 255, 255, 0.96);
  color: #111827;
}

body.demo-enabled .popup-input::placeholder,
body.demo-enabled .phone-row input::placeholder {
  color: #6b7280;
}

body.demo-enabled .h3-container,
body.demo-enabled .text-container,
body.demo-enabled .card {
  width: min(980px, 100%);
  margin-left: auto;
  margin-right: auto;
}

body.demo-enabled .h3-container {
  padding: 18px 20px;
}

body.demo-theme-switching *,
body.demo-theme-switching *::before,
body.demo-theme-switching *::after {
  transition: none !important;
  animation: none !important;
}

.demo-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.demo-topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.demo-topbar-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.demo-topbar-status .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
}

.demo-topbar-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  background: #eef2ff;
  border-radius: 8px;
  padding: 3px;
}

.demo-topbar-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.demo-topbar button {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.8rem;
  cursor: pointer;
}

.demo-topbar button.active {
  background: var(--demo-primary);
  border-color: var(--demo-primary);
  color: #ffffff;
}

.demo-topbar .demo-tour-btn {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #1c1917;
  font-weight: 600;
}
.demo-topbar .demo-tour-btn:hover {
  background: #d97706;
  border-color: #d97706;
}

.demo-topbar .demo-customize-btn {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
  font-weight: 700;
}
.demo-topbar .demo-customize-btn:hover {
  filter: brightness(1.1);
}



.demo-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.35);
}

.demo-drawer-overlay.open {
  display: block;
}



.demo-drawer {
  position: fixed;
  top: 0;
  right: -370px;
  width: min(92vw, 360px);
  height: 100vh;
  background: #ffffff;
  color: #0f172a;
  box-shadow: -12px 0 28px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  padding: 18px 16px 24px;
  transition: right 0.25s ease;
  overflow-y: auto;
}

.demo-drawer.open {
  right: 0;
}

.demo-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.demo-drawer-header h3 {
  margin: 0;
  font-size: 1.05rem;
}

.demo-drawer-close {
  border: none;
  background: transparent;
  color: var(--demo-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 8px;
}

.demo-logo-preview {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  background: var(--demo-primary);
  margin-bottom: 12px;
}

.demo-drawer label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin: 10px 0 4px;
}

.demo-drawer input,
.demo-drawer select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.88rem;
  padding: 9px 10px;
  background: #fff;
  color: #0f172a;
}

.demo-drawer-actions {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.demo-drawer-actions button {
  border: none;
  border-radius: 8px;
  padding: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

#demo-apply-btn {
  background: var(--demo-primary);
  color: #fff;
}

#demo-reset-btn {
  background: #e2e8f0;
  color: #0f172a;
}

.demo-drawer-note {
  margin-top: 8px;
  font-size: 0.76rem;
  color: var(--demo-muted);
}

.demo-drawer-note-strong {
  padding: 10px 12px;
  border: 1px solid rgba(102, 126, 234, 0.35);
  border-radius: 10px;
  background: #eef2ff;
  color: #334155;
  line-height: 1.45;
}

.demo-drawer-toast {
  position: sticky;
  bottom: 10px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  background: #dbeafe;
  border: 1px solid #93c5fd;
  color: #0f172a;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.demo-drawer-toast.show {
  opacity: 1;
  transform: translateY(0);
}



.driver-overlay        { z-index: 100000 !important; }
.driver-active-element { z-index: 100001 !important; }
.driver-popover        { z-index: 100002 !important; }

body.driver-active { overflow-y: scroll !important; }

.demo-tour-popover {
  background: #ffffff !important;
  border-radius: 10px !important;
  padding: 20px 22px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22) !important;
  min-width: 280px !important;
  max-width: 340px !important;
  width: min(340px, calc(100vw - 24px)) !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: min(380px, calc(100vh - 28px)) !important;
  display: block !important;
  overflow-y: auto !important;
}

.demo-tour-popover .driver-popover-title {
  color: #111827 !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
  text-shadow: none !important;
  position: static !important;
  min-height: 0 !important;
}

.demo-tour-popover .driver-popover-description {
  color: #111827 !important;
  font-size: 0.875rem !important;
  line-height: 1.55 !important;
  text-shadow: none !important;
  position: static !important;
  min-height: 0 !important;
  margin: 0 !important;
  flex: none !important;
}

.demo-tour-popover .driver-popover-footer {
  position: static !important;
  background: transparent !important;
  border-top: 1px solid #e5e7eb !important;
  margin-top: 14px !important;
  padding-top: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.demo-tour-popover .driver-popover-progress-text {
  color: #6b7280 !important;
  font-size: 0.78rem !important;
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: inline !important;
}

.demo-tour-popover .driver-popover-next-btn {
  background: #4f46e5 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 6px 14px !important;
  font-size: 0.83rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  text-shadow: none !important;
}
.demo-tour-popover .driver-popover-next-btn:hover {
  background: #4338ca !important;
}

.demo-tour-popover .driver-popover-prev-btn {
  background: transparent !important;
  color: #6b7280 !important;
  border: 1px solid #d1d5db !important;
  border-radius: 6px !important;
  padding: 6px 12px !important;
  font-size: 0.83rem !important;
  cursor: pointer !important;
  text-shadow: none !important;
}
.demo-tour-popover .driver-popover-prev-btn:hover {
  background: #f9fafb !important;
  color: #374151 !important;
}

.demo-tour-popover .driver-popover-close-btn {
  color: #6b7280 !important;
  background: transparent !important;
  border: none !important;
  font-size: 1.1rem !important;
  line-height: 1 !important;
  cursor: pointer !important;
}
.demo-tour-popover .driver-popover-close-btn:hover {
  color: #111827 !important;
}

.demo-tour-popover .driver-popover-arrow-side-left.driver-popover-arrow   { border-right-color: #ffffff !important; }
.demo-tour-popover .driver-popover-arrow-side-right.driver-popover-arrow  { border-left-color: #ffffff !important; }
.demo-tour-popover .driver-popover-arrow-side-top.driver-popover-arrow    { border-bottom-color: #ffffff !important; }
.demo-tour-popover .driver-popover-arrow-side-bottom.driver-popover-arrow { border-top-color: #ffffff !important; }

@media (max-width: 700px) {
  .demo-topbar {
    height: auto;
    flex-wrap: wrap;
    padding: 8px 10px;
    gap: 6px;
  }

  .demo-enabled {
    padding-top: 98px;
  }

  .demo-topbar-left {
    flex: 1;
  }

  .demo-topbar-actions {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: nowrap;
  }

  .demo-topbar-actions button {
    flex: 0 0 auto;
    min-width: 92px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .demo-topbar-right {
    flex-shrink: 0;
  }

  body.demo-enabled .profile-container {
    flex-direction: column;
    gap: 14px;
    padding: 14px;
  }

  body.demo-enabled .profile-img.profile-img-person {
    width: clamp(150px, 46vw, 210px);
  }
}
