/* Runtime overrides (so we don't depend on Tailwind rebuilds during development) */

/* Compact sticky header on scroll (easy to tweak/revert). */
#site-header .karma-header-top,
#site-header .karma-header-main > .container,
#site-header .karma-header-cats,
#site-header .karma-header-logo{
  transition: all 0.28s ease;
}

@media (min-width: 1024px){
  #site-header.is-compact .karma-header-top{
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-width: 0;
  }

  #site-header.is-compact .karma-header-main > .container{
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }

  #site-header.is-compact .karma-header-logo{
    height: 2.7rem !important;
  }

  #site-header.is-compact .karma-header-main nav a{
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }

  #site-header.is-compact .karma-header-cats{
    padding-top: 0.35rem !important;
    padding-bottom: 0.35rem !important;
  }
}

/* Ensure About hero wrapper spacing is applied */
.pt-\[220px\]{
  padding-top:190px !important;
}

/* Product short description list style to match reference design */
.product-short-description p{
  margin: 0 0 12px;
}

.product-short-description ul{
  list-style: none !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px 24px !important;
}

@media (min-width: 640px){
  .product-short-description ul{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 26px !important;
  }
}

.product-short-description li{
  position: relative;
  list-style: none !important;
  margin: 0 !important;
  width: auto !important;
  padding-left: 32px !important;
  font-size: 1rem !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  color: #344054 !important;
}

.product-short-description li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  background: #dcfce7;
}

.product-short-description li::after{
  content: "✓";
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 700;
  color: #16a34a;
}

/* Rich text in any product tab (Description, Specifications, Components,
   Installation, Warranty, Service & Maintenance).
   Unordered lists reuse the short description's green check-circle bullets.
   The marker anchors to the first line rather than the item's vertical centre,
   so it stays correct when a bullet wraps to several lines.
   Ordered lists keep real numbers. */
.product-tab-content ul{
  list-style: none !important;
  margin: 16px 0 1rem !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px 24px !important;
}

.product-tab-content ul > li{
  position: relative;
  display: block !important;
  list-style: none !important;
  margin: 0 !important;
  padding-left: 32px !important;
  font-size: 1rem !important;
  line-height: 1.3 !important;
  font-weight: 400 !important;
  color: #344054 !important;
}

.product-tab-content ul > li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  background: #dcfce7;
}

/* Same box as the circle, glyph centred by flex rather than by baseline —
   a bare text node sits high because the tick's ink is above the line-box
   centre. */
.product-tab-content ul > li::after{
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.65em;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  color: #16a34a;
}

.product-tab-content ol{
  list-style: decimal !important;
  margin: 0 0 1rem 1.5rem !important;
  padding: 0 !important;
}

.product-tab-content ol > li{
  display: list-item !important;
  margin: 0.2rem 0 !important;
  padding: 0 !important;
}

/* Product cards: match reference layout/style */
.product-card{
  background: #ffffff !important;
  border: 1px solid #e6ebf1 !important;
  border-radius: 28px !important;
  overflow: hidden !important;
}

.product-card .product-card-image{
  background: #f8fafc !important;
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 32px !important;
}

.product-card .product-card-body{
  padding: 24px !important;
}

/* Mega menu – active category (current shop/category view) */
.karma-mega-quick-link{
  color: rgba(29, 29, 31, 0.88);
  text-decoration: none;
}

.karma-mega-quick-link__icon{
  color: #008cba;
  transition: color 0.2s ease;
}

.karma-mega-quick-link:hover{
  color: #008cba;
  background-color: rgba(0, 140, 186, 0.08);
}

.karma-mega-quick-link:hover .karma-mega-quick-link__icon{
  color: #00578c;
}

.karma-mega-quick-link--active,
.karma-mega-quick-link--active:hover{
  color: #008cba !important;
  background-color: rgba(0, 140, 186, 0.12) !important;
  box-shadow: inset 0 0 0 1px rgba(0, 140, 186, 0.2);
}

.karma-mega-quick-link--active .karma-mega-quick-link__icon{
  color: #008cba !important;
}

.karma-mega-menu-link{
  color: rgba(29, 29, 31, 0.88);
  text-decoration: none;
}

.karma-mega-menu-link:hover{
  color: #008cba;
  background-color: rgba(0, 140, 186, 0.08);
}

.karma-mega-menu-link--active,
.karma-mega-menu-link--active:hover{
  color: #008cba !important;
  background-color: rgba(0, 140, 186, 0.12) !important;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(0, 140, 186, 0.18);
}

.karma-mega-menu-link--active span{
  color: #008cba !important;
}

.karma-mega-menu-group--active h3{
  color: #008cba !important;
}

.karma-mega-menu-group--active .w-8{
  background-color: rgba(0, 140, 186, 0.15) !important;
}

/* All Categories toggle button */
#mega-menu-toggle.karma-mega-menu-toggle{
  background-color: #e2e8f0 !important;
  border: none !important;
  box-shadow: none;
}

#mega-menu-toggle.karma-mega-menu-toggle:hover,
#mega-menu-toggle.karma-mega-menu-toggle.is-open{
  background-color: #008cba !important;
  border: none !important;
  color: #fff !important;
  box-shadow: none;
}

#mega-menu-toggle.karma-mega-menu-toggle:hover svg,
#mega-menu-toggle.karma-mega-menu-toggle.is-open svg{
  stroke: #fff !important;
  color: #fff !important;
}

#mega-menu-toggle.karma-mega-menu-toggle:hover span,
#mega-menu-toggle.karma-mega-menu-toggle.is-open span{
  color: #fff !important;
}

/* Mega menu promo cards (right column) */
.karma-mega-menu-promos{
  display: none;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
  width: 288px;
}

@media (min-width: 1024px){
  .karma-mega-menu-promos{
    display: flex;
  }
}

/* Mega menu hover product flyout (fixed, next to hovered subcategory) */
.karma-mega-menu-flyout{
  position: fixed;
  z-index: 60;
  width: 17.5rem;
  max-width: calc(100vw - 2rem);
  pointer-events: auto;
}

.karma-mega-menu-flyout[hidden]{
  display: none !important;
}

