.bookplus-footer {
    border-top: 1px solid #e5e7eb;
    background:
        radial-gradient(circle at 12% 8%, rgba(244, 122, 32, .09), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #f7f8fb 100%);
    color: #17181c;
    font-family: var(--bp-font-sans);
    padding: 34px 0 28px;
}

.bookplus-footer * {
    box-sizing: border-box;
}

.bookplus-footer-shell {
    width: min(100% - 32px, 1520px);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #e1e7f0;
    border-radius: 18px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 18px 46px rgba(15, 23, 42, .07);
}

.bookplus-footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
}

.bookplus-footer-brand {
    max-width: 410px;
}

.bookplus-footer-brand img {
    display: block;
    width: auto;
    max-width: 212px;
    max-height: 56px;
}

.bookplus-footer-brand p,
.bookplus-footer-bottom p {
    margin: 12px 0 0;
    color: #626a75;
    font-size: 14px;
    line-height: 1.6;
}

.bookplus-footer-support {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-top: 16px;
    color: #4f5865;
    font-size: 13px;
    font-weight: 800;
}

.bookplus-footer-support a {
    color: var(--bp-brand-primary);
    font-weight: 900;
    text-decoration: none;
}

.bookplus-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.bookplus-footer-socials a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dde3ec;
    border-radius: 999px;
    background: #fff;
    color: var(--bp-brand-primary);
    padding: 0;
    text-decoration: none;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease, transform .18s ease;
}

.bookplus-footer-socials svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bookplus-footer-socials a:nth-child(2) svg,
.bookplus-footer-socials a:nth-child(3) svg {
    fill: currentColor;
    stroke: none;
}

.bookplus-footer-socials span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.bookplus-footer-socials a:hover,
.bookplus-footer-links a:hover {
    color: var(--bp-brand-primary);
}

.bookplus-footer-socials a:hover {
    border-color: var(--bp-brand-soft-strong);
    background: var(--bp-brand-soft);
    box-shadow: 0 8px 18px rgba(0, 68, 151, .12);
    transform: translateY(-1px);
}

.bookplus-footer-links h2 {
    margin: 0 0 12px;
    color: #17181c;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.bookplus-footer-links a {
    display: block;
    width: max-content;
    max-width: 100%;
    color: #555d68;
    font-size: 14px;
    font-weight: 720;
    line-height: 1.4;
    margin-top: 10px;
    text-decoration: none;
    transition: color .18s ease, transform .18s ease;
}

.bookplus-footer-links a:hover {
    transform: translateX(2px);
}

.bookplus-footer-trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    border-top: 1px solid #edf0f5;
    border-bottom: 1px solid #edf0f5;
    background: linear-gradient(90deg, var(--bp-brand-soft) 0%, #fff 55%, var(--bp-brand-warm) 100%);
    padding: 14px 28px;
}

.bookplus-footer-trust span {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2a3542;
    font-size: 13px;
    font-weight: 900;
}

.bookplus-footer-trust span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--bp-brand-accent);
    box-shadow: 0 0 0 4px rgba(244, 122, 32, .14);
}

.bookplus-footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px 28px 24px;
}

.bookplus-footer-bottom strong {
    color: #2a2f36;
    font-weight: 900;
}

.bookplus-footer-bottom p {
    margin-top: 6px;
    font-size: 13px;
}

.bookplus-footer-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
}

.bookplus-footer-payments span {
    flex-basis: 100%;
    color: #68717d;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.bookplus-footer-payments strong {
    display: inline-flex;
    min-width: 56px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dce2ea;
    border-radius: 9px;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    color: #303742;
    font-size: 11px;
    line-height: 1;
    padding: 0 9px;
    box-shadow: 0 5px 12px rgba(15, 23, 42, .05);
}

.bookplus-payment-card--visa {
    color: #1434cb !important;
    font-size: 14px !important;
    font-style: italic;
    font-weight: 950 !important;
    letter-spacing: .03em;
}

.bookplus-payment-card--mastercard {
    position: relative;
    gap: 0;
}

.bookplus-payment-card--mastercard i,
.bookplus-payment-card--mastercard b {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 999px;
}

.bookplus-payment-card--mastercard i {
    background: #eb001b;
}

.bookplus-payment-card--mastercard b {
    margin-left: -7px;
    background: rgba(247, 158, 27, .92);
}

.bookplus-payment-card--mastercard em {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.bookplus-payment-card--apple {
    gap: 3px;
    color: #111827 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
}

.bookplus-payment-card--apple svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

@media (min-width: 680px) {
    .bookplus-footer-trust {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .bookplus-footer-main {
        grid-template-columns: minmax(260px, 1.5fr) repeat(4, minmax(120px, .7fr));
        gap: 24px;
        padding: 34px;
    }

    .bookplus-footer-trust {
        padding-inline: 34px;
    }

    .bookplus-footer-bottom {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        padding-inline: 34px;
    }

    .bookplus-footer-payments {
        justify-content: flex-end;
    }
}

@media (max-width: 640px) {
    .bookplus-footer {
        padding: 22px 0;
    }

    .bookplus-footer-shell {
        width: min(100% - 24px, 1520px);
        border-radius: 14px;
    }

    .bookplus-footer-main,
    .bookplus-footer-trust,
    .bookplus-footer-bottom {
        padding-inline: 18px;
    }
}
