:root {
  --primary-color: #0a4edb !important;
  --fs-color-primary: #0a4edb !important;
  --fs-color-secondary: #f6c344 !important;
  --fs-color-success: #f6c344 !important;
  --fs-color-alert: #083da9 !important;
  --fs-experimental-link-color: #0a4edb !important;
  --fs-experimental-link-color-hover: #061a3a !important;
  --wp--preset--color--primary: #0a4edb !important;
  --wp--preset--color--secondary: #f6c344 !important;
  color-scheme: light;
}

html,
body {
  background: #fff;
  color: #101828;
  font-family: Roboto, Arial, sans-serif;
}

body {
  font-size: 16px;
}

a {
  color: #0a4edb;
}

a:hover,
a:focus-visible {
  color: #083da9;
}

.header-top {
  background: #061a3a !important;
  color: #fff !important;
}

.header-main,
.header-bg-color {
  background: rgba(255, 255, 255, 0.98) !important;
}

.header-bottom,
#wide-nav {
  background: linear-gradient(90deg, #061a3a 0%, #0a4edb 55%, #083da9 100%) !important;
}

.header:not(.transparent) .header-bottom-nav.nav > li > a:hover,
.header:not(.transparent) .header-bottom-nav.nav > li.active > a,
.header:not(.transparent) .header-bottom-nav.nav > li.current > a,
.header:not(.transparent) .header-bottom-nav.nav > li > a.active,
.header:not(.transparent) .header-bottom-nav.nav > li > a.current {
  color: #f6c344 !important;
}

#logo {
  width: 285px !important;
}

#logo img,
.header-logo,
.header-logo-dark {
  width: auto !important;
  max-width: 285px !important;
  object-fit: contain;
}

.button.primary,
.header-button-1 a,
.header-button-2 a,
.header-button-2 .header-button .button {
  border: 1px solid #f6c344 !important;
  background: linear-gradient(135deg, #ffe181 0%, #f6c344 52%, #d99b12 100%) !important;
  color: #061a3a !important;
  box-shadow: 0 8px 22px rgba(246, 195, 68, 0.28);
}

.button.primary:hover,
.header-button-1 a:hover,
.header-button-2 a:hover {
  background: #ffda62 !important;
  border-color: #ffda62 !important;
  color: #061a3a !important;
}

.button.success {
  background: #0a4edb !important;
  border-color: #0a4edb !important;
  color: #fff !important;
}

.badge-inner,
.is-outline:hover,
.tagcloud a:hover,
.widget_price_filter .ui-slider .ui-slider-handle {
  background-color: #0a4edb !important;
  border-color: #0a4edb !important;
}

.box-text h1,
.box-text h2,
.box-text h3,
.entry-content h1,
.entry-content h2,
.entry-content h3 {
  color: #061a3a;
}

.entry-content h2,
.entry-content h3 {
  border-color: #0a4edb !important;
}

#footer .section,
.footer-2 {
  background: linear-gradient(135deg, #071c40 0%, #0a4edb 100%) !important;
}

.absolute-footer,
html {
  background-color: #031027 !important;
}

.footer-wrapper,
.footer-wrapper a,
.footer-wrapper h3,
.footer-wrapper p,
.footer-wrapper span {
  color: #fff !important;
}

.j88-quick-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(246, 195, 68, 0.45);
  border-radius: 999px;
  background: rgba(6, 26, 58, 0.94);
  box-shadow: 0 14px 38px rgba(3, 16, 39, 0.34);
  backdrop-filter: blur(10px);
}

.j88-quick-actions a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.j88-quick-actions a:first-child {
  background: #f6c344;
  color: #061a3a;
}

.j88-quick-actions a:hover {
  background: #fff;
  color: #061a3a;
}

.j88-error {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background: radial-gradient(circle at 50% 0%, #0a4edb 0%, #061a3a 58%, #031027 100%);
  color: #fff;
}

.j88-error main {
  width: min(560px, calc(100% - 32px));
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
}

.j88-error img {
  width: 240px;
}

.j88-static-notice {
  padding: 14px;
  border-left: 4px solid #0a4edb;
  background: #f4f7fc;
}

.j88-page-title {
  margin-bottom: 24px;
  color: #0a4edb;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

@media (max-width: 849px) {
  #logo {
    width: 180px !important;
  }

  #logo img,
  .header-logo,
  .header-logo-dark {
    max-width: 180px !important;
  }

  .j88-quick-actions {
    right: 8px;
    bottom: 8px;
    left: 8px;
    justify-content: center;
  }

  .j88-quick-actions a {
    flex: 1;
    padding: 0 8px;
    font-size: 13px;
  }
}