.karma-mega-menu-flyout__inner{
  padding: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.karma-mega-menu-flyout__eyebrow{
  margin: 0 0 0.35rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(29, 29, 31, 0.45);
}

.karma-mega-menu-flyout__category{
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #1d1d1f;
  line-height: 1.3;
}

.karma-mega-menu-flyout__products{
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.karma-mega-menu-flyout__product{
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem;
  border-radius: 0.75rem;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.karma-mega-menu-flyout__product:hover{
  border-color: rgba(0, 140, 186, 0.25);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.karma-mega-menu-flyout__product-image{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 0.65rem;
  background: #fff;
  overflow: hidden;
}

.karma-mega-menu-flyout__product-image img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.karma-mega-menu-flyout__product-body{
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.karma-mega-menu-flyout__product-name{
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.35;
  color: #1d1d1f;
}

.karma-mega-menu-flyout__product-price{
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #008cba;
}

.karma-mega-menu-flyout__product-price .amount,
.karma-mega-menu-flyout__product-price bdi{
  color: inherit;
}

.karma-mega-menu-flyout__empty{
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(29, 29, 31, 0.55);
}

.karma-mega-menu-flyout__view-all{
  display: inline-flex;
  align-items: center;
  margin-top: 0.85rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: #008cba;
  text-decoration: none;
}

.karma-mega-menu-flyout__view-all:hover{
  text-decoration: underline;
}

.karma-mega-menu-link--previewing,
.karma-mega-menu-link--previewing:hover{
  color: #008cba !important;
  background-color: rgba(0, 140, 186, 0.12) !important;
  box-shadow: inset 0 0 0 1px rgba(0, 140, 186, 0.18);
}

.karma-mega-menu-link--previewing span{
  color: #008cba !important;
}

.karma-mega-promo-card{
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
}

.karma-mega-promo-card--tall{
  min-height: 176px;
}

.karma-mega-promo-card--short{
  min-height: 144px;
}

.karma-mega-promo-card__image{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.karma-mega-promo-card:hover .karma-mega-promo-card__image{
  transform: scale(1.08);
}

.karma-mega-promo-card__overlay{
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.karma-mega-promo-card--primary .karma-mega-promo-card__overlay{
  background: linear-gradient(to top, rgba(0, 140, 186, 0.95) 0%, rgba(0, 140, 186, 0.6) 45%, rgba(0, 140, 186, 0.2) 100%);
}

.karma-mega-promo-card--secondary .karma-mega-promo-card__overlay{
  background: linear-gradient(to top, rgba(87, 191, 227, 0.95) 0%, rgba(87, 191, 227, 0.6) 45%, rgba(87, 191, 227, 0.2) 100%);
}

.karma-mega-promo-card__icon{
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: #fff;
}

.karma-mega-promo-card__icon svg{
  stroke: currentColor;
}

.karma-mega-promo-card__badge{
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: #fff;
  color: #008cba;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.karma-mega-promo-card__content{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.karma-mega-promo-card__eyebrow{
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-bottom: 4px;
}

.karma-mega-promo-card__title{
  display: block;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.karma-mega-promo-card__text{
  display: block;
  font-size: 11px;
  opacity: 0.85;
  margin-top: 4px;
  line-height: 1.4;
}

/* Mega menu – 5 columns (5 top + 5 bottom) at desktop */
.karma-mega-menu-grid{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px){
  .karma-mega-menu-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px){
  .karma-mega-menu-grid{
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Single product – similar product option pills */
.karma-product-variants{
  padding: 0;
  margin-left: 0;
}

.karma-product-variants__heading{
  margin: 0;
  padding: 0;
  display: block;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1d1d1f;
  line-height: 1.3;
}

.karma-product-variants__list{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  margin: 5px 0 0;
  padding: 0;
  margin-left: -2px;
}

.karma-product-variant{
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  background: #fff;
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

a.karma-product-variant:hover{
  border-color: #008cba;
  color: #008cba;
}

.karma-product-variant--current{
  border-color: #008cba;
  background: rgba(0, 140, 186, 0.08);
  color: #008cba;
  box-shadow: 0 0 0 1px rgba(0, 140, 186, 0.15);
  cursor: default;
}

/* Footer brand column – stores + social */
/* Keep the brand block a tidy centred column instead of letting the logo,
   blurb, stores and socials each stretch to the full grid cell. */
.karma-footer-brand{
  width: 100%;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}

.karma-footer-stores{
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.karma-footer-store-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex-shrink: 0;
  color: #57bfe3;
}

.karma-footer-stores-list{
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: max-content max-content auto 1fr;
  column-gap: 6px;
  row-gap: 8px;
  align-items: baseline;
  font-size: 14px;
  line-height: 1.4;
}

.karma-footer-stores-list li{
  display: contents;
}

.karma-footer-store-city,
span.karma-footer-store-city{
  font-weight: 600;
  color: #e5e7eb;
  text-decoration: none;
  transition: color 0.2s ease;
  /* Same reason: keep the hover box on the word, not the whole column. */
  justify-self: start;
}

.karma-footer-store-city:hover{
  color: #fff;
}

.karma-footer-store-phone{
  color: #d1d5db;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  transition: color 0.2s ease;
  /* li is display:contents, so this link is the grid item and would otherwise
     stretch across the whole 1fr column — hover would trigger far from the
     number itself. */
  justify-self: start;
}

.karma-footer-store-phone:hover{
  color: #57bfe3;
}

.karma-footer-store-sep{
  color: rgba(255, 255, 255, 0.55);
  user-select: none;
}

/* Sits in the bottom bar, so it sizes to its icons rather than the column. */
.karma-footer-social{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-shrink: 0;
}

.karma-footer-social-link{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.karma-footer-social-link svg{
  width: 20px;
  height: 20px;
  display: block;
}

.karma-footer-social-link:hover{
  transform: scale(1.08);
  color: #fff;
  background-color: #008cba;
}

.karma-footer-store-city:focus-visible,
.karma-footer-store-phone:focus-visible,
.karma-footer-social-link:focus-visible{
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

/* Footer brand logo */
.karma-footer-logo{
  display: block;
  width: 180px !important;
  max-width: 180px !important;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}

/* Water Academy / blog cards – full image + hover zoom */
.karma-blog-card-media{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(180deg, #fff 0%, #eef2f7 100%) !important;
  transition: background 0.55s ease, box-shadow 0.55s ease;
}

.karma-blog-card-media__img,
.karma-blog-card-media img{
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.group:hover .karma-blog-card-media,
.group:focus-within .karma-blog-card-media{
  background: linear-gradient(180deg, #f8fbff 0%, #e3edf8 100%) !important;
}

.group:hover .karma-blog-card-media__img,
.group:hover .karma-blog-card-media img,
.group:focus-within .karma-blog-card-media__img,
.group:focus-within .karma-blog-card-media img{
  transform: scale(1.07);
}

@media (prefers-reduced-motion: reduce){
  .karma-blog-card-media__img,
  .karma-blog-card-media img{
    transition: none !important;
    will-change: auto;
  }

  .group:hover .karma-blog-card-media__img,
  .group:hover .karma-blog-card-media img,
  .group:focus-within .karma-blog-card-media__img,
  .group:focus-within .karma-blog-card-media img{
    transform: none;
  }
}

.karma-blog-card-media--featured{
  aspect-ratio: auto !important;
  min-height: 280px !important;
  height: 100% !important;
  border-radius: 0 !important;
  border: 0 !important;
}

@media (min-width: 1024px){
  .karma-blog-card-media--featured{
    min-height: 100% !important;
  }
}

/* Featured hero on /blog/ – slightly gentler zoom */
.group:hover .karma-blog-card-media--featured .karma-blog-card-media__img,
.group:hover .karma-blog-card-media--featured img,
.group:focus-within .karma-blog-card-media--featured .karma-blog-card-media__img,
.group:focus-within .karma-blog-card-media--featured img{
  transform: scale(1.05);
}

/* Category archive information — full-width row under the products: index column + article.
   On desktop the index sticks below the header while the article scrolls (like ecosoft.com). */
.karma-category-info-row{
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid #f3f4f6;
}

.karma-category-info__index-wrap{
  padding: 1.25rem 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
}

@media (min-width: 1024px){
  .karma-category-info__index-wrap--sidebar{
    flex: 0 0 16rem;
    width: 16rem;
    position: sticky;
    top: 150px;
    align-self: flex-start;
  }
}

.karma-category-info-row .karma-category-info{
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.karma-category-info__index-title{
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1d1d1f;
}

.karma-category-info__toc-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.karma-category-info__toc-link{
  display: block;
  position: relative;
  padding-left: 0.875rem;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #1d1d1f;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Reading indicator: blue bar on the left of the section currently in view */
.karma-category-info__toc-link::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 2px;
  background: #008cba;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.karma-category-info__toc-link:hover,
.karma-category-info__toc-link.is-active{
  color: #008cba;
}

.karma-category-info__toc-link.is-active::before{
  opacity: 1;
}

.karma-category-info{
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #f3f4f6;
  background: transparent;
}

.karma-category-info__body{
  color: #475467;
  font-size: 15px;
  line-height: 1.75;
}

.karma-category-info__body > *:first-child{
  margin-top: 0;
}

.karma-category-info__body h1,
.karma-category-info__body h2,
.karma-category-info__body h3{
  display: block !important;
  margin: 2.5rem 0 1rem !important;
  padding: 0 !important;
  font-size: clamp(1.375rem, 2.2vw, 1.875rem) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  color: #101828 !important;
  letter-spacing: -0.02em !important;
  scroll-margin-top: 210px;
}

.karma-category-info__body h2{
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

.karma-category-info__body h2:first-of-type,
.karma-category-info__body h3:first-of-type{
  margin-top: 0 !important;
}

.karma-category-info__body > h2:first-child,
.karma-category-info__body h2:first-of-type{
  margin-top: 0 !important;
}

.karma-category-info__body h2 strong,
.karma-category-info__body h2 b{
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
}

.karma-category-info__body h3{
  margin: 1.75rem 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #1d2939;
  scroll-margin-top: 210px;
}

.karma-category-info__body h4{
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #1d2939;
}

.karma-category-info__body p{
  display: block !important;
  margin: 0 0 1.25rem !important;
  line-height: 1.75 !important;
}

.karma-category-info__body p:last-child{
  margin-bottom: 0 !important;
}

.karma-category-info__body p.karma-category-info__gap{
  min-height: 0.5rem;
  margin: 0 0 1.25rem !important;
  line-height: 0 !important;
  pointer-events: none;
}

.karma-category-info__body p br{
  display: block;
  margin-bottom: 0.85em;
  content: '';
}

.karma-category-info__body ul,
.karma-category-info__body ol{
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
}

.karma-category-info__body li{
  margin-bottom: 0.4rem;
}

.karma-category-info__body a{
  color: #008cba;
  text-decoration: underline;
}

.karma-category-info__body strong{
  color: #1d2939;
}

.karma-category-info__faq{
  margin-top: 2.5rem;
  padding-top: 0.5rem;
}

.karma-category-info__faq-title{
  margin: 0 0 1rem;
  font-size: clamp(1.375rem, 2.2vw, 1.875rem) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  color: #101828 !important;
  letter-spacing: -0.02em !important;
  scroll-margin-top: 210px;
}

.karma-category-info__faq-item{
  border-bottom: 1px solid #e5e7eb;
}

.karma-category-info__faq-item:first-of-type{
  border-top: 1px solid #e5e7eb;
}

.karma-category-info__faq-question{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1rem 0;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: #1d1d1f;
  cursor: pointer;
}

.karma-category-info__faq-question-text{
  flex: 1;
}

.karma-category-info__faq-icon{
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  position: relative;
}

.karma-category-info__faq-icon::before,
.karma-category-info__faq-icon::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: #008cba;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.karma-category-info__faq-icon::after{
  transform: translate(-50%, -50%) rotate(90deg);
}

.karma-category-info__faq-item.is-open .karma-category-info__faq-icon::after{
  transform: translate(-50%, -50%) rotate(0deg);
}

.karma-category-info__faq-answer{
  padding: 0 0 1rem;
  color: #475467;
  font-size: 14px;
  line-height: 1.7;
}

.karma-category-info__faq-answer p:last-child{
  margin-bottom: 0;
}

/* Our Projects / case studies (Culligan-style) */
.karma-case-study__title{
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  color: #0f172a;
  margin: 0 0 1rem;
}

.karma-case-study__subtitle{
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 800;
  line-height: 1.35;
  color: #1e293b;
  margin: 0 0 1rem;
}

.karma-case-study__location{
  margin: 0 0 1.5rem;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.karma-case-study__header--lead{
  margin: 0 auto 0.5rem;
  text-align: center;
}

.karma-case-study__headline{
  max-width: 56rem;
  margin: 0 auto;
}

.karma-case-study__header--lead .karma-case-study__intro{
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.karma-case-study__header--lead .karma-case-study__intro p{
  text-align: center;
}

.karma-case-study__banner{
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid #e8edf3;
  background: linear-gradient(180deg, #fff 0%, #eef2f7 100%);
  padding: 2rem 2.25rem;
  min-height: 220px;
}

.karma-case-study__banner-img{
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 640px);
  max-height: 360px;
  margin: 0 auto;
  object-fit: contain;
  image-rendering: auto;
}

.karma-case-study__section{
  padding: 3.5rem 0;
}

.karma-case-study__section--objectives{
  background: #f7f9fc;
}

.karma-case-study__section--solution{
  background: #fff;
}

.karma-case-study__section--quote{
  background: linear-gradient(180deg, rgba(0, 140, 186, 0.08) 0%, rgba(0, 140, 186, 0.03) 100%);
  padding: 3rem 0;
}

.karma-case-study__section--conclusion{
  background: #fff;
  border-top: 1px solid #eef2f7;
}

.karma-case-study__section-title{
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: #0f172a;
}

.karma-case-study__section-title--center{
  text-align: center;
  margin-bottom: 2rem;
}

.karma-case-study__split{
  display: grid;
  gap: 2rem;
  align-items: center;
}

.karma-case-study__split--solo{
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.karma-case-study__split--solo .karma-case-study__section-title,
.karma-case-study__split--solo .karma-case-study__needs-label{
  text-align: center;
}

.karma-case-study__split--solo .karma-case-study__section-body{
  text-align: left;
}

.karma-case-study__split--solo .karma-case-study__bullets{
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.karma-case-study__split--solo .karma-case-study__inline-cta{
  display: flex;
  justify-content: center;
  width: 100%;
}

@media (min-width: 1024px){
  .karma-case-study__split--has-media{
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .karma-case-study__split--solution.karma-case-study__split--has-media .karma-case-study__split-media{
    order: 1;
  }

  .karma-case-study__split--solution.karma-case-study__split--has-media .karma-case-study__split-content{
    order: 2;
  }
}

.karma-case-study__feature-grid--solo{
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: 1fr;
}

.karma-case-study__figure{
  margin: 0;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid #e8edf3;
  background: linear-gradient(180deg, #fff 0%, #eef2f7 100%);
  padding: 1.25rem;
}

.karma-case-study__figure-img{
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  margin: 0 auto;
  object-fit: contain;
}

.karma-case-study__needs-label{
  margin: 1.5rem 0 0.75rem;
  color: #0f172a;
  font-size: 1rem;
}

.karma-case-study__inline-cta{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  color: #008cba;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.karma-case-study__inline-cta:hover{
  color: #006d94;
}

.karma-case-study__bullets{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.karma-case-study__bullet{
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.6;
}

.karma-case-study__bullet-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: rgba(0, 140, 186, 0.12);
  color: #008cba;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.karma-case-study__feature-grid{
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px){
  .karma-case-study__feature-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.karma-case-study__feature{
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1.125rem 1.25rem;
  background: #f7f9fc;
  border: 1px solid #e8edf3;
  border-radius: 1rem;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.6;
}

.karma-case-study__feature p{
  margin: 0;
}

.karma-case-study__feature-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgba(0, 140, 186, 0.12);
  color: #008cba;
  flex-shrink: 0;
}

.karma-case-study__quote{
  margin: 0;
  padding: 2rem 1.5rem;
  border-left: 4px solid #008cba;
  background: #fff;
  border-radius: 0 1.25rem 1.25rem 0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

@media (min-width: 768px){
  .karma-case-study__quote{
    padding: 2.5rem 2.75rem;
  }
}

.karma-case-study__quote-text{
  margin: 0 0 1.25rem;
  color: #1e293b;
  font-size: 1.2rem;
  line-height: 1.7;
  font-weight: 500;
}

.karma-case-study__quote-footer{
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.karma-case-study__quote-author{
  font-style: normal;
  font-weight: 800;
  color: #0f172a;
}

.karma-case-study__quote-role{
  color: #64748b;
  font-size: 0.9rem;
}

.karma-case-study__intro p:last-child,
.karma-case-study__section-body p:last-child{
  margin-bottom: 0;
}

.karma-project-pagination .page-numbers{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid #e8edf3;
  color: #475467;
  font-weight: 700;
  font-size: 0.875rem;
}

.karma-project-pagination .page-numbers.current,
.karma-project-pagination .page-numbers:hover{
  background: #008cba;
  border-color: #008cba;
  color: #fff;
}

/* Our Stores */
.karma-stores-locations__image{
  min-height: 200px;
}

@media (min-width: 768px){
  .karma-stores-locations__image{
    min-height: 240px;
  }
}

.karma-stores-articles__heading{
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.karma-stores-articles__body p:last-child{
  margin-bottom: 0;
}

/* Homepage Our Brands — logo strip */
.karma-home-brands__header{
  text-align: center;
  margin-bottom: 2.5rem;
}

.karma-home-brands__title{
  margin: 0;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-transform: uppercase;
}

@media (min-width: 1024px){
  .karma-home-brands__header{
    margin-bottom: 3rem;
  }

  .karma-home-brands__title{
    font-size: 1.875rem;
  }
}

/* Single row. Centred when the logos fit; JS adds .is-scrolling when they
   don't, which reveals the clone and starts the marquee. */
.karma-home-brands__viewport{
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.karma-home-brands__viewport.is-scrolling{
  justify-content: flex-start;
}

.karma-home-brands__track{
  display: flex;
  flex: 0 0 auto;
  width: max-content;
}

.karma-home-brands__logos{
  list-style: none;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

/* Padding, not a track gap: it makes each list exactly one loop step wide,
   so translateX(-50%) lands seamlessly on the clone. */
.karma-home-brands__viewport.is-scrolling .karma-home-brands__logos{
  padding-right: 1.5rem;
}

.karma-home-brands__logos--clone{
  display: none;
}

.karma-home-brands__viewport.is-scrolling .karma-home-brands__logos--clone{
  display: flex;
}

.karma-home-brands__viewport.is-scrolling .karma-home-brands__track{
  animation: karma-brands-scroll var(--karma-brands-duration, 30s) linear infinite;
}

.karma-home-brands__viewport.is-scrolling:hover .karma-home-brands__track,
.karma-home-brands__viewport.is-scrolling:focus-within .karma-home-brands__track{
  animation-play-state: paused;
}

@keyframes karma-brands-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce){
  .karma-home-brands__viewport.is-scrolling .karma-home-brands__track{
    animation: none;
  }

  .karma-home-brands__viewport.is-scrolling .karma-home-brands__logos--clone{
    display: none;
  }

  .karma-home-brands__viewport{
    overflow-x: auto;
  }
}

.karma-home-brands__item{
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  flex: 0 0 auto;
  padding: 0 0.25rem;
}

.karma-home-brands__logo-wrap{
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 10.5rem;
  min-height: 5.25rem;
  padding: 1rem 1.35rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0.9rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: visible;
}

.karma-home-brands__logo{
  display: block;
  width: auto;
  height: auto;
  max-width: 10rem;
  max-height: 4rem;
  object-fit: contain;
}

@media (min-width: 1024px){
  .karma-home-brands__logo-wrap{
    min-width: 11.5rem;
    min-height: 5.5rem;
    padding: 1.1rem 1.5rem;
  }

  .karma-home-brands__logo{
    max-width: 11rem;
    max-height: 4.25rem;
  }
}


/* Product image lightbox — native <dialog>, so Esc-to-close and focus
   trapping come from the browser rather than a JS library. */
.karma-lightbox{
  width: min(92vw, 1100px);
  max-width: none;
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #fff;
  overflow: visible;
}

.karma-lightbox::backdrop{
  background: rgba(0, 39, 87, 0.78);
  backdrop-filter: blur(2px);
}

.karma-lightbox img{
  display: block;
  width: 100%;
  height: auto;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 24px;
  background: #f9fafb;
  padding: 24px;
}

.karma-lightbox__close{
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 9999px;
  background: #00578c;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.35);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.karma-lightbox__close:hover{
  background: #008cba;
  transform: scale(1.06);
}

.karma-lightbox__close:focus-visible{
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 640px){
  .karma-lightbox{
    width: 94vw;
    border-radius: 18px;
  }

  .karma-lightbox img{
    border-radius: 18px;
    padding: 14px;
  }

  .karma-lightbox__close{
    top: -10px;
    right: -10px;
    width: 38px;
    height: 38px;
  }
}

/* Headings inside admin-written product copy (short description + all tabs).
   Tailwind preflight resets h1-h6 to font-size:inherit, and the typography
   plugin that would power the `prose` class is not installed, so headings
   typed into a product description rendered as plain 16px body text.
   Scoped to product copy only — template headings keep their own classes. */
.product-tab-content :is(h1, h2, h3, h4, h5, h6),
.product-short-description :is(h1, h2, h3, h4, h5, h6){
  color: #1a1c1e;
  font-weight: 800;
  line-height: 1.25;
  margin: 1.5rem 0 0.75rem;
}

.product-tab-content h1,
.product-short-description h1{
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
}

.product-tab-content h2,
.product-short-description h2{ font-size: 20px; }

.product-tab-content h3,
.product-short-description h3{ font-size: 18px; }

.product-tab-content h4,
.product-short-description h4{ font-size: 16px; }

.product-tab-content h5,
.product-short-description h5{ font-size: 15px; }

.product-tab-content h6,
.product-short-description h6{ font-size: 14px; }

.product-tab-content :is(h1, h2, h3, h4, h5, h6):first-child,
.product-short-description :is(h1, h2, h3, h4, h5, h6):first-child{
  margin-top: 0;
}

/* Lightbox prev/next + position counter. */
.karma-lightbox__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 9999px;
  background: rgba(0, 87, 140, 0.85);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.karma-lightbox__nav--prev{ left: 14px; }
.karma-lightbox__nav--next{ right: 14px; }

.karma-lightbox__nav:hover{
  background: #008cba;
  transform: translateY(-50%) scale(1.06);
}

.karma-lightbox__nav:focus-visible{
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.karma-lightbox__count{
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 1;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(0, 87, 140, 0.85);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 640px){
  .karma-lightbox__nav{ width: 40px; height: 40px; }
  .karma-lightbox__nav--prev{ left: 6px; }
  .karma-lightbox__nav--next{ right: 6px; }
}

/* Front page: wrapper offset equals the fixed header height (main bar 97px; + top banner from 640px; + category strip and larger logo from 1024px),
   so the hero sits right under the menu instead of 50-100px below it. */
/* Logged-in admins: the WP admin bar pushes the page down (46px mobile / 32px desktop) but not a fixed header, which
   showed as an extra gap under the menu. Pin the header below the bar so content and header shift together. */
.admin-bar #site-header{top:var(--wp-admin--admin-bar--height,32px)}
.karma-front-offset{padding-top:97px}
@media (min-width:640px){.karma-front-offset{padding-top:128px}}
@media (min-width:1024px){.karma-front-offset{padding-top:193px}}

/* Homepage sector cards ("Water Treatment For Your Needs"): snap scroller on small screens, 5-up grid on desktop. */
.karma-sectors{padding:2.5rem 0 1rem}
@media (min-width:1024px){.karma-sectors{padding:3rem 0 1.5rem}}
.karma-sectors__track{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding-bottom:4px;scrollbar-width:none}
.karma-sectors__track::-webkit-scrollbar{display:none}
.karma-sector-card{position:relative;flex:0 0 60%;aspect-ratio:3/4;scroll-snap-align:start;border-radius:1rem;overflow:hidden;display:flex;align-items:flex-end;background:linear-gradient(160deg,#5fc1e0 0%,#008CBA 60%,#005f80 100%);color:#fff;text-decoration:none}
@media (min-width:640px){.karma-sector-card{flex-basis:31%}}
@media (min-width:1024px){
  .karma-sectors__track{gap:16px;scroll-behavior:smooth}
  .karma-sector-card{flex-basis:calc((100% - 5 * 16px) / 6);aspect-ratio:1/1}
}
.karma-sectors__nav{display:none;gap:8px}
@media (min-width:1024px){.karma-sectors__nav{display:flex}}
.karma-sectors__arrow{width:40px;height:40px;border-radius:9999px;border:1px solid rgba(15,23,42,.12);background:#fff;color:#0f172a;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s,color .2s,opacity .2s}
.karma-sectors__arrow:hover{background:#008CBA;color:#fff;border-color:#008CBA}
.karma-sectors__arrow[disabled]{opacity:.35;cursor:default;background:#fff;color:#0f172a;border-color:rgba(15,23,42,.12)}
.karma-sector-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.karma-sector-card:hover img{transform:scale(1.05)}
.karma-sector-card::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.62) 0%,rgba(0,0,0,.15) 40%,rgba(0,0,0,0) 60%)}
.karma-sector-card__icon{position:absolute;top:14px;left:14px;z-index:1;width:38px;height:38px;border-radius:10px;background:rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center;backdrop-filter:blur(4px)}
.karma-sector-card__body{position:relative;z-index:1;padding:14px;display:block}
.karma-sector-card__title{display:block;font-weight:800;font-size:13px;text-transform:uppercase;letter-spacing:.02em;line-height:1.2}
.karma-sector-card__text{display:block;font-size:12px;line-height:1.35;opacity:.9;margin-top:4px}

/* Product reviews tab: WooCommerce's native review markup, styled to match the product tabs (WC's own CSS is dequeued). */
.karma-reviews .woocommerce-Reviews-title{font-size:1.125rem;font-weight:800;margin-bottom:1.25rem}
.karma-reviews .commentlist{list-style:none;margin:0 0 2rem;padding:0}
.karma-reviews .commentlist li{margin-bottom:1rem}
.karma-reviews .comment_container{display:flex;gap:1rem;padding:1.25rem;border:1px solid #f3f4f6;border-radius:1rem;background:#fff}
.karma-reviews .comment_container .avatar{width:44px;height:44px;border-radius:9999px;flex:none}
.karma-reviews .comment-text{flex:1;min-width:0}
.karma-reviews .comment-text .meta{font-size:.8125rem;color:#6b7280;margin:.25rem 0 .5rem}
.karma-reviews .woocommerce-review__author{font-weight:700;color:#111827}
.karma-reviews .woocommerce-review__verified{color:#059669;font-size:.75rem}
.karma-reviews .comment-text .description{color:#4b5563;line-height:1.7}
.karma-reviews .star-rating{position:relative;display:inline-block;height:1.2em;line-height:1.2;font-size:1rem;letter-spacing:.1em;color:#e5e7eb;white-space:nowrap}
.karma-reviews .star-rating::before{content:"\2605\2605\2605\2605\2605"}
.karma-reviews .star-rating span{position:absolute;top:0;left:0;overflow:hidden;color:#facc15;white-space:nowrap}
.karma-reviews .star-rating span::before{content:"\2605\2605\2605\2605\2605"}
.karma-reviews .star-rating span strong{display:none}
.karma-reviews .woocommerce-noreviews,.karma-reviews .must-log-in,.karma-reviews .woocommerce-verification-required{color:#4b5563;margin-bottom:1rem}
.karma-reviews .must-log-in a{color:#008CBA;font-weight:700;text-decoration:underline}
.karma-reviews #review_form_wrapper{padding:1.5rem;border:1px solid #f3f4f6;border-radius:1rem;background:#fafafa}
.karma-reviews .comment-reply-title{display:block;font-weight:800;margin-bottom:1rem}
.karma-reviews .comment-form label{display:block;font-size:.8125rem;font-weight:700;margin-bottom:.35rem}
.karma-reviews .comment-form p{margin-bottom:1rem}
.karma-reviews .comment-form input[type=text],.karma-reviews .comment-form input[type=email],.karma-reviews .comment-form textarea{width:100%;border:1px solid #e5e7eb;border-radius:.75rem;padding:.65rem .9rem;font-size:.9375rem;background:#fff}
.karma-reviews .comment-form textarea{min-height:140px}
.karma-reviews .comment-form .submit{display:inline-block;background:#008CBA;color:#fff;font-weight:700;font-size:.875rem;padding:.75rem 1.5rem;border-radius:.75rem;cursor:pointer;border:0}
.karma-reviews .comment-form .submit:hover{background:#00779e}
.karma-reviews .comment-form-cookies-consent{display:flex;align-items:center;gap:.5rem}
.karma-reviews .comment-form-cookies-consent label{margin:0;font-weight:500}
.karma-reviews .comment-form-rating #rating{display:none}
.karma-reviews p.stars{display:inline-block;margin:0 0 .5rem;font-size:1.5rem;line-height:1}
.karma-reviews p.stars a{display:inline-block;color:#d1d5db;text-decoration:none;font-size:0;width:1.75rem;line-height:1;transition:color .15s}
.karma-reviews p.stars a::before{content:"\2605";font-size:1.5rem}
.karma-reviews p.stars.selected a,.karma-reviews p.stars:hover a{color:#facc15}
.karma-reviews p.stars.selected a.active~a,.karma-reviews p.stars:hover a:hover~a{color:#d1d5db}

/* Homepage Instagram feed */
.karma-instagram__handle{display:inline-flex;align-items:center;gap:.5rem;font-weight:800;font-size:.9375rem;color:#111827;padding:.6rem 1rem;border:1px solid #e5e7eb;border-radius:9999px;text-decoration:none;transition:all .2s}
.karma-instagram__handle:hover{border-color:#008CBA;color:#008CBA}
.karma-instagram__cta{display:flex;align-items:center;justify-content:center;gap:1rem;padding:2.5rem;border:2px dashed #e5e7eb;border-radius:1.5rem;color:#374151;font-weight:700;text-decoration:none;transition:all .2s}
.karma-instagram__cta:hover{border-color:#008CBA;color:#008CBA}

/* Homepage Google reviews (one card per branch) */
.karma-greviews{padding:0 0 5rem}
.karma-greviews__grid{display:grid;grid-template-columns:1fr;gap:1.25rem}
@media (min-width:768px){.karma-greviews__grid{grid-template-columns:repeat(3,1fr)}}
.karma-greview{display:flex;flex-direction:column;gap:1rem;padding:1.5rem;border:1px solid #f3f4f6;border-radius:1.5rem;background:#fff;box-shadow:0 10px 30px -20px rgba(17,24,39,.25)}
.karma-greview__head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}
.karma-greview__name{font-weight:800;font-size:1.0625rem;color:#111827}
.karma-greview__addr{font-size:.8125rem;color:#6b7280;margin-top:.15rem}
.karma-greview__g{flex:none;width:40px;height:40px;border-radius:12px;background:#f3f4f6;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:1.25rem;color:#4285F4}
.karma-greview__score{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}
.karma-greview__num{font-size:1.75rem;font-weight:900;line-height:1;color:#111827}
.karma-greview__stars{display:inline-flex;gap:2px}
.karma-greview__count{font-size:.8125rem;color:#6b7280}
.karma-greview__quote{margin:0;padding:1rem;background:#f9fafb;border-radius:1rem;font-size:.9375rem;color:#374151;line-height:1.6}
.karma-greview__quote footer{display:flex;align-items:center;gap:.6rem;margin-top:.75rem;font-size:.8125rem;color:#6b7280}
.karma-greview__quote footer img{width:28px;height:28px;border-radius:9999px}
.karma-greview__fallback{color:#4b5563;font-size:.9375rem;flex:1}
.karma-greview__actions{display:flex;gap:.6rem;margin-top:auto}
.karma-greview__btn{display:inline-flex;align-items:center;justify-content:center;flex:1;padding:.7rem 1rem;border-radius:.875rem;background:#008CBA;color:#fff;font-weight:800;font-size:.8125rem;text-transform:uppercase;letter-spacing:.06em;text-decoration:none;transition:all .2s}
.karma-greview__btn:hover{background:#00779e}
.karma-greview__btn--ghost{background:#fff;color:#008CBA;border:1px solid #008CBA}
.karma-greview__btn--ghost:hover{background:#eff8fb}

/* Hero right card: one line each for headline and badge. */
.karma-hero-card__title{font-size:20px;white-space:nowrap;text-transform:uppercase;letter-spacing:-.01em}
.karma-hero-card__badge{font-size:13px;white-space:nowrap}
@media (min-width:1024px){
  .karma-hero-card__title{font-size:24px}
  .karma-hero-card__badge{font-size:15px}
}

/* About page: hero intro comes from the page editor. */
.karma-about-intro p{font-size:1.25rem;line-height:1.625;color:#86868b;margin:0 0 1rem}
@media (min-width:1024px){.karma-about-intro p{font-size:1.5rem}}
.karma-about-intro p:last-child{margin-bottom:0}
.karma-about-intro img{border-radius:1rem;margin:1.5rem auto}
.karma-about-intro h2,.karma-about-intro h3{font-weight:600;color:#1d1d1f;margin:1.5rem 0 .5rem}

/* Mega menu "View all" link: tighter above, more room below. */
.karma-mega-menu-viewall{margin-top:-6px;padding-bottom:14px}

/* Sector strip: eleven sectors on one row at laptop widths. */
.karma-mega-quick-link{padding:8px 7px;gap:5px;font-size:11.5px}
.karma-mega-quick-link__icon svg{width:14px;height:14px}
.karma-mega-menu-toggle{padding-left:14px;padding-right:14px}

/* Policy / generic pages: Tailwind typography plugin is not compiled, so style .prose here. */
.prose{font-size:17px;color:#4b5563}
.prose>*+*{margin-top:1em}
.prose h2{font-size:1.5rem;font-weight:800;color:#111827;margin-top:2em;margin-bottom:.6em;line-height:1.3}
.prose h3{font-size:1.2rem;font-weight:700;color:#111827;margin-top:1.6em;margin-bottom:.5em}
.prose h4{font-size:1.05rem;font-weight:700;color:#111827;margin-top:1.4em;margin-bottom:.4em}
.prose p:empty{display:none}
.prose ul,.prose ol{padding-left:1.6em;margin-top:.75em;margin-bottom:1em}
.prose ul{list-style:disc}
.prose ol{list-style:decimal}
.prose li{margin:.35em 0}
.prose li>ul,.prose li>ol{margin-top:.35em;margin-bottom:.35em}
.prose strong{color:#111827;font-weight:700}
.prose a{color:#008CBA;text-decoration:underline;text-underline-offset:2px}
.prose a:hover{color:#00578C}
.prose blockquote{border-left:4px solid #57BFE3;padding-left:1em;color:#374151;font-style:italic}
.prose table{width:100%;border-collapse:collapse;font-size:.95em}
.prose th,.prose td{border:1px solid #e5e7eb;padding:.6em .8em;text-align:left;vertical-align:top}
.prose th{background:#f7f9fc;color:#111827;font-weight:700}
.prose img{max-width:100%;height:auto;border-radius:12px}
.prose hr{border:0;border-top:1px solid #e5e7eb;margin:2em 0}

/* Cookie consent banner */
.karma-cookie{position:fixed;left:16px;right:16px;bottom:16px;z-index:9000;background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 20px 50px rgba(0,0,0,.18);padding:20px;max-width:900px;margin:0 auto;font-size:14px;color:#374151}
.karma-cookie[hidden]{display:none}
.karma-cookie__head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}
.karma-cookie__title{font-weight:800;color:#111827;font-size:16px}
.karma-cookie__brand{font-size:11px;font-weight:800;color:#008CBA;text-transform:uppercase;letter-spacing:.04em}
.karma-cookie__cats{display:none;margin:14px 0 4px;border-top:1px solid #f3f4f6}
.karma-cookie--open .karma-cookie__cats{display:block}
.karma-cookie__cat{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #f3f4f6}
.karma-cookie__cat b{display:block;color:#111827}
.karma-cookie__cat small{color:#6b7280}
.karma-cookie__always{font-size:11px;font-weight:700;color:#15803d;background:#dcfce7;padding:3px 8px;border-radius:999px;white-space:nowrap}
.karma-cookie__cat input{width:18px;height:18px;accent-color:#008CBA;flex-shrink:0}
.karma-cookie__note{font-size:12px;color:#6b7280;margin-top:10px}
.karma-cookie__actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.karma-cookie__btn{flex:1 1 140px;padding:10px 14px;border-radius:10px;font-weight:700;font-size:13px;cursor:pointer;border:1px solid #e5e7eb;background:#f3f4f6;color:#111827}
.karma-cookie__btn--primary{background:#008CBA;border-color:#008CBA;color:#fff}
.karma-cookie__btn--primary:hover{background:#00578C}
.karma-cookie__btn--save{display:none}
.karma-cookie--open .karma-cookie__btn--save{display:block}
.karma-cookie--open .karma-cookie__btn--customise{display:none}
@media(max-width:640px){.karma-cookie{left:8px;right:8px;bottom:8px;padding:16px}}

/* About intro: first paragraph is the large centred lead; a heading starts the long-form text below it. */
.karma-about-intro h2{font-size:2rem;text-align:center;margin:3.5rem 0 1.5rem;letter-spacing:-.01em}
.karma-about-intro h2 ~ p{font-size:1.125rem;line-height:1.7;text-align:left;color:#4b5563}
@media (min-width:1024px){.karma-about-intro h2{font-size:2.5rem}.karma-about-intro h2 ~ p{font-size:1.125rem}}
.karma-about-intro h2 ~ p strong{color:#1d1d1f}

/* About hero: tight gap between the intro text and the stats strip. */
.karma-about-hero{padding:80px 0 40px}
@media (min-width:1024px){.karma-about-hero{padding:112px 0 56px}}

/* Smash Balloon Instagram Feed inside the homepage section: our own heading is above it. */
.karma-instagram__sbi #sb_instagram .sb_instagram_header{display:none}
.karma-instagram__sbi #sb_instagram .sbi_item img,.karma-instagram__sbi #sb_instagram .sbi_photo{border-radius:16px}
.karma-instagram__sbi #sb_instagram #sbi_load .sbi_follow_btn{display:none}

/* Careers: city filter + collapsible vacancies */
.karma-jobs__filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.karma-jobs__filter{display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border-radius:999px;border:1px solid #e5e7eb;background:#fff;font-weight:700;font-size:14px;color:#374151;cursor:pointer}
.karma-jobs__filter span{font-size:12px;font-weight:800;padding:2px 8px;border-radius:999px;background:#f3f4f6;color:#4b5563}
.karma-jobs__filter:hover{border-color:#008CBA;color:#008CBA}
.karma-jobs__filter.is-active{background:#008CBA;border-color:#008CBA;color:#fff}
.karma-jobs__filter.is-active span{background:rgba(255,255,255,.2);color:#fff}
.karma-jobs{display:flex;flex-direction:column;gap:12px}
.karma-job{border:1px solid #e5e7eb;border-radius:16px;background:#fff;overflow:hidden}
.karma-job[hidden]{display:none}
.karma-job__summary{display:flex;align-items:center;gap:14px;padding:18px 20px;cursor:pointer;list-style:none}
.karma-job__summary::-webkit-details-marker{display:none}
.karma-job__city{flex-shrink:0;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#008CBA;background:#e6f4f9;padding:4px 10px;border-radius:999px}
.karma-job__title{flex:1;font-weight:800;color:#111827;font-size:15px;line-height:1.3}
.karma-job__chevron{flex-shrink:0;color:#9ca3af;transition:transform .2s}
.karma-job[open] .karma-job__chevron{transform:rotate(180deg)}
.karma-job[open] .karma-job__summary{border-bottom:1px solid #f3f4f6}
.karma-job__body{padding:4px 20px 24px}
.karma-job__body h3{font-size:1.05rem;margin-top:1.4em}
@media(max-width:640px){.karma-job__summary{flex-wrap:wrap}.karma-job__title{flex-basis:100%;order:3}}

/* Category bar: Water Disinfection button on the right */
.karma-mega-disinfection{display:inline-flex;align-items:center;gap:7px;margin-left:6px;padding:9px 14px;border-radius:12px;font-size:12px;font-weight:800;white-space:nowrap;background:#008CBA;color:#fff;transition:background .15s}
.karma-mega-disinfection:hover{background:#00578C;color:#fff}
.karma-mega-disinfection svg{width:15px;height:15px;stroke:#fff}
/* Laptop widths: tighter strip so all eleven sectors plus the Disinfection button fit on one row */
@media (min-width:1024px) and (max-width:1535px){
  .karma-mega-quick-link{padding:7px 5px;gap:4px;font-size:11px}
  .karma-mega-quick-link__icon svg{width:13px;height:13px}
  .karma-header-cats .overflow-x-auto{gap:2px;margin-left:4px}
  .karma-mega-menu-toggle{padding-left:12px;padding-right:12px;gap:8px}
  .karma-mega-menu-toggle .mega-menu-chevron{display:none}
  .karma-mega-disinfection{padding:8px 11px;font-size:11px;margin-left:4px}
  .karma-mega-disinfection .karma-mega-disinfection__long{display:none}
}

/* Category guide article: visible bullets */
.karma-category-info__body ul{list-style:disc;padding-left:1.5em;margin:.75em 0 1em}
.karma-category-info__body ol{list-style:decimal;padding-left:1.5em;margin:.75em 0 1em}
.karma-category-info__body li{margin:.35em 0}

/* Homepage hero, left panel: two-line headline + intro line */
.karma-hero-left__line{margin:0;font-size:34px;line-height:1;letter-spacing:-0.02em}
h2.karma-hero-left__line{margin-bottom:16px}
.karma-hero-left__text{margin:0 0 24px;font-size:16px;line-height:1.4}
@media (min-width:1024px){.karma-hero-left__line{font-size:52px}.karma-hero-left__text{font-size:20px}}
@media (min-width:1280px){.karma-hero-left__line{font-size:60px}}
