/* KFH STEP 1 Product SEO Pilot v1.1.6
   Reference layout scoped ONLY to the five approved pilot product pages.
   Visual direction: KidsFurnitureHub brand palette - turquoise/cyan, white, pale aqua, dark ink.
*/
body.kfh-reference-pilot{
  --kfh-ink:#24343b;
  --kfh-muted:#64777d;
  --kfh-brand:#57c5ce;
  --kfh-brand-dark:#329faa;
  --kfh-brand-deep:#1f7f89;
  --kfh-soft:#effafb;
  --kfh-soft-2:#e4f6f8;
  --kfh-page:#f8fcfd;
  --kfh-white:#fff;
  --kfh-border:#c7e9ec;
  --kfh-shadow:0 10px 28px rgba(32,111,120,.08);
  background:var(--kfh-page);
  color:var(--kfh-ink);
}
body.kfh-reference-pilot #main,
body.kfh-reference-pilot .shop-container{background:var(--kfh-page)}
body.kfh-reference-pilot .product-main{padding-top:26px;padding-bottom:26px;background:var(--kfh-page)}
body.kfh-reference-pilot .product-main .row.content-row{align-items:flex-start}

/* v1.1.4: On pilot product pages only, disable Flatsome's sticky/stuck desktop header.
   The header remains in normal document flow and scrolls away with the page. */
body.kfh-reference-pilot #header .header-wrapper.stuck,
body.kfh-reference-pilot #header .header-wrapper.stuck.fade-in,
body.kfh-reference-pilot #header .header-wrapper.stuck.sticky-jump,
body.kfh-reference-pilot .header-wrapper.stuck,
body.kfh-reference-pilot .header-wrapper.stuck.fade-in{
  position:relative!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  width:100%!important;
  transform:none!important;
  -webkit-transform:none!important;
  animation:none!important;
  -webkit-animation:none!important;
}
body.kfh-reference-pilot #header .header-wrapper.stuck .header-main,
body.kfh-reference-pilot #header .header-wrapper.stuck .header-bottom,
body.kfh-reference-pilot #header .header-wrapper.stuck #wide-nav,
body.kfh-reference-pilot .header-wrapper.stuck .header-main,
body.kfh-reference-pilot .header-wrapper.stuck .header-bottom,
body.kfh-reference-pilot .header-wrapper.stuck #wide-nav{
  position:relative!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  transform:none!important;
  -webkit-transform:none!important;
}
body.kfh-reference-pilot #header .header-wrapper.stuck,
body.kfh-reference-pilot #header .header-wrapper.stuck .header-main,
body.kfh-reference-pilot #header .header-wrapper.stuck .header-bottom,
body.kfh-reference-pilot #header .header-wrapper.stuck #wide-nav{
  margin-top:0!important;
}
/* v1.1.5 fallback: even if a cache or third-party script re-adds a sticky class,
   keep every pilot header layer in normal flow. The primary fix removes Flatsome's
   has-sticky / sticky-* classes server-side before the header renders. */
body.kfh-reference-pilot #header,
body.kfh-reference-pilot #header .header-wrapper,
body.kfh-reference-pilot #header .header-main,
body.kfh-reference-pilot #header .header-bottom,
body.kfh-reference-pilot #header #wide-nav{
  position:relative!important;
  top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
  transform:none!important;-webkit-transform:none!important;
}
body.kfh-reference-pilot #header .header-wrapper{width:100%!important}

/* v1.1.2 spacing refinement: more breathing room in the top product panel. */

/* TOP: gallery + product information cards */
body.kfh-reference-pilot .product-gallery,
body.kfh-reference-pilot .product-info{
  background:var(--kfh-white);
  border:1px solid var(--kfh-border);
  border-radius:22px;
  box-shadow:var(--kfh-shadow);
  padding:28px!important;
  overflow:hidden;
}
body.kfh-reference-pilot .product-gallery .product-images,
body.kfh-reference-pilot .product-gallery .woocommerce-product-gallery{margin-bottom:0}

/* v1.2.2: keep the left gallery card at its natural content height.
   Prevent the two-column row from stretching the gallery to match a taller product-info card. */
body.kfh-reference-pilot .product-main .product-gallery{
  align-self:flex-start!important;
  height:auto!important;
  min-height:0!important;
}
body.kfh-reference-pilot .product-main .product-gallery .col-inner,
body.kfh-reference-pilot .product-main .product-gallery .product-images,
body.kfh-reference-pilot .product-main .product-gallery .woocommerce-product-gallery{
  height:auto!important;
  min-height:0!important;
}
body.kfh-reference-pilot .product-gallery img{border-radius:14px}
body.kfh-reference-pilot .product-gallery .flickity-button,
body.kfh-reference-pilot .product-gallery .product-gallery-slider .flickity-prev-next-button{
  background:rgba(255,255,255,.92)!important;
  border:1px solid var(--kfh-border)!important;
  box-shadow:0 4px 12px rgba(31,127,137,.10)!important;
}
body.kfh-reference-pilot .product-thumbnails{margin-top:16px!important}
body.kfh-reference-pilot .product-thumbnails img{border-radius:9px;border:2px solid transparent!important;box-sizing:border-box;transition:border-color .18s ease,opacity .18s ease}
body.kfh-reference-pilot .product-thumbnails .is-nav-selected img,
body.kfh-reference-pilot .product-thumbnails .is-selected img{border-color:var(--kfh-brand)!important;opacity:1!important}

body.kfh-reference-pilot .kfh-reference-eyebrow,
body.kfh-reference-pilot .kfh-reference-section-kicker,
body.kfh-reference-pilot .kfh-spec-blueprint:before,
body.kfh-reference-pilot .kfh-product-description-heading span{
  display:block;
  color:var(--kfh-brand-deep);
  font-family:Arial,sans-serif;
  font-size:10px;
  font-weight:800;
  line-height:1.2;
  letter-spacing:.13em;
  text-transform:uppercase;
}
body.kfh-reference-pilot .kfh-reference-eyebrow{margin:3px 0 13px}
body.kfh-reference-pilot .product-title,
body.kfh-reference-pilot .product_title{
  margin:0 0 20px!important;
  color:var(--kfh-ink)!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(30px,3vw,46px)!important;
  font-weight:700!important;
  line-height:1.02!important;
  letter-spacing:-.025em!important;
  text-transform:none!important;
}
body.kfh-reference-pilot .product-info .is-divider{width:100%;height:1px;max-width:none;background:var(--kfh-border);opacity:.75}
body.kfh-reference-pilot .price{color:var(--kfh-ink)!important}

/* Short description / product overview */
body.kfh-reference-pilot .kfh-product-snapshot{
  width:100%;margin:20px 0 22px;overflow:hidden;
  border:1px solid var(--kfh-border);border-radius:13px;
  background:var(--kfh-soft);box-shadow:none;
  color:var(--kfh-ink);font-size:13px;line-height:1.65;
}
body.kfh-reference-pilot .kfh-product-snapshot:before{
  content:"✓  Product Overview";display:block;padding:10px 14px 0;
  background:transparent;border:0;color:var(--kfh-brand-deep);
  font-family:Arial,sans-serif;font-size:10px;font-weight:800;line-height:1.15;
  letter-spacing:.08em;text-transform:uppercase;
}
body.kfh-reference-pilot .kfh-product-snapshot-body{padding:7px 14px 11px}
body.kfh-reference-pilot .kfh-product-snapshot-body p{margin:0;color:var(--kfh-ink)}
body.kfh-reference-pilot .kfh-product-overview-points{
  list-style:none!important;margin:0!important;padding:0!important;display:grid;gap:4px;
}
body.kfh-reference-pilot .kfh-product-overview-points li{
  display:grid;grid-template-columns:16px minmax(0,1fr);gap:6px;align-items:start;
  margin:0!important;padding:2px 0!important;color:var(--kfh-ink);
  font-size:11px;line-height:1.32;
}
body.kfh-reference-pilot .kfh-product-overview-points li:before{display:none!important}
body.kfh-reference-pilot .kfh-overview-check{
  display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;margin-top:0;
  border:1px solid var(--kfh-border);border-radius:50%;background:#fff;color:var(--kfh-brand-deep);
  font-size:8px;font-weight:900;line-height:1;
}
@media (min-width:1000px){
  body.kfh-reference-pilot .kfh-product-overview-points li{font-size:11px;line-height:1.42;white-space:normal}
}
@media (max-width:999px){
  body.kfh-reference-pilot .kfh-product-overview-points li{font-size:11.5px;line-height:1.38}
}

