:root {
    --green: #178e6b;
    --green-dark: #0e7357;
    --green-bright: #08b795;
    --green-pale: #e7f5f0;
    --amber: #fbb03c;
    --amber-dark: #e99a20;
    --ink: #17211e;
    --muted: #69736f;
    --line: #d9e5e0;
    --surface: #fff;
    --page: #f4f7f6;
    --danger: #c84646;
    --shadow: 0 24px 70px rgba(16, 96, 73, .13);
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background: var(--page);
    font-family: "Lexend Deca", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

button,
input { font: inherit; }

a { color: inherit; }

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.site-header {
    position: relative;
    z-index: 20;
    isolation: isolate;
    width: min(1150px, calc(100% - 40px));
    min-height: 84px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.site-header::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 auto 0 50%;
    width: 100vw;
    transform: translateX(-50%);
    border-top: 1px solid #d9dcda;
    border-bottom: 1px solid #edf0ee;
    background: #fff;
}

.brand img {
    display: block;
    width: 145px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 23px;
    font-size: 15px;
}

.main-nav a {
    text-decoration: none;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active,
.account-orders-link { color: var(--green); }

.account-orders-link { font-weight: 600; }

.login-link {
    min-width: 130px;
    min-height: 56px;
    padding: 15px 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    color: #fff !important;
    background: var(--amber);
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.login-link:hover { background: var(--green) !important; }
.header-logout-form { margin: 0; }

.nav-toggle {
    display: none;
    padding: 10px 18px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--green);
    cursor: pointer;
}

.nav-toggle-bars {
    width: 24px;
    display: grid;
    gap: 5px;
}

.nav-toggle-bars span {
    width: 100%;
    height: 2px;
    display: block;
    border-radius: 2px;
    background: currentColor;
}

.mobile-nav-head,
.nav-backdrop { display: none; }

.account-header {
    position: relative;
    z-index: 10;
    border-bottom: 1px solid #e8eeeb;
    background: rgba(255, 255, 255, .96);
}

.account-header-inner {
    width: min(1160px, calc(100% - 40px));
    min-height: 86px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.account-brand {
    display: inline-flex;
    align-items: center;
    color: var(--green-dark);
    font-size: 21px;
    font-weight: 700;
    text-decoration: none;
}

.account-brand img {
    display: block;
    width: 148px;
    height: auto;
}

.account-brand span { display: none; }

.account-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.account-nav a,
.account-nav button {
    min-height: 44px;
    padding: 10px 18px;
    border: 0;
    border-radius: 999px;
    color: var(--green-dark);
    background: transparent;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
}

.account-nav a:hover,
.account-nav button:hover { background: var(--green-pale); }

.account-nav form { margin: 0; }

main { min-height: calc(100vh - 150px); }

/* The login card has its own fixed visual height; avoid stretching the main
 * container to the viewport, which creates a large empty gap before footer. */
.login-page main { min-height: auto; }

/* The orders panel must follow the real number of cards. On short lists the
 * global viewport height created an excessive empty area before the footer. */
.orders-page main { min-height: auto; }

.eyebrow {
    display: inline-block;
    color: var(--green);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: .12em;
    text-transform: uppercase;
}

h1,
h2,
p { margin-top: 0; }

h1 {
    margin-bottom: 12px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.02;
    letter-spacing: -.045em;
}

h2 { letter-spacing: -.025em; }

.primary-button,
.tracking-button {
    min-height: 56px;
    padding: 15px 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    border-radius: 999px;
    color: #193128;
    background: var(--amber);
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.primary-button:hover,
.tracking-button:hover {
    background: #ffc15f;
    box-shadow: 0 12px 25px rgba(190, 122, 20, .22);
    transform: translateY(-2px);
}

.notice {
    margin-bottom: 22px;
    padding: 15px 18px;
    border-radius: 16px;
}

.notice p:last-child { margin-bottom: 0; }

.notice-error {
    border: 1px solid #f1c3c3;
    color: #892f2f;
    background: #fff0f0;
}

.login-shell {
    width: min(1180px, calc(100% - 32px));
    min-height: 680px;
    margin: 30px auto;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    overflow: hidden;
    border-radius: 42px;
    background: linear-gradient(135deg, #117b5e, #18a47c);
    box-shadow: var(--shadow);
}

.login-copy {
    position: relative;
    padding: clamp(48px, 7vw, 94px);
    color: #fff;
}

.login-copy::after {
    content: "";
    position: absolute;
    right: -50px;
    bottom: -70px;
    width: 290px;
    height: 290px;
    border: 55px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
}

.login-copy .eyebrow { color: #c9eee3; }

.login-copy p {
    max-width: 520px;
    font-size: 20px;
}

.login-benefits {
    margin: 36px 0 0;
    padding: 0;
    display: grid;
    gap: 16px;
    list-style: none;
}

.login-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-benefits li::before {
    content: "✓";
    width: 27px;
    height: 27px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: var(--green-dark);
    background: var(--amber);
    font-weight: 800;
}

.login-card {
    align-self: center;
    margin: 34px;
    padding: clamp(34px, 5vw, 64px);
    border-radius: 34px;
    background: #fff;
    box-shadow: 0 26px 70px rgba(6, 62, 47, .22);
}

.login-card h2 {
    margin-bottom: 28px;
    font-size: 32px;
}

.login-form { display: grid; gap: 20px; }

.login-form label { display: grid; gap: 8px; }

.login-form label span {
    font-size: 14px;
    font-weight: 700;
}

.login-form input {
    width: 100%;
    min-height: 58px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 17px;
    color: var(--ink);
    background: #fbfdfc;
    outline: none;
}

.login-form input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(23, 142, 107, .12);
}

.login-form .primary-button {
    width: 100%;
    margin-top: 4px;
}

.login-help {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.account-shell {
    width: min(1140px, calc(100% - 32px));
    margin: 34px auto 54px;
}

.orders-shell {
    padding: clamp(28px, 5vw, 58px);
    border-radius: 42px;
    background: linear-gradient(145deg, #158765, #139874);
    box-shadow: var(--shadow);
}

.section-heading {
    margin-bottom: 30px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    color: #fff;
}

.section-heading .eyebrow { color: #cbf0e5; }

.section-heading h1 {
    margin: 4px 0 0;
    font-size: clamp(36px, 5vw, 58px);
    overflow-wrap: anywhere;
}

.section-heading .welcome-copy {
    max-width: 720px;
    margin: 12px 0 0;
    color: #e5f7f1;
    font-size: 18px;
    font-weight: 400;
}

.section-heading > p {
    margin-bottom: 8px;
    color: #d7eee8;
    font-weight: 700;
}

.orders-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.order-card {
    padding: 25px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 29px;
    color: #fff;
    background: rgba(9, 184, 148, .78);
    box-shadow: inset 0 1px rgba(255, 255, 255, .08);
}

.order-card-header {
    display: grid;
    grid-template-columns: 84px 1fr;
    align-items: center;
    gap: 18px;
}

.order-card-header img {
    width: 84px;
    height: 84px;
    display: block;
    object-fit: cover;
    border-radius: 20px;
    background: #fff;
}

.order-id,
.recipient { margin-bottom: 3px; }

.order-id {
    font-size: 21px;
    overflow-wrap: anywhere;
}

.recipient {
    color: #eafff9;
    overflow-wrap: anywhere;
}

.order-facts {
    margin: 23px 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 18px;
}

.order-facts div { min-width: 0; }

.order-facts dt {
    color: #d4f3eb;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.order-facts dd {
    margin: 3px 0 0;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border: 1px solid rgba(255, 255, 255, .36);
    border-radius: 999px;
    font-size: 13px;
}

.status-hold { color: #543600; background: #ffd67f; border-color: #ffd67f; }
.status-cancelled { color: #fff; background: #b83d4c; border-color: #b83d4c; }
.status-refunded { color: #fff; background: #6c5bb2; border-color: #6c5bb2; }
.status-delivered { color: #0a573f; background: #d7f7eb; border-color: #d7f7eb; }

.tracking-button {
    width: 100%;
    margin-top: auto;
}

.terminal-order {
    min-height: 56px;
    margin-top: auto;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    font-weight: 750;
}

.terminal-cancelled { background: rgba(126, 23, 39, .48); }
.terminal-refunded { background: rgba(74, 56, 143, .48); }

.empty-state {
    padding: clamp(42px, 7vw, 76px);
    border-radius: 28px;
    background: #fff;
    text-align: center;
}

.empty-state-icon {
    color: var(--green);
    font-size: 54px;
}

.empty-state h2 { margin-bottom: 8px; font-size: 30px; }
.empty-state p { color: var(--muted); }

.pagination {
    margin-top: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: #fff;
}

.pagination a {
    padding: 9px 15px;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 999px;
    text-decoration: none;
}

.pagination a:hover { background: rgba(255,255,255,.12); }

.tracking-shell {
    max-width: 820px;
    min-height: 690px;
    padding: clamp(32px, 7vw, 76px);
    border-radius: 42px;
    background: #fff;
    box-shadow: var(--shadow);
}

.back-link {
    display: inline-block;
    margin-bottom: 48px;
    color: var(--green-dark);
    font-weight: 700;
    text-decoration: none;
}

.back-link:hover { text-decoration: underline; }

.tracking-heading {
    margin-bottom: 38px;
    text-align: center;
}

.tracking-heading h1 {
    margin: 6px 0 10px;
    font-size: clamp(38px, 6vw, 58px);
}

.tracking-heading p { color: var(--muted); }

.tracking-alert {
    margin: -10px auto 34px;
    padding: 16px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 13px;
    border-radius: 18px;
    text-align: center;
}

.tracking-alert-hold { color: #634100; background: #fff1cf; }
.tracking-alert-cancelled { color: #8b2935; background: #ffe6e9; }
.tracking-alert-refunded { color: #51428d; background: #eeebff; }

.tracking-steps {
    max-width: 390px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.tracking-step {
    position: relative;
    min-height: 110px;
    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: start;
    gap: 20px;
}

.tracking-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 49px;
    bottom: -5px;
    left: 25px;
    width: 3px;
    border-radius: 3px;
    background: #edf0ef;
}

.step-number {
    position: relative;
    z-index: 1;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #222;
    background: #f3f4f4;
    font-weight: 750;
}

.step-label {
    padding-top: 9px;
    font-size: 21px;
    font-weight: 750;
}

.tracking-step-complete .step-number,
.tracking-step-current .step-number {
    color: #fff;
    background: var(--green);
}

.tracking-step-complete:not(:last-child)::after { background: var(--green); }

.tracking-step-current .step-label,
.tracking-step-complete .step-label { color: var(--green-dark); }

.tracking-steps-paused .tracking-step .step-number,
.tracking-steps-paused .tracking-step::after {
    color: #777;
    background: #f1f2f2;
}

.tracking-steps-paused .tracking-step .step-label { color: #858b89; }

.tracking-summary {
    margin-top: 20px;
    padding-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    border-top: 1px solid var(--line);
}

.tracking-summary div { display: grid; gap: 4px; }

.tracking-summary span {
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
}

.tracking-summary strong { overflow-wrap: anywhere; }

.tracking-not-found { padding: 55px 25px; }

.account-footer {
    min-height: 64px;
    padding: 20px;
    color: var(--muted);
    text-align: center;
}

.account-footer p { margin: 0; }

@media (max-width: 820px) {
    .login-shell { grid-template-columns: 1fr; }
    .login-copy { padding-bottom: 25px; }
    .login-copy::after { display: none; }
    .login-card { margin-top: 0; }
    .orders-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .account-header-inner {
        width: min(100% - 28px, 1160px);
        min-height: 72px;
    }

    .account-brand img { width: 126px; }
    .account-nav { gap: 0; }
    .account-nav a,
    .account-nav button { padding: 8px 10px; font-size: 13px; }

    .login-shell,
    .account-shell { width: calc(100% - 20px); margin-top: 10px; }
    .login-shell,
    .orders-shell,
    .tracking-shell { border-radius: 28px; }
    .login-copy { padding: 42px 28px 22px; }
    .login-copy p { font-size: 17px; }
    .login-benefits { display: none; }
    .login-card { margin: 18px; padding: 28px 22px; border-radius: 24px; }
    .orders-shell { padding: 26px 20px 34px; }

    .section-heading { align-items: start; }
    .section-heading > p { display: none; }
    .order-card { padding: 20px; border-radius: 24px; }
    .order-card-header { grid-template-columns: 70px 1fr; gap: 14px; }
    .order-card-header img { width: 70px; height: 70px; border-radius: 17px; }
    .order-id { font-size: 18px; }
    .recipient { font-size: 14px; }
    .order-facts { grid-template-columns: 1fr; gap: 11px; }

    .tracking-shell { min-height: calc(100vh - 100px); padding: 28px 24px 45px; }
    .back-link { margin-bottom: 34px; }
    .tracking-step { min-height: 96px; grid-template-columns: 46px 1fr; gap: 17px; }
    .tracking-step:not(:last-child)::after { top: 44px; left: 22px; }
    .step-number { width: 46px; height: 46px; }
    .step-label { font-size: 19px; }
    .tracking-summary { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

.site-footer {
    --footer-content-width: 1200px;
    position: relative;
    margin-top: 330px;
    padding: 0;
    color: rgba(255, 255, 255, .76);
    background: var(--green);
    font-size: 16px;
    line-height: 1.7;
    text-align: left;
    font-family: "Roboto", Arial, sans-serif;
}

.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer h2 { letter-spacing: normal; }

.footer-download {
    position: relative;
    top: -288px;
    width: min(var(--footer-content-width), calc(100% - 80px));
    min-height: 478px;
    margin: 0 auto -258px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    padding: 0 90px;
    border-radius: 36px;
    color: #fff;
    background: var(--amber);
}

.footer-download-copy {
    position: relative;
    z-index: 1;
    width: calc(100% - 361px);
    padding: 50px 0 58px;
}

.footer-download h2 {
    margin: 0 0 22px;
    font-size: 50px;
    line-height: 1.4;
}

.footer-download p {
    max-width: 660px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.9;
}

.footer-store-links {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-store-links a,
.footer-store-links img { display: block; }
.footer-store-links img { width: 221px; height: auto; }

.footer-phone {
    position: absolute;
    right: 90px;
    bottom: 0;
    width: 341px;
    max-height: 460px;
    object-fit: contain;
    object-position: bottom;
}

.footer-main {
    width: min(var(--footer-content-width), calc(100% - 80px));
    min-height: 420px;
    margin: 0 auto;
    padding: 55px 10px;
    display: grid;
    grid-template-columns: 1.92fr repeat(4, 1fr);
    gap: 40px;
}

.footer-about { max-width: 332px; }
.footer-logo { width: 152px; height: auto; display: block; }
.footer-about p {
    margin-top: 20px;
    color: #bee4d9;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: -.015em;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.footer-column h2 { margin: 0 0 13px; color: #fff; font-size: 20px; line-height: 1; }
.footer-column > a { color: #bee4d9; font-size: 18px; line-height: 1.7; }

.footer-social > div { display: flex; gap: 14px; padding-left: 5px; }
.footer-social a {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .2);
}
.footer-social svg { width: 16px; height: 16px; display: block; fill: currentColor; }

.footer-payments {
    position: relative;
    top: 19px;
    left: max(30px, calc((100vw - var(--footer-content-width)) / 2 - 40px));
    width: 700px;
    max-width: 100%;
    grid-column: 3 / 6;
    justify-self: end;
    align-self: end;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 25px;
    line-height: 1;
}

.footer-payment-brand { width: 52px; height: 48px; display: flex; align-items: center; justify-content: center; color: #fff; }
.footer-payment-brand > svg { display: block; width: auto; max-width: 100%; height: 46px; flex-shrink: 0; fill: currentColor; }
.footer-maestro-logo { width: 62px; }
.footer-maestro-circles { position: relative; width: 62px; height: 38px; display: flex; align-items: center; justify-content: center; }
.footer-maestro-circles > span { position: absolute; top: 1px; width: 35px; height: 35px; border: 2px solid currentColor; border-radius: 50%; }
.footer-maestro-circles > span:first-child { left: 1px; }
.footer-maestro-circles > span:nth-child(2) { right: 1px; }
.footer-maestro-circles b { position: relative; z-index: 1; margin-top: 29px; font-size: 8px; font-weight: 600; letter-spacing: -.2px; }

.footer-bottom {
    width: min(var(--footer-content-width), calc(100% - 80px));
    min-height: 82px;
    margin: 0 auto;
    padding: 22px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, .13);
    font-size: 16px;
    line-height: 1.7;
}

.footer-bottom p { margin: 0; line-height: 1; }
.footer-bottom nav { display: flex; gap: 10px; }

@media (max-width: 1120px) {
    .main-nav { gap: 15px; font-size: 14px; }
}

@media (max-width: 959px) {
    .site-header { min-height: 82px; width: calc(100% - 32px); }
    .brand img { width: 145px; }
    .nav-toggle {
        width: 46px;
        height: 46px;
        padding: 11px;
        display: grid;
        place-items: center;
        border-radius: 0;
        color: var(--ink);
        background: transparent;
    }
    .main-nav {
        position: fixed;
        z-index: 42;
        inset: 0 auto 0 0;
        width: min(360px, 90vw);
        height: 100vh;
        height: 100dvh;
        padding: 18px 24px 30px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        overflow-y: auto;
        border: 0;
        border-radius: 0;
        background: #fff;
        box-shadow: var(--shadow);
        visibility: hidden;
        pointer-events: none;
        transform: translateX(-105%);
        transition: transform .28s ease, visibility .28s ease;
    }
    .main-nav.open {
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
    }
    .mobile-nav-head {
        min-height: 58px;
        margin-bottom: 14px;
        padding-bottom: 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid var(--line);
        color: var(--green-dark);
    }
    .nav-close {
        width: 42px;
        height: 42px;
        padding: 0;
        display: grid;
        place-items: center;
        border: 0;
        color: var(--ink);
        background: transparent;
        font-size: 34px;
        line-height: 1;
        cursor: pointer;
    }
    .main-nav > a {
        padding: 15px 6px;
        border-bottom: 1px solid #edf2f0;
        font-size: 16px;
    }
    .main-nav .header-logout-form { margin-top: 18px; }
    .login-link { min-width: 0; width: 100%; }
    .main-nav > .login-link { margin-top: 18px; border-bottom: 0; }
    .nav-backdrop {
        position: fixed;
        z-index: 41;
        inset: 0;
        width: 100%;
        height: 100%;
        padding: 0;
        display: block;
        border: 0;
        background: rgba(10, 31, 25, .48);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .28s ease, visibility .28s ease;
    }
    .nav-open { overflow: hidden; }
    .nav-open .nav-backdrop { opacity: 1; visibility: visible; pointer-events: auto; }
    .site-footer { margin-top: 255px; }
    .footer-download,
    .footer-main,
    .footer-bottom { width: calc(100% - 40px); }
    .footer-download { top: -115px; min-height: 360px; margin-bottom: -70px; padding: 0; }
    .footer-download-copy { width: 63%; padding: 44px 0 44px 48px; }
    .footer-download h2 { font-size: 40px; }
    .footer-download p { font-size: 15px; }
    .footer-store-links { align-items: flex-start; flex-direction: column; gap: 10px; }
    .footer-store-links img { width: 165px; }
    .footer-phone { right: 22px; width: 285px; max-height: 345px; }
    .footer-main { grid-template-columns: 1.5fr repeat(2, 1fr); }
    .footer-about { grid-row: span 2; }
    .footer-payments { top: 0; left: 0; width: 100%; grid-column: 2 / 4; justify-self: center; flex-wrap: wrap; gap: 18px 22px; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (max-width: 767px) {
    .site-footer { margin-top: 200px; }
    .footer-download { top: -75px; width: calc(100% - 24px); min-height: 485px; margin-bottom: -35px; padding: 0 20px; align-items: stretch; border-radius: 28px; }
    .footer-download-copy { width: 100%; padding: 30px 0 225px; text-align: center; }
    .footer-download h2 { margin-bottom: 14px; font-size: 24px; line-height: 33px; }
    .footer-download p { font-size: 16px; line-height: 24px; }
    .footer-store-links { margin-top: 18px; align-items: center; justify-content: center; flex-direction: row; flex-wrap: nowrap; gap: 8px; }
    .footer-store-links img { width: min(136px, calc((100vw - 76px) / 2)); }
    .footer-phone { right: 50%; width: 205px; max-height: 225px; transform: translateX(50%); }
    .footer-main { width: calc(100% - 40px); padding: 24px 0 34px; grid-template-columns: 1fr; gap: 30px; }
    .footer-about { max-width: none; grid-column: 1 / -1; grid-row: auto; }
    .footer-column { grid-column: 1 / -1; }
    .footer-column h2 { font-size: 20px; }
    .footer-column > a { font-size: 15px; }
    .footer-payments { width: 100%; grid-column: 1 / -1; justify-self: center; justify-content: center; flex-wrap: wrap; gap: 12px 16px; }
    .footer-payment-brand { width: 46px; height: 42px; }
    .footer-payment-brand > svg { height: 39px; }
    .footer-maestro-logo { transform: scale(.9); }
    .footer-bottom { width: calc(100% - 40px); align-items: center; text-align: center; }
    .footer-bottom nav { justify-content: center; flex-wrap: wrap; }
}
