/*
 * chaojiaikun.com visual, accessibility and responsive optimization layer.
 * Loaded after the original RiPro styles so the legacy theme remains upgradable.
 */
:root {
  --cj-brand: #d63f0d;
  --cj-brand-dark: #a9340b;
  --cj-accent: #2563eb;
  --cj-ink: #0f172a;
  --cj-muted: #64748b;
  --cj-line: #e2e8f0;
  --cj-surface: #ffffff;
  --cj-bg: #f6f8fc;
  --cj-success: #0f9f6e;
  --cj-radius-sm: 10px;
  --cj-radius: 16px;
  --cj-radius-lg: 24px;
  --cj-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  --cj-shadow-hover: 0 20px 50px rgba(15, 23, 42, 0.14);
  --cj-focus: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--cj-ink);
  background: var(--cj-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  line-height: 1.65;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
[role="button"] {
  cursor: pointer;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--cj-accent);
  outline-offset: 3px;
  box-shadow: var(--cj-focus);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cj-skip-link {
  position: fixed;
  z-index: 100000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--cj-ink);
  border-radius: var(--cj-radius-sm);
  transform: translateY(-180%);
}

.cj-skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1180px, calc(100% - 40px));
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 5px 24px rgba(15, 23, 42, 0.05);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.site-header .navbar {
  min-height: 72px;
}

.site-header .logo img {
  max-height: 42px;
  width: auto;
}

.site-header .logo.text {
  color: var(--cj-ink);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.nav-list > li > a {
  color: #334155;
  font-weight: 600;
}

.nav-list > li.current-menu-item > a,
.nav-list > li > a:hover {
  color: var(--cj-brand);
}

.navbar-button,
.burger {
  min-width: 40px;
  min-height: 40px;
  padding: 7px 10px;
  color: #334155;
  background: transparent;
  border: 0;
  border-radius: 12px;
}

.navbar-button:hover,
.burger:hover {
  color: var(--cj-brand);
  background: #fff1eb;
}

.login-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-inline: 14px;
  color: #fff;
  background: var(--cj-brand);
}

.login-btn:hover {
  color: #fff;
  background: var(--cj-brand-dark);
}

.header-gap {
  height: 72px;
}

.main-search {
  background: rgba(255, 255, 255, 0.98);
}

.search-form .search-field,
.home_search_input {
  color: var(--cj-ink);
  background: #fff;
  border: 1px solid var(--cj-line);
  border-radius: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-form .search-field:focus,
.home_search_input:focus {
  border-color: var(--cj-accent);
  box-shadow: var(--cj-focus);
}

.home-filter--content {
  position: relative;
  min-height: 510px;
  padding: 108px 0 72px;
  overflow: hidden;
  color: #fff;
  background-color: #0b1329;
  background-position: center;
  background-size: cover;
}

.home-filter--content::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 74% 20%, rgba(37, 99, 235, 0.42), transparent 38%),
    radial-gradient(circle at 18% 90%, rgba(255, 90, 42, 0.32), transparent 34%),
    linear-gradient(110deg, rgba(8, 15, 35, 0.96), rgba(15, 23, 42, 0.78));
}

.home-filter--content > .container {
  position: relative;
  z-index: 1;
}

.cj-hero-eyebrow {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 6px 12px;
  color: #dbeafe;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(37, 99, 235, 0.22);
  border: 1px solid rgba(147, 197, 253, 0.28);
  border-radius: 999px;
}

.focusbox-title {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 850;
  line-height: 1.14;
  letter-spacing: -0.045em;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
}

.focusbox-desc {
  max-width: 690px;
  margin: 18px 0 30px;
  color: #dbe4f2;
  font-size: clamp(16px, 2vw, 19px);
}

