/* Products list and detail pages */
body.template-page-products,
body.template-page-product{
  background:#fff;
  color:#222;
}
body.template-page-products,
body.template-page-product,
body.template-page-products h1,
body.template-page-products h2,
body.template-page-products h3,
body.template-page-product h1,
body.template-page-product h2,
body.template-page-product h3{
  font-family:Rajdhani, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body.template-page-products{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}
body.template-page-products #wrapper{
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  min-height:0;
  width:100%;
}
body.template-page-products #main-content{
  flex:1 1 auto;
}
body.template-page-products .site-contact-footer{
  flex:0 0 auto;
  width:100%;
  margin-top:48px;
}
.products-title,
.product-info__title,
.product-section-title,
.product-feature h3,
.products-card__name{
  color:#1e4e1c;
}

/* List */
.products-list{
  max-width:1200px;
  margin:0 auto;
  padding:48px 24px 40px;
  box-sizing:border-box;
}
@media (max-width:767px){
  /* Only clip the content pane — not #wrapper (breaks fixed/sticky header) */
  body.template-page-product .product-page{
    overflow-x:clip;
    max-width:100%;
  }
  .products-list{
    padding:28px 16px 32px;
  }
  .products-title{
    font-size:clamp(32px, 8vw, 40px);
  }
  .products-list__subtitle{
    font-size:16px;
    margin-bottom:20px;
  }
  .products-filter{
    gap:8px;
    margin-bottom:24px;
  }
  .products-chip{
    font-size:13px;
    padding:7px 12px;
  }
  .products-grid{gap:24px;}
  .product-page{padding:12px 16px 48px; box-sizing:border-box;}
  .product-hero{gap:20px; margin-bottom:40px; min-width:0;}
  .product-gallery,
  .product-info{min-width:0; max-width:100%;}
  .product-gallery__main{
    border-radius:14px;
  }
  .product-info__title{
    font-size:clamp(20px, 5.6vw, 24px);
    line-height:1.3;
    overflow-wrap:anywhere;
    word-break:normal;
  }
  .product-info__model{margin-bottom:14px; font-size:15px;}
  .product-pills{gap:6px; margin-bottom:16px;}
  .product-pill{font-size:12px; padding:5px 10px;}
  .product-feature{margin:0 0 40px; gap:16px;}
  .product-feature h3{font-size:clamp(20px, 5vw, 24px);}
  .product-feature__text p{font-size:15px; line-height:1.6;}
  .product-table-wrap,
  .product-recipes{margin-bottom:48px; overflow-x:auto;}
  .product-specs-table{font-size:14px;}
  .product-specs-table th,
  .product-specs-table td{padding:10px 12px;}
}
.products-title{
  font-size:clamp(40px, 4vw, 56px);
  line-height:1.2;
  margin:0 0 12px;
  text-align:center;
  font-weight:600;
}
.products-list__subtitle{
  text-align:center;
  font-size:19px;
  line-height:1.5;
  max-width:760px;
  margin:0 auto 28px;
  color:#333;
}
.products-filter{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
  margin:0 0 36px;
}
.products-chip{
  appearance:none;
  border:1px solid #c5d9c4;
  background:#eef6ee;
  color:#1e4e1c;
  font:inherit;
  font-weight:600;
  font-size:14px;
  letter-spacing:.02em;
  padding:8px 16px;
  border-radius:999px;
  cursor:pointer;
}
.products-chip:hover,
.products-chip.is-active{
  background:#1e4e1c;
  border-color:#1e4e1c;
  color:#fff;
}
.products-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:32px;
  align-items:stretch;
}
@media (min-width:700px){
  .products-grid{grid-template-columns:repeat(2, 1fr);}
}
@media (min-width:1024px){
  .products-grid{grid-template-columns:repeat(3, 1fr); gap:32px 28px;}
}
.products-card{
  display:flex;
  flex-direction:column;
  height:100%;
  background:#fff;
}
.products-card__media{
  display:block;
  background:#fff;
  border-radius:20px;
  overflow:hidden;
  aspect-ratio:1 / 1;
  border:1px solid #e8eee8;
}
.products-card__media img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  display:block;
  background:#fff;
}
.products-card__body{
  padding:16px 4px 0;
  text-align:center;
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
}
.products-card__model{
  margin:0 0 8px;
  font-size:13px;
  font-weight:600;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#1e4e1c;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:24px;
}
.products-card__dots{display:inline-flex; gap:6px; align-items:center;}
.products-card__dot{
  width:12px; height:12px; border-radius:50%;
  border:1px solid rgba(0,0,0,.15);
  display:inline-block;
}
.products-card__dot--red{background:#b42318;}
.products-card__dot--black{background:#1a1a1a;}
.products-card__name{
  font-size:22px;
  line-height:1.3;
  margin:0 0 12px;
  font-weight:600;
}
.products-card__name a{color:inherit; text-decoration:none;}
.products-card__name a:hover{text-decoration:underline;}
.products-card__link,
.products-card__link:link,
.products-card__link:visited,
.products-card__link:hover,
.products-card__link:focus,
.products-card__link:active{
  color:#1e4e1c;
  font-weight:600;
  font-size:16px;
  margin-top:auto;
  padding-top:12px;
  text-decoration:none !important;
  text-decoration-line:none !important;
  text-underline-offset:unset;
  border-bottom:0 !important;
  box-shadow:none !important;
  background-image:none !important;
}
 .products-card__link::before,
.products-card__link::after,
.products-card__link:hover::before,
.products-card__link:hover::after,
.products-card__link:focus::before,
.products-card__link:focus::after,
.products-card__link:active::before,
.products-card__link:active::after{
  content:none !important;
  display:none !important;
  text-decoration:none !important;
  border:0 !important;
  border-bottom:0 !important;
  box-shadow:none !important;
  background:none !important;
  background-image:none !important;
}
.products-card__link:hover,
.products-card__link:focus{
  color:#163b14;
}

/* Detail */
.product-page{padding:24px 24px 64px;}
.product-crumbs{
  max-width:1100px;
  margin:0 auto 28px;
}
/* Kill theme breadcrumb horizontal scroller on product pages */
body.template-page-product .breadcrumbs.product-crumbs{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:2px 0;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  padding:0;
  margin:0 auto 20px;
  white-space:normal;
  overflow:hidden;
  overflow-x:hidden;
  text-align:left;
  font-size:13px;
  line-height:1.45;
  color:#555;
}
body.template-page-product .breadcrumbs.product-crumbs a{
  flex:0 0 auto;
  text-decoration:none;
  color:#1e4e1c;
}
body.template-page-product .breadcrumbs.product-crumbs a:hover{
  text-decoration:underline;
  text-underline-offset:3px;
}
body.template-page-product .breadcrumbs.product-crumbs i{
  flex:0 0 auto;
  margin:0 6px;
  opacity:.35;
}
body.template-page-product .breadcrumbs.product-crumbs .product-crumbs__current{
  flex:1 1 12rem;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#333;
}
.product-hero{
  max-width:1100px;
  margin:0 auto 72px;
  display:grid;
  grid-template-columns:1fr;
  gap:36px;
  align-items:start;
}
@media (min-width:900px){
  .product-hero{grid-template-columns:1.05fr .95fr; gap:48px;}
}
.product-gallery__main{
  background:#fff;
  border:1px solid #e8eee8;
  border-radius:20px;
  overflow:hidden;
  aspect-ratio:1 / 1;
}
.product-gallery__main img{
  width:100%; height:100%; object-fit:contain; display:block; background:#fff;
}
.product-gallery__thumbs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}
.product-thumb{
  appearance:none;
  border:1px solid #e8eee8;
  background:#fff;
  padding:0;
  border-radius:10px;
  overflow:hidden;
  width:72px; height:72px;
  cursor:pointer;
}
.product-thumb img{width:100%; height:100%; object-fit:contain; display:block;}
.product-thumb.is-active{border-color:#1e4e1c; box-shadow:0 0 0 2px #1e4e1c;}
.product-info__title{
  font-size:clamp(26px, 2.4vw, 32px);
  line-height:1.25;
  margin:0 0 12px;
  font-weight:600;
}
.product-info__model{
  margin:0 0 20px;
  font-weight:600;
  color:#1e4e1c;
  font-size:16px;
}
.product-colors{display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin:0 0 20px;}
.product-colors__label{margin:0 8px 0 0; font-weight:600; color:#1e4e1c;}
.product-swatch{
  width:28px; height:28px; border-radius:50%;
  border:1px solid rgba(0,0,0,.2);
  cursor:pointer; padding:0;
}
.product-swatch--red{background:#b42318;}
.product-swatch--black{background:#1a1a1a;}
.product-swatch.is-active{box-shadow:0 0 0 2px #fff, 0 0 0 4px #1e4e1c;}
.product-pills{list-style:none; margin:0 0 24px; padding:0; display:flex; flex-wrap:wrap; gap:8px;}
.product-pill{
  background:#eef6ee;
  color:#1e4e1c;
  border-radius:999px;
  padding:6px 12px;
  font-size:13px;
  font-weight:600;
}
.product-specs-inline{list-style:none; margin:0; padding:0; font-size:15px; line-height:1.6;}
.product-specs-inline li{margin:0 0 6px;}
.product-specs-inline span{font-weight:600; color:#1e4e1c; margin-right:8px;}

.product-features{
  max-width:1100px;
  margin:0 auto;
}
.product-feature{
  display:grid;
  grid-template-columns:1fr;
  gap:28px;
  align-items:center;
  margin:0 0 72px;
}
@media (min-width:800px){
  .product-feature{grid-template-columns:1fr 1fr; gap:48px; margin:0 0 80px;}
  .product-feature--reverse .product-feature__media{order:2;}
  .product-feature--reverse .product-feature__text{order:1;}
}
.product-feature__media{
  border-radius:20px;
  overflow:hidden;
  background:#fff;
  border:1px solid #e8eee8;
  aspect-ratio:1 / 1;
}
.product-feature__media img{width:100%; height:100%; object-fit:contain; display:block;}
.product-feature__text h3{
  font-size:clamp(22px, 2vw, 28px);
  margin:0 0 12px;
  line-height:1.3;
  font-weight:600;
}
.product-feature__text p{margin:0; font-size:17px; line-height:1.65; color:#333;}

.product-table-wrap,
.product-recipes{
  max-width:1100px;
  margin:0 auto 72px;
}
.product-section-title{
  font-size:clamp(26px, 2.4vw, 32px);
  margin:0 0 24px;
  font-weight:600;
}
.product-specs-table{
  width:100%;
  border-collapse:collapse;
  font-size:16px;
}
.product-specs-table th,
.product-specs-table td{
  border:1px solid #c5d9c4;
  padding:14px 16px;
  text-align:left;
  vertical-align:top;
}
.product-specs-table th{
  background:#e8eee8;
  color:#1e4e1c;
  font-weight:600;
  width:28%;
}
.product-recipes__grid{
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
}
@media (min-width:700px){
  .product-recipes__grid{grid-template-columns:repeat(3, 1fr);}
}
.product-recipe-card a{text-decoration:none; color:inherit; display:block;}
.product-recipe-card img{
  width:100%;
  height:clamp(180px, 22vh, 240px);
  object-fit:cover;
  border-radius:20px;
  display:block;
  background:#f7f7f7;
}
.product-recipe-card h3{
  margin:12px 0 6px;
  font-size:20px;
  color:#1e4e1c;
}
.product-recipe-card p{margin:0; color:#555; font-size:15px;}
body.template-page-product .blending-tips,
body.template-page-products .blending-tips{
  max-width:1100px;
  margin:0 auto 24px;
}

/* Mobile gallery strip — after base rules so it wins cascade */
@media (max-width:767px){
  .product-gallery__thumbs{
    display:flex;
    flex-wrap:nowrap;
    gap:8px;
    margin-top:10px;
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
    padding:2px 2px 4px;
  }
  .product-gallery__thumbs::-webkit-scrollbar{display:none}
  .product-thumb{
    flex:0 0 56px;
    width:56px;
    height:56px;
    border-radius:8px;
    scroll-snap-align:start;
  }
}
