/* Jahankala v2.15.1 — compact related products */
.jkp-related{margin-top:28px}
.jkp-related-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important}
.jkp-related-card{display:flex!important;flex-direction:column!important;min-width:0!important;overflow:hidden!important;border:1px solid #e2e8f0!important;border-radius:18px!important;background:#fff!important;position:relative!important;height:auto!important;min-height:0!important}
.jkp-related-media{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:158px!important;min-height:158px!important;max-height:158px!important;padding:10px!important;background:linear-gradient(180deg,#fff,#f8fafc)!important;overflow:hidden!important;border-bottom:1px solid #eef2f7!important}
.jkp-related-media>img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;transform:none!important;margin:0 auto!important}
.jkp-related-stock{position:absolute!important;z-index:2!important;top:9px!important;right:9px!important;padding:4px 8px!important;border-radius:999px!important;background:#ecfdf5!important;color:#047857!important;font-size:9px!important;font-weight:800!important}.jkp-related-stock.out{background:#fff1f2!important;color:#be123c!important}
.jkp-related-body{display:flex!important;flex:1!important;flex-direction:column!important;gap:5px!important;padding:10px 11px 11px!important;min-height:142px!important;background:#fff!important;overflow:visible!important}
.jkp-related-body>span{font-size:9px!important;color:#94a3b8!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.jkp-related-body>a{color:inherit!important;text-decoration:none!important;display:block!important}.jkp-related-body h3{font-size:12px!important;line-height:1.75!important;color:#172033!important;margin:0!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;min-height:42px!important}.jkp-related-body>strong{margin-top:auto!important;display:block!important;color:#0f2742!important;font-size:14px!important;white-space:nowrap!important}.jkp-related-body>strong small{font-size:9px!important;color:#64748b!important}.jkp-related-body>button{width:100%!important;min-height:36px!important;border:0!important;border-radius:10px!important;background:#0f2742!important;color:#fff!important;font-family:inherit!important;font-weight:800!important;font-size:11px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;cursor:pointer!important}.jkp-related-body>button img{width:15px!important;height:15px!important;filter:brightness(0) invert(1)!important}.jkp-related-body>button:disabled{cursor:not-allowed!important;background:#e2e8f0!important;color:#94a3b8!important}.jkp-related-body>button:disabled img{filter:none!important;opacity:.55!important}
@media(max-width:1199px){.jkp-related-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.jkp-related-media{height:150px!important;min-height:150px!important;max-height:150px!important}}
@media(max-width:760px){.jkp-related{margin-top:22px}.jkp-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}.jkp-related-card{border-radius:14px!important}.jkp-related-media{height:122px!important;min-height:122px!important;max-height:122px!important;padding:7px!important}.jkp-related-body{padding:9px!important;min-height:138px!important}.jkp-related-body h3{font-size:10.5px!important;min-height:38px!important;line-height:1.7!important}.jkp-related-body>strong{font-size:12px!important}.jkp-related-body>button{min-height:34px!important;font-size:9.5px!important}}
@media(max-width:390px){.jkp-related-media{height:108px!important;min-height:108px!important;max-height:108px!important}.jkp-related-body{padding:8px!important}.jkp-related-body>button{min-height:32px!important}}
