/* Skechers retail footer (skechers.com / .fr / .at — c-footer-global).
   Tokens taken from their global.css: #f8f8f8 canvas, #434343 type, 58/42 split. */

.footer--skechers,
html.diamond-theme-surface-dark .footer--skechers {
    --skx-bg: #f8f8f8;
    --skx-primary-bg: #f4f4f4;
    --skx-text: #434343;
    --skx-muted: #767676;
    --skx-border: #dedede;
    --skx-link: #434343;
    --skx-link-hover: #111111;
    --skx-accent: #0063ba;
    --skx-btn: #434343;
    --skx-btn-hover: #333333;
    background: var(--skx-bg) !important;
    color: var(--skx-text) !important;
    box-shadow: none !important;
    border-top: 1px solid var(--skx-border);
    font-family: var(--font-family-base, inherit);
}

html.diamond-theme-surface-dark .footer--skechers .footer__top,
html.diamond-theme-surface-dark .footer--skechers .footer__pre,
html.diamond-theme-surface-dark .footer--skechers .footer__down,
html.diamond-theme-surface-dark .footer--skechers .footer__bottom {
    background: var(--skx-bg) !important;
    color: var(--skx-text) !important;
}

html.diamond-theme-surface-dark .footer--skechers a {
    color: var(--skx-link) !important;
}

/* ── Features strip ── */
.footer--skechers .footer__pre {
    background: var(--skx-bg) !important;
    border-bottom: 1px solid var(--skx-border);
}

.footer--skechers .footer__pre_content {
    padding: 1rem 0;
}

.footer--skechers .faqList--footer,
.footer--skechers .faqList {
    padding: 0.35rem 0;
}

.footer--skechers .faqList__title,
.footer--skechers .faqList__link {
    color: var(--skx-text) !important;
    font-size: 12px;
}

.footer--skechers .faqList__icon {
    width: 36px;
    height: 36px;
}

/* ── Main band ── */
.footer--skechers .footer__top {
    padding: 0 !important;
    background: var(--skx-primary-bg) !important;
}

.footer--skechers .footer__top > .arContainer--1x {
    max-width: none;
    padding-inline: 0;
}

.footer--skechers .footer__main,
.footer--skechers .footer__items {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 !important;
    margin: 0;
    list-style: none;
}

.footer--skechers .footer__item,
.footer--skechers .footer__top .footer__item,
.footer--skechers .footer__item:nth-child(2),
.footer--skechers .footer__item:last-child {
    max-width: none !important;
    margin-top: 0 !important;
    border-top: none !important;
    color: var(--skx-text);
    font-size: 16px;
}

.footer--skechers .footer__item_hr {
    display: none;
}

/* ── Type ── */
.footer--skechers .footer__title,
.footer--skechers .footer__title strong,
.footer--skechers .footer__social_title,
.footer--skechers .footer__social_title strong,
.footer--skechers .footer__item--brand .footer__logoBox + .footer__describe,
.footer--skechers a.title {
    color: var(--skx-text) !important;
    font-size: 18px !important;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.25;
    margin: 0 0 1rem;
}