.home-filter--content .form-box {
  max-width: 760px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.home-filter--content .form-group,
.home-filter--content .row {
  margin-bottom: 0;
}

.home-filter--content .home_search_input {
  min-height: 54px;
  padding-inline: 18px;
}

.home-filter--content .btn {
  min-height: 54px;
  color: #fff;
  font-weight: 750;
  background: linear-gradient(135deg, var(--cj-brand), #b9380d);
  border: 0;
  border-radius: 13px;
  box-shadow: 0 10px 24px rgba(255, 90, 42, 0.3);
}

.home-filter--content .btn:hover {
  background: linear-gradient(135deg, var(--cj-brand-dark), var(--cj-brand));
  transform: translateY(-1px);
}

.cj-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 840px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.cj-trust-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
  font-size: 13px;
}

.cj-trust-list i {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  font-size: 19px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.cj-trust-list strong {
  display: block;
  color: #fff;
  font-size: 14px;
}

.section {
  padding-block: 54px;
}

.bgcolor-fff,
.cj-dynamic-tabs-section {
  background: var(--cj-bg) !important;
}

.section-title,
.module-title,
.category-header h3 {
  color: var(--cj-ink);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.posts-wrapper > [class*="col-"],
.posts-wrapper .post {
  margin-bottom: 24px;
}

.posts-wrapper .post,
.article-content,
.widget,
.shop-widget,
.module:not(.slider) {
  border-color: var(--cj-line);
  border-radius: var(--cj-radius);
}

.posts-wrapper .post {
  overflow: hidden;
  background: var(--cj-surface);
  box-shadow: 0 7px 26px rgba(15, 23, 42, 0.065);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.posts-wrapper .post:hover {
  transform: translateY(-4px);
  box-shadow: var(--cj-shadow-hover);
}

.posts-wrapper .entry-media,
.posts-wrapper .entry-media img {
  overflow: hidden;
  border-radius: var(--cj-radius) var(--cj-radius) 0 0;
}

.posts-wrapper .entry-media img {
  transition: transform 0.4s ease;
}

.posts-wrapper .post:hover .entry-media img {
  transform: scale(1.025);
}

.entry-title {
  color: var(--cj-ink);
  line-height: 1.5;
}

.entry-title a:hover {
  color: var(--cj-brand);
}

.entry-meta,
.entry-excerpt,
.meta-category {
  color: var(--cj-muted);
}

.button,
.btn,
button[type="submit"],
input[type="submit"] {
  border-radius: var(--cj-radius-sm);
}

.button:not(.transparent),
.btn-primary {
  color: #fff;
  background-color: var(--cj-brand);
  border-color: var(--cj-brand);
}

.button:not(.transparent):hover,
.btn-primary:hover {
  color: #fff;
  background-color: var(--cj-brand-dark);
  border-color: var(--cj-brand-dark);
}

.cj-tab-header {
  margin-bottom: 25px;
  background: transparent;
}

.cj-tab-title-list {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  background: #e9eef7;
  border-radius: 14px;
}

.cj-tab-button {
  min-height: 42px;
  padding: 8px 18px;
  color: #475569;
  font-weight: 700;
  background: transparent;
  border: 0;
  border-radius: 10px;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.cj-tab-button:hover {
  color: var(--cj-ink);
}

.cj-tab-button.selected,
.cj-tab-button[aria-selected="true"] {
  color: var(--cj-brand);
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.09);
}

.cj-tab-panel[hidden],
.hide-code:not(.show) {
  display: none !important;
}

.cj-tab-description {
  max-width: 780px;
  margin: 0 auto 24px;
  padding: 14px 18px;
  color: #475569;
  text-align: center;
  background: #fff;
  border: 1px solid var(--cj-line);
  border-radius: 12px;
}

.cj-tab-empty {
  width: calc(100% - 30px);
  margin: 0 15px;
  padding: 54px 24px;
  color: var(--cj-muted);
  text-align: center;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: var(--cj-radius);
}

.cj-tab-more-wrap {
  margin-top: 20px;
  text-align: center;
}

.slider .post::after {
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.86), rgba(2, 6, 23, 0.18));
}

.slider-title {
  font-weight: 850;
  letter-spacing: -0.035em;
}

.slider-desc {
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
}

.site-footer {
  color: #94a3b8;
  background: #0b1220;
  border-top: 0;
}

.site-footer a {
  color: #cbd5e1;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer .site-info {
  padding-block: 28px;
  color: #94a3b8;
  border-top-color: #1e293b;
}

.float-box {
  right: 18px;
  bottom: 26px;
}

.float-box .float-ul {
  overflow: visible;
  background: #fff;
  border: 1px solid var(--cj-line);
  border-radius: 14px;
  box-shadow: var(--cj-shadow);
}

.float-box a {
  color: #475569;
}

.float-box a:hover {
  color: var(--cj-brand);
}

.m-menubar {
  display: none;
}

.dark-open,
.dark-open body {
  --cj-ink: #f8fafc;
  --cj-muted: #94a3b8;
  --cj-line: #334155;
  --cj-surface: #111827;
  --cj-bg: #0b1220;
}

.dark-open .site-header,
.dark-open .main-search {
  background: rgba(15, 23, 42, 0.94);
  border-color: #293548;
}

.dark-open .nav-list > li > a,
.dark-open .navbar-button,
.dark-open .burger,
.dark-open .site-header .logo.text {
  color: #e2e8f0;
}

.dark-open .posts-wrapper .post,
.dark-open .cj-tab-description,
.dark-open .cj-tab-title-list,
.dark-open .cj-tab-button.selected {
  background: #111827;
}

@media (max-width: 991px) {
  .container {
    width: min(100% - 28px, 760px);
  }

  .site-header .navbar,
  .header-gap {
    min-height: 64px;
    height: 64px;
  }

  .home-filter--content {
    min-height: 480px;
    padding: 86px 0 54px;
  }

  .float-box {
    display: none;
  }

  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  .m-menubar {
    position: fixed;
    z-index: 9990;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    display: block;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.18);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .m-menubar ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
    padding: 6px;
    list-style: none;
  }

  .m-menubar a,
  .m-menubar button {
    display: flex;
    min-height: 52px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #64748b;
    font-size: 11px;
    background: transparent;
    border: 0;
    border-radius: 13px;
  }

  .m-menubar i {
    font-size: 18px;
  }

  .m-menubar a[aria-current="page"],
  .m-menubar a:hover,
  .m-menubar button:hover {
    color: var(--cj-brand);
    background: #fff1eb;
  }
}

@media (max-width: 767px) {
  .container {
    width: calc(100% - 24px);
  }

  .home-filter--content {
    min-height: 510px;
    padding-top: 70px;
    text-align: left;
  }

  .focusbox-title {
    font-size: clamp(32px, 11vw, 44px);
  }

  .home-filter--content .form-box {
    padding: 8px;
  }

  .home-filter--content .form-box .col-xs-12 + .col-xs-12 {
    margin-top: 8px;
  }

  .cj-trust-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .cj-trust-list li {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }

  .cj-trust-list li span {
    font-size: 11px;
  }

  .section {
    padding-block: 38px;
  }

  .cj-tab-scroll {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .cj-tab-scroll::-webkit-scrollbar {
    display: none;
  }

  .cj-tab-title-list {
    width: max-content;
    min-width: 100%;
  }

  .cj-tab-button {
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/*
 * Interaction and compact-home refinements.
 * These selectors intentionally include the legacy component wrapper so they
 * override RiPro's older, more specific homepage rules.
 */
.site-header .navbar {
  min-height: 64px;
  height: 64px;
}

.header-gap {
  height: 64px;
}

.site-header .logo img {
  max-height: 38px;
}

.navbar .actions {
  gap: 6px;
}

.navbar .login-btn {
  min-height: 40px;
  text-decoration: none;
}

.site-header .main-search {
  z-index: 100;
  align-items: center;
}

body.search-open .site-header .main-search {
  display: block;
}

.site-header .main-search .search-field {
  width: 100%;
  height: 100%;
  padding: 0 54px 0 18px;
  color: var(--cj-ink);
  text-align: left;
  background: #fff;
  border: 1px solid var(--cj-line);
  border-radius: 14px;
}

.site-header .main-search .search-close {
  right: 8px;
  width: 42px;
  height: 42px;
  margin-top: -21px;
}

.home-filter--content {
  min-height: 0;
  padding: 52px 0 40px;
}

.home-filter--content::before {
  z-index: 0;
}

.home-filter--content .cj-hero-eyebrow {
  margin: 0 0 12px;
}

.home-filter--content .focusbox-title {
  max-width: 760px;
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: clamp(30px, 3.3vw, 44px);
  font-weight: 850;
  line-height: 1.16;
  letter-spacing: -0.035em;
  text-align: left;
}

.home-filter--content .focusbox-desc {
  max-width: 720px;
  margin: 12px 0 24px;
  color: #dbe4f2;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.65;
  text-align: left;
}

.home-filter--content .focusbox-desc span:not([style]) {
  color: #fde047 !important;
  font-weight: 700;
}

.home-filter--content .form-box {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 820px;
  margin: 0 !important;
  padding: 10px;
}

.home-filter--content .form-box > .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 174px;
  gap: 10px;
  margin: 0;
}

.home-filter--content .form-box > .row > [class*="col-"] {
  float: none;
  width: auto;
  max-width: none;
  padding: 0;
}

.home-filter--content .form-group {
  height: 100%;
}

.home-filter--content .home_search_input {
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 0 17px;
  appearance: none;
  border-radius: 12px;
}

.home-filter--content .btn {
  min-height: 52px;
  margin: 0;
  border-radius: 12px;
  touch-action: manipulation;
}

.home-filter--content .home-search-results {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  width: 100%;
  max-height: min(390px, 48vh);
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--cj-ink);
  background: #fff;
  border: 1px solid var(--cj-line);
  border-radius: 14px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.2);
  animation: none;
}

.home-search-results ul {
  margin: 0;
  padding: 6px;
  list-style: none;
}

.home-search-results li {
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

.home-search-results .cj-search-result-link {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 7px 10px;
  color: #1e293b;
  border-radius: 10px;
}

.home-search-results .cj-search-result-link:hover,
.home-search-results .cj-search-result-link:focus-visible {
  color: var(--cj-brand);
  background: #fff4ef;
}

.home-search-results .cj-search-result-link img {
  width: 54px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
}

.cj-search-message {
  margin: 0;
  padding: 16px;
  color: #64748b;
  text-align: center;
}

.home-filter--content .cj-trust-list {
  gap: 22px;
  margin: 22px 0 0;
}

.m-menubar,
.m-menubar *,
.navbar .actions,
.navbar .actions * {
  pointer-events: auto;
}

.m-menubar::before {
  pointer-events: none;
}

.off-canvas {
  z-index: 12500;
  width: min(86vw, 340px);
  padding-top: 68px;
}

.dimmer {
  z-index: 12400;
}

.off-canvas .canvas-close {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  color: #334155;
  background: #f1f5f9;
  border: 0;
  border-radius: 12px;
}

.mobile-menu > .slicknav_menu {
  display: none !important;
}

.mobile-menu .cj-mobile-menu-list,
.mobile-menu .cj-mobile-menu-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-menu .cj-mobile-menu-list {
  display: grid;
  gap: 8px;
  padding: 0 18px 22px;
}

.mobile-menu .cj-mobile-menu-list a {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  color: #334155;
  font-size: 14px;
  font-weight: 650;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 12px;
}

.mobile-menu .cj-mobile-menu-list a:hover,
.mobile-menu .cj-mobile-menu-list .current-menu-item > a {
  color: var(--cj-brand);
  background: #fff4ef;
  border-color: #ffd9ca;
}

.mobile-menu .cj-mobile-menu-list .sub-menu {
  display: grid;
  gap: 5px;
  margin-top: 6px;
  padding-left: 12px;
}

.mobile-menu .cj-mobile-menu-list .sub-menu a {
  min-height: 40px;
  font-size: 13px;
  font-weight: 550;
}

.canvas-opened .m-menubar,
.cj-search-active .m-menubar {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + 24px));
}

