.ebl-logo-slider{position:relative;width:100%;box-sizing:border-box;padding:16px 0;background:#f3f6fa;display:flex;align-items:center;direction:ltr}
.ebl-logo-viewport{width:100%;overflow:hidden}
.ebl-logo-track{display:flex;align-items:center;gap:12px;overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0; margin:0}
.ebl-logo-track::-webkit-scrollbar{display:none}
.ebl-logo-card{box-sizing:border-box;flex:0 0 148px;height:112px;background:#fff;border:1px solid #e5eaf0;border-radius:26px;display:flex;align-items:center;justify-content:center;padding:18px;text-decoration:none;scroll-snap-align:start;overflow:hidden;transition:box-shadow .2s ease,transform .2s ease}
.ebl-logo-card:hover{box-shadow:0 5px 18px rgba(20,45,75,.08);transform:translateY(-1px)}
.ebl-logo-image{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.ebl-arrow{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:36px;height:36px;border-radius:50%;border:1px solid #d9e1eb;background:#fff;color:#0756a5;box-shadow:0 1px 4px rgba(0,0,0,.08);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;font-size:27px;line-height:1}
.ebl-arrow span{display:block;margin-top:-3px}
.ebl-prev{left:0}.ebl-next{right:0}
.ebl-arrow:hover{background:#f8fbff}
@media(max-width:767px){.ebl-logo-slider{padding:12px 0}.ebl-logo-card{flex-basis:126px;height:96px;border-radius:22px;padding:14px}.ebl-arrow{width:32px;height:32px}}

/* دکمه مشاهده همه و شبکه کامل برندها */
.ebl-brand-widget{width:100%;}
.ebl-all-control-wrap{display:flex;justify-content:center;align-items:center;padding:18px 0 4px;}
.ebl-all-toggle{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:45px;padding:0 22px;border:1px solid #dce4ed;border-radius:28px;background:#fff;color:#42536a;font-family:inherit;font-size:14px;font-weight:700;line-height:1.5;box-shadow:0 2px 6px rgba(25,50,80,.08);cursor:pointer;transition:all .2s ease;}
.ebl-all-toggle:hover{border-color:#c7d5e5;box-shadow:0 4px 12px rgba(25,50,80,.12);}
.ebl-grid-icon{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;}
.ebl-all-brands{margin-top:18px;padding:0;}
.ebl-all-brands[hidden]{display:none!important;}
.ebl-all-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:16px;direction:ltr;}
.ebl-all-grid .ebl-logo-card{width:100%;min-width:0;flex:initial;height:140px;padding:20px;border-radius:30px;}
@media(max-width:1024px){.ebl-all-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ebl-all-grid .ebl-logo-card{height:120px;border-radius:24px}}
@media(max-width:767px){.ebl-all-control-wrap{padding-top:14px}.ebl-all-toggle{min-height:42px;padding:0 17px;font-size:13px}.ebl-all-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ebl-all-grid .ebl-logo-card{height:105px;padding:14px;border-radius:20px}}


/* صفحه مستقل همه برندها در آدرس /brands/ */
.ebl-directory-page{box-sizing:border-box;width:100%;max-width:1220px;margin:20px auto 48px;padding:0 16px;}
.ebl-directory-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:14px;direction:ltr;}
.ebl-directory-grid .ebl-logo-card{box-sizing:border-box;width:100%;min-width:0;min-height:120px;height:120px;flex:initial;padding:18px;border-radius:28px;background:#fff;border:1px solid #e5eaf0;display:flex;align-items:center;justify-content:center;text-decoration:none;overflow:hidden;}
.ebl-directory-grid .ebl-logo-card:hover{box-shadow:0 5px 18px rgba(20,45,75,.08);transform:translateY(-1px);}
@media(max-width:1024px){.ebl-directory-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ebl-directory-grid .ebl-logo-card{height:112px;min-height:112px;border-radius:24px}}
@media(max-width:767px){.ebl-directory-page{margin:14px auto 32px;padding:0 12px}.ebl-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ebl-directory-grid .ebl-logo-card{height:100px;min-height:100px;padding:14px;border-radius:20px}}
