/* HCL Section 10 — single canonical brand stylesheet. */

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

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

.hcl-shop-by-brand .hcl-s10-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin:0 0 20px;
}

.hcl-shop-by-brand .hcl-s10-heading{
  position:relative;
  min-width:0;
  padding:0 0 12px;
}

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

.hcl-shop-by-brand .hcl-s10-heading::after{
  content:"";
  position:absolute;
  left:0;
  top:40px;
  width:62px;
  height:2px;
  background:#C9963D;
}

.hcl-shop-by-brand .hcl-s10-subtitle{
  margin:14px 0 0;
  color:#626F68;
  font-size:13px;
  line-height:1.6;
}

.hcl-shop-by-brand .hcl-s10-controls{
  display:flex;
  flex-shrink:0;
  gap:8px;
}

.hcl-shop-by-brand .hcl-s10-arrow{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border:1px solid #D3DAD3;
  border-radius:8px;
  background:#fff;
  color:#183F31;
  font:inherit;
  font-size:24px;
  line-height:1;
  cursor:pointer;
  transition:background 200ms ease-out,border-color 200ms ease-out;
}

.hcl-shop-by-brand .hcl-s10-arrow:hover:not(:disabled){
  background:#EDF3EA;
  border-color:#2F6B3D;
}

.hcl-shop-by-brand .hcl-s10-arrow:disabled{
  opacity:.38;
  cursor:default;
}

.hcl-shop-by-brand .hcl-s10-arrow:focus-visible,
.hcl-shop-by-brand .hcl-s10-track:focus-visible{
  outline:3px solid #C9963D;
  outline-offset:3px;
}

.hcl-shop-by-brand .hcl-s10-track{
  display:flex;
  gap:14px;
  width:100%;
  margin:0;
  padding:5px 1px 12px;
  list-style:none;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scroll-padding-inline:1px;
  overscroll-behavior-inline:contain;
  scrollbar-width:none;
}

.hcl-shop-by-brand .hcl-s10-track::-webkit-scrollbar{
  display:none;
  width:0;
  height:0;
}

.hcl-shop-by-brand .hcl-s10-card{
  display:flex;
  flex:0 0 calc((100% - 70px)/6);
  flex-direction:column;
  justify-content:space-between;
  align-items:stretch;
  gap:9px;
  min-width:0;
  min-height:170px;
  margin:0;
  padding:14px 10px;
  border:1px solid #D3DAD3;
  border-radius:12px;
  background:#fff;
  box-shadow:none;
  scroll-snap-align:start;
  cursor:pointer;
  transition:transform 220ms ease-out,border-color 220ms ease-out;
}

.hcl-shop-by-brand .hcl-s10-media{
  display:flex;
  flex:1;
  align-items:center;
  justify-content:center;
  min-width:0;
  min-height:105px;
  overflow:hidden;
}

.hcl-shop-by-brand .hcl-s10-logo{
  display:block;
  max-width:100%;
  max-height:100px;
  width:auto;
  height:auto;
  object-fit:contain;
  transition:transform 220ms ease-out;
}

.hcl-shop-by-brand .hcl-s10-brand-name{
  display:block;
  margin:0;
  color:#183F31;
  font-size:11px;
  font-weight:600;
  line-height:1.4;
  text-align:center;
  overflow-wrap:break-word;
}

@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .hcl-shop-by-brand .hcl-s10-card:hover{
    transform:translateY(-2px);
    border-color:#C9963D;
  }

  .hcl-shop-by-brand .hcl-s10-card:hover .hcl-s10-logo{
    transform:scale(1.03);
  }
}

@media (width >= 740.5px) and (width < 1200px){
  .hcl-shop-by-brand{
    padding:32px 20px 48px;
  }

  .hcl-shop-by-brand .hcl-s10-card{
    flex-basis:calc((100% - 28px)/3);
  }
}

@media (width < 740.5px){
  .hcl-shop-by-brand{
    padding:32px 14px 42px;
  }

  .hcl-shop-by-brand .hcl-s10-heading h2{
    font-size:20px;
  }

  .hcl-shop-by-brand .hcl-s10-subtitle{
    font-size:12px;
  }

  .hcl-shop-by-brand .hcl-s10-track{
    gap:10px;
  }

  .hcl-shop-by-brand .hcl-s10-card{
    flex-basis:calc((100% - 10px)/2);
    min-height:160px;
  }

  .hcl-shop-by-brand .hcl-s10-logo{
    max-height:85px;
  }
}

@media (prefers-reduced-motion:reduce){
  .hcl-shop-by-brand .hcl-s10-card,
  .hcl-shop-by-brand .hcl-s10-logo,
  .hcl-shop-by-brand .hcl-s10-arrow{
    transition:none;
  }
}
