#doncen-footer {
    background: #fafafc;
    border-top: 1px solid #e6e6e6;
    margin-top: 0;
    padding-bottom: 0;
}

/* Luma adds this margin; the production Doncen footer starts at the page edge. */
#doncen-footer .doncen-footer__content {
    margin-top: 0;
}

#doncen-footer .doncen-footer__content {
    border: 0;
    box-sizing: border-box;
    color: #1d1d1f;
    column-gap: 80px;
    display: grid;
    font-size: 14px;
    grid-template-areas:
        "links newsletter"
        "links social"
        "bottom bottom";
    grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
    line-height: 1.45;
    max-width: 1240px;
    padding: 60px 0 0;
}

#doncen-footer .dichen-footer__links {
    display: grid;
    column-gap: 88px;
    grid-area: links;
    grid-template-columns: repeat(3, max-content);
}

#doncen-footer .dichen-footer__group {
    min-width: max-content;
}

#doncen-footer .dichen-footer__newsletter {
    grid-area: newsletter;
    justify-self: end;
    max-width: 100%;
    width: 400px;
}

#doncen-footer .dichen-footer__heading {
    color: #1d1d1f;
    cursor: default;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.25;
    margin: 0 0 20px;
}

#doncen-footer .dichen-footer__heading::-webkit-details-marker {
    display: none;
}

#doncen-footer .dichen-footer__heading::marker {
    content: "";
}

.dichen-footer__list,
#doncen-footer .dichen-footer__social {
    list-style: none;
    margin: 0;
    padding: 0;
}

#doncen-footer .doncen-footer__content .dichen-footer__list,
#doncen-footer .doncen-footer__content .dichen-footer__social {
    padding-right: 0;
}

#doncen-footer .dichen-footer__list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

#doncen-footer .dichen-footer__list li {
    margin: 0;
}

#doncen-footer .dichen-footer__list a {
    white-space: nowrap;
}

#doncen-footer .doncen-footer__content a,
#doncen-footer .doncen-footer__content a:visited {
    color: #252525;
    text-decoration: none;
}

#doncen-footer .doncen-footer__content a:focus {
    color: var(--doncen-color-primary);
    text-decoration: none;
}

#doncen-footer .doncen-footer__content a:hover {
    color: var(--doncen-color-primary-hover);
    text-decoration: none;
}

#doncen-footer .dichen-footer__subscribe {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    margin-left: auto;
    margin-top: 28px;
    max-width: 400px;
    position: relative;
    width: 100%;
}

#doncen-footer .dichen-footer__subscribe-label {
    clip: rect(0, 0, 0, 0);
    height: 1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

#doncen-footer .dichen-footer__subscribe input {
    background: #fff;
    border: 1px solid var(--doncen-color-primary);
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
    color: #1d1d1f;
    flex: 1 1 0;
    font-size: 14px;
    height: 50px;
    min-width: 0;
    padding: 0 18px;
    width: auto;
}

#doncen-footer .dichen-footer__subscribe input.mage-error {
    position: static;
}

#doncen-footer .dichen-footer__subscribe.is-success input {
    border-color: #12A538;
}

#doncen-footer .dichen-footer__subscribe input::placeholder {
    color: #9b9b9f;
}

#doncen-footer .dichen-footer__subscribe button {
    border-radius: 0;
    align-items: center;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    height: 50px;
    justify-content: center;
    margin: 0;
    flex: 0 0 130px;
    min-width: 130px;
    padding: 0 24px;
    position: relative;
}

#doncen-footer .dichen-footer__subscribe button:disabled {
    background: var(--doncen-color-primary) !important;
    border-color: var(--doncen-color-primary) !important;
    color: #fff !important;
    cursor: default;
    opacity: 1;
}

.dichen-footer__subscribe button.is-loading,
.dichen-footer__subscribe button.is-error,
.dichen-footer__subscribe button.is-loading:disabled,
#doncen-footer .dichen-footer__subscribe button.is-error:disabled {
    background: var(--doncen-color-primary) !important;
    border-color: var(--doncen-color-primary) !important;
    color: #fff !important;
}

.dichen-footer__subscribe button.is-success,
#doncen-footer .dichen-footer__subscribe button.is-success:disabled {
    background: #12A538 !important;
    border-color: #12A538 !important;
    color: #fff !important;
}

#doncen-footer .dichen-footer__subscribe button.is-loading span {
    opacity: 0;
}

#doncen-footer .dichen-footer__subscribe button.is-success {
    gap: 8px;
}

