/* AutoLab24 unified WooCommerce product cards, v1.8.2. */
.woocommerce ul.products li.al24-unified-card,ul.products li.al24-unified-card,.al24w-featured-grid li.al24-unified-card{display:flex!important;flex-direction:column!important;float:none!important;min-width:0!important;width:auto!important;height:100%!important;margin:0!important;padding:0!important;background:#fff!important;border:1px solid #e3e7ed!important;border-radius:15px!important;overflow:hidden!important;box-shadow:0 5px 18px rgba(20,30,45,.06)!important;transition:transform .2s,box-shadow .2s}
.woocommerce ul.products li.al24-unified-card:hover,ul.products li.al24-unified-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(20,30,45,.11)!important}
.al24-unified-card>a.al24-uc-image{display:flex!important;position:relative;align-items:center;justify-content:center;min-height:205px;height:205px;padding:15px;background:#f7f8fa;text-decoration:none}
.al24-unified-card .al24-uc-image img{display:block!important;width:100%!important;height:100%!important;max-height:175px!important;object-fit:contain!important;margin:0!important;border:0!important}
.al24-uc-sale{position:absolute;top:12px;left:12px;background:var(--al24-accent,#e82440);color:#fff;border-radius:5px;font-size:11px;font-weight:800;padding:5px 9px}
.al24-unified-card .al24-uc-body{display:flex;flex:1;flex-direction:column;min-width:0;padding:15px;gap:12px}
.al24-unified-card .al24-uc-kind{min-height:23px;display:flex;align-items:center}
.al24-unified-card .al24-kind-badge{display:inline-flex!important;margin:0!important;padding:4px 8px!important;font-size:10px!important;line-height:1.35!important;font-weight:800!important;border-radius:5px!important}
.al24-unified-card .al24-kind-digital{background:#e9f2ff!important;color:#2056a0!important;border:1px solid #d1e3ff!important}
.al24-unified-card .al24-kind-physical{background:#edf0f4!important;color:#3b485b!important;border:1px solid #dfe4eb!important}
.woocommerce ul.products li.al24-unified-card h3.woocommerce-loop-product__title,.al24-unified-card h3.woocommerce-loop-product__title{font-size:16px!important;line-height:1.4!important;font-weight:750!important;min-height:67px;margin:0!important;padding:0!important;overflow-wrap:anywhere}
.al24-unified-card h3 a{color:var(--al24-ink,#20242b)!important;text-decoration:none!important}
.al24-unified-card .al24-uc-bottom{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin-top:auto}
.al24-unified-card .al24-uc-price{font-size:21px;font-weight:800;color:var(--al24-accent,#e82440);line-height:1.35;overflow-wrap:anywhere}
.al24-unified-card .al24-uc-price .woocommerce-Price-amount{white-space:nowrap}
.al24-unified-card .al24-uc-price del{display:block!important;font-size:13px!important;color:#89919b!important;font-weight:500!important;opacity:1!important}
.al24-unified-card .al24-uc-price ins{text-decoration:none}
.al24-unified-card .al24-uc-saving{font-size:13px;color:#d52339;line-height:1.4}
.al24-unified-card .al24-uc-actions{display:flex;align-items:stretch;gap:8px;margin-top:8px;min-width:0}
.woocommerce ul.products li.al24-unified-card .al24-uc-actions a.al24-uc-view,.al24-unified-card .al24-uc-actions a.al24-uc-view{display:flex!important;flex:1 1 0!important;width:auto!important;min-width:0!important;min-height:44px!important;align-items:center;justify-content:center;padding:10px 8px!important;border-radius:9px!important;background:var(--al24-accent,#e82440)!important;color:#fff!important;text-align:center;font-size:12px!important;line-height:1.25!important;font-weight:700!important;text-decoration:none!important}
.woocommerce ul.products li.al24-unified-card .al24-uc-actions a.al24-uc-cart,.al24-unified-card .al24-uc-actions a.al24-uc-cart{display:flex!important;flex:0 0 44px!important;width:44px!important;min-width:44px!important;max-width:44px!important;min-height:44px!important;align-items:center;justify-content:center;padding:0!important;border:0!important;border-radius:9px!important;background:#ffcb20!important;color:#15191f!important;text-decoration:none!important}
.al24-unified-card .al24-uc-cart svg{width:21px;height:21px}
.al24-unified-card .al24-uc-cart.loading{opacity:.6;pointer-events:none}
.al24-unified-card .al24-uc-cart.added{background:#2ab76a!important;color:#fff!important}
@media(max-width:640px){.al24-unified-card>a.al24-uc-image{min-height:145px;height:145px;padding:8px}.al24-unified-card .al24-uc-image img{max-height:120px!important}.al24-unified-card .al24-uc-body{padding:10px;gap:9px}.woocommerce ul.products li.al24-unified-card h3.woocommerce-loop-product__title,.al24-unified-card h3.woocommerce-loop-product__title{font-size:13px!important;min-height:55px}.al24-unified-card .al24-uc-price{font-size:16px}.al24-unified-card .al24-uc-actions{gap:5px}.woocommerce ul.products li.al24-unified-card .al24-uc-actions a.al24-uc-cart{flex-basis:37px!important;min-width:37px!important;width:37px!important}}

/* v1.8.5: underlined, clickable product category on all AutoLab24 cards */
.al24-unified-card .al24-card-category,.al24-showcase-product .al24-card-category{margin:0 0 3px;min-width:0;font-size:12px;line-height:1.35;font-weight:600}
.al24-unified-card .al24-card-category a,.al24-showcase-product .al24-card-category a{display:inline-block;color:var(--al24-ink,#526176);text-decoration:underline!important;text-underline-offset:3px;text-decoration-thickness:1px;overflow-wrap:anywhere}
.al24-unified-card .al24-card-category a:hover,.al24-showcase-product .al24-card-category a:hover{color:var(--al24-accent,#e82440)}

/* v1.8.6: centered category link; product type badge directly under title */
.al24-unified-card .al24-card-category,.al24-showcase-product .al24-card-category{width:100%;text-align:center!important;display:block!important;margin:0!important}
.al24-unified-card .al24-card-category a,.al24-showcase-product .al24-card-category a{text-align:center!important}
.al24-unified-card .al24-uc-kind,.al24-showcase-product .al24-showcase-kind{margin-top:0!important}

/* v1.8.8 — refined centered titles, balanced typography and card rhythm. */
body .elementor .al24-showcase .al24-showcase-product h3,
body .al24-showcase .al24-showcase-product h3,
.woocommerce ul.products li.al24-unified-card h3.woocommerce-loop-product__title,
.al24-unified-card h3.woocommerce-loop-product__title {
  width:100%!important;
  text-align:center!important;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:15px!important;
  font-weight:650!important;
  line-height:1.48!important;
  letter-spacing:-.018em!important;
  color:#202936!important;
  min-height:66px!important;
  margin:0!important;
  padding:0!important;
  overflow-wrap:break-word;
}
body .elementor .al24-showcase .al24-showcase-product h3 a,
body .al24-showcase .al24-showcase-product h3 a,
.al24-unified-card h3.woocommerce-loop-product__title a,
.al24-unified-card h3 a {color:inherit!important;text-decoration:none!important}
body .elementor .al24-showcase .al24-showcase-product h3 a:hover,
.al24-unified-card h3 a:hover {color:var(--al24-accent,#e82440)!important}
body .elementor .al24-showcase .al24-showcase-product-body,
.al24-unified-card .al24-uc-body {gap:10px!important}
body .elementor .al24-showcase .al24-card-category,
.al24-unified-card .al24-card-category {font-size:11.5px!important;line-height:1.4!important;font-weight:550!important;letter-spacing:.005em!important}
@media(max-width:640px){
 body .elementor .al24-showcase .al24-showcase-product h3,
 body .al24-showcase .al24-showcase-product h3,
 .woocommerce ul.products li.al24-unified-card h3.woocommerce-loop-product__title,
 .al24-unified-card h3.woocommerce-loop-product__title{font-size:13px!important;line-height:1.42!important;min-height:56px!important}
}

/* v1.8.9 — shop archive grid: eliminate legacy flex/float column collisions. */
body.woocommerce-shop .al24-shop-results ul.products,
body.tax-product_cat .al24-shop-results ul.products,
body.tax-product_tag .al24-shop-results ul.products,
body.post-type-archive-product .al24-shop-results ul.products,
body.woocommerce-shop .woocommerce ul.products,
body.tax-product_cat .woocommerce ul.products,
body.tax-product_tag .woocommerce ul.products,
body.post-type-archive-product .woocommerce ul.products {
 display:grid!important;
 grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:14px!important;
 align-items:stretch!important;
 width:100%!important;
 clear:both;
 margin:0!important;
 padding:0!important;
 list-style:none!important;
}
body.woocommerce-shop .woocommerce ul.products>li.product,
body.tax-product_cat .woocommerce ul.products>li.product,
body.tax-product_tag .woocommerce ul.products>li.product,
body.post-type-archive-product .woocommerce ul.products>li.product {
 float:none!important;
 width:100%!important;
 max-width:none!important;
 min-width:0!important;
 margin:0!important;
 height:100%!important;
 box-sizing:border-box!important;
}
/* Title and category stay visually together; no empty 66px title block. */
.woocommerce ul.products li.al24-unified-card h3.woocommerce-loop-product__title,
.al24-unified-card h3.woocommerce-loop-product__title,
body .elementor .al24-showcase .al24-showcase-product h3,
body .al24-showcase .al24-showcase-product h3 {
 min-height:0!important;
 height:auto!important;
 margin:0!important;
 padding:0!important;
 line-height:1.42!important;
}
.al24-unified-card .al24-uc-body,
body .elementor .al24-showcase .al24-showcase-product-body {gap:7px!important}
.al24-unified-card .al24-card-category,
body .elementor .al24-showcase .al24-card-category {margin:0!important;padding:0!important}
@media(max-width:900px){
 body.woocommerce-shop .woocommerce ul.products,
 body.tax-product_cat .woocommerce ul.products,
 body.tax-product_tag .woocommerce ul.products,
 body.post-type-archive-product .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:480px){
 body.woocommerce-shop .woocommerce ul.products,
 body.tax-product_cat .woocommerce ul.products,
 body.tax-product_tag .woocommerce ul.products,
 body.post-type-archive-product .woocommerce ul.products{gap:9px!important}
}