.swal2-container {
  z-index: 15000;
}

.swal2-popup .register-login-modal,
.swal2-popup .modal-content {
  max-width: 100%;
}

#home-resource-search {
  scroll-margin-top: 96px;
}

@media (max-width: 991px) {
  .site-header .navbar,
  .header-gap {
    min-height: 60px;
    height: 60px;
  }

  .site-header .logo img {
    max-height: 36px;
  }

  .navbar .actions {
    gap: 2px;
  }

  .navbar-button,
  .burger {
    min-width: 40px;
    min-height: 40px;
  }

  .home-filter--content {
    min-height: 0;
    padding: 40px 0 32px;
  }

  .m-menubar {
    z-index: 12000;
    right: 10px;
    bottom: max(8px, env(safe-area-inset-bottom));
    left: 10px;
    padding: 0;
    overflow: hidden;
    transition: opacity 0.2s ease, transform 0.24s ease, visibility 0.2s ease;
    isolation: isolate;
  }

  .m-menubar ul {
    padding: 5px;
  }

  .m-menubar li {
    position: relative;
    z-index: 1;
    margin: 0;
  }

  .m-menubar li a {
    position: relative;
    z-index: 2;
    min-height: 54px;
    margin: 0;
    padding: 5px 2px;
    text-decoration: none;
    touch-action: manipulation;
  }

  .m-menubar li a > i {
    margin: 0;
    font-size: 19px;
    line-height: 1;
  }

  .m-menubar li a > span {
    display: block;
    line-height: 1.35;
  }
}