/* Existing Woo external-product button: same behavior, only visual treatment. */
body.kfh-reference-pilot .product-info .single_add_to_cart_button,
body.kfh-reference-pilot .product-info a.single_add_to_cart_button,
body.kfh-reference-pilot .product-info .cart .button{
  width:100%!important;min-height:48px!important;margin:0!important;
  border:0!important;border-radius:10px!important;
  background:linear-gradient(90deg,#57c5ce,#36aab5)!important;
  box-shadow:0 8px 18px rgba(50,159,170,.20)!important;
  color:#fff!important;font-family:Arial,sans-serif!important;
  font-size:13px!important;font-weight:800!important;letter-spacing:.04em!important;
  text-align:center!important;text-transform:uppercase!important;
}
body.kfh-reference-pilot .product-info .single_add_to_cart_button:hover,
body.kfh-reference-pilot .product-info .cart .button:hover{background:linear-gradient(90deg,#43b7c1,#258f99)!important;transform:translateY(-1px)}
body.kfh-reference-pilot .product-info .product_meta{margin-top:24px;padding-top:17px;border-top:1px solid var(--kfh-border);font-size:11px;color:var(--kfh-muted)}

/* LONG DESCRIPTION */
body.kfh-reference-pilot .kfh-step1-pilot,
body.kfh-reference-pilot .kfh-product-snapshot{box-sizing:border-box}
body.kfh-reference-pilot .kfh-step1-pilot *{box-sizing:border-box;min-width:0}
body.kfh-reference-pilot .kfh-step1-pilot{width:100%;max-width:100%;margin:28px 0 12px;color:var(--kfh-ink);font-size:15px;line-height:1.72}

/* Product Specifications panel */
body.kfh-reference-pilot .kfh-spec-blueprint{
  position:relative;width:100%;margin:0 0 26px;padding:34px 22px 22px;
  overflow:hidden;border:1px solid var(--kfh-border);border-radius:20px;
  background:var(--kfh-white);box-shadow:var(--kfh-shadow);
}
body.kfh-reference-pilot .kfh-spec-blueprint:before{content:"Product Information";margin:0 0 7px}
body.kfh-reference-pilot .kfh-spec-title{padding:0 0 16px;background:transparent;border:0}
body.kfh-reference-pilot .kfh-spec-title h2{
  margin:0;color:var(--kfh-ink);font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(27px,3vw,38px);font-weight:700;line-height:1.1;text-align:left;letter-spacing:-.02em;text-transform:none;
}
body.kfh-reference-pilot .kfh-spec-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;
  margin:0;padding:0;background:transparent;
}
body.kfh-reference-pilot .kfh-spec-item{
  display:flex;flex-direction:column;justify-content:center;min-height:76px;margin:0;
  padding:14px 16px;border:1px solid #d4edef;border-radius:12px;
  background:linear-gradient(135deg,#f8feff,#edf9fa);
}
body.kfh-reference-pilot .kfh-spec-item dt{
  margin:0 0 6px;color:var(--kfh-brand-deep);font-family:Arial,sans-serif;
  font-size:9px;font-weight:800;line-height:1.35;letter-spacing:.09em;text-transform:uppercase;overflow-wrap:anywhere;
}
body.kfh-reference-pilot .kfh-spec-item dd{margin:0;color:var(--kfh-ink);font-size:13px;font-weight:650;line-height:1.45;overflow-wrap:anywhere}

/* Product Description label and editorial cards */
body.kfh-reference-pilot .kfh-product-description-heading{
  margin:32px 0 10px;padding-top:14px;border-top:1px solid var(--kfh-border);
}
body.kfh-reference-pilot .kfh-step1-pilot>h2,
body.kfh-reference-pilot .kfh-step1-pilot>h3{
  margin:14px 0 8px;padding:14px 16px;border:1px solid #d5edef;border-left:4px solid var(--kfh-brand);
  border-radius:12px;background:#fbfeff;color:var(--kfh-ink);
  font-family:Georgia,"Times New Roman",serif;font-weight:700;line-height:1.22;letter-spacing:-.012em;text-transform:none;
}
body.kfh-reference-pilot .kfh-step1-pilot>h2{font-size:clamp(22px,2.3vw,31px)}
body.kfh-reference-pilot .kfh-step1-pilot>h3{font-size:clamp(18px,2vw,24px)}
body.kfh-reference-pilot .kfh-step1-pilot>p{
  margin:0 0 10px;padding:14px 17px;border:1px solid #e0f0f2;border-radius:12px;
  background:var(--kfh-white);color:#33484e;line-height:1.7;box-shadow:0 4px 14px rgba(32,111,120,.035);
}
body.kfh-reference-pilot .kfh-context-link{color:#247f89;font-weight:800;text-decoration:none;border-bottom:1px solid rgba(36,127,137,.35);overflow-wrap:anywhere}
body.kfh-reference-pilot .kfh-context-link:hover{color:var(--kfh-brand-dark);border-bottom-color:var(--kfh-brand-dark)}
body.kfh-reference-pilot .kfh-cta-row{display:flex;justify-content:center;width:100%;margin:18px 0 0;padding-top:16px;border-top:1px solid var(--kfh-border)}
body.kfh-reference-pilot .kfh-amazon-link{
  display:inline-flex;align-items:center;justify-content:center;width:100%;max-width:520px;min-height:46px;padding:12px 20px;
  border:0;border-radius:10px;background:linear-gradient(90deg,#57c5ce,#36aab5);color:#fff!important;
  box-shadow:0 8px 18px rgba(50,159,170,.18);font-family:Arial,sans-serif;font-size:12px;font-weight:800;line-height:1.25;
  letter-spacing:.04em;text-align:center;text-decoration:none!important;text-transform:uppercase;
}
body.kfh-reference-pilot .kfh-amazon-link:after{content:" →";margin-left:7px}
body.kfh-reference-pilot .kfh-amazon-link:hover{background:linear-gradient(90deg,#43b7c1,#258f99);color:#fff!important}

/* Woo description area / tabs: keep behavior, harmonize visuals. */
body.kfh-reference-pilot .product-footer{background:var(--kfh-page)}
body.kfh-reference-pilot .woocommerce-tabs{margin-top:10px}
body.kfh-reference-pilot .woocommerce-tabs .tabs{border-bottom-color:var(--kfh-border)}
body.kfh-reference-pilot .woocommerce-tabs .tabs li a{color:var(--kfh-muted);font-size:12px;letter-spacing:.03em}
body.kfh-reference-pilot .woocommerce-tabs .tabs li.active a{color:var(--kfh-brand-deep)}

/* Related products */
body.kfh-reference-pilot .related.products,
body.kfh-reference-pilot .upsells.products{margin-top:30px;padding-top:20px}
body.kfh-reference-pilot .related.products>h2,
body.kfh-reference-pilot .upsells.products>h2{
  position:relative;margin:0 0 20px;color:var(--kfh-ink);font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(30px,3vw,42px);font-weight:700;letter-spacing:-.02em;text-transform:none;
}
body.kfh-reference-pilot .related.products>h2:before,
body.kfh-reference-pilot .upsells.products>h2:before{
  content:"Continue Browsing";display:block;margin-bottom:8px;color:var(--kfh-brand-deep);font-family:Arial,sans-serif;
  font-size:10px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;
}
body.kfh-reference-pilot .related.products .product-small .col-inner,
body.kfh-reference-pilot .upsells.products .product-small .col-inner{
  height:100%;overflow:hidden;border:1px solid #d4edef;border-radius:15px;background:#fff;box-shadow:0 7px 20px rgba(32,111,120,.05);
}
body.kfh-reference-pilot .related.products .box-image,
body.kfh-reference-pilot .upsells.products .box-image{background:#fff}
body.kfh-reference-pilot .related.products .box-text,
body.kfh-reference-pilot .upsells.products .box-text{padding:13px 13px 15px}
body.kfh-reference-pilot .related.products .product-title,
body.kfh-reference-pilot .upsells.products .product-title{
  margin-top:8px!important;
  font-family:Arial,sans-serif!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.28!important;
  letter-spacing:0!important;
}
body.kfh-reference-pilot .related.products .product-title a,
body.kfh-reference-pilot .upsells.products .product-title a{
  color:var(--kfh-ink)!important;
  font-family:Arial,sans-serif!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.28!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
body.kfh-reference-pilot .related.products .box-text,
body.kfh-reference-pilot .upsells.products .box-text{line-height:1.28!important}

/* v1.1.5: exact Flatsome/WooCommerce title selectors. This intentionally
   overrides theme typography that can otherwise make related titles oversized. */
body.kfh-reference-pilot .related.products .box-text-products .product-title,
body.kfh-reference-pilot .related.products .box-text-products .product-title a,
body.kfh-reference-pilot .related.products .box-text-products .name,
body.kfh-reference-pilot .related.products .box-text-products .name a,
body.kfh-reference-pilot .related.products .box-text .product-title,
body.kfh-reference-pilot .related.products .box-text .product-title a,
body.kfh-reference-pilot .related.products .box-text .name,
body.kfh-reference-pilot .related.products .box-text .name a,
body.kfh-reference-pilot .related.products .woocommerce-loop-product__title,
body.kfh-reference-pilot .upsells.products .box-text-products .product-title,
body.kfh-reference-pilot .upsells.products .box-text-products .product-title a,
body.kfh-reference-pilot .upsells.products .box-text-products .name,
body.kfh-reference-pilot .upsells.products .box-text-products .name a,
body.kfh-reference-pilot .upsells.products .box-text .product-title,
body.kfh-reference-pilot .upsells.products .box-text .product-title a,
body.kfh-reference-pilot .upsells.products .box-text .name,
body.kfh-reference-pilot .upsells.products .box-text .name a,
body.kfh-reference-pilot .upsells.products .woocommerce-loop-product__title{
  font-family:Arial,sans-serif!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.28!important;
  letter-spacing:0!important;
  text-transform:none!important;
}

body.kfh-reference-pilot .related.products .button,
body.kfh-reference-pilot .upsells.products .button{
  width:100%;margin:10px 0 0;border:1px solid var(--kfh-border);border-radius:999px;background:var(--kfh-soft);
  color:var(--kfh-ink);font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
}

/* Product tags panel added after Related Products. */
body.kfh-reference-pilot .kfh-reference-tags{
  margin:30px auto 36px;padding:22px 24px;border:1px solid var(--kfh-border);border-radius:18px;
  background:var(--kfh-white);box-shadow:var(--kfh-shadow);
}
body.kfh-reference-pilot .kfh-reference-tags h2{
  margin:7px 0 14px;color:var(--kfh-ink);font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(25px,2.8vw,35px);font-weight:700;line-height:1.1;text-transform:none;
}
body.kfh-reference-pilot .kfh-reference-tag-list{display:flex;flex-wrap:wrap;gap:8px}
body.kfh-reference-pilot .kfh-reference-tag-list a{
  display:inline-flex;align-items:center;min-height:27px;padding:5px 10px;border:1px solid var(--kfh-border);border-radius:999px;
  background:var(--kfh-soft);color:#216f78;font-size:10px;font-weight:700;text-decoration:none;
}
body.kfh-reference-pilot .kfh-reference-tag-list a:hover{background:var(--kfh-soft-2);color:var(--kfh-brand-dark)}

@media (min-width:850px){
  body.kfh-reference-pilot .product-main .row.content-row{column-gap:26px}
  body.kfh-reference-pilot .product-main .product-gallery{width:calc(50% - 13px)!important;max-width:calc(50% - 13px)!important;flex-basis:calc(50% - 13px)!important}
  body.kfh-reference-pilot .product-main .product-info{width:calc(50% - 13px)!important;max-width:calc(50% - 13px)!important;flex-basis:calc(50% - 13px)!important}
}
@media (max-width:849px){
  body.kfh-reference-pilot .product-main .row.content-row{row-gap:18px}
  body.kfh-reference-pilot .product-gallery,
  body.kfh-reference-pilot .product-info{border-radius:17px;padding:20px!important;margin-bottom:0}
  body.kfh-reference-pilot .product-title,body.kfh-reference-pilot .product_title{font-size:clamp(28px,7vw,38px)!important}
}
@media (max-width:600px){
  body.kfh-reference-pilot .kfh-spec-grid{grid-template-columns:1fr}
  body.kfh-reference-pilot .kfh-spec-blueprint{padding:26px 14px 14px;border-radius:16px}
  body.kfh-reference-pilot .kfh-step1-pilot{font-size:14px}
  body.kfh-reference-pilot .kfh-step1-pilot>h2,
  body.kfh-reference-pilot .kfh-step1-pilot>h3{padding:12px 13px}
  body.kfh-reference-pilot .kfh-step1-pilot>p{padding:12px 13px}
  body.kfh-reference-pilot .kfh-reference-tags{padding:18px 16px}
  body.kfh-reference-pilot .related.products .product-title,
  body.kfh-reference-pilot .upsells.products .product-title,
  body.kfh-reference-pilot .related.products .product-title a,
  body.kfh-reference-pilot .upsells.products .product-title a{
    font-size:10.5px!important;
    line-height:1.22!important;
  }
  body.kfh-reference-pilot .related.products .box-text-products .product-title,
  body.kfh-reference-pilot .related.products .box-text-products .product-title a,
  body.kfh-reference-pilot .related.products .box-text-products .name,
  body.kfh-reference-pilot .related.products .box-text-products .name a,
  body.kfh-reference-pilot .related.products .box-text .product-title,
  body.kfh-reference-pilot .related.products .box-text .product-title a,
  body.kfh-reference-pilot .related.products .box-text .name,
  body.kfh-reference-pilot .related.products .box-text .name a,
  body.kfh-reference-pilot .related.products .woocommerce-loop-product__title,
  body.kfh-reference-pilot .upsells.products .box-text-products .product-title,
  body.kfh-reference-pilot .upsells.products .box-text-products .product-title a,
  body.kfh-reference-pilot .upsells.products .box-text-products .name,
  body.kfh-reference-pilot .upsells.products .box-text-products .name a,
  body.kfh-reference-pilot .upsells.products .box-text .product-title,
  body.kfh-reference-pilot .upsells.products .box-text .product-title a,
  body.kfh-reference-pilot .upsells.products .box-text .name,
  body.kfh-reference-pilot .upsells.products .box-text .name a,
  body.kfh-reference-pilot .upsells.products .woocommerce-loop-product__title{font-size:10.5px!important;line-height:1.22!important}
  body.kfh-reference-pilot .related.products .box-text,
  body.kfh-reference-pilot .upsells.products .box-text{padding:9px 8px 12px}
}


/* v1.1.6 final non-sticky fallback. This block is intentionally last in the stylesheet.
   Runtime inline CSS/JS also enforces the same rule after Flatsome scripts execute. */
html body.kfh-reference-pilot #header,
html body.kfh-reference-pilot #header.header,
html body.kfh-reference-pilot #header .header-wrapper,
html body.kfh-reference-pilot #header .header-wrapper.stuck,
html body.kfh-reference-pilot #header .header-main,
html body.kfh-reference-pilot #header .header-bottom,
html body.kfh-reference-pilot #header #wide-nav{
  position:relative!important;
  top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
  transform:none!important;-webkit-transform:none!important;
  animation:none!important;-webkit-animation:none!important;
}
html body.kfh-reference-pilot #header .header-wrapper{width:100%!important}

/* v1.1.7 Related Products compact-card hardening.
   Titles are NOT changed in WordPress; only their visible card display is clamped. */
html body.kfh-reference-pilot .related.products .row,
html body.kfh-reference-pilot .upsells.products .row{align-items:stretch!important}
html body.kfh-reference-pilot .related.products .product-small,
html body.kfh-reference-pilot .upsells.products .product-small{display:flex!important}
html body.kfh-reference-pilot .related.products .product-small .col-inner,
html body.kfh-reference-pilot .upsells.products .product-small .col-inner,
html body.kfh-reference-pilot .related.products .product-small .box,
html body.kfh-reference-pilot .upsells.products .product-small .box{
  display:flex!important;flex-direction:column!important;height:100%!important;width:100%!important;
}
html body.kfh-reference-pilot .related.products .product-small .box-text,
html body.kfh-reference-pilot .upsells.products .product-small .box-text{
  display:flex!important;flex:1 1 auto!important;flex-direction:column!important;padding:11px 10px 13px!important;
}
html body.kfh-reference-pilot .related.products .product-small .product-title,
html body.kfh-reference-pilot .related.products .product-small .product-title a,
html body.kfh-reference-pilot .related.products .product-small .name,
html body.kfh-reference-pilot .related.products .product-small .name a,
html body.kfh-reference-pilot .related.products .product-small .woocommerce-loop-product__title,
html body.kfh-reference-pilot .related.products .product-small .woocommerce-loop-product__title a,
html body.kfh-reference-pilot .upsells.products .product-small .product-title,
html body.kfh-reference-pilot .upsells.products .product-small .product-title a,
html body.kfh-reference-pilot .upsells.products .product-small .name,
html body.kfh-reference-pilot .upsells.products .product-small .name a,
html body.kfh-reference-pilot .upsells.products .product-small .woocommerce-loop-product__title,
html body.kfh-reference-pilot .upsells.products .product-small .woocommerce-loop-product__title a{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
  overflow:hidden!important;
  max-height:50.7px!important;
  margin:7px 0 5px!important;
  color:var(--kfh-ink)!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.3!important;
  letter-spacing:0!important;
  text-transform:none!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
}
html body.kfh-reference-pilot .related.products .product-small .price-wrapper,
html body.kfh-reference-pilot .upsells.products .product-small .price-wrapper{margin-top:auto!important}
html body.kfh-reference-pilot .related.products .product-small .price,
html body.kfh-reference-pilot .upsells.products .product-small .price{font-size:11px!important;line-height:1.25!important}
html body.kfh-reference-pilot .related.products .product-small .button,
html body.kfh-reference-pilot .upsells.products .product-small .button{margin-top:8px!important}
@media (max-width:600px){
  html body.kfh-reference-pilot .related.products .product-small,
  html body.kfh-reference-pilot .upsells.products .product-small{width:50%!important;max-width:50%!important;flex-basis:50%!important}
  html body.kfh-reference-pilot .related.products .product-small .box-text,
  html body.kfh-reference-pilot .upsells.products .product-small .box-text{padding:9px 8px 11px!important}
  html body.kfh-reference-pilot .related.products .product-small .product-title,
  html body.kfh-reference-pilot .related.products .product-small .product-title a,
  html body.kfh-reference-pilot .related.products .product-small .name,
  html body.kfh-reference-pilot .related.products .product-small .name a,
  html body.kfh-reference-pilot .related.products .product-small .woocommerce-loop-product__title,
  html body.kfh-reference-pilot .related.products .product-small .woocommerce-loop-product__title a,
  html body.kfh-reference-pilot .upsells.products .product-small .product-title,
  html body.kfh-reference-pilot .upsells.products .product-small .product-title a,
  html body.kfh-reference-pilot .upsells.products .product-small .name,
  html body.kfh-reference-pilot .upsells.products .product-small .name a,
  html body.kfh-reference-pilot .upsells.products .product-small .woocommerce-loop-product__title,
  html body.kfh-reference-pilot .upsells.products .product-small .woocommerce-loop-product__title a{
    font-size:11.5px!important;line-height:1.3!important;max-height:44.9px!important;
  }
}


/* v1.1.8 Related Products full card-grid rebuild.
   Product titles/data are unchanged; only the pilot-page presentation is rebuilt. */
html body.kfh-reference-pilot .related.products .row,
html body.kfh-reference-pilot .upsells.products .row{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
  margin:0!important;
  align-items:stretch!important;
}
html body.kfh-reference-pilot .related.products .product-small,
html body.kfh-reference-pilot .upsells.products .product-small,
html body.kfh-reference-pilot .related.products li.product,
html body.kfh-reference-pilot .upsells.products li.product{
  width:auto!important;max-width:none!important;min-width:0!important;flex-basis:auto!important;
  padding:0!important;margin:0!important;display:block!important;
}
html body.kfh-reference-pilot .related.products .product-small .col-inner,
html body.kfh-reference-pilot .upsells.products .product-small .col-inner,
html body.kfh-reference-pilot .related.products li.product .col-inner,
html body.kfh-reference-pilot .upsells.products li.product .col-inner{
  display:flex!important;flex-direction:column!important;height:100%!important;min-width:0!important;overflow:hidden!important;
  border:1px solid #cfeaec!important;border-radius:14px!important;background:#fff!important;
  box-shadow:0 7px 18px rgba(32,111,120,.06)!important;
}
html body.kfh-reference-pilot .related.products .box,
html body.kfh-reference-pilot .upsells.products .box{display:flex!important;flex-direction:column!important;height:100%!important;min-width:0!important}
html body.kfh-reference-pilot .related.products .box-image,
html body.kfh-reference-pilot .upsells.products .box-image{
  aspect-ratio:1/1!important;height:auto!important;min-height:0!important;overflow:hidden!important;background:#fff!important;padding:8px!important;
}
html body.kfh-reference-pilot .related.products .box-image img,
html body.kfh-reference-pilot .upsells.products .box-image img{
  width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;
}
html body.kfh-reference-pilot .related.products .box-text,
html body.kfh-reference-pilot .upsells.products .box-text{
  display:flex!important;flex:1 1 auto!important;flex-direction:column!important;min-width:0!important;
  padding:12px!important;text-align:left!important;
}
html body.kfh-reference-pilot .related.products .category,
html body.kfh-reference-pilot .upsells.products .category{
  margin:0 0 6px!important;color:#2b8992!important;font:800 9px/1.2 Arial,Helvetica,sans-serif!important;
  letter-spacing:.08em!important;text-transform:uppercase!important;
}
html body.kfh-reference-pilot .related.products .product-title,
html body.kfh-reference-pilot .related.products .product-title a,
html body.kfh-reference-pilot .related.products .name,
html body.kfh-reference-pilot .related.products .name a,
html body.kfh-reference-pilot .related.products .woocommerce-loop-product__title,
html body.kfh-reference-pilot .related.products .woocommerce-loop-product__title a,
html body.kfh-reference-pilot .upsells.products .product-title,
html body.kfh-reference-pilot .upsells.products .product-title a,
html body.kfh-reference-pilot .upsells.products .name,
html body.kfh-reference-pilot .upsells.products .name a,
html body.kfh-reference-pilot .upsells.products .woocommerce-loop-product__title,
html body.kfh-reference-pilot .upsells.products .woocommerce-loop-product__title a{
  display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;
  min-height:35.1px!important;max-height:35.1px!important;margin:0!important;
  color:#24363b!important;font:700 13px/1.35 Arial,Helvetica,sans-serif!important;
  letter-spacing:0!important;text-transform:none!important;overflow-wrap:anywhere!important;word-break:normal!important;
}
html body.kfh-reference-pilot .related.products .price-wrapper,
html body.kfh-reference-pilot .upsells.products .price-wrapper{margin-top:auto!important;padding-top:10px!important}
html body.kfh-reference-pilot .related.products .price,
html body.kfh-reference-pilot .upsells.products .price{color:#24363b!important;font:700 12px/1.25 Arial,Helvetica,sans-serif!important}
html body.kfh-reference-pilot .related.products .button,
html body.kfh-reference-pilot .upsells.products .button{
  display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:32px!important;
  margin:10px 0 0!important;padding:7px 10px!important;border:1px solid #57c5ce!important;border-radius:999px!important;
  background:#eaf9fa!important;color:#216f78!important;font:800 9px/1 Arial,Helvetica,sans-serif!important;
  letter-spacing:.06em!important;text-transform:uppercase!important;
}
@media (max-width:849px){
  html body.kfh-reference-pilot .related.products .row,
  html body.kfh-reference-pilot .upsells.products .row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  html body.kfh-reference-pilot .related.products .box-text,
  html body.kfh-reference-pilot .upsells.products .box-text{padding:10px!important}
  html body.kfh-reference-pilot .related.products .product-title,
  html body.kfh-reference-pilot .related.products .product-title a,
  html body.kfh-reference-pilot .related.products .name,
  html body.kfh-reference-pilot .related.products .name a,
  html body.kfh-reference-pilot .related.products .woocommerce-loop-product__title,
  html body.kfh-reference-pilot .related.products .woocommerce-loop-product__title a,
  html body.kfh-reference-pilot .upsells.products .product-title,
  html body.kfh-reference-pilot .upsells.products .product-title a,
  html body.kfh-reference-pilot .upsells.products .name,
  html body.kfh-reference-pilot .upsells.products .name a,
  html body.kfh-reference-pilot .upsells.products .woocommerce-loop-product__title,
  html body.kfh-reference-pilot .upsells.products .woocommerce-loop-product__title a{
    min-height:32.4px!important;max-height:32.4px!important;font-size:12px!important;line-height:1.35!important;
  }
}


/* v1.1.9 — controlled Related Products cards on pilot pages.
   Native Flatsome related output is removed server-side only for the 5 pilot products. */
body.kfh-reference-pilot .kfh-related-products{
  margin:34px auto 30px;padding:0;width:100%;
}
body.kfh-reference-pilot .kfh-related-kicker{
  margin:0 0 5px;color:#2b8992;font-family:Arial,Helvetica,sans-serif;font-size:9px;font-weight:800;
  letter-spacing:.12em;line-height:1.2;text-transform:uppercase;
}
body.kfh-reference-pilot .kfh-related-products>h2{
  margin:0 0 16px;color:#24363b;font-family:Arial,Helvetica,sans-serif;font-size:18px!important;font-weight:800!important;
  line-height:1.2!important;letter-spacing:0!important;text-transform:none!important;
}
body.kfh-reference-pilot .kfh-related-grid{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important;
}
body.kfh-reference-pilot .kfh-related-card{
  display:flex!important;min-width:0!important;flex-direction:column!important;overflow:hidden!important;
  border:1px solid #cfeaec!important;border-radius:14px!important;background:#fff!important;
  box-shadow:0 7px 18px rgba(32,111,120,.06)!important;
}
body.kfh-reference-pilot .kfh-related-image{
  display:flex!important;align-items:center!important;justify-content:center!important;aspect-ratio:1/1!important;
  padding:8px!important;overflow:hidden!important;background:#fff!important;text-decoration:none!important;
}
body.kfh-reference-pilot .kfh-related-image img{
  display:block!important;width:100%!important;height:100%!important;max-width:100%!important;object-fit:contain!important;
  object-position:center!important;margin:0!important;
}
body.kfh-reference-pilot .kfh-related-body{
  display:flex!important;flex:1 1 auto!important;min-width:0!important;flex-direction:column!important;padding:12px!important;text-align:left!important;
}
body.kfh-reference-pilot .kfh-related-category{
  margin:0 0 6px!important;color:#2b8992!important;font-family:Arial,Helvetica,sans-serif!important;font-size:9px!important;
  font-weight:800!important;letter-spacing:.08em!important;line-height:1.2!important;text-transform:uppercase!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
body.kfh-reference-pilot .kfh-related-title{
  display:-webkit-box!important;margin:0!important;min-height:35px!important;max-height:35px!important;overflow:hidden!important;
  -webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;color:#24363b!important;font-family:Arial,Helvetica,sans-serif!important;
  font-size:13px!important;font-weight:700!important;letter-spacing:0!important;line-height:1.35!important;text-transform:none!important;
}
body.kfh-reference-pilot .kfh-related-title a{
  color:#24363b!important;font:inherit!important;line-height:inherit!important;text-decoration:none!important;text-transform:none!important;
}
body.kfh-reference-pilot .kfh-related-title a:hover{color:#247f89!important}
body.kfh-reference-pilot .kfh-related-spacer{flex:1 1 auto!important;min-height:10px!important}
body.kfh-reference-pilot .kfh-related-price{
  min-height:18px!important;margin:0 0 9px!important;color:#24363b!important;font-family:Arial,Helvetica,sans-serif!important;
  font-size:12px!important;font-weight:700!important;line-height:1.25!important;
}
body.kfh-reference-pilot .kfh-related-buy{
  display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:34px!important;
  margin:0!important;padding:8px 10px!important;border:1px solid #57c5ce!important;border-radius:999px!important;
  background:#eaf9fa!important;color:#216f78!important;font-family:Arial,Helvetica,sans-serif!important;font-size:9px!important;
  font-weight:800!important;letter-spacing:.06em!important;line-height:1!important;text-align:center!important;text-decoration:none!important;text-transform:uppercase!important;
}
body.kfh-reference-pilot .kfh-related-buy:hover{background:#57c5ce!important;color:#fff!important}
@media (max-width:849px){
  body.kfh-reference-pilot .kfh-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  body.kfh-reference-pilot .kfh-related-title{font-size:12px!important;min-height:32px!important;max-height:32px!important}
}
@media (max-width:420px){
  body.kfh-reference-pilot .kfh-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body.kfh-reference-pilot .kfh-related-body{padding:9px!important}
  body.kfh-reference-pilot .kfh-related-title{font-size:11px!important;min-height:30px!important;max-height:30px!important}
}

/* v1.2.3 — Related Products image-frame cleanup.
   Removes only the inner image frame and uses contain sizing so the full source image remains visible. */
body.kfh-reference-pilot .kfh-related-image{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:#fff!important;
  padding:10px!important;
}
body.kfh-reference-pilot .kfh-related-image:before,
body.kfh-reference-pilot .kfh-related-image:after{
  content:none!important;
  display:none!important;
}
body.kfh-reference-pilot .kfh-related-image img,
body.kfh-reference-pilot .kfh-related-image .kfh-related-product-image{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:100%!important;
  margin:auto!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  object-fit:contain!important;
  object-position:center!important;
  background:transparent!important;
}

/* v1.2.8: make the contextual Amazon body link unmistakably visible without turning it into the CTA button. */
body.kfh-reference-pilot .kfh-step1-pilot a.kfh-amazon-context{
  color:#0b8f98!important;
  font-weight:700!important;
  text-decoration:underline!important;
  text-decoration-thickness:1.5px!important;
  text-underline-offset:3px!important;
}
body.kfh-reference-pilot .kfh-step1-pilot a.kfh-amazon-context:hover{color:#066d75!important;}

/* v1.3.0 — Pilot-page spacing cleanup.
   Removes unnecessary empty space across the five pilot product pages while
   preserving readable separation, gallery behavior, card alignment, content,
   SEO data, product identity, and WooCommerce destinations. */
html body.kfh-reference-pilot .product-main{
  padding-top:16px!important;
  padding-bottom:14px!important;
}
html body.kfh-reference-pilot .product-main .row.content-row{
  margin-bottom:0!important;
}
html body.kfh-reference-pilot .product-gallery,
html body.kfh-reference-pilot .product-info{
  padding:22px!important;
}
html body.kfh-reference-pilot .product-gallery .product-thumbnails{
  margin-top:10px!important;
  margin-bottom:0!important;
  padding-bottom:0!important;
}
html body.kfh-reference-pilot .product-title,
html body.kfh-reference-pilot .product_title{
  margin-bottom:14px!important;
}
html body.kfh-reference-pilot .kfh-reference-eyebrow{
  margin-bottom:9px!important;
}
html body.kfh-reference-pilot .kfh-product-snapshot{
  margin:14px 0!important;
}
html body.kfh-reference-pilot .kfh-product-snapshot-body{
  padding:8px 13px 11px!important;
}
html body.kfh-reference-pilot .product-info .cart{
  margin-bottom:0!important;
}

/* v1.3.9: Marketplace Purchase card removed. Keep a clean, compact gap before the existing Amazon CTA. */
html body.kfh-reference-pilot .product-info .cart{
  margin-top:10px!important;
}
html body.kfh-reference-pilot .product-info .product_meta{
  margin-top:16px!important;
  padding-top:12px!important;
  margin-bottom:0!important;
}
html body.kfh-reference-pilot .kfh-step1-pilot{
  margin:18px 0 0!important;
}
html body.kfh-reference-pilot .kfh-spec-blueprint{
  margin-bottom:18px!important;
  padding:28px 18px 18px!important;
}
html body.kfh-reference-pilot .kfh-spec-blueprint:before{
  margin-bottom:5px!important;
}
html body.kfh-reference-pilot .kfh-spec-title{
  padding-bottom:12px!important;
}
html body.kfh-reference-pilot .kfh-spec-grid{
  gap:8px 10px!important;
}
html body.kfh-reference-pilot .kfh-spec-item{
  min-height:64px!important;
  padding:11px 14px!important;
}
html body.kfh-reference-pilot .kfh-spec-item dt{
  margin-bottom:4px!important;
}
html body.kfh-reference-pilot .kfh-product-description-heading{
  margin:20px 0 8px!important;
  padding-top:10px!important;
}
html body.kfh-reference-pilot .kfh-step1-pilot>h2,
html body.kfh-reference-pilot .kfh-step1-pilot>h3{
  margin:10px 0 6px!important;
  padding:12px 14px!important;
}
html body.kfh-reference-pilot .kfh-step1-pilot>p{
  margin:0 0 7px!important;
  padding:12px 14px!important;
}
html body.kfh-reference-pilot .kfh-cta-row{
  margin-top:12px!important;
  padding-top:12px!important;
}
html body.kfh-reference-pilot .woocommerce-tabs{
  margin-top:4px!important;
  margin-bottom:0!important;
}
html body.kfh-reference-pilot .woocommerce-tabs .tab-panels,
html body.kfh-reference-pilot .woocommerce-tabs .panel{
  margin-top:0!important;
  margin-bottom:0!important;
  padding-top:6px!important;
  padding-bottom:0!important;
}
html body.kfh-reference-pilot .kfh-related-products{
  margin:22px auto 18px!important;
}
html body.kfh-reference-pilot .kfh-related-kicker{
  margin-bottom:4px!important;
}
html body.kfh-reference-pilot .kfh-related-products>h2{
  margin-bottom:12px!important;
}
html body.kfh-reference-pilot .kfh-related-grid{
  gap:14px!important;
}
html body.kfh-reference-pilot .kfh-related-image{
  padding:8px!important;
}
html body.kfh-reference-pilot .kfh-related-body{
  padding:10px!important;
}
html body.kfh-reference-pilot .kfh-related-category{
  margin-bottom:5px!important;
}
html body.kfh-reference-pilot .kfh-related-spacer{
  flex:0 0 5px!important;
  min-height:5px!important;
}
html body.kfh-reference-pilot .kfh-related-price{
  margin-bottom:7px!important;
}
html body.kfh-reference-pilot .kfh-reference-tags{
  margin:18px auto 22px!important;
  padding:17px 20px!important;
}
html body.kfh-reference-pilot .kfh-reference-tags h2{
  margin:5px 0 10px!important;
}
html body.kfh-reference-pilot .kfh-reference-tag-list{
  gap:6px!important;
}
@media (max-width:849px){
  html body.kfh-reference-pilot .product-main{padding-top:12px!important;padding-bottom:10px!important}
  html body.kfh-reference-pilot .product-main .row.content-row{row-gap:12px!important}
  html body.kfh-reference-pilot .product-gallery,
  html body.kfh-reference-pilot .product-info{padding:17px!important}
  html body.kfh-reference-pilot .kfh-related-grid{gap:10px!important}
}
@media (max-width:600px){
  html body.kfh-reference-pilot .kfh-spec-blueprint{padding:22px 12px 12px!important;margin-bottom:14px!important}
  html body.kfh-reference-pilot .kfh-spec-item{min-height:0!important;padding:10px 12px!important}
  html body.kfh-reference-pilot .kfh-product-description-heading{margin-top:16px!important}
  html body.kfh-reference-pilot .kfh-step1-pilot>h2,
  html body.kfh-reference-pilot .kfh-step1-pilot>h3{padding:10px 12px!important}
  html body.kfh-reference-pilot .kfh-step1-pilot>p{padding:10px 12px!important}
  html body.kfh-reference-pilot .kfh-reference-tags{margin:14px auto 18px!important;padding:14px!important}
}

/* v1.3.1 — Description-to-specifications gap fix.
   Flatsome can add vertical spacing to the tab list, tab-panels wrapper and
   description panel at the same time. On the five pilot product pages only,
   collapse those stacked gaps so Product Information begins directly below
   the DESCRIPTION tab while preserving a small readable separation. */
html body.kfh-reference-pilot .woocommerce-tabs .tabs,
html body.kfh-reference-pilot .woocommerce-tabs ul.tabs,
html body.kfh-reference-pilot .woocommerce-tabs .product-tabs{
  margin-bottom:6px!important;
  padding-bottom:0!important;
}
html body.kfh-reference-pilot .woocommerce-tabs .tab-panels,
html body.kfh-reference-pilot .woocommerce-tabs .panel,
html body.kfh-reference-pilot .woocommerce-tabs .panel.entry-content,
html body.kfh-reference-pilot .woocommerce-tabs .woocommerce-Tabs-panel,
html body.kfh-reference-pilot .woocommerce-tabs .woocommerce-Tabs-panel--description{
  margin-top:0!important;
  padding-top:0!important;
  min-height:0!important;
}
html body.kfh-reference-pilot .woocommerce-tabs .woocommerce-Tabs-panel--description > .kfh-step1-pilot,
html body.kfh-reference-pilot .woocommerce-tabs .panel > .kfh-step1-pilot,
html body.kfh-reference-pilot .woocommerce-tabs .panel.entry-content > .kfh-step1-pilot{
  margin-top:0!important;
  padding-top:0!important;
}
html body.kfh-reference-pilot .woocommerce-tabs .kfh-step1-pilot > .kfh-spec-blueprint:first-child{
  margin-top:0!important;
}
@media (max-width:849px){
  html body.kfh-reference-pilot .woocommerce-tabs .tabs,
  html body.kfh-reference-pilot .woocommerce-tabs ul.tabs,
  html body.kfh-reference-pilot .woocommerce-tabs .product-tabs{
    margin-bottom:5px!important;
  }
}


/* v1.3.2 - Remove duplicate default WooCommerce tag meta on pilot pages. */
html body.kfh-reference-pilot .product_meta .tagged_as,
html body.kfh-reference-pilot span.tagged_as,
html body.kfh-reference-pilot .tagged_as{
  display:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  height:0!important;
  min-height:0!important;
  overflow:hidden!important;
}

/* v1.3.3 - Remove excess vertical gap between the long-description CTA
   and the controlled Related Products section on the five pilot pages. */
html body.kfh-reference-pilot .kfh-cta-row{
  margin-bottom:0!important;
  padding-bottom:0!important;
}
html body.kfh-reference-pilot .woocommerce-tabs,
html body.kfh-reference-pilot .woocommerce-tabs .tab-panels,
html body.kfh-reference-pilot .woocommerce-tabs .panel,
html body.kfh-reference-pilot .woocommerce-tabs .woocommerce-Tabs-panel,
html body.kfh-reference-pilot .woocommerce-tabs .woocommerce-Tabs-panel--description{
  margin-bottom:0!important;
  padding-bottom:0!important;
}
html body.kfh-reference-pilot .product-footer .kfh-related-products,
html body.kfh-reference-pilot .woocommerce-tabs + .kfh-related-products,
html body.kfh-reference-pilot .product-footer > .kfh-related-products{
  margin-top:8px!important;
}
@media (max-width:849px){
  html body.kfh-reference-pilot .product-footer .kfh-related-products,
  html body.kfh-reference-pilot .woocommerce-tabs + .kfh-related-products,
  html body.kfh-reference-pilot .product-footer > .kfh-related-products{
    margin-top:6px!important;
  }
}


/* v1.3.5 — Product Overview points: 4–5 factual bullets, each designed to read as 1–2 lines. */
html body.kfh-reference-pilot .kfh-product-overview-points{gap:6px!important}
html body.kfh-reference-pilot .kfh-product-overview-points li{
  white-space:normal!important;line-height:1.42!important;padding:3px 0!important;
}
@media (min-width:1000px){
  html body.kfh-reference-pilot .kfh-product-overview-points li{font-size:11px!important}
}

/* v1.3.8 — Natural top-card alignment without forced equal-height whitespace.
   The gallery and product-info boards share the same top baseline, but neither
   board is stretched to match the other. This preserves the gallery's natural
   Flickity dimensions and prevents blank white space or distorted images. */
@media (min-width:850px){
  html body.kfh-reference-pilot .product-main .row.content-row{
    align-items:flex-start!important;
  }
  html body.kfh-reference-pilot .product-main .product-gallery,
  html body.kfh-reference-pilot .product-main .product-info{
    align-self:flex-start!important;
    height:auto!important;
    min-height:0!important;
  }
  html body.kfh-reference-pilot .product-main .product-gallery > .col-inner,
  html body.kfh-reference-pilot .product-main .product-gallery .col-inner,
  html body.kfh-reference-pilot .product-main .product-gallery .product-images,
  html body.kfh-reference-pilot .product-main .product-gallery .woocommerce-product-gallery{
    height:auto!important;
    min-height:0!important;
  }
}

/* v2.0.5 — Professional product-info typography refinement.
   Presentation only: no product title text, SEO data, product identity, links,
   content, specifications, pricing, gallery data, or rollout state is changed. */
html body.kfh-reference-pilot .product-info h1.product_title,
html body.kfh-reference-pilot .product-info .product_title{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;
  font-size:clamp(24px,2vw,32px)!important;
  font-weight:700!important;
  line-height:1.12!important;
  letter-spacing:-.012em!important;
  color:#24343b!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
}
html body.kfh-reference-pilot .product-info .kfh-reference-eyebrow,
html body.kfh-reference-pilot .product-info .kfh-product-snapshot,
html body.kfh-reference-pilot .product-info .kfh-product-overview-points,
html body.kfh-reference-pilot .product-info .product_meta{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;
}
html body.kfh-reference-pilot .product-info .kfh-product-snapshot{
  font-size:13px!important;
  line-height:1.55!important;
}
html body.kfh-reference-pilot .product-info .kfh-product-overview-points li{
  font-size:12px!important;
  line-height:1.45!important;
}
@media (max-width:849px){
  html body.kfh-reference-pilot .product-info h1.product_title,
  html body.kfh-reference-pilot .product-info .product_title{
    font-size:clamp(23px,5.8vw,28px)!important;
    line-height:1.14!important;
  }
}
@media (max-width:480px){
  html body.kfh-reference-pilot .product-info h1.product_title,
  html body.kfh-reference-pilot .product-info .product_title{
    font-size:23px!important;
    line-height:1.16!important;
  }
  html body.kfh-reference-pilot .product-info .kfh-product-overview-points li{
    font-size:11.5px!important;
    line-height:1.45!important;
  }
}


/* v2.0.7 — Minimal circular gallery navigation controls.
   Presentation only: keeps Flickity behavior and image/gallery data unchanged.
   Reference style: small white circles, faint border/shadow, lightly visible until hover/focus. */
html body.kfh-reference-pilot .product-gallery .flickity-button,
html body.kfh-reference-pilot .product-gallery .product-gallery-slider .flickity-prev-next-button,
html body.kfh-reference-pilot .product-gallery .flickity-prev-next-button{
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  min-height:28px!important;
  padding:0!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.82)!important;
  border:1px solid rgba(86,109,116,.16)!important;
  box-shadow:0 1px 5px rgba(36,52,59,.07)!important;
  opacity:.46!important;
  z-index:5!important;
  transition:opacity .18s ease,background-color .18s ease,box-shadow .18s ease,transform .18s ease!important;
}
html body.kfh-reference-pilot .product-gallery .flickity-prev-next-button.previous{left:14px!important}
html body.kfh-reference-pilot .product-gallery .flickity-prev-next-button.next{right:14px!important}
html body.kfh-reference-pilot .product-gallery .flickity-prev-next-button svg{
  width:9px!important;
  height:9px!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-50%)!important;
}
html body.kfh-reference-pilot .product-gallery .flickity-prev-next-button .flickity-button-icon,
html body.kfh-reference-pilot .product-gallery .flickity-prev-next-button svg path{
  fill:#53666c!important;
}
html body.kfh-reference-pilot .product-gallery:hover .flickity-prev-next-button{opacity:.58!important}
html body.kfh-reference-pilot .product-gallery .flickity-prev-next-button:hover,
html body.kfh-reference-pilot .product-gallery .flickity-prev-next-button:focus-visible{
  background:rgba(255,255,255,.96)!important;
  opacity:.88!important;
  box-shadow:0 2px 7px rgba(36,52,59,.11)!important;
  transform:translateY(-50%) scale(1.03)!important;
}
@media (max-width:849px){
  html body.kfh-reference-pilot .product-gallery .flickity-prev-next-button{
    width:26px!important;
    height:26px!important;
    min-width:26px!important;
    min-height:26px!important;
    opacity:.50!important;
  }
  html body.kfh-reference-pilot .product-gallery .flickity-prev-next-button.previous{left:10px!important}
  html body.kfh-reference-pilot .product-gallery .flickity-prev-next-button.next{right:10px!important}
  html body.kfh-reference-pilot .product-gallery .flickity-prev-next-button svg{width:8px!important;height:8px!important}
}


/* v2.0.10 — Reference gallery: thumbnails + subtle circular arrows + bottom slider bar.
   Keeps the original WooCommerce/Flatsome thumbnail gallery visible and data intact.
   A separate range control below the thumbnails provides a scrollbar-style gallery navigator. */
html body.kfh-reference-pilot .product-gallery .product-thumbnails{
  display:block!important;
  visibility:visible!important;
  height:auto!important;
  min-height:0!important;
  margin:10px 0 0!important;
  padding:0!important;
  overflow:visible!important;
  opacity:1!important;
}
html body.kfh-reference-pilot .product-gallery .product-thumbnails .col,
html body.kfh-reference-pilot .product-gallery .product-thumbnails .flickity-slider > *{
  opacity:1!important;
}
html body.kfh-reference-pilot .product-gallery .product-thumbnails img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  border:2px solid transparent!important;
  border-radius:7px!important;
  box-shadow:none!important;
  opacity:.82!important;
  transition:border-color .16s ease,opacity .16s ease,box-shadow .16s ease!important;
}
html body.kfh-reference-pilot .product-gallery .product-thumbnails .is-nav-selected img,
html body.kfh-reference-pilot .product-gallery .product-thumbnails .is-selected img,
html body.kfh-reference-pilot .product-gallery .product-thumbnails [data-kfh-active-thumb="1"] img{
  border-color:var(--kfh-brand)!important;
  opacity:1!important;
  box-shadow:0 0 0 1px rgba(75,190,197,.12)!important;
}

html body.kfh-reference-pilot .product-gallery .flickity-prev-next-button{
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  min-height:28px!important;
  padding:0!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.88)!important;
  border:1px solid rgba(79,101,108,.18)!important;
  box-shadow:0 1px 5px rgba(36,52,59,.08)!important;
  opacity:.56!important;
  color:#53666c!important;
  z-index:8!important;
  overflow:visible!important;
}
html body.kfh-reference-pilot .product-gallery .flickity-prev-next-button svg,
html body.kfh-reference-pilot .product-gallery .flickity-prev-next-button .flickity-button-icon{
  display:none!important;
}
html body.kfh-reference-pilot .product-gallery .flickity-prev-next-button::before{
  content:''!important;
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  width:7px!important;
  height:7px!important;
  border-top:1.5px solid #53666c!important;
  border-right:1.5px solid #53666c!important;
  transform:translate(-35%,-50%) rotate(-135deg)!important;
  transform-origin:center!important;
  display:block!important;
  opacity:.95!important;
  pointer-events:none!important;
  box-sizing:border-box!important;
}
html body.kfh-reference-pilot .product-gallery .flickity-prev-next-button.next::before{
  transform:translate(-65%,-50%) rotate(45deg)!important;
}
html body.kfh-reference-pilot .product-gallery:hover .flickity-prev-next-button{opacity:.68!important}
html body.kfh-reference-pilot .product-gallery .flickity-prev-next-button:hover,
html body.kfh-reference-pilot .product-gallery .flickity-prev-next-button:focus-visible{
  opacity:.95!important;
  background:#fff!important;
  box-shadow:0 2px 8px rgba(36,52,59,.12)!important;
}

/* Scrollbar-style gallery slider beneath the visible thumbnails. */
html body.kfh-reference-pilot .product-gallery .kfh-gallery-range-wrap{
  width:100%!important;
  box-sizing:border-box!important;
  padding:5px 10px 2px!important;
  margin:0!important;
}
html body.kfh-reference-pilot .product-gallery .kfh-gallery-range{
  -webkit-appearance:none!important;
  appearance:none!important;
  display:block!important;
  width:100%!important;
  height:12px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  cursor:ew-resize!important;
}
html body.kfh-reference-pilot .product-gallery .kfh-gallery-range::-webkit-slider-runnable-track{
  height:4px!important;
  border-radius:999px!important;
  background:#d5dcde!important;
  box-shadow:none!important;
}
html body.kfh-reference-pilot .product-gallery .kfh-gallery-range::-webkit-slider-thumb{
  -webkit-appearance:none!important;
  appearance:none!important;
  width:58px!important;
  height:6px!important;
  margin-top:-1px!important;
  border-radius:999px!important;
  background:#7d8588!important;
  border:0!important;
  box-shadow:none!important;
}
html body.kfh-reference-pilot .product-gallery .kfh-gallery-range::-moz-range-track{
  height:4px!important;
  border-radius:999px!important;
  background:#d5dcde!important;
  border:0!important;
}
html body.kfh-reference-pilot .product-gallery .kfh-gallery-range::-moz-range-progress{
  height:4px!important;
  border-radius:999px!important;
  background:#d5dcde!important;
}
html body.kfh-reference-pilot .product-gallery .kfh-gallery-range::-moz-range-thumb{
  width:58px!important;
  height:6px!important;
  border-radius:999px!important;
  background:#7d8588!important;
  border:0!important;
  box-shadow:none!important;
}
html body.kfh-reference-pilot .product-gallery .kfh-gallery-range:focus-visible{
  outline:2px solid rgba(75,190,197,.20)!important;
  outline-offset:2px!important;
  border-radius:999px!important;
}
@media (max-width:849px){
  html body.kfh-reference-pilot .product-gallery .flickity-prev-next-button{
    width:26px!important;height:26px!important;min-width:26px!important;min-height:26px!important;
  }
  html body.kfh-reference-pilot .product-gallery .flickity-prev-next-button::before{width:6px!important;height:6px!important}
  html body.kfh-reference-pilot .product-gallery .kfh-gallery-range-wrap{padding:5px 7px 2px!important}
  html body.kfh-reference-pilot .product-gallery .kfh-gallery-range::-webkit-slider-thumb{width:48px!important}
  html body.kfh-reference-pilot .product-gallery .kfh-gallery-range::-moz-range-thumb{width:48px!important}
}


/* v2.0.11 — Gallery arrow hover stability hotfix.
   Later override intentionally cancels the older v2.0.7 hover scale/transform transition.
   The control stays fixed at Flickity's vertical center; hover/focus only changes visual emphasis. */
html body.kfh-reference-pilot .product-gallery .flickity-prev-next-button{
  transform:translateY(-50%)!important;
  -webkit-transform:translateY(-50%)!important;
  transition:opacity .18s ease,background-color .18s ease,box-shadow .18s ease,border-color .18s ease!important;
  will-change:opacity!important;
}
html body.kfh-reference-pilot .product-gallery .flickity-prev-next-button:hover,
html body.kfh-reference-pilot .product-gallery .flickity-prev-next-button:focus,
html body.kfh-reference-pilot .product-gallery .flickity-prev-next-button:focus-visible,
html body.kfh-reference-pilot .product-gallery .flickity-prev-next-button:active{
  transform:translateY(-50%)!important;
  -webkit-transform:translateY(-50%)!important;
}

/* v2.0.13 — Product gallery polish requested after rollout.
   1) Center external/Amazon CTA text precisely.
   2) Remove thumbnail-strip navigation arrows; keep arrows only on the main image.
   3) Make the active/first thumbnail border clearly visible without shifting layout. */
html body.kfh-reference-pilot .product-info .single_add_to_cart_button,
html body.kfh-reference-pilot .product-info a.single_add_to_cart_button,
html body.kfh-reference-pilot .product-info .cart .button{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  line-height:1.2!important;
  padding:0 18px!important;
  vertical-align:middle!important;
}
html body.kfh-reference-pilot .product-info .single_add_to_cart_button::before,
html body.kfh-reference-pilot .product-info .single_add_to_cart_button::after,
html body.kfh-reference-pilot .product-info .cart .button::before,
html body.kfh-reference-pilot .product-info .cart .button::after{
  content:none!important;
  display:none!important;
}

/* Thumbnail-strip arrows are not part of the approved reference design. */
html body.kfh-reference-pilot .product-gallery .product-thumbnails .flickity-prev-next-button,
html body.kfh-reference-pilot .product-gallery .product-thumbnails button.flickity-prev-next-button{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* Strong, layout-stable active thumbnail state. */
html body.kfh-reference-pilot .product-gallery .product-thumbnails .is-nav-selected img,
html body.kfh-reference-pilot .product-gallery .product-thumbnails .is-selected img,
html body.kfh-reference-pilot .product-gallery .product-thumbnails [data-kfh-active-thumb="1"] img{
  border-color:#2da9b4!important;
  outline:1px solid rgba(45,169,180,.34)!important;
  outline-offset:1px!important;
  box-shadow:0 0 0 2px rgba(45,169,180,.14)!important;
  opacity:1!important;
}

/* v2.0.14 — Gallery motion + active-thumbnail cleanup.
   Presentation/runtime motion only: no gallery IDs, product data, SEO, URLs, or rollout state changes. */

/* Keep the top Amazon CTA visually responsive without any physical movement. */
html body.kfh-reference-pilot .product-info .single_add_to_cart_button,
html body.kfh-reference-pilot .product-info a.single_add_to_cart_button,
html body.kfh-reference-pilot .product-info .cart .button{
  transform:none!important;
  -webkit-transform:none!important;
  transition:background .20s ease,box-shadow .20s ease,opacity .20s ease,border-color .20s ease!important;
  will-change:auto!important;
}
html body.kfh-reference-pilot .product-info .single_add_to_cart_button:hover,
html body.kfh-reference-pilot .product-info .single_add_to_cart_button:focus,
html body.kfh-reference-pilot .product-info .single_add_to_cart_button:focus-visible,
html body.kfh-reference-pilot .product-info .single_add_to_cart_button:active,
html body.kfh-reference-pilot .product-info .cart .button:hover,
html body.kfh-reference-pilot .product-info .cart .button:focus,
html body.kfh-reference-pilot .product-info .cart .button:focus-visible,
html body.kfh-reference-pilot .product-info .cart .button:active{
  transform:none!important;
  -webkit-transform:none!important;
  box-shadow:0 8px 18px rgba(50,159,170,.20)!important;
}

/* Prevent browser/theme focus rings from becoming a dark frame around the first thumbnail.
   Replace them with the same brand-colored, layout-stable state used for the active image. */
html body.kfh-reference-pilot .product-gallery .product-thumbnails .col,
html body.kfh-reference-pilot .product-gallery .product-thumbnails .product-gallery-thumbnails__item,
html body.kfh-reference-pilot .product-gallery .product-thumbnails a,
html body.kfh-reference-pilot .product-gallery .product-thumbnails .col-inner{
  outline:0!important;
  box-shadow:none!important;
  border-radius:8px!important;
}
html body.kfh-reference-pilot .product-gallery .product-thumbnails img{
  border:1px solid rgba(45,169,180,.24)!important;
  outline:0!important;
  box-shadow:none!important;
}
html body.kfh-reference-pilot .product-gallery .product-thumbnails .is-nav-selected img,
html body.kfh-reference-pilot .product-gallery .product-thumbnails .is-selected img,
html body.kfh-reference-pilot .product-gallery .product-thumbnails [data-kfh-active-thumb="1"] img{
  border:2px solid #2da9b4!important;
  outline:0!important;
  box-shadow:0 0 0 2px rgba(255,255,255,.96),0 0 0 3px rgba(45,169,180,.35)!important;
  opacity:1!important;
}
html body.kfh-reference-pilot .product-gallery .product-thumbnails a:focus-visible,
html body.kfh-reference-pilot .product-gallery .product-thumbnails [tabindex]:focus-visible{
  outline:2px solid rgba(45,169,180,.52)!important;
  outline-offset:2px!important;
  box-shadow:none!important;
}

/* Separate the scrollbar-style slider from the thumbnail border so it never visually merges with the first tile. */
html body.kfh-reference-pilot .product-gallery .kfh-gallery-range-wrap{
  margin-top:7px!important;
  padding:0 6px 2px!important;
}
html body.kfh-reference-pilot .product-gallery .kfh-gallery-range::-webkit-slider-runnable-track{
  background:#cfd8da!important;
}
html body.kfh-reference-pilot .product-gallery .kfh-gallery-range::-webkit-slider-thumb{
  background:#7b8689!important;
}
html body.kfh-reference-pilot .product-gallery .kfh-gallery-range::-moz-range-track,
html body.kfh-reference-pilot .product-gallery .kfh-gallery-range::-moz-range-progress{
  background:#cfd8da!important;
}
html body.kfh-reference-pilot .product-gallery .kfh-gallery-range::-moz-range-thumb{
  background:#7b8689!important;
}

/* GPU-friendly rendering hints for Flickity without overriding its own translate transform. */
html body.kfh-reference-pilot .product-gallery .product-gallery-slider .flickity-viewport,
html body.kfh-reference-pilot .product-gallery .product-gallery-slider .flickity-slider,
html body.kfh-reference-pilot .product-gallery .product-gallery-slider .woocommerce-product-gallery__image,
html body.kfh-reference-pilot .product-gallery .product-gallery-slider img{
  backface-visibility:hidden!important;
  -webkit-backface-visibility:hidden!important;
}
html body.kfh-reference-pilot .product-gallery .product-gallery-slider .flickity-slider{
  will-change:transform!important;
}
html body.kfh-reference-pilot .product-gallery .product-gallery-slider img{
  will-change:opacity!important;
}
html body.kfh-reference-pilot .product-gallery .product-thumbnails .flickity-slider{
  will-change:transform!important;
}



/* v2.0.15 — Compact reference-style bottom gallery rail.
   Matches the approved reference: small uniform thumbnails in one row, tight spacing,
   a slim scrollbar-style navigator with tiny end controls, and a clean active border.
   Presentation only; gallery image IDs/data and rollout state are unchanged. */
html body.kfh-reference-pilot .product-gallery .product-thumbnails{
  margin:8px 0 0!important;
  padding:0 5px!important;
  overflow:hidden!important;
}
html body.kfh-reference-pilot .product-gallery .product-thumbnails .flickity-viewport{
  height:58px!important;
  min-height:58px!important;
  overflow:hidden!important;
}
html body.kfh-reference-pilot .product-gallery .product-thumbnails .col,
html body.kfh-reference-pilot .product-gallery .product-thumbnails .flickity-slider > *{
  width:54px!important;
  min-width:54px!important;
  max-width:54px!important;
  flex:0 0 54px!important;
  margin:0 5px 0 0!important;
  padding:0!important;
  box-sizing:border-box!important;
}
html body.kfh-reference-pilot .product-gallery .product-thumbnails .col:last-child,
html body.kfh-reference-pilot .product-gallery .product-thumbnails .flickity-slider > *:last-child{
  margin-right:0!important;
}
html body.kfh-reference-pilot .product-gallery .product-thumbnails img{
  width:54px!important;
  height:54px!important;
  max-width:54px!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#fff!important;
  border:1px solid rgba(70,108,114,.20)!important;
  border-radius:5px!important;
  opacity:.88!important;
  box-sizing:border-box!important;
  transition:border-color .16s ease,box-shadow .16s ease,opacity .16s ease!important;
}
html body.kfh-reference-pilot .product-gallery .product-thumbnails .is-nav-selected img,
html body.kfh-reference-pilot .product-gallery .product-thumbnails .is-selected img,
html body.kfh-reference-pilot .product-gallery .product-thumbnails [data-kfh-active-thumb="1"] img{
  border:2px solid #2da9b4!important;
  outline:0!important;
  box-shadow:0 0 0 1px rgba(45,169,180,.16)!important;
  opacity:1!important;
}
html body.kfh-reference-pilot .product-gallery .kfh-gallery-range-wrap{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  width:100%!important;
  margin:5px 0 0!important;
  padding:0 4px 3px!important;
  box-sizing:border-box!important;
}
html body.kfh-reference-pilot .product-gallery .kfh-gallery-range{
  flex:1 1 auto!important;
  width:auto!important;
  min-width:0!important;
  height:10px!important;
  cursor:pointer!important;
}
html body.kfh-reference-pilot .product-gallery .kfh-gallery-range::-webkit-slider-runnable-track{
  height:4px!important;
  border-radius:999px!important;
  background:#d1d5d6!important;
}
html body.kfh-reference-pilot .product-gallery .kfh-gallery-range::-webkit-slider-thumb{
  width:68px!important;
  height:5px!important;
  margin-top:-.5px!important;
  border-radius:999px!important;
  background:#808789!important;
}
html body.kfh-reference-pilot .product-gallery .kfh-gallery-range::-moz-range-track,
html body.kfh-reference-pilot .product-gallery .kfh-gallery-range::-moz-range-progress{
  height:4px!important;
  border-radius:999px!important;
  background:#d1d5d6!important;
}
html body.kfh-reference-pilot .product-gallery .kfh-gallery-range::-moz-range-thumb{
  width:68px!important;
  height:5px!important;
  border-radius:999px!important;
  background:#808789!important;
}
html body.kfh-reference-pilot .product-gallery .kfh-thumb-rail-btn{
  appearance:none!important;
  -webkit-appearance:none!important;
  position:relative!important;
  flex:0 0 10px!important;
  width:10px!important;
  min-width:10px!important;
  height:12px!important;
  min-height:12px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  opacity:.62!important;
  cursor:pointer!important;
  transform:none!important;
  transition:opacity .15s ease!important;
}
html body.kfh-reference-pilot .product-gallery .kfh-thumb-rail-btn:hover,
html body.kfh-reference-pilot .product-gallery .kfh-thumb-rail-btn:focus-visible{
  opacity:1!important;
  transform:none!important;
  background:transparent!important;
  box-shadow:none!important;
}
html body.kfh-reference-pilot .product-gallery .kfh-thumb-rail-btn::before{
  content:''!important;
  position:absolute!important;
  top:50%!important;
  left:50%!important;
  width:5px!important;
  height:5px!important;
  border-top:1.5px solid #6f7779!important;
  border-right:1.5px solid #6f7779!important;
  box-sizing:border-box!important;
}
html body.kfh-reference-pilot .product-gallery .kfh-thumb-rail-prev::before{
  transform:translate(-35%,-50%) rotate(-135deg)!important;
}
html body.kfh-reference-pilot .product-gallery .kfh-thumb-rail-next::before{
  transform:translate(-65%,-50%) rotate(45deg)!important;
}
@media (max-width:849px){
  html body.kfh-reference-pilot .product-gallery .product-thumbnails .flickity-viewport{
    height:52px!important;
    min-height:52px!important;
  }
  html body.kfh-reference-pilot .product-gallery .product-thumbnails .col,
  html body.kfh-reference-pilot .product-gallery .product-thumbnails .flickity-slider > *{
    width:48px!important;
    min-width:48px!important;
    max-width:48px!important;
    flex-basis:48px!important;
    margin-right:4px!important;
  }
  html body.kfh-reference-pilot .product-gallery .product-thumbnails img{
    width:48px!important;
    height:48px!important;
    max-width:48px!important;
  }
  html body.kfh-reference-pilot .product-gallery .kfh-gallery-range::-webkit-slider-thumb{width:54px!important}
  html body.kfh-reference-pilot .product-gallery .kfh-gallery-range::-moz-range-thumb{width:54px!important}
}

/* v2.0.17 — Stable thumbnail rail.
   Main-image changes must not re-center/translate the thumbnail strip.
   Only the active border moves; the rail scrolls only when the active tile is actually outside view. */
html body.kfh-reference-pilot .product-gallery .product-thumbnails .flickity-viewport{
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scroll-behavior:smooth!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}
html body.kfh-reference-pilot .product-gallery .product-thumbnails .flickity-viewport::-webkit-scrollbar{
  width:0!important;
  height:0!important;
  display:none!important;
}
html body.kfh-reference-pilot .product-gallery .product-thumbnails .flickity-slider{
  position:static!important;
  left:auto!important;
  top:auto!important;
  width:max-content!important;
  min-width:100%!important;
  height:100%!important;
  display:flex!important;
  align-items:center!important;
  transform:none!important;
  transition:none!important;
}
html body.kfh-reference-pilot .product-gallery .product-thumbnails .flickity-slider > *,
html body.kfh-reference-pilot .product-gallery .product-thumbnails .col,
html body.kfh-reference-pilot .product-gallery .product-thumbnails .product-gallery-thumbnails__item{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  transform:none!important;
}
/* Native Flickity nav classes may lag behind when its auto-positioning is disabled.
   Keep only the plugin's data-kfh-active-thumb state visually active. */
html body.kfh-reference-pilot .product-gallery .product-thumbnails .is-nav-selected img,
html body.kfh-reference-pilot .product-gallery .product-thumbnails .is-selected img{
  border:1px solid rgba(70,108,114,.20)!important;
  box-shadow:none!important;
  opacity:.88!important;
}
html body.kfh-reference-pilot .product-gallery .product-thumbnails [data-kfh-active-thumb="1"] img{
  border:2px solid #2da9b4!important;
  box-shadow:0 0 0 1px rgba(45,169,180,.16)!important;
  opacity:1!important;
}


/* v2.0.18 — Fully visible first active thumbnail border.
   Keep the stable rail from v2.0.17, but prevent the first tile's active edge from
   touching the scroll viewport boundary. Use an inset highlight so no active edge
   can be clipped by overflow. Presentation only. */
html body.kfh-reference-pilot .product-gallery .product-thumbnails .flickity-viewport{
  padding-left:3px!important;
  padding-right:3px!important;
  box-sizing:border-box!important;
  scroll-padding-left:3px!important;
  scroll-padding-right:3px!important;
}
html body.kfh-reference-pilot .product-gallery .product-thumbnails .flickity-slider > *:first-child,
html body.kfh-reference-pilot .product-gallery .product-thumbnails .col:first-child,
html body.kfh-reference-pilot .product-gallery .product-thumbnails .product-gallery-thumbnails__item:first-child{
  margin-left:1px!important;
}
html body.kfh-reference-pilot .product-gallery .product-thumbnails [data-kfh-active-thumb="1"] img{
  border:1px solid #2da9b4!important;
  outline:0!important;
  box-shadow:inset 0 0 0 2px #2da9b4!important;
  opacity:1!important;
}


/* v2.0.19 — Version-sync companion + first-thumbnail border hardening.
   Keep a visible safety gutter before the first tile and draw the selected state
   fully inside the image box so the left edge cannot be clipped by the scroll viewport. */
html body.kfh-reference-pilot .product-gallery .product-thumbnails{
  padding-left:7px!important;
  padding-right:7px!important;
}
html body.kfh-reference-pilot .product-gallery .product-thumbnails .flickity-viewport{
  padding-left:5px!important;
  padding-right:5px!important;
  scroll-padding-left:5px!important;
  scroll-padding-right:5px!important;
}
html body.kfh-reference-pilot .product-gallery .product-thumbnails .flickity-slider > *:first-child,
html body.kfh-reference-pilot .product-gallery .product-thumbnails .col:first-child,
html body.kfh-reference-pilot .product-gallery .product-thumbnails .product-gallery-thumbnails__item:first-child{
  margin-left:2px!important;
  overflow:visible!important;
}
html body.kfh-reference-pilot .product-gallery .product-thumbnails [data-kfh-active-thumb="1"]{
  overflow:visible!important;
}
html body.kfh-reference-pilot .product-gallery .product-thumbnails [data-kfh-active-thumb="1"] img{
  border:2px solid #2da9b4!important;
  outline:0!important;
  box-shadow:inset 0 0 0 1px rgba(45,169,180,.28)!important;
  opacity:1!important;
}
