/* Shared product card: independent of WooCommerce button styles. */
.product-card{display:flex;flex-direction:column}
.product-card__meta{min-height:22px;flex:0 0 auto}
.product-card__brand img{object-fit:contain!important;object-position:center!important;width:64px;height:22px}
.product-card__title{flex:1 0 44px;font-size:12px;line-height:20px}
.product-card__title a{color:#1b2730;text-decoration:none}
a.technill-card-link{--button-color:var(--color-primary,#e95d2d);position:relative;isolation:isolate;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;flex:0 0 32px;min-height:32px;height:32px;margin:0;padding:4px 8px;overflow:hidden;border:1px solid var(--button-color);border-radius:7px;background:transparent;color:var(--button-color);font-family:inherit;font-size:10px;font-weight:500;line-height:22px;text-decoration:none;transition:color .35s ease}
a.technill-card-link::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--button-color);transform:translateX(-101%);transition:transform .42s ease}
.product-card:hover a.technill-card-link,.product-card:focus-within a.technill-card-link{color:#fff}
.product-card:hover a.technill-card-link::before,.product-card:focus-within a.technill-card-link::before{transform:translateX(0)}
.related-products>.section-heading{justify-content:center;text-align:center}.related-products>.section-heading>div{width:100%}.related-products .section-heading__title{text-align:center}
@media(max-width:480px){a.technill-card-link{height:40px;min-height:40px;flex-basis:40px}}

/* Shared arrow placement; no hover decoration. */
.product-slider>.product-slider__control{inset-inline-start:auto;inset-inline-end:auto;top:41%;bottom:auto;border:0;background:transparent!important;box-shadow:none!important;transition:none}
.product-slider>.product-slider__control--previous{right:-22px;left:auto}
.product-slider>.product-slider__control--next{left:-22px;right:auto}
.product-slider>.product-slider__control:hover{background:transparent!important;transform:none}
@media(max-width:450px){.product-slider>.product-slider__control{top:41%;bottom:auto;width:24px}.product-slider>.product-slider__control--previous{right:-12px}.product-slider>.product-slider__control--next{left:-12px}}
.pre-footer-brands .brand-slider{position:relative}.pre-footer-brands .brand-slider>.product-slider__control{top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;margin-block:0!important}.pre-footer-brands .brand-slider>.product-slider__control:hover{transform:translateY(-50%)!important}
.pre-footer-brands .brand-slider>.product-slider__control--previous{right:-30px;left:auto}.pre-footer-brands .brand-slider>.product-slider__control--next{left:-30px;right:auto}@media(max-width:450px){.pre-footer-brands .brand-slider{padding-inline:8px}.pre-footer-brands .brand-slider>.product-slider__control--previous{right:-14px}.pre-footer-brands .brand-slider>.product-slider__control--next{left:-14px}}

/* Keep brand controls inside narrow tablet viewports. */
@media(min-width:451px) and (max-width:900px){.pre-footer-brands .brand-slider>.product-slider__control--previous{right:-14px}.pre-footer-brands .brand-slider>.product-slider__control--next{left:-14px}}

/* Balanced touch cards in product carousels. */
@media(max-width:600px){
.product-slider .product-card{padding:9px;gap:9px;border-radius:14px;height:auto;box-shadow:0 3px 12px #1b273008}
.product-slider .product-card__media{height:160px;aspect-ratio:auto;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #eceef0;border-radius:10px;overflow:hidden}
.product-slider .product-card__image{width:100%;height:100%;max-height:160px;object-fit:contain;padding:9px;box-sizing:border-box}
.product-slider .product-card__meta{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:24px;margin:0}
.product-slider .product-card__brand img{width:57px;height:20px}
.product-slider .product-card__category{font-size:10px;line-height:19px;max-width:58%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:2px 5px}
.product-slider .product-card__title{font-size:13px;line-height:23px;font-weight:700;min-height:46px;max-height:46px;flex:0 0 46px;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-slider a.technill-card-link{font-size:11px;height:38px;min-height:38px;flex-basis:38px;border-radius:9px}
.product-slider>.product-slider__control{top:84px;width:24px;height:36px}
}
@media(max-width:360px){.product-slider .product-card__media{height:142px}.product-slider .product-card__image{max-height:142px}.product-slider .product-card__title{font-size:12px}}
