.ihodomi-brands {
    width: 100%;
    background: #fff;
}

.ihodomi-brands .ihodomi-brands-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 35px 15px 30px;
}

.ihodomi-brands .ihodomi-brands-title {
    position: relative;
    width: fit-content;
    margin: 0 auto 34px;
    padding-bottom: 9px;
    color: #202020;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.ihodomi-brands .ihodomi-brands-title:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 58px;
    height: 3px;
    background: #111;
    transform: translateX(-50%);
}

.ihodomi-brands .ihodomi-brands-viewport {
    width: 100%;
    overflow: hidden;
}

.ihodomi-brands .ihodomi-brands-track {
    display: flex;
    width: 100%;
    transition: transform .42s cubic-bezier(.22,.61,.36,1);
    will-change: transform;
}

.ihodomi-brands .ihodomi-brands-page {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(var(--brand-cols, 5), minmax(0, 1fr));
    grid-template-rows: repeat(2, 118px);
    column-gap: 14px;
    row-gap: 14px;
    width: 100%;
}

.ihodomi-brands .ihodomi-brand-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 118px;
    padding: 10px 15px;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    box-shadow: none;
    text-decoration: none !important;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.ihodomi-brands .ihodomi-brand-item img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 190px !important;
    max-height: 94px !important;
    margin: auto !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: scale(1);
    transform-origin: center center;
    transition: transform .28s cubic-bezier(.2,.7,.3,1);
}

.ihodomi-brands .ihodomi-brand-item:hover {
    background: #fff;
    border-color: #b7b7b7 !important;
    box-shadow: 0 3px 12px rgba(0,0,0,.07) !important;
}

.ihodomi-brands .ihodomi-brand-item:hover img {
    transform: scale(1.12);
}

.ihodomi-brands .ihodomi-brand-name-fallback {
    color: #202020;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.ihodomi-brands .ihodomi-brands-controls {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 22px;
    margin-top: 29px;
}

.ihodomi-brands .ihodomi-brands-controls[hidden] {
    display: none !important;
}

.ihodomi-brands .ihodomi-brands-progress {
    position: relative;
    flex: 1 1 auto;
    height: 3px;
    margin: 0;
    overflow: hidden;
    background: #d6d6d6;
    border-radius: 0;
    cursor: pointer;
}

.ihodomi-brands .ihodomi-brands-progress-mover {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    background: #202020;
    border-radius: 0;
    will-change: transform, width;
    transition: transform .42s cubic-bezier(.22,.61,.36,1), width .2s ease;
}

.ihodomi-brands .ihodomi-brands-arrows {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 9px;
}

.ihodomi-brands .ihodomi-brand-arrow {
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #000 !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    outline: none !important;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    opacity: 1;
    transform: none !important;
    transition: background-color .2s ease, opacity .2s ease;
}

.ihodomi-brands .ihodomi-brand-arrow:after {
    content: none !important;
    display: none !important;
}

.ihodomi-brands .ihodomi-brand-arrow:before {
    content: "";
    position: static !important;
    display: block !important;
    width: 10px !important;
    height: 10px !important;
    margin: 0;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
    border-top: 2px solid #fff !important;
    border-right: 2px solid #fff !important;
}

.ihodomi-brands .ihodomi-brand-prev:before {
    transform: rotate(-135deg) !important;
    margin-left: 4px;
}

.ihodomi-brands .ihodomi-brand-next:before {
    transform: rotate(45deg) !important;
    margin-right: 4px;
}

.ihodomi-brands .ihodomi-brand-arrow:not(:disabled):hover {
    background: #292929 !important;
    opacity: 1 !important;
}

.ihodomi-brands .ihodomi-brand-arrow:disabled {
    background: #000 !important;
    opacity: .22 !important;
    cursor: default;
}

@media (max-width: 1024px) {
    .ihodomi-brands .ihodomi-brands-page {
        --brand-cols: 4;
        grid-template-rows: repeat(2, 108px);
        column-gap: 12px;
        row-gap: 12px;
    }

    .ihodomi-brands .ihodomi-brand-item {
        height: 108px;
    }

    .ihodomi-brands .ihodomi-brand-item img {
        max-width: 165px !important;
        max-height: 84px !important;
    }
}

@media (max-width: 767px) {
    .ihodomi-brands .ihodomi-brands-inner {
        padding: 28px 12px 24px;
    }

    .ihodomi-brands .ihodomi-brands-title {
        margin-bottom: 28px;
        font-size: 24px;
    }

    .ihodomi-brands .ihodomi-brands-page {
        --brand-cols: 2;
        grid-template-rows: repeat(2, 96px);
        column-gap: 9px;
        row-gap: 9px;
    }

    .ihodomi-brands .ihodomi-brand-item {
        height: 96px;
        padding: 8px 10px;
    }

    .ihodomi-brands .ihodomi-brand-item img {
        max-width: 140px !important;
        max-height: 74px !important;
    }

    .ihodomi-brands .ihodomi-brands-controls {
        gap: 14px;
        margin-top: 24px;
    }

    .ihodomi-brands .ihodomi-brand-arrow {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
    }
}
