/* Z7: match the compact approved cards. Only product cards and the detail gallery. */
html.z7-electronics #main .product-card{
 display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;
 grid-template-rows:none;gap:0;min-height:0;height:auto;padding:16px;min-width:0;
}
html.z7-electronics #main .product-card .card-top{flex:0 0 auto;margin:0 0 8px;min-height:16px;align-items:center}
html.z7-electronics #main .product-card .brand-mini{font-size:10px;line-height:1.4}
html.z7-electronics #main .product-card .product-image{
 display:flex;align-items:center;justify-content:center;flex:0 0 160px;
 width:100%;height:160px;min-height:0;max-height:160px;padding:8px 8px 17px;
 margin:0 0 10px;position:relative;overflow:hidden;box-sizing:border-box;
}
html.z7-electronics #main .product-card .product-image img{
 display:block;flex:0 1 auto;width:auto;height:auto;min-width:0;min-height:0;
 max-width:100%;max-height:135px;aspect-ratio:auto;object-fit:contain;object-position:center;
 margin:0;align-self:center;
}
html.z7-electronics #main .product-card .product-image .photo-note{
 position:absolute;bottom:0;left:0;right:0;font-size:9px;line-height:1.4;margin:0;
 padding:0;text-align:left;white-space:normal;background:none;
}
html.z7-electronics #main .product-card .product-name{
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;
 font-size:14px;font-weight:600;line-height:1.45;margin:0 0 7px;min-height:0;
 overflow-wrap:anywhere;flex:0 0 auto;
}
html.z7-electronics #main .product-card .product-type{
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;
 font-size:12px;line-height:1.55;margin:0 0 10px;min-height:0;flex:0 0 auto;
}
html.z7-electronics #main .product-card[data-z7-compact-card]>.pn{display:none}
html.z7-electronics #main .product-card .delivery-line{
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;
 font-size:10px;line-height:1.5;margin:0 0 8px;min-height:0;
}
html.z7-electronics #main .product-card .card-datasheet{
 align-self:flex-start;display:inline-flex;font-size:10px;line-height:1.4;padding:6px 9px;
 margin:0 0 10px;min-height:0;width:auto;max-width:100%;
}
html.z7-electronics #main .product-card .card-bottom{
 display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;
 flex:0 0 auto;margin-top:auto;padding-top:11px;min-height:0;
}
html.z7-electronics #main .product-card .card-bottom>div{min-width:0;flex:1 1 105px}
html.z7-electronics #main .product-card .availability{font-size:10px;line-height:1.45;margin:0 0 3px}
html.z7-electronics #main .product-card .price{font-size:21px;line-height:1.2;margin:0}
html.z7-electronics #main .product-card .price-note{font-size:9px;line-height:1.4;margin-top:3px}
/* The detail/enquiry link is a compact CTA, never a stretched column. */
html.z7-electronics #main .product-card .card-bottom>.btn{
 display:inline-flex;align-items:center;justify-content:center;align-self:center;
 flex:0 0 auto;width:auto;max-width:100%;height:32px;min-height:32px;max-height:32px;
 padding:6px 11px;font-size:11px;font-weight:500;line-height:1.3;white-space:nowrap;
 border-width:1px;border-radius:30px;box-sizing:border-box;margin:0;
}
html.z7-electronics #main .product-card>.z7-fiber-link{
 display:inline-flex;align-items:center;justify-content:flex-start;align-self:flex-start;
 flex:0 0 auto;width:auto;max-width:100%;height:auto;min-height:30px;
 padding:6px 10px;font-size:10px;font-weight:500;line-height:1.4;
 margin:0 0 10px!important;box-sizing:border-box;
}
html.z7-electronics #main .product-card>.z7-kit-launch{
 display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
 width:100%;height:auto;min-height:30px;padding:6px 10px;font-size:10px;font-weight:500;
 line-height:1.4;margin:9px 0 0;box-sizing:border-box;
}
html.z7-electronics #main .product-card .cart-add{
 flex:0 0 32px;width:32px;height:32px;min-width:32px;min-height:32px;margin:0;align-self:center;
}
/* Intrinsic image proportions also apply on the full product page. */
html.z7-electronics #main .detail-photo{min-height:0;padding:16px;align-self:start;gap:0}
html.z7-electronics #main .detail-photo>img{
 display:block;flex:0 1 auto;width:auto;height:auto;min-width:0;min-height:0;
 max-width:100%;max-height:260px;aspect-ratio:auto;object-fit:contain;object-position:center;margin:8px auto;
}
html.z7-electronics #main .detail-photo .photo-note{margin-top:6px;font-size:10px;line-height:1.5}
@media(max-width:1180px){
 html.z7-electronics #main .product-card{padding:14px}
 html.z7-electronics #main .product-card .product-image{height:150px;max-height:150px;flex-basis:150px}
 html.z7-electronics #main .product-card .product-image img{max-height:125px}
}
@media(max-width:760px){
 html.z7-electronics #main .product-card{padding:12px}
 html.z7-electronics #main .product-card .product-image{height:125px;max-height:125px;flex-basis:125px;padding:5px 3px 16px;margin-bottom:8px}
 html.z7-electronics #main .product-card .product-image img{max-height:104px}
 html.z7-electronics #main .product-card .product-name{font-size:12px;line-height:1.45;margin-bottom:6px}
 html.z7-electronics #main .product-card .product-type{font-size:11px;line-height:1.5;margin-bottom:8px}
 html.z7-electronics #main .product-card .card-bottom{gap:7px;padding-top:9px}
 html.z7-electronics #main .product-card .card-bottom>.btn{height:30px;min-height:30px;max-height:30px;padding:5px 9px;font-size:10px}
 html.z7-electronics #main .product-card .price{font-size:18px}
 html.z7-electronics #main .product-card .availability{font-size:9px}
 html.z7-electronics #main .product-card .card-datasheet{font-size:9px;padding:5px 7px}
 html.z7-electronics #main .detail-photo>img{max-height:230px}
}
@media print{html.z7-electronics #main .product-card .product-type,html.z7-electronics #main .product-card .product-name,html.z7-electronics #main .product-card .delivery-line{display:block;overflow:visible;-webkit-line-clamp:unset}}