@media (max-width: 767px) {
  .container {
    width: calc(100% - 28px);
  }

  .site-header .navbar,
  .header-gap {
    min-height: 58px;
    height: 58px;
  }

  .site-header .logo img {
    max-width: 164px;
    max-height: 34px;
  }

  .navbar .login-btn {
    min-width: auto;
    padding: 7px 10px;
    font-size: 13px;
  }

  .home-filter--content {
    min-height: 0;
    padding: 30px 0 26px;
  }

  .home-filter--content .cj-hero-eyebrow {
    margin-bottom: 10px;
    padding: 5px 10px;
    font-size: 11px;
    letter-spacing: 0.045em;
  }

  .home-filter--content .focusbox-title {
    margin: 0;
    padding: 0;
    font-size: clamp(24px, 7.5vw, 32px);
    line-height: 1.22;
    letter-spacing: -0.025em;
    text-align: left;
  }

  .home-filter--content .focusbox-desc {
    margin: 8px 0 17px;
    font-size: 14px;
    line-height: 1.55;
    text-align: left;
  }

  .home-filter--content .form-box {
    margin: 0 !important;
    padding: 8px;
    border-radius: 15px;
  }

  .home-filter--content .form-box > .row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .home-filter--content .form-box .col-xs-12 + .col-xs-12 {
    margin-top: 0;
  }

  .home-filter--content .home_search_input,
  .home-filter--content .btn {
    min-height: 48px;
  }

  .home-filter--content .home-search-results {
    position: static;
    width: 100%;
    max-height: min(320px, 40vh);
    margin-top: 8px;
    border-radius: 11px;
    box-shadow: none;
  }

  .home-filter--content .cj-trust-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 18px;
  }

  .cj-trust-list i {
    width: 32px;
    height: 32px;
    font-size: 17px;
  }

  .cj-trust-list strong {
    font-size: 12px;
  }

  .cj-trust-list li span {
    color: #cbd5e1;
    font-size: 10px;
    line-height: 1.35;
  }

  .cj-search-active .home-filter--content {
    padding-top: 14px;
    padding-bottom: 18px;
  }

  .cj-search-active .cj-hero-eyebrow,
  .cj-search-active .cj-trust-list {
    display: none;
  }

  .cj-search-active .home-filter--content .focusbox-title {
    font-size: 21px;
  }

  .cj-search-active .home-filter--content .focusbox-desc {
    margin: 4px 0 10px;
    font-size: 12px;
  }

  .site-header .main-search {
    right: 2px;
    left: 2px;
  }

  .site-header .main-search .search-field {
    min-height: 44px;
    padding-right: 48px;
    font-size: 15px;
  }

  .swal2-popup {
    width: min(350px, calc(100vw - 24px)) !important;
  }

  .swal2-popup .modal-body {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (max-width: 767px) and (max-height: 650px) {
  .home-filter--content .cj-trust-list {
    display: none;
  }
}

/*
 * Configurable light storefront.
 * Values prefixed with --cj-hero-* are validated and emitted by search.php;
 * the global colors are validated and emitted by functions.php.
 */
body.cj-light-theme {
  color: var(--cj-ink);
  background: var(--cj-bg);
}

body.cj-light-theme .site-header,
body.cj-light-theme .navbar,
body.cj-light-theme .main-search,
body.cj-light-theme .off-canvas,
body.cj-light-theme .m-menubar,
body.cj-light-theme .site-footer,
body.cj-light-theme .site-footer .site-info {
  color: var(--cj-ink);
  background-color: var(--cj-surface);
  border-color: var(--cj-line);
}

body.cj-light-theme .site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--cj-line);
}

