:root {
  --ink: #071525;
  --muted: #6c7378;
  --line: #e2e8f0;
  --surface: #ffffff;
  --soft: #f7f9fc;
  --brand: #0070e0;
  --brand-dark: #071525;
  --brand-blue: #071525;
  --green: #0070e0;
  --leaf: #009cde;
  --gold: #b8832f;
  --danger: #b42318;
}

html {
  scroll-behavior: smooth;
}

body.clearshelf-theme {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 34%, #f7f9fc 100%) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.clearshelf-theme a {
  color: inherit;
  text-decoration: none;
}

.clearshelf-site-header,
.clearshelf-theme .site-header,
.clearshelf-theme .glass,
.clearshelf-theme header.sticky,
.clearshelf-theme .header {
  background: rgba(255, 255, 255, .92) !important;
  border-bottom: 1px solid rgba(217, 228, 214, .92) !important;
  backdrop-filter: blur(14px);
  box-shadow: none !important;
}

.clearshelf-nav {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.clearshelf-brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--ink) !important;
  font-weight: 800;
}

.clearshelf-brand-mark,
.clearshelf-theme .logo-mark,
.clearshelf-theme .brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-blue), var(--green)) !important;
  color: #fff !important;
  font-weight: 800;
  letter-spacing: -.04em;
  box-shadow: 0 10px 24px rgba(0, 112, 224, .2);
  flex: 0 0 auto;
}

.clearshelf-theme .brand img,
.clearshelf-theme header img[src*="logo"],
.clearshelf-logo-img {
  display: inline-block;
  height: 52px;
  width: auto;
  object-fit: contain;
}

.clearshelf-theme .nav-link,
.clearshelf-theme .menu a,
.clearshelf-theme header a:not(.button-primary):not(.button-secondary):not(.btn),
.clearshelf-theme .header a {
  color: #2c2e2f;
  font-weight: 700;
}

.clearshelf-theme .nav-link:hover,
.clearshelf-theme .menu a:hover,
.clearshelf-theme header a:hover {
  color: var(--brand);
  text-decoration: none;
}

.clearshelf-theme main,
.clearshelf-theme .container {
  color: var(--ink);
}

.clearshelf-theme .page-hero {
  padding: 4.5rem 1.25rem 2.5rem;
}

.clearshelf-theme .page-hero-inner {
  max-width: 70rem;
  margin: 0 auto;
  text-align: center;
}

