/*
 * HCL Section 09 — Shop by Concern.
 * One scoped stylesheet. No product-card overrides or JavaScript.
 */

.hcl-shop-by-concern{
  --hcl-s09-gap:14px;
  box-sizing:border-box;
  width:100%;
  max-width:1320px;
  margin:0 auto!important;
  padding:32px 28px 32px;
  background:#fff;
  color:#183F31;
  font-family:var(--wp--preset--font-family--primary,Montserrat,system-ui,sans-serif);
}

.hcl-shop-by-concern *,
.hcl-shop-by-concern *::before,
.hcl-shop-by-concern *::after{
  box-sizing:border-box;
}

.hcl-shop-by-concern .hcl-s09-heading{
  position:relative;
  min-height:44px;
  margin:0 0 20px;
}

.hcl-shop-by-concern .hcl-s09-heading h2{
  margin:0;
  color:#183F31;
  font-size:22px;
  font-weight:600;
  line-height:1.5;
}

.hcl-shop-by-concern .hcl-s09-heading::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:62px;
  height:2px;
  background:#C9963D;
}

.hcl-shop-by-concern .hcl-s09-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  column-gap:var(--hcl-s09-gap);
  row-gap:16px;
  align-items:stretch;
  margin:0;
  padding:0 1px;
}

.hcl-shop-by-concern .hcl-s09-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  margin:0;
  padding:0;
  overflow:hidden;
  border:1px solid #D3DAD3;
  border-radius:12px;
  background:#2F6B3D;
  box-shadow:none;
  cursor:pointer;transition:transform 220ms ease-out,border-color 220ms ease-out;
}

.hcl-shop-by-concern .hcl-s09-media{
  display:block;
  width:100%;
  aspect-ratio:4/5;
  overflow:hidden;
  background:#E8EDE4;
}

.hcl-shop-by-concern .hcl-s09-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transition:transform 280ms ease-out;
}

.hcl-shop-by-concern .hcl-s09-name{
  display:flex;
  flex:1;
  align-items:center;
  justify-content:center;
  min-height:58px;
  margin:0;
  padding:10px 12px;
  color:#fff;
  font-size:14px;
  font-weight:600;
  line-height:1.45;
  text-align:center;
  overflow-wrap:break-word;
}

.hcl-shop-by-concern .hcl-s09-card--tablet-extra{
  display:none;
}


/* Section 09 canonical interaction states — no hover shadow. */
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .hcl-shop-by-concern .hcl-s09-card:hover{
    transform:translateY(-3px);
    border-color:#A9BDA9;
  }
  .hcl-shop-by-concern .hcl-s09-card:hover .hcl-s09-media img{
    transform:scale(1.025);
  }
}
@media (prefers-reduced-motion:reduce){
  .hcl-shop-by-concern .hcl-s09-card,
  .hcl-shop-by-concern .hcl-s09-media img{
    transition:none;
  }
}

@media (width >= 740.5px) and (width < 1200px){
  .hcl-shop-by-concern .hcl-s09-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .hcl-shop-by-concern .hcl-s09-card--tablet-extra{
    display:flex;
  }
}

@media (width >= 1024px) and (width < 1200px){
  .hcl-shop-by-concern{
    padding-bottom:16px;
  }
}
@media (width < 1024px){
  .hcl-shop-by-concern{
    padding:32px 20px 16px;
  }
}

@media (width < 740.5px){
  .hcl-shop-by-concern{
    --hcl-s09-gap:10px;
    padding:32px 14px 0;
  }

  .hcl-shop-by-concern .hcl-s09-heading{
    min-height:42px;
    margin-bottom:16px;
  }

  .hcl-shop-by-concern .hcl-s09-heading h2{
    font-size:20px;
  }

  .hcl-shop-by-concern .hcl-s09-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    row-gap:12px;
  }

  .hcl-shop-by-concern .hcl-s09-name{
    min-height:54px;
    padding:9px 7px;
    font-size:12.5px;
  }
}

@media (width < 360px){
  .hcl-shop-by-concern .hcl-s09-name{
    font-size:12px;
  }
}
