/* Merit PC footer layout — loaded after custom.css */
html.is-web .layout-footer-holder-bc,
html.is-web .layout-footer-holder-bc .footerWrapper,
html.is-web .layout-footer-holder-bc .footerContainerWrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

html.is-web .layout-footer-holder-bc .footerContainer {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: var(--layout-width, 1670px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

html.is-web .layout-footer-holder-bc .footerLinksSection {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

html.is-web .layout-footer-holder-bc .footerLinkCols {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px 32px !important;
    width: 100% !important;
    max-width: 100% !important;
}

html.is-web .layout-footer-holder-bc .footerLinkCol,
[class*="is-web"] .layout-footer-holder-bc .footerLinkCol {
    display: block !important;
    flex: none !important;
    margin: 0 !important;
    max-width: none !important;
    min-width: 0 !important;
}

[class*="is-web"] .layout-footer-holder-bc .footerLinkCol:not(:last-child) {
    margin-right: 0 !important;
}

/* Match ~1600px home-rail visual scale (was stuck at mobile icon / 10–12px type) */
html.is-web .layout-footer-holder-bc .footerLinkColTitle {
    font-size: 14px !important;
    line-height: 18px !important;
    margin-bottom: 20px !important;
}

html.is-web .layout-footer-holder-bc .footerLinkColEl a {
    font-size: 14px !important;
    line-height: 18px !important;
}

html.is-web .layout-footer-holder-bc .footerLinkColEl:not(:last-child) {
    margin-bottom: 10px !important;
}

html.is-web .layout-footer-holder-bc .sliderTitle {
    font-size: 12px !important;
    line-height: 16px !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 20px !important;
}

html.is-web .layout-footer-holder-bc .footer-partners-container {
    gap: 24px 36px !important;
    margin-bottom: 28px !important;
}

html.is-web .layout-footer-holder-bc .footer-partners-container .partner-item img {
    height: 68px !important;
    max-width: 190px !important;
    width: auto !important;
}

html.is-web .layout-footer-holder-bc .footer-partners-container .partner-item:last-child img {
    height: 64px !important;
    max-width: 210px !important;
}

html.is-web .layout-footer-holder-bc .sliderGroup .sliderImage,
html.is-web .layout-footer-holder-bc .horizontalSliderRow .sliderImage {
    min-width: 96px !important;
    width: 96px !important;
    height: 82px !important;
}

html.is-web .layout-footer-holder-bc .sliderGroup .sliderImage img,
html.is-web .layout-footer-holder-bc .horizontalSliderRow .sliderImage img {
    width: 72px !important;
    height: 72px !important;
    object-fit: contain !important;
}

/* Payment method tiles (theme default 90×50 → ~34px images) */
html.is-web .layout-footer-holder-bc .horizontalSliderElem {
    width: 140px !important;
    height: 82px !important;
    padding: 12px !important;
    margin-left: 6px !important;
    margin-right: 6px !important;
    box-sizing: border-box !important;
}

html.is-web .layout-footer-holder-bc .horizontalSliderElem .horizontalSliderImg {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

html.is-web .layout-footer-holder-bc .footerSliderRow:not(.partners-logo-scroll) .sliderImage img {
    width: auto !important;
    height: 64px !important;
}

html.is-web .layout-footer-holder-bc .footerCopyrights,
html.is-web .layout-footer-holder-bc .footerWarningText {
    font-size: 13px !important;
    line-height: 18px !important;
}

html.is-web .layout-footer-holder-bc .footerWarningAge {
    width: 28px !important;
    height: 28px !important;
    font-size: 12px !important;
    line-height: 14px !important;
}

html.is-web .layout-footer-holder-bc .sliderGroup,
html.is-web .layout-footer-holder-bc .footerContainer > .sliderContent,
html.is-web .layout-footer-holder-bc .copyRightBlock {
    width: 100% !important;
}

html.is-web .layout-footer-holder-bc .horizontalSliderRow {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    white-space: normal !important;
    width: 100% !important;
    gap: 10px 14px !important;
}

@media (max-width: 992px) {
    html.is-web .layout-footer-holder-bc .footerLinkCols {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
