/* TechKid Shop — clean commercial catalog */
body.post-type-archive-product,
body.woocommerce-shop,
body.tax-product_cat,
body.tax-product_tag{
  --tk-shop-ink:#152033;
  --tk-shop-muted:#6d788b;
  --tk-shop-line:#e6ebf2;
  --tk-shop-soft:#f6f8fc;
  --tk-shop-blue:#486ddb;
  --tk-shop-green:#159447;
}

body.woocommerce-shop main,
body.post-type-archive-product main,
body.tax-product_cat main,
body.tax-product_tag main{
  background:linear-gradient(180deg,#f7f9fc 0%,#fff 32%);
}

body.woocommerce-shop .wp-block-query-title,
body.post-type-archive-product .wp-block-query-title,
body.woocommerce-shop h1,
body.post-type-archive-product h1{
  color:var(--tk-shop-ink);
  letter-spacing:-.035em;
  font-weight:800;
}

body.woocommerce-shop .wp-block-woocommerce-product-collection,
body.post-type-archive-product .wp-block-woocommerce-product-collection,
body.tax-product_cat .wp-block-woocommerce-product-collection{
  max-width:1240px;
  margin-inline:auto;
}

body.woocommerce-shop .wc-block-product-template,
body.post-type-archive-product .wc-block-product-template,
body.tax-product_cat .wc-block-product-template{
  gap:24px !important;
}

body.woocommerce-shop .wc-block-product,
body.post-type-archive-product .wc-block-product,
body.tax-product_cat .wc-block-product{
  min-width:0;
}

body.woocommerce-shop .wc-block-product > .wp-block-group,
body.post-type-archive-product .wc-block-product > .wp-block-group,
body.tax-product_cat .wc-block-product > .wp-block-group{
  height:100%;
  overflow:hidden;
  border:1px solid var(--tk-shop-line);
  border-radius:22px;
  background:#fff !important;
  box-shadow:0 10px 32px rgba(31,45,70,.06);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}

body.woocommerce-shop .wc-block-product:hover > .wp-block-group,
body.post-type-archive-product .wc-block-product:hover > .wp-block-group,
body.tax-product_cat .wc-block-product:hover > .wp-block-group{
  transform:translateY(-4px);
  border-color:#d6dfed;
  box-shadow:0 18px 42px rgba(31,45,70,.11);
}

body.woocommerce-shop .wp-block-woocommerce-product-image,
body.post-type-archive-product .wp-block-woocommerce-product-image,
body.tax-product_cat .wp-block-woocommerce-product-image{
  aspect-ratio:1/1;
  margin:0 !important;
  padding:22px;
  background:linear-gradient(180deg,#f9fbfe 0%,#f3f6fb 100%);
}

body.woocommerce-shop .wp-block-woocommerce-product-image img,
body.post-type-archive-product .wp-block-woocommerce-product-image img,
body.tax-product_cat .wp-block-woocommerce-product-image img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  transition:transform .25s ease;
}

body.woocommerce-shop .wc-block-product:hover .wp-block-woocommerce-product-image img,
body.post-type-archive-product .wc-block-product:hover .wp-block-woocommerce-product-image img,
body.tax-product_cat .wc-block-product:hover .wp-block-woocommerce-product-image img{
  transform:scale(1.025);
}

body.woocommerce-shop .wc-block-product > .wp-block-group > .wp-block-group:last-child,
body.post-type-archive-product .wc-block-product > .wp-block-group > .wp-block-group:last-child,
body.tax-product_cat .wc-block-product > .wp-block-group > .wp-block-group:last-child{
  flex:1;
  display:flex;
  flex-direction:column;
  padding:22px !important;
}

body.woocommerce-shop .wc-block-product .wp-block-post-title,
body.post-type-archive-product .wc-block-product .wp-block-post-title,
body.tax-product_cat .wc-block-product .wp-block-post-title{
  min-height:52px;
  font-size:19px !important;
  line-height:1.35;
  font-weight:750;
}

body.woocommerce-shop .wc-block-product .wp-block-post-title a,
body.post-type-archive-product .wc-block-product .wp-block-post-title a,
body.tax-product_cat .wc-block-product .wp-block-post-title a{
  color:var(--tk-shop-ink);
  text-decoration:none;
}

body.woocommerce-shop .wc-block-product .wp-block-post-title a:hover,
body.post-type-archive-product .wc-block-product .wp-block-post-title a:hover,
body.tax-product_cat .wc-block-product .wp-block-post-title a:hover{
  color:var(--tk-shop-blue);
}

body.woocommerce-shop .wp-block-woocommerce-product-price,
body.post-type-archive-product .wp-block-woocommerce-product-price,
body.tax-product_cat .wp-block-woocommerce-product-price{
  margin-top:12px !important;
}

body.woocommerce-shop .wc-block-components-product-price,
body.post-type-archive-product .wc-block-components-product-price,
body.tax-product_cat .wc-block-components-product-price{
  color:var(--tk-shop-green);
  font-size:22px !important;
  font-weight:800;
  letter-spacing:-.02em;
}

body.woocommerce-shop .wp-block-woocommerce-product-button,
body.post-type-archive-product .wp-block-woocommerce-product-button,
body.tax-product_cat .wp-block-woocommerce-product-button{
  margin-top:auto !important;
  padding-top:20px;
  width:100%;
  display:flex !important;
  gap:10px;
  align-items:stretch !important;
}

body.woocommerce-shop .wc-block-components-product-button__button,
body.post-type-archive-product .wc-block-components-product-button__button,
body.tax-product_cat .wc-block-components-product-button__button{
  flex:1;
  min-height:48px;
  border:0 !important;
  border-radius:12px !important;
  background:var(--tk-shop-blue) !important;
  color:#fff !important;
  font-weight:750 !important;
  justify-content:center;
  box-shadow:0 8px 20px rgba(72,109,219,.20);
}

.tk-shop-more{
  flex:1;
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 16px;
  border:1px solid #dce3ee;
  border-radius:12px;
  background:#fff;
  color:var(--tk-shop-ink) !important;
  text-decoration:none !important;
  font-size:14px;
  font-weight:700;
  transition:.18s ease;
}

.tk-shop-more:hover{
  border-color:var(--tk-shop-blue);
  color:var(--tk-shop-blue) !important;
  background:#f7f9ff;
}

body.woocommerce-shop .added_to_cart,
body.post-type-archive-product .added_to_cart,
body.tax-product_cat .added_to_cart{
  width:100%;
  text-align:center;
  margin-top:8px;
}

.tk-shop-shell{
  background:linear-gradient(180deg,#f7f9fc 0%,#ffffff 34%);
}

.tk-shop-main-heading,
.tk-shop-title{
  margin-top:18px !important;
  margin-bottom:8px !important;
  color:var(--tk-shop-ink);
  font-size:clamp(38px,5vw,62px);
  line-height:1.06;
  letter-spacing:-.045em;
  font-weight:800;
}

body.woocommerce-shop .tk-shop-title{display:none;}
body.tax-product_cat .tk-shop-main-heading,
body.tax-product_tag .tk-shop-main-heading{display:none;}

.tk-shop-intro{
  max-width:780px !important;
  margin-top:0 !important;
  margin-bottom:24px !important;
  color:var(--tk-shop-muted);
  font-size:17px;
  line-height:1.65;
}

.tk-shop-categories{
  max-width:1280px;
  margin:0 auto 28px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.tk-shop-categories a{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:0 16px;
  border:1px solid #dfe6f0;
  border-radius:999px;
  background:#fff;
  color:var(--tk-shop-ink);
  text-decoration:none;
  font-size:14px;
  font-weight:700;
  box-shadow:0 4px 14px rgba(31,45,70,.04);
  transition:.18s ease;
}

.tk-shop-categories a:hover{
  border-color:var(--tk-shop-blue);
  background:#f4f7ff;
  color:var(--tk-shop-blue);
  transform:translateY(-1px);
}

.tk-shop-toolbar{
  max-width:1280px;
  margin:0 auto 22px !important;
  padding:14px 16px;
  border:1px solid var(--tk-shop-line);
  border-radius:16px;
  background:#fff;
  box-shadow:0 6px 20px rgba(31,45,70,.04);
}

.tk-shop-toolbar select{
  min-height:42px;
  border:1px solid #dfe6f0;
  border-radius:10px;
  background:#fff;
  color:var(--tk-shop-ink);
  padding:0 36px 0 12px;
}

.tk-shop-actions{
  margin-top:auto !important;
  display:flex !important;
  flex-wrap:nowrap !important;
  gap:10px !important;
  width:100%;
  align-items:stretch !important;
}

.tk-shop-actions .wp-block-woocommerce-product-button{
  flex:1;
  margin-top:0 !important;
  padding-top:0 !important;
}

.tk-shop-actions .wp-block-read-more{
  margin:0 !important;
}

@media (max-width:620px){
  .tk-shop-categories{
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-bottom:6px;
    scrollbar-width:none;
  }
  .tk-shop-categories::-webkit-scrollbar{display:none;}
  .tk-shop-categories a{flex:0 0 auto;}
  .tk-shop-toolbar{
    align-items:stretch !important;
    flex-direction:column;
  }
  .tk-shop-toolbar > *{width:100%;}
  .tk-shop-toolbar select{width:100%;}
  .tk-shop-actions{flex-direction:column;}
}

@media (max-width:900px){
  body.woocommerce-shop .wc-block-product-template__responsive,
  body.post-type-archive-product .wc-block-product-template__responsive,
  body.tax-product_cat .wc-block-product-template__responsive{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

@media (max-width:620px){
  body.woocommerce-shop .wc-block-product-template__responsive,
  body.post-type-archive-product .wc-block-product-template__responsive,
  body.tax-product_cat .wc-block-product-template__responsive{
    grid-template-columns:1fr !important;
  }
  body.woocommerce-shop .wc-block-product .wp-block-post-title,
  body.post-type-archive-product .wc-block-product .wp-block-post-title,
  body.tax-product_cat .wc-block-product .wp-block-post-title{min-height:auto;}
}

/* TechKid V2 catalog additions */
.tk-shop-head{max-width:1280px;margin-inline:auto}
.tk-shop-b2b{
  max-width:1280px;margin:22px auto 18px;padding:24px 26px;border-radius:22px;
  background:linear-gradient(135deg,#10213b,#18365f);color:#fff;
  display:flex;justify-content:space-between;gap:28px;align-items:center;
  box-shadow:0 16px 40px rgba(16,33,59,.12)
}
.tk-shop-b2b>div:first-child{max-width:720px}
.tk-shop-b2b-label{display:inline-block;margin-bottom:8px;color:#8ec3ff;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.tk-shop-b2b strong{display:block;font-size:24px;line-height:1.2}
.tk-shop-b2b p{margin:7px 0 0;color:#c4d1e3;font-size:14px;line-height:1.55}
.tk-shop-b2b-actions{display:flex;gap:9px;flex-shrink:0}
.tk-shop-b2b-actions a,.tk-btn-primary,.tk-btn-secondary{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 16px;border-radius:11px;text-decoration:none!important;font-size:13px;font-weight:800}
.tk-btn-primary{background:#fff;color:#16345d!important}.tk-btn-secondary{border:1px solid #4d6b91;color:#fff!important}
.tk-shop-benefits{max-width:1280px;margin:0 auto 22px;display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.tk-shop-benefits span{padding:12px 14px;border:1px solid #e3e9f1;border-radius:12px;background:#fff;color:#526077;font-size:12px;font-weight:700;text-align:center}
.tk-card-kicker{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.tk-card-kicker span{padding:5px 8px;border-radius:999px;background:#edf4ff;color:#3765c6;font-size:10px;font-weight:800}
.tk-shop-quote{width:100%;min-height:42px;display:flex;align-items:center;justify-content:center;margin-top:10px;border-radius:11px;background:#eff8f2;color:#137a3d!important;text-decoration:none!important;font-size:12px;font-weight:800;transition:.18s}
.tk-shop-quote:hover{background:#e2f4e8;transform:translateY(-1px)}
@media(max-width:820px){
 .tk-shop-b2b{align-items:flex-start;flex-direction:column}.tk-shop-benefits{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:620px){
 .tk-shop-b2b{padding:20px}.tk-shop-b2b-actions{width:100%;flex-direction:column}.tk-shop-b2b-actions a{width:100%}.tk-shop-benefits{grid-template-columns:1fr 1fr}
}