body.cj-light-theme .site-content,
body.cj-light-theme .bgcolor-f9,
body.cj-light-theme .archive-list,
body.cj-light-theme .page-wrapper {
  color: var(--cj-ink);
  background-color: var(--cj-bg);
}

body.cj-light-theme .article-content,
body.cj-light-theme .widget,
body.cj-light-theme .shop-widget,
body.cj-light-theme .pay--content,
body.cj-light-theme .term-bar,
body.cj-light-theme .archive-filter,
body.cj-light-theme .modal-content,
body.cj-light-theme .swal2-popup,
body.cj-light-theme .posts-wrapper .post,
body.cj-light-theme .cj-tab-description,
body.cj-light-theme .cj-tab-empty {
  color: var(--cj-ink);
  background-color: var(--cj-surface);
  border-color: var(--cj-line);
}

body.cj-light-theme .site-footer {
  border-top: 1px solid var(--cj-line);
}

body.cj-light-theme .site-footer,
body.cj-light-theme .site-footer .site-info,
body.cj-light-theme .site-footer a {
  color: var(--cj-muted);
}

body.cj-light-theme .site-footer a:hover,
body.cj-light-theme .site-footer a:focus-visible {
  color: var(--cj-brand);
}

body.cj-light-theme .nav-list > li > a,
body.cj-light-theme .burger,
body.cj-light-theme .navbar-button,
body.cj-light-theme .off-canvas a,
body.cj-light-theme .m-menubar a {
  color: #334155;
}

