/* Tailwind isolation — let Kartify/Bootstrap styles win */
.kartify-store {
  font-family: var(--font-sans), "Poppins", system-ui, sans-serif !important;
  color: rgba(var(--title-color), 1);
  background-color: rgba(var(--base-gray), 1) !important;
  color-scheme: light only;
}

/* Override Kartify template "BR Hendrix" rules — inherit Poppins from root.
   Never apply to icon fonts or their pseudo-elements. */
.kartify-store *:not([class^="ri-"]):not([class*=" ri-"]):not(.iconsax):not([class*="iconsax"]) {
  font-family: inherit;
}

/* Keep Remix Icon glyphs working (Poppins/Tailwind must not override) */
.kartify-store [class^="ri-"],
.kartify-store [class*=" ri-"],
.kartify-store [class^="ri-"]::before,
.kartify-store [class*=" ri-"]::before,
.kartify-store [class^="ri-"]::after,
.kartify-store [class*=" ri-"]::after {
  font-family: "remixicon" !important;
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  line-height: 1;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  speak: never;
}

.kartify-store .iconsax {
  font-family: inherit !important;
}

.kartify-store *,
.kartify-store *::before,
.kartify-store *::after {
  box-sizing: border-box;
}

.kartify-store .row {
  display: flex !important;
  flex-wrap: wrap !important;
  margin-right: calc(-0.5 * var(--bs-gutter-x, 1.5rem));
  margin-left: calc(-0.5 * var(--bs-gutter-x, 1.5rem));
}

.kartify-store img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Kartify style.css blurs ALL img until .loaded — disable lazy blur */
  filter: none !important;
  opacity: 1 !important;
  image-rendering: auto;
  -webkit-font-smoothing: antialiased;
  color-scheme: light only;
}

.kartify-store a {
  text-decoration: none;
  color: inherit;
}

.kartify-store .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.kartify-store h1,
.kartify-store h2,
.kartify-store h3,
.kartify-store h4,
.kartify-store h5,
.kartify-store h6,
.kartify-store p {
  margin-top: 0;
}

.kartify-store ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.kartify-store button {
  font-family: inherit;
}

/* Desktop Logout: same white as Contact/Wishlist (theme styles li a).
   Extra !important in case cascade fights inherit from .kartify-store a */
.kartify-store .header-style-1 .top-header .right-header .content-list li a.header-logout-btn,
.kartify-store .header-style-1 .top-header .right-header .content-list li a.login-btn,
.kartify-store .header-style-1 .top-header .right-header .content-list li .header-logout-btn,
.kartify-store .header-style-1 .top-header .right-header .content-list li button.login-btn {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  font: inherit !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  line-height: inherit !important;
  color: #ffffff !important;
  cursor: pointer !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.kartify-store .header-style-1 .top-header .right-header .content-list li a.header-logout-btn:hover,
.kartify-store .header-style-1 .top-header .right-header .content-list li a.login-btn:hover,
.kartify-store .header-style-1 .top-header .right-header .content-list li .header-logout-btn:hover,
.kartify-store .header-style-1 .top-header .right-header .content-list li button.login-btn:hover {
  color: rgba(var(--primary-color), 1) !important;
}

.kartify-store .header-style-1 .top-header .fw-top-auth-logout {
  background: #fff !important;
  color: #0b1f33 !important;
  font-weight: 700 !important;
}
