/* Home product tabs — Semac v0.11.2 */
.semac-theme .semac-home-products{padding:34px 0 40px;background:linear-gradient(180deg,#f5f8f6 0%,#fff 100%);border-top:1px solid #e8eeea;}
.semac-theme .semac-home-products-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:20px;}
.semac-theme .semac-home-products-kicker{display:block;margin-bottom:6px;color:var(--semac-green);font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;}
.semac-theme .semac-home-products-heading h2{margin:0;color:#17221d;font-size:27px;line-height:1.15;font-weight:900;}
.semac-theme .semac-home-products-heading p{margin:7px 0 0;color:#65736c;font-size:13px;line-height:1.55;}
.semac-theme .semac-home-products-all{display:inline-flex;align-items:center;gap:8px;color:#08763c;text-decoration:none;font-size:13px;font-weight:800;white-space:nowrap;}
.semac-theme .semac-home-products-all .semac-icon{width:17px;height:17px;}
.semac-theme .semac-product-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:6px;border:1px solid #dfe7e2;border-radius:16px;background:#fff;box-shadow:0 8px 26px rgba(17,45,28,.05);margin-bottom:20px;}
.semac-theme .semac-product-tab{appearance:none;border:0!important;box-shadow:none!important;display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:10px 14px;border-radius:11px!important;background:#f4f7f5!important;color:#34453d!important;font-family:inherit;font-size:13px;font-weight:800;line-height:1.2;cursor:pointer;transition:background .18s ease,color .18s ease,transform .18s ease;}
.semac-theme .semac-product-tab:hover{background:#eaf4ee!important;color:#08733b!important;}
.semac-theme .semac-product-tab.is-active{background:linear-gradient(135deg,#008844,#00a953)!important;color:#fff!important;box-shadow:0 8px 18px rgba(0,137,67,.18)!important;}
.semac-theme .semac-product-tab-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;}
.semac-theme .semac-product-tab-icon .semac-icon{width:23px;height:23px;}
.semac-theme .semac-product-tab-label-short{display:none;}
.semac-theme .semac-product-tab-panel[hidden]{display:none!important;}
.semac-theme .semac-product-tab-panel.is-active{animation:semacTabIn .22s ease both;}
@keyframes semacTabIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.semac-theme .semac-product-tab-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px;padding:0 2px;}
.semac-theme .semac-product-tab-meta strong{font-size:15px;color:#22312a;}
.semac-theme .semac-product-tab-meta a{display:inline-flex;align-items:center;gap:6px;color:#08763c;text-decoration:none;font-size:12px;font-weight:800;}
.semac-theme .semac-product-tab-meta .semac-icon{width:15px;height:15px;}
.semac-theme .semac-products-tab-grid ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;margin:0!important;padding:0!important;}
.semac-theme .semac-products-tab-grid ul.products::before,.semac-theme .semac-products-tab-grid ul.products::after{display:none!important;}
.semac-theme .semac-products-tab-grid ul.products>li.product{width:auto!important;float:none!important;margin:0!important;min-width:0!important;border:1px solid #e0e8e3!important;border-radius:14px!important;background:#fff!important;box-shadow:0 8px 22px rgba(16,40,25,.055)!important;overflow:hidden;position:relative;transition:transform .18s ease,box-shadow .18s ease!important;}
.semac-theme .semac-products-tab-grid ul.products>li.product::before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#00a350,#66c98d);opacity:.8;}
.semac-theme .semac-products-tab-grid ul.products>li.product:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(16,40,25,.09)!important;}
.semac-theme .semac-products-tab-grid li.product img{background:#fff!important;}

/* Desktop hero correction v0.11.1: continuous composition, no dark letterbox between copy and image. */
@media(min-width:1024px){
 .semac-theme .semac-hero{min-height:410px;background:#f3f5f3;}
 .semac-theme .semac-hero-container{min-height:410px;padding-top:34px;padding-bottom:34px;}
 .semac-theme .semac-hero-copy{width:48%;max-width:620px;padding-right:30px;}
 .semac-theme .semac-hero h1{font-size:45px;line-height:1.04;margin-bottom:24px;}
 .semac-theme .semac-hero-image{left:50%!important;right:0!important;width:auto!important;max-width:none!important;height:100%;background:#f3f5f3!important;display:block;}
 .semac-theme .semac-hero-image img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;object-position:50% 48%!important;background:transparent!important;}
 .semac-theme .semac-hero-image::after{content:"";position:absolute;inset:0!important;background:linear-gradient(90deg,#f3f5f3 0%,rgba(243,245,243,.96) 2%,rgba(243,245,243,.58) 8%,rgba(243,245,243,0) 18%)!important;pointer-events:none;}
}
@media(min-width:1500px){
 .semac-theme .semac-hero,.semac-theme .semac-hero-container{min-height:430px;}
 .semac-theme .semac-hero h1{font-size:49px;}
 .semac-theme .semac-hero-image{left:51%!important;}
}
@media(max-width:1023px){
 .semac-theme .semac-home-products{padding:26px 0 30px;}
 .semac-theme .semac-home-products-heading{align-items:flex-start;margin-bottom:15px;}
 .semac-theme .semac-home-products-heading h2{font-size:22px;}
 .semac-theme .semac-home-products-heading p{font-size:12px;}
 .semac-theme .semac-home-products-all{display:none;}
 .semac-theme .semac-product-tabs{gap:6px;padding:5px;border-radius:13px;margin-bottom:14px;}
 .semac-theme .semac-product-tab{min-height:48px;padding:8px 7px;font-size:11px;gap:6px;border-radius:9px!important;}
 .semac-theme .semac-product-tab-icon .semac-icon{width:20px;height:20px;}
 .semac-theme .semac-product-tab-label-full{display:none;}
 .semac-theme .semac-product-tab-label-short{display:inline;}
 .semac-theme .semac-products-tab-grid ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
}
@media(max-width:480px){
 .semac-theme .semac-home-products{padding:22px 0 26px;}
 .semac-theme .semac-home-products-heading p{max-width:300px;}
 .semac-theme .semac-product-tab{font-size:10px;min-height:46px;}
 .semac-theme .semac-product-tab-icon .semac-icon{width:18px;height:18px;}
 .semac-theme .semac-product-tab-meta strong{font-size:13px;}
}
@media(prefers-reduced-motion:reduce){.semac-theme .semac-product-tab-panel.is-active{animation:none;}}


/* v0.11.8 — larger featured-product tabs on desktop only. */
@media (min-width:1024px) {
    .semac-theme .semac-home-products .semac-product-tabs {
        gap:12px;
        padding:7px;
    }
    .semac-theme .semac-home-products .semac-product-tab {
        min-width:0;
        min-height:62px;
        padding:13px 18px;
        gap:12px;
        font-size:16px;
        font-weight:800;
        line-height:1.25;
        letter-spacing:0;
        text-transform:none;
    }
    .semac-theme .semac-home-products .semac-product-tab-label {
        min-width:0;
        font-size:inherit;
        line-height:inherit;
    }
    .semac-theme .semac-home-products .semac-product-tab-icon .semac-icon {
        width:28px;
        height:28px;
    }
}
@media (min-width:1280px) {
    .semac-theme .semac-home-products .semac-product-tab {
        min-height:66px;
        padding:14px 20px;
        gap:14px;
        font-size:17px;
    }
    .semac-theme .semac-home-products .semac-product-tab-icon .semac-icon {
        width:30px;
        height:30px;
    }
}