body.cj-light-theme .nav-list > li.current-menu-item > a,
body.cj-light-theme .nav-list > li > a:hover,
body.cj-light-theme .off-canvas a:hover,
body.cj-light-theme .m-menubar a:hover,
body.cj-light-theme .m-menubar [aria-current="page"] {
  color: var(--cj-brand);
}

body.cj-light-theme input,
body.cj-light-theme textarea,
body.cj-light-theme select {
  color: var(--cj-ink);
  background-color: #fff;
  border-color: var(--cj-line);
}

body.cj-light-theme .btn--primary,
body.cj-light-theme .click-pay,
body.cj-light-theme button[type="submit"],
body.cj-light-theme input[type="submit"] {
  color: #fff;
  background-color: var(--cj-brand);
  border-color: var(--cj-brand);
}

.home-filter--content[class*="cj-hero-align-"] {
  min-height: 0;
  padding: var(--cj-hero-pad, 52px) 0;
}

.home-filter--content[class*="cj-hero-align-"] > .container {
  display: flex;
  width: min(var(--cj-hero-max, 900px), calc(100% - 40px));
  max-width: var(--cj-hero-max, 900px);
  flex-direction: column;
}

.home-filter--content[class*="cj-hero-align-"] .focusbox-title {
  width: 100%;
  max-width: var(--cj-hero-max, 900px);
  font-size: var(--cj-hero-title-size, 46px);
}

.home-filter--content[class*="cj-hero-align-"] .focusbox-desc {
  width: 100%;
  max-width: var(--cj-hero-max, 900px);
}

.home-filter--content[class*="cj-hero-align-"] .cj-home-search-form,
.home-filter--content[class*="cj-hero-align-"] .form-box {
  width: 100%;
  max-width: var(--cj-hero-max, 900px);
}

.home-filter--content.cj-hero-align-center > .container {
  align-items: center;
  text-align: center;
}