.clearshelf-theme .section-kicker {
  color: var(--brand);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.clearshelf-theme .panel,
.clearshelf-theme .card,
.clearshelf-theme .glass-panel,
.clearshelf-theme .qcard,
.clearshelf-theme .final,
.clearshelf-theme form.card,
.clearshelf-theme .modal-content {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 30px rgba(23, 32, 51, .06) !important;
  color: var(--ink) !important;
}

.clearshelf-theme .panel h1,
.clearshelf-theme .panel h2,
.clearshelf-theme .panel h3,
.clearshelf-theme .card h1,
.clearshelf-theme .card h2,
.clearshelf-theme .card h3,
.clearshelf-theme .qcard h2,
.clearshelf-theme .final h2 {
  color: var(--ink) !important;
}

.clearshelf-theme .panel p,
.clearshelf-theme .panel li,
.clearshelf-theme .card p,
.clearshelf-theme .card li,
.clearshelf-theme .final p,
.clearshelf-theme .qcard p {
  color: var(--muted) !important;
}

.clearshelf-theme .panel strong,
.clearshelf-theme .card strong {
  color: var(--ink);
}

.clearshelf-theme .panel h3,
.clearshelf-theme .card h3 {
  border-color: var(--line) !important;
}

.clearshelf-theme .input,
.clearshelf-theme .field,
.clearshelf-theme input,
.clearshelf-theme textarea,
.clearshelf-theme select {
  border-radius: 8px !important;
  border: 1px solid var(--line) !important;
  background: #fff !important;
  color: var(--ink) !important;
  outline: none;
}

.clearshelf-theme .input:focus,
.clearshelf-theme .field:focus,
.clearshelf-theme input:focus,
.clearshelf-theme textarea:focus,
.clearshelf-theme select:focus {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 4px rgba(0, 112, 224, .14) !important;
}

.clearshelf-theme .btn,
.clearshelf-theme .cta,
.clearshelf-theme button[type="submit"],
.clearshelf-theme .button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px !important;
  border: 0 !important;
  background: var(--brand) !important;
  color: #fff !important;
  font-weight: 800 !important;
  box-shadow: 0 14px 30px rgba(0, 112, 224, .22);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.clearshelf-theme .btn:hover,
.clearshelf-theme .cta:hover,
.clearshelf-theme button[type="submit"]:hover,
.clearshelf-theme .button-primary:hover {
  background: var(--brand-dark) !important;
  color: #fff !important;
  box-shadow: 0 16px 34px rgba(7, 21, 37, .2);
  transform: translateY(-1px);
  text-decoration: none;
}

.clearshelf-theme .button-secondary,
.clearshelf-theme button[type="button"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px !important;
  border: 1px solid var(--line) !important;
  background: #fff !important;
  color: var(--brand-dark) !important;
  font-weight: 800 !important;
}

.clearshelf-theme .warning,
.clearshelf-theme .notice {
  background: #fff8e6 !important;
  border: 1px solid #f3d38b !important;
  color: #7a4a04 !important;
  border-radius: 8px !important;
}

.clearshelf-theme .error,
.clearshelf-theme .status.error {
  background: #fff1f0 !important;
  border: 1px solid #ffccc7 !important;
  color: var(--danger) !important;
  border-radius: 8px !important;
}

.clearshelf-theme .progress-bar {
  background: #e7eee4 !important;
}

.clearshelf-theme .progress-fill {
  background: var(--brand) !important;
}

.clearshelf-theme .option {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  color: var(--ink) !important;
}

.clearshelf-theme .pill,
.clearshelf-theme .badge,
.clearshelf-theme .slot,
.clearshelf-theme .day label.day-toggle {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  color: #2c2e2f !important;
}

.clearshelf-theme .day input[name="days"]:checked + label.day-toggle,
.clearshelf-theme .slot.selected {
  outline: 2px solid rgba(0, 112, 224, .55) !important;
  background: #e7f0fd !important;
  color: var(--brand-dark) !important;
}

.clearshelf-theme .slots,
.clearshelf-theme .scrollbox,
.clearshelf-theme pre {
  background: #f7f9fc !important;
  border: 1px solid var(--line) !important;
  color: #2c2e2f !important;
}

.clearshelf-theme .modal-overlay {
  background: rgba(15, 23, 42, .42) !important;
}

.clearshelf-theme .option:hover {
  border-color: rgba(0, 112, 224, .45) !important;
  box-shadow: 0 8px 22px rgba(23, 32, 51, .06);
}

.clearshelf-theme .option span {
  color: #2c2e2f !important;
}

.clearshelf-theme .option input[type="radio"]:checked + span {
  color: var(--brand-dark) !important;
}

.clearshelf-theme footer,
.clearshelf-footer {
  border-top: 1px solid var(--brand-blue) !important;
  background: var(--brand-blue) !important;
  color: #cbd5e1 !important;
  padding: 2rem 1.25rem;
  text-align: center;
}

.clearshelf-theme footer p,
.clearshelf-footer p {
  color: #cbd5e1 !important;
}

.clearshelf-theme .bg-blue-600,
.clearshelf-theme .bg-sky-600,
.clearshelf-theme .bg-emerald-600,
.clearshelf-theme .bg-indigo-600 {
  background-color: var(--brand) !important;
}

.clearshelf-theme .hover\:bg-blue-700:hover,
.clearshelf-theme .hover\:bg-sky-700:hover,
.clearshelf-theme .hover\:bg-emerald-700:hover,
.clearshelf-theme .hover\:bg-indigo-700:hover {
  background-color: var(--brand-dark) !important;
}

.clearshelf-theme .text-blue-600,
.clearshelf-theme .text-sky-600,
.clearshelf-theme .text-emerald-700,
.clearshelf-theme .text-indigo-600 {
  color: var(--brand) !important;
}

.clearshelf-theme .bg-slate-950,
.clearshelf-theme .bg-slate-900 {
  background-color: var(--brand-blue) !important;
}

@media (max-width: 720px) {
  .clearshelf-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .clearshelf-theme header .menu,
  .clearshelf-theme .header nav {
    flex-wrap: wrap;
  }
}

/* ============================================================
   Clear Shelf — PayPal-inspired polish (appended overrides)
   ============================================================ */
:root {
  --brand: #0070e0;
  --brand-press: #003087;
  --brand-deep: #001c64;
  --ink: #2c2e2f;
  --muted: #6c7378;
  --line: #e2e8f0;
  --soft: #f7f9fc;
}

body.clearshelf-theme {
  background: #ffffff !important;
  color: var(--ink);
}

/* Pill-shaped buttons — the PayPal signature */
.clearshelf-theme .btn,
.clearshelf-theme .cta,
.clearshelf-theme button[type="submit"],
.clearshelf-theme .button-primary {
  border-radius: 999px !important;
  background: var(--brand) !important;
  box-shadow: 0 10px 22px rgba(0, 112, 224, .22) !important;
  padding-inline: 1.6rem;
  font-weight: 700 !important;
  letter-spacing: .01em;
}
.clearshelf-theme .btn:hover,
.clearshelf-theme .cta:hover,
.clearshelf-theme button[type="submit"]:hover,
.clearshelf-theme .button-primary:hover {
  background: var(--brand-press) !important;
  box-shadow: 0 12px 26px rgba(0, 28, 100, .26) !important;
}
.clearshelf-theme .button-secondary,
.clearshelf-theme button[type="button"] {
  border-radius: 999px !important;
  border: 1.5px solid var(--brand) !important;
  color: var(--brand-press) !important;
  background: #fff !important;
  padding-inline: 1.5rem;
}
.clearshelf-theme .button-secondary:hover {
  background: #f0f6ff !important;
  border-color: var(--brand-press) !important;
}

/* Softer, cleaner cards */
.clearshelf-theme .panel,
.clearshelf-theme .card,
.clearshelf-theme .glass-panel,
.clearshelf-theme .qcard,
.clearshelf-theme .final,
.clearshelf-theme form.card,
.clearshelf-theme .service-card,
.clearshelf-theme .benefit-card,
.clearshelf-theme .modal-content {
  border-radius: 16px !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 8px 30px rgba(13, 20, 33, .06) !important;
}

/* Inputs: rounded, blue focus */
.clearshelf-theme .input,
.clearshelf-theme .field,
.clearshelf-theme input,
.clearshelf-theme textarea,
.clearshelf-theme select {
  border-radius: 10px !important;
}
.clearshelf-theme .input:focus,
.clearshelf-theme .field:focus,
.clearshelf-theme input:focus,
.clearshelf-theme textarea:focus,
.clearshelf-theme select:focus {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 3px rgba(0, 112, 224, .16) !important;
}

/* Header: crisp white with subtle divider */
.clearshelf-site-header,
.clearshelf-theme .site-header,
.clearshelf-theme header.sticky,
.clearshelf-theme .header {
  background: rgba(255,255,255,.94) !important;
  border-bottom: 1px solid #eaeef3 !important;
}

/* Brand mark tile gradient (deep navy -> PayPal blue) */
.clearshelf-brand-mark,
.clearshelf-theme .brand-mark,
.clearshelf-theme .logo-mark {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand)) !important;
  border-radius: 12px !important;
}

/* Footer: deep PayPal navy */
.clearshelf-theme footer,
.clearshelf-footer {
  background: var(--brand-deep) !important;
  border-top: 0 !important;
  color: #c7d2e6 !important;
}
.clearshelf-theme footer a:hover { color: #fff !important; }

/* Section kickers & accent text in brand blue */
.clearshelf-theme .section-kicker { color: var(--brand) !important; }

/* Icon badges to light blue */
.clearshelf-theme .icon-badge { background: #e7f0fd !important; color: var(--brand) !important; }
