/* BANDIRAN Active/Passive related products v3.4; scoped solely to product detail related section. */
.bap-page .bap4-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;direction:rtl}
.bap-page .bap4-related-card{box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;min-width:0;background:#fff;border:1px solid #e1e7eb;border-radius:12px;box-shadow:0 6px 20px rgba(18,31,40,.04);direction:rtl;text-align:right}
.bap-page .bap4-related-card *{box-sizing:border-box}
.bap-page .bap4-related-photo{display:flex;align-items:center;justify-content:center;min-height:220px;height:220px;padding:15px 20px;background:#f4f6f7;text-decoration:none;overflow:hidden;border-bottom:1px solid #e7edef}
.bap-page .bap4-related-photo img{width:100%;height:100%;max-height:200px;object-fit:contain;display:block}
.bap-page .bap4-related-body{padding:16px 17px 18px;display:flex;flex-direction:column;align-items:stretch;gap:9px;flex:1;text-align:right;direction:rtl}
.bap-page .bap4-related-title{font-size:15px;font-weight:800;line-height:1.85;color:#202a30;margin:0;text-align:right;direction:rtl}
.bap-page .bap4-related-desc{margin:0;color:#77848e;line-height:1.85;font-size:12px;min-height:43px;text-align:right;direction:rtl}
.bap-page .bap4-related-chips{display:flex;justify-content:flex-start;direction:rtl;gap:7px;flex-wrap:wrap;margin-top:auto}
.bap-page .bap4-related-chips span{color:#6c7a84;background:#f1f3f4;border:1px solid #ebedef;font-weight:650;font-size:11px;padding:5px 10px;border-radius:8px}
.bap-page .bap4-related-button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:39px;border:1.5px solid #f58220;color:#ec7318;text-decoration:none;border-radius:24px;font-size:12px;font-weight:800;margin-top:11px;text-align:center;transition:background-color .15s,color .15s}
.bap-page .bap4-related-button:hover,.bap-page .bap4-related-button:focus-visible{background:#f58220;color:#fff}
@media(max-width:760px){.bap-page .bap4-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bap-page .bap4-related-photo{height:190px;min-height:190px}.bap-page .bap4-related-photo img{max-height:168px}}
@media(max-width:480px){.bap-page .bap4-related-grid{grid-template-columns:1fr}.bap-page .bap4-related-photo{height:220px;min-height:220px}.bap-page .bap4-related-photo img{max-height:198px}}