.footer--skechers .footer__list {
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer--skechers .collapsible__link,
.footer--skechers .footer__link,
.footer--skechers .footer__list a,
.footer--skechers a {
    color: var(--skx-link) !important;
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
    font-weight: 400;
}

.footer--skechers .collapsible__link:hover,
.footer--skechers .footer__link:hover,
.footer--skechers .footer__list a:hover,
.footer--skechers a:hover {
    color: var(--skx-link-hover) !important;
    text-decoration: underline;
}

.footer--skechers .footer__logoBox {
    background: transparent !important;
    padding: 0;
    margin: 0 0 1rem;
}

.footer--skechers .footer__logoBox img {
    height: 36px;
    width: auto;
}

.footer--skechers .footer__describe,
.footer--skechers .footer__describe p {
    color: var(--skx-text) !important;
    font-size: 14px;
    line-height: 1.6;
    max-width: none;
}

.footer--skechers .footer__info,
.footer--skechers .footer__info_value,
.footer--skechers .footer__info_label,
.footer--skechers .footer__info a,
.footer--skechers .footer__info_icon {
    color: var(--skx-text) !important;
    font-size: 14px;
}

.footer--skechers .footer__certificates {
    justify-content: flex-start;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.footer--skechers .footer__certificate_link {
    background: #fff;
    border: 1px solid var(--skx-border);
    padding: 0.45rem 0.6rem;
    border-radius: 4px;
}

.footer--skechers .footer__certificate img,
.footer--skechers .footer__certificates img {
    height: auto;
    max-height: 40px;
    max-width: 72px;
}

/* ── Social: plain icons, no boxes ── */
.footer--skechers .footer__social {
    gap: 0;
    width: 100%;
    margin-top: 2.5rem;
}

.footer--skechers .footer__social_title {
    display: none;
}

.footer--skechers .footer__social_items {
    display: flex;
    justify-content: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}

.footer--skechers .footer__social_item {
    min-width: auto !important;
    width: auto;
    height: auto !important;
    border: none !important;
    border-radius: 0;
    background: transparent !important;
}

.footer--skechers .footer__social_icon {
    height: 22px;
    width: 22px;
    fill: var(--skx-text) !important;
}

.footer--skechers .footer__social_item:hover .footer__social_icon {
    fill: var(--skx-link-hover) !important;
}

/* ── Newsletter = right-hand opt-in panel ── */
.footer--skechers .newsletter {
    display: grid;
    grid-template-rows: auto auto auto;
    align-items: stretch;
    gap: 0;
    width: 100%;
}

.footer--skechers .newsletter__titleBox {
    display: contents;
}

.footer--skechers .newsletter__titleContent {
    display: block;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 400;
    color: var(--skx-text) !important;
    margin-bottom: 1.25rem;
}

.footer--skechers .newsletter__preTitle,
.footer--skechers .newsletter__title {
    color: var(--skx-text) !important;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    font-size: 20px !important;
}

.footer--skechers .newsletter__title {
    font-weight: 700;
}

.footer--skechers .newsletter__subTitle {
    display: block;
    color: var(--skx-text) !important;
    font-size: 13px;
    line-height: 1.6;
    margin-top: 1rem;
    order: 3;
}

.footer--skechers .newsletter__contents {
    width: 100%;
}

.footer--skechers .newsletter__emailBox {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    min-height: 0;
    overflow: visible;
}

.footer--skechers .newsletter__emailBox::before {
    content: "\f0e0";
    font-family: "Font Awesome 5 Pro";
    font-weight: 300;
    font-size: 2.75rem;
    line-height: 1;
    color: var(--skx-text);
    flex: 0 0 auto;
    width: 3rem;
    text-align: center;
}

.footer--skechers .newsletter__email,
.footer--skechers .newsletter__email:focus {
    flex: 1 1 12rem;
    min-width: 10rem;
    height: 42px;
    padding: 7px 0 !important;
    border: none !important;
    border-bottom: 2px solid var(--skx-text) !important;
    border-radius: 0;
    background: transparent !important;
    color: var(--skx-text) !important;
    font-size: 14px !important;
    box-shadow: none !important;
}

.footer--skechers .newsletter__email:focus {
    padding-inline-start: 8px !important;
}

.footer--skechers .newsletter__email::placeholder {
    color: var(--skx-muted);
}

.footer--skechers .newsletter__seprator {
    display: none;
}

.footer--skechers .newsletter__btn {
    flex: 0 0 auto;
    background: var(--skx-btn) !important;
    color: #fff !important;
    font-family: inherit;
    font-size: 13px !important;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    padding: 10px 24px;
    border: 2px solid var(--skx-btn);
    border-radius: 4px;
    white-space: nowrap;
    min-height: 42px;
}

.footer--skechers .newsletter__btn i {
    display: none;
}

.footer--skechers .newsletter__btn:hover {
    background: var(--skx-btn-hover) !important;
    border-color: #181818;
}

.footer--skechers .newsletter__options {
    width: 100%;
    display: flex;
    gap: 1rem;
    font-size: 13px;
    color: var(--skx-muted);
}

.footer--skechers .newsletter__option_label {
    color: var(--skx-text);
}

/* ── Legal bar ── */
.footer--skechers .footer__down,
.footer--skechers .footer__bottom {
    background: var(--skx-bg) !important;
    border-top: 1px solid var(--skx-border);
    color: var(--skx-text) !important;
    padding: 1.5rem 0 1.75rem;
    text-align: center;
}

.footer--skechers .footer__down .footer__items {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.footer--skechers .footer__powered_by a,
.footer--skechers .footer__down a,
.footer--skechers .footer__bottom a,
.footer--skechers .footer__down .footer__item,
.footer--skechers .footer__down .footer__info,
.footer--skechers .footer__bottom_content {
    color: var(--skx-text) !important;
    font-size: 13px;
}

.footer--skechers .footer__down a:hover,
.footer--skechers .footer__bottom a:hover {
    color: var(--skx-accent) !important;
}

.footer--skechers .collapsible__header i {
    color: var(--skx-text) !important;
}

/* ── Mobile: newsletter first, then accordion columns (same as reference) ── */
@media screen and (max-width: 991px) {
    .footer--skechers .newsletter__emailBox::before {
        display: none;
    }

    .footer--skechers .footer__main {
        display: flex;
        flex-direction: column;
    }

    .footer--skechers .footer__secondary,
    .footer--skechers .footer__item--subscribe {
        order: 1;
        padding: 2rem 1.25rem 1.5rem;
        background: var(--skx-bg);
        border-bottom: 1px solid var(--skx-border);
    }

    .footer--skechers .footer__primary,
    .footer--skechers .footer__nav,
    .footer--skechers .footer__item--brand,
    .footer--skechers .footer__item--col1,
    .footer--skechers .footer__item--col2,
    .footer--skechers .footer__item--col3 {
        order: 2;
    }

    .footer--skechers .footer__item--brand {
        padding: 1.5rem 1.25rem 0.5rem;
    }

    .footer--skechers .collapsible,
    .footer--skechers .footer__topics.collapsible {
        padding: 1.15rem 1.25rem;
        border-bottom: 1px solid var(--skx-border);
        cursor: pointer;
    }

    .footer--skechers .footer__title,
    .footer--skechers .footer__title strong {
        font-size: 18px !important;
        margin-bottom: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .footer--skechers .footer__social {
        margin-top: 1.5rem;
        padding-inline: 1.25rem 0;
        justify-content: center;
    }

    .footer--skechers .footer__social_items {
        justify-content: center;
    }
}

/* ── Desktop: three full-height panels (brand | links | newsletter) ── */
@media screen and (min-width: 992px) {
    .footer--skechers .footer__main {
        flex-direction: row;
        align-items: stretch;
        flex-wrap: nowrap;
    }

    .footer--skechers .footer__primary,
    .footer--skechers .footer__nav,
    .footer--skechers .footer__secondary {
        align-self: stretch;
        box-sizing: border-box;
        min-height: 100%;
    }

    .footer--skechers .footer__primary {
        flex: 0 0 24%;
        max-width: 24%;
        display: flex;
        flex-direction: column;
        background: var(--skx-primary-bg);
        border-inline-end: 1px solid var(--skx-border);
        padding: 3.5rem 2.5rem 3rem;
    }

    .footer--skechers .footer__item--brand {
        flex: 1 1 auto !important;
        max-width: none !important;
        width: 100%;
        padding: 0;
        position: static;
    }

    .footer--skechers .footer__item--brand::after {
        display: none;
    }

    .footer--skechers .footer__nav {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        align-items: flex-start;
        gap: 2.5rem;
        background: var(--skx-primary-bg);
        padding: 3.5rem 3.25rem 3rem;
    }

    .footer--skechers .footer__nav .footer__item {
        flex: 0 1 auto !important;
        width: auto !important;
        max-width: 11.5rem !important;
        min-width: 0;
        padding: 0;
    }

    .footer--skechers .footer__secondary {
        flex: 0 0 34%;
        max-width: 34%;
        min-width: 0;
        background: var(--skx-bg);
        border-inline-start: 1px solid var(--skx-border);
        padding: 3.5rem 2.5rem 3rem;
    }

    .footer--skechers .footer__secondary .footer__item--subscribe {
        flex: 1 1 auto !important;
        max-width: none !important;
        width: 100%;
        border: none;
        padding: 0;
        background: transparent;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    /* Managed builder: same three-panel rhythm on five siblings */
    .footer--skechers .footer__top .footer__items {
        display: grid;
        grid-template-columns: minmax(13rem, 24%) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(16rem, 34%);
        align-items: stretch;
    }

    .footer--skechers .footer__items > .footer__item--brand {
        order: 1;
        grid-column: 1;
        border-inline-end: 1px solid var(--skx-border);
        padding: 3.5rem 2.5rem 3rem;
        background: var(--skx-primary-bg);
        max-width: none !important;
        flex: none !important;
    }

    .footer--skechers .footer__items > .footer__item--col1,
    .footer--skechers .footer__items > .footer__item--col2,
    .footer--skechers .footer__items > .footer__item--col3 {
        justify-self: center;
        align-self: start;
        width: max-content;
        max-width: calc(100% - 2.5rem) !important;
        padding: 3.5rem 1.25rem 3rem;
        background: var(--skx-primary-bg);
        flex: none !important;
    }

    .footer--skechers .footer__items > .footer__item--col1 { order: 2; grid-column: 2; }
    .footer--skechers .footer__items > .footer__item--col2 { order: 3; grid-column: 3; }
    .footer--skechers .footer__items > .footer__item--col3 { order: 4; grid-column: 4; }

    .footer--skechers .footer__items > .footer__item--subscribe {
        order: 5;
        grid-column: 5;
        border-inline-start: 1px solid var(--skx-border);
        padding: 3.5rem 2.5rem 3rem;
        background: var(--skx-bg);
        max-width: none !important;
        flex: none !important;
    }

    .footer--skechers .collapsible__header i {
        display: none;
    }

    .footer--skechers .collapsible,
    .footer--skechers .footer__topics.collapsible {
        border-bottom: none;
        padding: 0;
        cursor: default;
    }

    .footer--skechers .footer__social {
        margin-top: 3.5rem;
    }

    .footer--skechers .faqList__title {
        font-size: 13px;
    }

    .footer--skechers .faqList--footer .faqList__icon {
        width: 44px;
        height: 44px;
    }
}

@media screen and (min-width: 1200px) {
    .footer--skechers .footer__primary,
    .footer--skechers .footer__secondary,
    .footer--skechers .footer__items > .footer__item--brand,
    .footer--skechers .footer__items > .footer__item--subscribe {
        padding-inline: 3.25rem;
    }

    .footer--skechers .footer__nav {
        padding-inline: 4rem;
        gap: 3rem;
    }

    .footer--skechers .footer__title,
    .footer--skechers .footer__title strong {
        font-size: 20px !important;
    }

    .footer--skechers .newsletter__preTitle,
    .footer--skechers .newsletter__title,
    .footer--skechers .newsletter__titleContent {
        font-size: 22px !important;
    }
}