#doncen-footer .dichen-footer__subscribe button.is-success span {
    align-items: center;
    display: inline-flex;
    gap: 8px;
}

#doncen-footer .dichen-footer__subscribe button.is-success span::before {
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    content: "";
    display: block;
    flex: 0 0 6px;
    height: 12px;
    transform: rotate(45deg) translateY(-1px);
    width: 6px;
}

#doncen-footer .dichen-footer__subscribe button.is-loading::after {
    animation: dichen-footer-subscribe-spin 700ms linear infinite;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    border-top-color: #fff;
    content: "";
    height: 18px;
    left: 50%;
    margin: -9px 0 0 -9px;
    position: absolute;
    top: 50%;
    width: 18px;
}

@keyframes dichen-footer-subscribe-spin {
    to {
        transform: rotate(360deg);
    }
}

.dichen-footer__subscribe label.mage-error,
#doncen-footer .dichen-footer__subscribe div.mage-error {
    color: #e02b27;
    flex: 0 0 100%;
    font-size: 12px;
    line-height: 1.35;
    margin: 8px 0 0;
    order: 3;
    position: static;
}

#doncen-footer .dichen-footer__social {
    align-items: center;
    display: flex;
    gap: 20px;
    grid-area: social;
    justify-content: flex-end;
    margin: 96px 0 42px;
}

#doncen-footer .doncen-footer__content .dichen-footer__social {
    margin: 96px 0 0 0;
}

#doncen-footer .dichen-footer__social a {
    align-items: center;
    display: flex;
    height: 24px;
    justify-content: center;
    width: 24px;
}

#doncen-footer .dichen-footer__social svg {
    display: block;
    fill: currentColor;
    height: 21px;
    width: 21px;
}

#doncen-footer .dichen-footer__bottom {
    align-items: center;
    border-top: 1px solid #eeeeef;
    color: #9b9b9f;
    display: flex;
    grid-area: bottom;
    justify-content: space-between;
    margin-top: 40px;
    padding: 24px 0;
}

#doncen-footer .dichen-footer__bottom small {
    color: #9b9b9f;
    font-size: 14px;
}

#doncen-footer .dichen-footer__legal {
    display: flex;
    gap: 36px;
}

.dichen-footer__legal a,
#doncen-footer .dichen-footer__legal a:visited {
    color: #9b9b9f;
}

@media (max-width: 1439px) {
    #doncen-footer .doncen-footer__content {
        padding-left: 48px;
        padding-right: 48px;
    }

    #doncen-footer .dichen-footer__bottom {
        margin-left: -48px;
        margin-right: -48px;
        padding-left: 48px;
        padding-right: 48px;
    }
}

@media (max-width: 1023px) {
    #doncen-footer .doncen-footer__content {
        gap: 40px;
        grid-template-areas:
            "links"
            "newsletter"
            "social"
            "bottom";
        grid-template-columns: 1fr;
        padding-top: 40px;
    }

    #doncen-footer .dichen-footer__social {
        justify-content: flex-start;
        margin: 0 !important;
    }
}

