/* 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;
}

/* 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;
}

.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;
}
