
/*
Theme Name: ZenPetLab
Template: blocksy
Version: 1.0
Description: ZenPetLab brand theme - pet enrichment & wellness
*/

:root{
  --zpl-green:#1E5A46; --zpl-green-dark:#154535; --zpl-green-soft:#EAF4EF;
  --zpl-orange:#F2632E; --zpl-orange-dark:#D94E1F;
  --zpl-cream:#FBF6EF; --zpl-ink:#23282B; --zpl-grey:#6B7174;
  --zpl-radius:18px; --zpl-shadow:0 10px 30px rgba(30,90,70,.10);
}

body{font-family:'Inter',-apple-system,sans-serif;color:var(--zpl-ink);}
h1,h2,h3,h4,.zpl-head{font-family:'Nunito','Inter',sans-serif;font-weight:800;letter-spacing:-.01em;}

.zpl-topbar{background:var(--zpl-green);color:#fff;text-align:center;padding:9px 15px;font-size:13.5px;font-weight:600;letter-spacing:.02em;}
.zpl-topbar b{color:#FFD9A8;}

.zpl-section{padding:72px 20px;}
.zpl-wrap{max-width:1180px;margin:0 auto;}
.zpl-kicker{display:inline-block;background:var(--zpl-green-soft);color:var(--zpl-green);font-weight:800;font-size:12.5px;letter-spacing:.12em;text-transform:uppercase;padding:7px 16px;border-radius:99px;margin-bottom:16px;}
.zpl-h2{font-size:clamp(28px,4vw,42px);line-height:1.15;margin:0 0 14px;}
.zpl-sub{color:var(--zpl-grey);font-size:17px;max-width:640px;margin:0 auto;}
.zpl-center{text-align:center;}

.zpl-btn{display:inline-block;background:var(--zpl-orange);color:#fff!important;font-weight:800;font-size:16px;padding:16px 34px;border-radius:99px;text-decoration:none;transition:all .2s;box-shadow:0 8px 20px rgba(242,99,46,.35);}
.zpl-btn:hover{background:var(--zpl-orange-dark);transform:translateY(-2px);}
.zpl-btn-ghost{background:transparent;color:var(--zpl-green)!important;box-shadow:none;border:2px solid var(--zpl-green);}
.zpl-btn-ghost:hover{background:var(--zpl-green);color:#fff!important;}

.zpl-hero{position:relative;min-height:88vh;display:flex;align-items:center;background-size:cover;background-position:center 30%;}
.zpl-hero::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,50,40,.78) 0%,rgba(20,50,40,.45) 45%,rgba(20,50,40,.05) 75%);}
.zpl-hero-inner{position:relative;max-width:1180px;margin:0 auto;padding:60px 20px;width:100%;}
.zpl-hero h1{color:#fff;font-size:clamp(36px,5.5vw,62px);line-height:1.08;max-width:620px;margin:0 0 20px;}
.zpl-hero h1 em{font-style:normal;color:#FFC98F;}
.zpl-hero p{color:rgba(255,255,255,.92);font-size:18.5px;max-width:520px;margin:0 0 32px;line-height:1.6;}
.zpl-hero-badges{display:flex;gap:26px;margin-top:38px;flex-wrap:wrap;}
.zpl-hero-badge{display:flex;align-items:center;gap:9px;color:#fff;font-size:13.5px;font-weight:600;}
.zpl-stars{color:#FFC266;letter-spacing:2px;font-size:15px;}
.zpl-hero .zpl-stars-label{color:rgba(255,255,255,.85);font-size:13px;margin-left:8px;}

.zpl-trustbar{background:var(--zpl-cream);border-bottom:1px solid #EFE7DB;padding:22px 20px;}
.zpl-trustbar .zpl-wrap{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;}
.zpl-trust{display:flex;align-items:center;gap:12px;font-weight:700;font-size:14.5px;}
.zpl-trust .zpl-ico{width:42px;height:42px;background:#fff;border-radius:12px;display:flex;align-items:center;justify-content:center;box-shadow:var(--zpl-shadow);font-size:20px;}
.zpl-trust small{display:block;color:var(--zpl-grey);font-weight:500;font-size:12.5px;}

.zpl-cats{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:44px;}
.zpl-cat{position:relative;border-radius:var(--zpl-radius);overflow:hidden;height:340px;text-decoration:none;display:block;box-shadow:var(--zpl-shadow);}
.zpl-cat img{width:100%;height:100%;object-fit:cover;transition:transform .5s;}
.zpl-cat:hover img{transform:scale(1.06);}
.zpl-cat-label{position:absolute;left:0;right:0;bottom:0;padding:44px 24px 22px;background:linear-gradient(transparent,rgba(20,45,36,.85));color:#fff;}
.zpl-cat-label h3{margin:0 0 4px;color:#fff;font-size:21px;}
.zpl-cat-label span{font-size:13.5px;color:rgba(255,255,255,.85);font-weight:600;}

.zpl-products{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:44px;padding:0;}
.zpl-products .product{background:#fff;border-radius:var(--zpl-radius);overflow:hidden;box-shadow:var(--zpl-shadow);transition:transform .2s;list-style:none;}
.zpl-products .product:hover{transform:translateY(-5px);}
.zpl-products .woocommerce-loop-product__title{font-family:'Nunito',sans-serif;font-weight:800;font-size:16px!important;padding:14px 16px 4px;}
.zpl-products .price{padding:0 16px 14px;font-weight:800;color:var(--zpl-green);}
.zpl-products .add_to_cart_button{margin:0 16px 16px;border-radius:99px!important;background:var(--zpl-orange)!important;font-weight:700;}

.zpl-split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;}
.zpl-split img{border-radius:var(--zpl-radius);width:100%;box-shadow:var(--zpl-shadow);}
.zpl-checklist{list-style:none;padding:0;margin:26px 0 30px;}
.zpl-checklist li{display:flex;gap:12px;align-items:flex-start;margin-bottom:14px;font-size:16px;}
.zpl-checklist li::before{content:'\2713';flex:none;width:26px;height:26px;background:var(--zpl-green);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:14px;}

.zpl-testis{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:44px;}
.zpl-testi{background:#fff;border-radius:var(--zpl-radius);padding:28px;box-shadow:var(--zpl-shadow);}
.zpl-testi .zpl-stars{font-size:16px;}
.zpl-testi p{font-size:15px;line-height:1.65;margin:14px 0 18px;}
.zpl-testi-name{font-weight:800;font-size:14px;}
.zpl-testi-name span{display:block;color:var(--zpl-grey);font-weight:500;font-size:12.5px;margin-top:2px;}

.zpl-guarantee{background:var(--zpl-green);border-radius:var(--zpl-radius);padding:52px 44px;display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center;color:#fff;}
.zpl-guarantee h3{color:#fff;font-size:27px;margin:0 0 8px;}
.zpl-guarantee p{margin:0;color:rgba(255,255,255,.85);max-width:560px;}

@media(max-width:900px){
  .zpl-cats,.zpl-testis{grid-template-columns:1fr;}
  .zpl-products{grid-template-columns:repeat(2,1fr);}
  .zpl-split{grid-template-columns:1fr;gap:30px;}
  .zpl-guarantee{grid-template-columns:1fr;text-align:center;}
  .zpl-hero{min-height:70vh;}
}

/* hide page hero title on front page */
.home .hero-section, .home .entry-header, body.home .ct-page-title{display:none!important;}


/* force hero aspect - fixed height, not vh of screenshot window */
.home .zpl-hero{min-height:640px!important;max-height:640px;height:640px;}
@media(max-width:900px){.home .zpl-hero{min-height:520px!important;max-height:520px;height:520px;}}
/* remove excess space between header and announcement bar */
.home .site-main > article, .home .ct-container-single{margin:0!important;padding:0!important;}
.home .entry-content{margin-top:0!important;}


/* WooCommerce brand styling */
.woocommerce a.add_to_cart_button, .woocommerce a.add_to_cart_button:visited{
  background:var(--zpl-orange)!important;border-radius:99px!important;color:#fff!important;
  font-weight:700!important;padding:12px 26px!important;transition:all .2s;
}
.woocommerce a.add_to_cart_button:hover{background:var(--zpl-orange-dark)!important;}
.woocommerce span.onsale{background:var(--zpl-green)!important;border-radius:99px!important;padding:5px 14px!important;font-weight:700;min-height:0;line-height:1.4;}
ul.products li.product{border-radius:var(--zpl-radius);overflow:hidden;box-shadow:var(--zpl-shadow);transition:transform .2s;background:#fff;padding-bottom:14px;}
ul.products li.product:hover{transform:translateY(-5px);}
ul.products li.product .woocommerce-loop-product__title{font-family:'Nunito',sans-serif;font-weight:800;font-size:16px!important;}
ul.products li.product .price{color:var(--zpl-green);font-weight:800;font-size:16px;}
ul.products li.product .price del{color:#9aa;font-weight:500;font-size:13.5px;}
ul.products li.product .button{margin:0 16px;}
ul.products li.product .product_cat{display:none!important;}

/* hide stray category meta on product cards */
ul.products .entry-meta, .products .meta-categories{display:none!important;}

/* mobile hero: let content define height */
@media(max-width:900px){
  .home .zpl-hero{min-height:0!important;max-height:none!important;height:auto!important;padding:0;}
  .zpl-hero-inner{padding:52px 22px 60px!important;}
  .zpl-hero h1{font-size:34px;}
  .zpl-hero-badges{flex-direction:column;gap:12px;margin-top:28px;}
  .zpl-btn{display:block;text-align:center;margin:0 0 12px!important;}
  .zpl-trustbar .zpl-wrap{flex-direction:column;gap:16px;}
  .zpl-topbar{line-height:1.5;padding:10px 12px;}
}