.home-filter--content.cj-hero-align-center .focusbox-title,
.home-filter--content.cj-hero-align-center .focusbox-desc {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.home-filter--content.cj-hero-align-center .form-box {
  margin-right: auto !important;
  margin-left: auto !important;
}

.home-filter--content.cj-hero-align-center .cj-trust-list {
  justify-content: center;
  margin-right: auto;
  margin-left: auto;
}

.home-filter--content.cj-hero-align-right > .container {
  align-items: flex-end;
  text-align: right;
}

.home-filter--content.cj-hero-align-right .focusbox-title,
.home-filter--content.cj-hero-align-right .focusbox-desc {
  margin-right: 0;
  margin-left: auto;
  text-align: right;
}

.home-filter--content.cj-hero-align-right .form-box {
  margin-right: 0 !important;
  margin-left: auto !important;
}

.home-filter--content.cj-hero-align-right .cj-trust-list {
  justify-content: flex-end;
  margin-right: 0;
  margin-left: auto;
}

.home-filter--content.cj-hero-style-light {
  color: var(--cj-ink);
  background-color: #f7f9fd;
  background-image: linear-gradient(135deg, var(--cj-hero-start, #fff7f2), var(--cj-hero-end, #eef5ff)) !important;
}

.home-filter--content.cj-hero-style-light::before {
  background:
    radial-gradient(circle at 12% 22%, rgba(255, 107, 53, 0.13), transparent 32%),
    radial-gradient(circle at 86% 18%, rgba(37, 99, 235, 0.13), transparent 36%),
    radial-gradient(circle at 52% 100%, rgba(255, 255, 255, 0.78), transparent 44%);
}

.home-filter--content.cj-hero-style-light .cj-hero-eyebrow {
  color: #1d4ed8;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: 0 7px 24px rgba(37, 99, 235, 0.08);
}

.home-filter--content.cj-hero-style-light .focusbox-title {
  color: var(--cj-ink);
  text-shadow: none;
}

.home-filter--content.cj-hero-style-light .focusbox-desc,
.home-filter--content.cj-hero-style-light .focusbox-desc span:not([style]) {
  color: #526079 !important;
}

.home-filter--content.cj-hero-style-light .form-box {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(148, 163, 184, 0.28);
  box-shadow: 0 18px 50px rgba(51, 65, 85, 0.12);
}

.home-filter--content.cj-hero-style-light .cj-trust-list li,
.home-filter--content.cj-hero-style-light .cj-trust-list li span {
  color: #64748b;
}

.home-filter--content.cj-hero-style-light .cj-trust-list i {
  color: var(--cj-brand);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 7px 20px rgba(51, 65, 85, 0.09);
}

.home-filter--content.cj-hero-style-light .cj-trust-list strong {
  color: var(--cj-ink);
}

.cj-guest-purchase-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 10px 0 0;
  padding: 10px 12px;
  color: #7c4a1c;
  font-size: 12px;
  line-height: 1.55;
  text-align: left;
  background: #fff8eb;
  border: 1px solid #fed7aa;
  border-radius: 10px;
}

.cj-guest-purchase-note i {
  flex: 0 0 auto;
  margin-top: 1px;
  color: #ea580c;
  font-size: 16px;
}

@media (max-width: 767px) {
  .home-filter--content[class*="cj-hero-align-"] {
    padding: min(var(--cj-hero-pad, 52px), 38px) 0;
  }

  .home-filter--content[class*="cj-hero-align-"] > .container {
    width: calc(100% - 28px);
  }

  .home-filter--content[class*="cj-hero-align-"] .focusbox-title {
    font-size: var(--cj-hero-title-mobile, 30px);
  }

  .home-filter--content.cj-hero-align-center .focusbox-title,
  .home-filter--content.cj-hero-align-center .focusbox-desc {
    text-align: center;
  }

  .home-filter--content.cj-hero-align-right .focusbox-title,
  .home-filter--content.cj-hero-align-right .focusbox-desc {
    text-align: right;
  }

  .home-filter--content.cj-hero-style-light .cj-trust-list li span {
    color: #64748b;
  }

  .cj-guest-purchase-note {
    font-size: 11px;
  }
}

@media print {
  .site-header,
  .float-box,
  .m-menubar,
  .site-footer,
  .cj-skip-link {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    padding: 0;
  }
}
