/* The number of columns is computed from container width and actual children. */
.breakdance .folan-category-grid{--category-columns:1;display:grid;width:100%;grid-template-columns:repeat(var(--category-columns),minmax(0,1fr));gap:12px}
.breakdance .folan-category-grid .folan-l1-category{position:relative;color:#353a3f;text-decoration:none;min-width:0;height:100%;align-items:flex-start;box-sizing:border-box}
.folan-category-grid .folan-l1-category-name{overflow-wrap:anywhere}
.folan-category-arrow{position:absolute;right:16px;bottom:12px;font-size:22px;color:#dc580a}
.folan-category-grid a:focus-visible{outline:2px solid #dc580a;outline-offset:3px}
.folan-category-children{width:100%}
.breakdance .folan-l1:has(.folan-category-children:not(:has(.folan-category-grid))) .folan-l1-section-title{display:none}
.breakdance .folan-l1-hero:not(:has(.folan-l1-image img[src])){grid-template-columns:minmax(0,1fr)}
.breakdance .folan-l1-hero:not(:has(.folan-l1-image img[src])) .folan-l1-image{display:none!important}
.folan-l1-description:empty{display:none}
.folan-category-grid .folan-l1-category-icon img{display:block;width:44px;height:44px;max-width:100%;object-fit:contain}
/* Product-family SVGs share the FTTA palette; legacy and personal icons keep their sizing. */
.breakdance .folan-category-grid .folan-l1-category:has(.folan-category-illustration){min-height:185px!important;gap:10px!important}
.breakdance .folan-category-grid .folan-l1-category-icon:has(.folan-category-illustration){width:min(100%,170px)!important;height:110px!important;flex-shrink:0}
.breakdance .folan-category-grid .folan-l1-category-icon svg.folan-category-illustration{width:100%!important;height:100%!important;display:block}
@media(max-width:767px){
 .breakdance .folan-category-grid .folan-l1-category:has(.folan-category-illustration){min-height:166px!important;gap:8px!important}
 .breakdance .folan-category-grid .folan-l1-category-icon:has(.folan-category-illustration){width:min(100%,120px)!important;height:82px!important}
}
.folan-l1-results .folan-catalog-stock{display:none}
@media(min-width:1024px){.breakdance .folan-category-grid{grid-template-columns:repeat(var(--category-columns-desktop,4),minmax(0,1fr))}}
@media(min-width:768px) and (max-width:1023px){.breakdance .folan-category-grid{grid-template-columns:repeat(var(--category-columns-tablet,3),minmax(0,1fr))}}
@media(max-width:767px){.breakdance .folan-category-grid{gap:10px;grid-template-columns:repeat(var(--category-columns-mobile,2),minmax(0,1fr))}}

/* Functional fallback only: Breakdance renders a data-URI placeholder when a category has no image. */
.breakdance .folan-l1-hero:has(.folan-l1-image img[src^="data:image/svg+xml"]){grid-template-columns:minmax(0,1fr)!important}
.breakdance .folan-l1-hero:has(.folan-l1-image img[src^="data:image/svg+xml"]) .folan-l1-image{display:none!important}

/* Mobile compact fused Hero: image becomes a decorative lower layer, text remains native Breakdance. */
@media(max-width:767px){
  .breakdance .folan-l1-hero:has(.folan-l1-image img:not([src^="data:image/svg+xml"])){
    position:relative;
    overflow:hidden;
    isolation:isolate;
    grid-template-columns:minmax(0,1fr)!important;
  }.breakdance .folan-l1-hero:has(.folan-l1-image img:not([src^="data:image/svg+xml"])):where(:not(.fn-section)){
    min-height:238px;}
  .breakdance .folan-l1-hero:has(.folan-l1-image img:not([src^="data:image/svg+xml"])) .folan-l1-copy{
    position:relative;
    z-index:2;
    width:100%;
    box-sizing:border-box;
  }
  .breakdance .folan-l1-hero:has(.folan-l1-image img:not([src^="data:image/svg+xml"])) .folan-l1-copy:where(:not(.fn-section .folan-l1-copy)){min-height:238px}
  .breakdance .folan-l1-hero:has(.folan-l1-image img:not([src^="data:image/svg+xml"])) .folan-l1-image{
    position:absolute!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    width:100%!important;
    height:54%!important;
    margin:0!important;
    z-index:0;
    opacity:.94;
    pointer-events:none;
  }
  .breakdance .folan-l1-hero:has(.folan-l1-image img:not([src^="data:image/svg+xml"])) .folan-l1-image figure,
  .breakdance .folan-l1-hero:has(.folan-l1-image img:not([src^="data:image/svg+xml"])) .folan-l1-image .breakdance-image-container,
  .breakdance .folan-l1-hero:has(.folan-l1-image img:not([src^="data:image/svg+xml"])) .folan-l1-image .breakdance-image-clip{
    width:100%!important;
    height:100%!important;
    margin:0!important;
  }
  .breakdance .folan-l1-hero:has(.folan-l1-image img:not([src^="data:image/svg+xml"])) .folan-l1-image img{
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    aspect-ratio:auto!important;
  }.breakdance .folan-l1-hero:has(.folan-l1-image img:not([src^="data:image/svg+xml"])) .folan-l1-image img:where(:not(.fn-image .breakdance-image-object)){
    object-fit:cover!important;
    object-position:center!important;}
  .breakdance .folan-l1-hero:has(.folan-l1-image img:not([src^="data:image/svg+xml"])):after{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    background:linear-gradient(180deg,
      rgba(53,58,63,1) 0%,
      rgba(53,58,63,1) 42%,
      rgba(53,58,63,.96) 54%,
      rgba(53,58,63,.78) 68%,
      rgba(53,58,63,.42) 84%,
      rgba(53,58,63,.18) 100%);
  }
}

/* Desktop L1 Hero: shared graphite/fibre base with a softer image blend. */
@media(min-width:768px){
  .breakdance .folan-l1-hero:has(.folan-l1-image img:not([src^="data:image/svg+xml"])){
    position:relative;
    overflow:hidden;
    isolation:isolate;
    background:
      radial-gradient(circle at 18% 22%,rgba(220,88,10,.08),transparent 24%),
      linear-gradient(118deg,#3b4045 0%,#34393e 54%,#2b3035 100%)!important;
  }
  .breakdance .folan-l1-hero:has(.folan-l1-image img:not([src^="data:image/svg+xml"])):before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    pointer-events:none;
    background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201200%20320%22%20preserveAspectRatio%3D%22none%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D%22M-40%20255%20C210%2070%20390%20310%20650%20125%20S1010%2070%201240%20205%22%20stroke-opacity%3D%22.16%22%20stroke-width%3D%221.4%22%2F%3E%3Cpath%20d%3D%22M-60%20300%20C180%20150%20390%20345%20690%20180%20S1030%20110%201260%20250%22%20stroke-opacity%3D%22.09%22%20stroke-width%3D%221%22%2F%3E%3Cpath%20d%3D%22M120%20330%20C340%2095%20620%20350%20930%20145%20S1130%20120%201260%20170%22%20stroke-opacity%3D%22.12%22%20stroke-width%3D%221.1%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%23dc580a%22%3E%3Ccircle%20cx%3D%22650%22%20cy%3D%22125%22%20r%3D%222.3%22%20fill-opacity%3D%22.38%22%2F%3E%3Ccircle%20cx%3D%22930%22%20cy%3D%22145%22%20r%3D%221.8%22%20fill-opacity%3D%22.28%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
    background-size:cover;
    background-position:center;
    opacity:.72;
  }
  .breakdance .folan-l1-hero:has(.folan-l1-image img:not([src^="data:image/svg+xml"])) .folan-l1-copy{
    position:relative;
    z-index:2;
    background:transparent!important;
  }
  .breakdance .folan-l1-hero:has(.folan-l1-image img:not([src^="data:image/svg+xml"])) .folan-l1-image{
    position:relative;
    overflow:hidden;
    z-index:1;
    background:#2f3439;
  }
  .breakdance .folan-l1-hero:has(.folan-l1-image img:not([src^="data:image/svg+xml"])) .folan-l1-image:before{
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    width:190px;
    z-index:2;
    pointer-events:none;
    background:linear-gradient(90deg,
      #34393e 0%,
      rgba(52,57,62,.94) 16%,
      rgba(52,57,62,.76) 34%,
      rgba(52,57,62,.48) 52%,
      rgba(52,57,62,.22) 70%,
      rgba(52,57,62,.06) 86%,
      rgba(52,57,62,0) 100%);
  }
  .breakdance .folan-l1-hero:has(.folan-l1-image img:not([src^="data:image/svg+xml"])) .folan-l1-image img{
    filter:brightness(.94) contrast(1.02);
  }
}
/* No-image Product Category Hero: shared graphite gradient + subtle fibre lines. */
.breakdance .folan-l1-hero:has(.folan-l1-image img[src^="data:image/svg+xml"]){
  position:relative;
  isolation:isolate;
  background:
    radial-gradient(circle at 82% 24%,rgba(220,88,10,.10),transparent 24%),
    linear-gradient(120deg,#3b4045 0%,#30353a 52%,#252a2f 100%)!important;
}
.breakdance .folan-l1-hero:has(.folan-l1-image img[src^="data:image/svg+xml"]):before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201200%20320%22%20preserveAspectRatio%3D%22none%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D%22M-40%20255%20C210%2070%20390%20310%20650%20125%20S1010%2070%201240%20205%22%20stroke-opacity%3D%22.16%22%20stroke-width%3D%221.4%22%2F%3E%3Cpath%20d%3D%22M-60%20300%20C180%20150%20390%20345%20690%20180%20S1030%20110%201260%20250%22%20stroke-opacity%3D%22.09%22%20stroke-width%3D%221%22%2F%3E%3Cpath%20d%3D%22M120%20330%20C340%2095%20620%20350%20930%20145%20S1130%20120%201260%20170%22%20stroke-opacity%3D%22.12%22%20stroke-width%3D%221.1%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%23dc580a%22%3E%3Ccircle%20cx%3D%22650%22%20cy%3D%22125%22%20r%3D%222.3%22%20fill-opacity%3D%22.38%22%2F%3E%3Ccircle%20cx%3D%22930%22%20cy%3D%22145%22%20r%3D%221.8%22%20fill-opacity%3D%22.28%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  background-size:cover;
  background-position:center;
  opacity:.9;
}
.breakdance .folan-l1-hero:has(.folan-l1-image img[src^="data:image/svg+xml"]) .folan-l1-copy{
  position:relative;
  z-index:1;
}
@media(max-width:767px){
  .breakdance .folan-l1-hero:has(.folan-l1-image img[src^="data:image/svg+xml"]):before{
    background-position:62% center;
    opacity:.72;
  }
}

/* Optional mobile Hero image: overrides the desktop category image only on phones. */
@media(max-width:767px){
  body.folan-category-hero-has-mobile .folan-l1-hero:where(:not(.fn-section)){min-height:238px}
  body.folan-category-hero-has-mobile .folan-l1-hero{
    position:relative;
    overflow:hidden;
    isolation:isolate;
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.folan-category-hero-has-mobile .folan-l1-hero .folan-l1-copy:where(:not(.fn-section .folan-l1-copy)){min-height:238px}
  body.folan-category-hero-has-mobile .folan-l1-hero .folan-l1-copy{
    position:relative;
    z-index:2;
    width:100%;
    box-sizing:border-box;
  }
  body.folan-category-hero-has-mobile .folan-l1-hero .folan-l1-image{
    display:block!important;
    position:absolute!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    width:100%!important;
    height:54%!important;
    margin:0!important;
    z-index:0;
    opacity:.94;
    pointer-events:none;
    background-image:var(--folan-category-hero-mobile)!important;
    background-size:cover!important;
    background-position:center!important;
    background-repeat:no-repeat!important;
  }
  body.folan-category-hero-has-mobile.breakdance .folan-l1-hero:has(.folan-l1-image img[src^="data:image/svg+xml"]) .folan-l1-image{
    display:block!important;
  }
  body.folan-category-hero-has-mobile .folan-l1-hero .folan-l1-image figure,
  body.folan-category-hero-has-mobile .folan-l1-hero .folan-l1-image .breakdance-image-container,
  body.folan-category-hero-has-mobile .folan-l1-hero .folan-l1-image .breakdance-image-clip{
    width:100%!important;
    height:100%!important;
    margin:0!important;
  }
  body.folan-category-hero-has-mobile .folan-l1-hero .folan-l1-image img{
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    aspect-ratio:auto!important;
    opacity:0!important;
  }body.folan-category-hero-has-mobile .folan-l1-hero .folan-l1-image img:where(:not(.fn-image .breakdance-image-object)){
    object-fit:cover!important;}
  body.folan-category-hero-has-mobile .folan-l1-hero:after{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    background:linear-gradient(180deg,
      rgba(53,58,63,1) 0%,
      rgba(53,58,63,1) 42%,
      rgba(53,58,63,.96) 54%,
      rgba(53,58,63,.78) 68%,
      rgba(53,58,63,.42) 84%,
      rgba(53,58,63,.18) 100%);
  }
  body.folan-category-hero-has-mobile .folan-l1-hero:has(.folan-l1-image img[src^="data:image/svg+xml"]):before{
    display:none!important;
  }
}
