/* Scoped to top_kredit.php. Other best__ components retain their styles. */
.top-offers .best__products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0;align-items:stretch}
.top-offers .best__product{box-sizing:border-box;display:flex;flex-direction:column;width:auto;min-width:0;max-width:none;margin:0;padding:20px;border:1px solid #e2e6ef;border-radius:20px;background:#fff;box-shadow:0 3px 14px rgba(28,42,70,.05)}
.top-offers .best__top{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:0;margin:0 0 18px;min-height:0}
.top-offers .best__logo{display:flex;align-items:center;justify-content:flex-start;width:100%;height:88px;margin:0}
.top-offers .best__logo img{display:block;width:auto;max-width:100%;height:auto;max-height:88px;object-fit:contain}
.top-offers .best__bank{margin:0;text-align:left;font-size:15px;line-height:1.4}
.top-offers .best__bank a{font-weight:600}
.top-offers .best__license{margin-top:4px;font-size:12px;color:#747d8c}
.top-offers .best__content{display:flex;flex-direction:column;flex:1;gap:18px;padding:0;width:100%;min-width:0}
.top-offers .best__conditions{flex:1;padding:0;min-width:0}
.top-offers .best__percent{font-size:19px;font-weight:700;line-height:1.35;margin:0 0 16px;overflow-wrap:anywhere}
.top-offers .best__sum,.top-offers .best__period{margin:10px 0 0;font-size:14px;line-height:1.55;color:#404958;overflow-wrap:anywhere}
.top-offers .best__button{box-sizing:border-box;flex:none;width:100%;min-height:46px;height:auto;margin:0;padding:12px 10px;border-radius:12px;white-space:normal;font-size:15px;line-height:1.35}
.top-offers .best__categories{display:flex;flex-wrap:wrap;gap:8px;overflow:visible;margin:0 0 20px;padding:0;list-style:none}
.top-offers .best__categories li{margin:0;padding:0}
.top-offers .best__category{min-width:0;margin:0;padding:9px 14px;border-radius:24px;font-size:14px;line-height:1.4;background:#f4f5fa;border:1px solid #e4e6ee;color:#323947}
.top-offers .best__category_accent{background:#fff5bb;border-color:#f1d560;color:#242424}
.top-offers a:focus-visible,.top-offers button:focus-visible{outline:3px solid #7388df;outline-offset:3px}
.top-offers .credit__buttons{margin-top:22px}
@media(max-width:1100px){.top-offers .best__products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.top-offers .best__products{grid-template-columns:minmax(0,1fr);gap:12px}.top-offers .best__product{padding:18px}.top-offers .best__top{flex-direction:row;align-items:center;gap:16px}.top-offers .best__logo{width:112px;flex:0 0 112px;height:72px}.top-offers .best__logo img{max-height:72px}.top-offers .best__bank{min-width:0}.top-offers .best__categories{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px}.top-offers .best__category{white-space:nowrap}}

/* Reset inherited fixed-height, wrapping and scroll from best__top. */
.top-offers .best__top{height:auto;max-height:none;flex:0 0 auto;flex-wrap:nowrap;overflow:visible}
.top-offers .best__logo,.top-offers .best__bank{flex-shrink:0}
.top-offers .best__bank{max-width:100%;overflow-wrap:anywhere}
@media(max-width:580px){.top-offers .best__bank{flex:1 1 0;min-width:0}}

/* Flex bases from the shared row layout must not become vertical spacers. */
.top-offers .best__bank{flex:0 0 auto}
.top-offers .best__content{margin:0;flex-wrap:nowrap}
.top-offers .best__percent{flex:0 0 auto}
@media(max-width:580px){.top-offers .best__bank{flex:1 1 0}}
.top-offers .best__products{width:100%;box-sizing:border-box}