@media (max-width: 767px) {
    #doncen-footer .doncen-footer__content {
        gap: 36px;
        padding: 40px 24px 0;
    }

    #doncen-footer .dichen-footer__links {
        gap: 0;
        grid-template-columns: 1fr;
    }

    #doncen-footer .dichen-footer__group {
        min-width: 0;
    }

    #doncen-footer .dichen-footer__heading {
        align-items: center;
        border-bottom: 1px solid #d9d9dd;
        cursor: pointer;
        display: flex;
        font-size: 18px;
        justify-content: space-between;
        margin: 0;
        padding: 18px 0;
    }

    #doncen-footer .dichen-footer__heading::after {
        background-image:
            linear-gradient(#1d1d1f, #1d1d1f),
            linear-gradient(#1d1d1f, #1d1d1f);
        background-position: center;
        background-repeat: no-repeat;
        background-size: 18px 2px, 2px 18px;
        content: "";
        flex: 0 0 18px;
        height: 18px;
        transition:
            background-size 180ms ease,
            transform 220ms ease;
        width: 18px;
    }

    #doncen-footer .dichen-footer__newsletter .dichen-footer__heading {
        border-bottom: 0;
        cursor: default;
        display: block;
        margin-bottom: 14px;
        padding: 0;
    }

    #doncen-footer .dichen-footer__newsletter .dichen-footer__heading::after {
        content: none;
    }

    #doncen-footer .dichen-footer__group--open .dichen-footer__heading::after {
        background-size: 18px 2px, 0 18px;
        transform: rotate(180deg);
    }

    #doncen-footer .dichen-footer__group--open .dichen-footer__heading {
        border-bottom: 0;
    }

    #doncen-footer .dichen-footer__list {
        border-bottom: 1px solid #d9d9dd;
        border-bottom-color: transparent;
        gap: 16px;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        padding-bottom: 0 !important;
        transform: translateY(-4px);
        transition:
            border-color 220ms ease,
            max-height 260ms ease,
            opacity 180ms ease,
            padding-bottom 260ms ease,
            transform 260ms ease;
    }

    #doncen-footer .dichen-footer__group--open .dichen-footer__list {
        border-bottom-color: #d9d9dd;
        max-height: 320px;
        opacity: 1;
        padding-bottom: 18px !important;
        transform: translateY(0);
    }

    #doncen-footer .dichen-footer__list li {
        margin: 0;
    }

    #doncen-footer .dichen-footer__subscribe {
        margin-left: 0;
        max-width: none;
    }

    #doncen-footer .dichen-footer__newsletter {
        justify-self: stretch;
        width: auto;
    }

    #doncen-footer .dichen-footer__subscribe button {
        min-width: 112px;
        padding-left: 16px;
        padding-right: 16px;
    }

    #doncen-footer .dichen-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        justify-content: center;
        margin: 0;
        margin-left: -24px;
        margin-right: -24px;
        padding-left: 24px;
        padding-right: 24px;
    }

    #doncen-footer .dichen-footer__legal {
        gap: 24px;
    }
}

/* Woo integration: contain legacy footer rules and inherit the store font. */
#doncen-footer { padding: 0; width: 100%; max-width: none; margin: 0; color: #1d1d1f; font-size: 14px; line-height: 1.45; }
#doncen-footer *, #doncen-footer *::before, #doncen-footer *::after { box-sizing: border-box; }
#doncen-footer .doncen-footer__content { width: 100%; margin: 0 auto; }
#doncen-footer .dichen-footer__heading { font-family: inherit; }
#doncen-footer .dichen-footer__list li { padding: 0; line-height: inherit; }
#doncen-footer .dichen-footer__subscribe input, #doncen-footer .dichen-footer__subscribe button { font-family: inherit; line-height: normal; }
#doncen-footer .dichen-footer__subscribe button { background: var(--doncen-color-primary); border: 1px solid var(--doncen-color-primary); color: #fff; cursor: pointer; text-transform: none; box-shadow: none; }
#doncen-footer .dichen-footer__subscribe button:hover { background: var(--doncen-color-primary-hover); border-color: var(--doncen-color-primary-hover); }
#doncen-footer .dichen-footer__subscribe input { border-color: var(--doncen-color-primary); }
#doncen-footer .dichen-footer__bottom small { line-height: inherit; }
#doncen-footer .dichen-footer__legal a { color: #9b9b9f; }
#doncen-footer .doncen-newsletter-status { flex: 0 0 100%; font-size: 12px; color: #e02b27; }
#doncen-footer .doncen-newsletter-status:not(:empty) { margin-top: 8px; }
#doncen-footer summary:focus-visible, #doncen-footer a:focus-visible { outline: 2px solid var(--doncen-color-primary); outline-offset: 4px; }

@font-face { font-family: "Doncen Footer Open Sans"; src: url("fonts/open-sans/open-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Doncen Footer Open Sans"; src: url("fonts/open-sans/open-sans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
#doncen-footer { font-family: "Doncen Footer Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; }

/* A quiet, shared footer for checkout and order confirmation. */
.checkout-footer {
    border-top: 1px solid #e5e7eb;
    background: #fff;
    color: #667085;
}
.checkout-footer__inner {
    box-sizing: border-box;
    max-width: 1204px;
    margin-inline: auto;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    font-size: 12px;
    line-height: 20px;
}
.checkout-footer small { font-size: inherit; }
.checkout-footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.checkout-footer a { color: inherit; text-decoration: none; }
.checkout-footer a:hover { color: var(--doncen-color-primary-hover); text-decoration: underline; text-underline-offset: 3px; }
.checkout-footer a:focus-visible { outline: 2px solid var(--doncen-color-primary); outline-offset: 4px; border-radius: 2px; }
@media (max-width: 767px) {
    .checkout-footer__inner { flex-direction: column; padding: 20px 16px; gap: 12px; text-align: center; }
    .checkout-footer nav { justify-content: center; gap: 8px 16px; }
}
