/* ==========================================================================
   Show Plates World - footer (footers/partials/spw-footer.php)
   Used by the SEO pages, the /creator/ PPC pages and the checkout pages.
   Own file + own .spwf class names so the old footer rules in style.css /
   spw-live-match.css / checkout-spw.css can't reach it.
   ========================================================================== */

.spwf {
    --spwf-orange: #fd9a01;
    --spwf-ink: #111;
    --spwf-muted: rgba(17, 17, 17, .78);
    margin: 0;
    font-family: Roboto, Arial, Helvetica, sans-serif;
    color: var(--spwf-ink);
    text-align: left;
    line-height: 1.5;
}

.spwf *,
.spwf *::before,
.spwf *::after {
    box-sizing: border-box;
}

.spwf ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.spwf p {
    margin: 0;
}

.spwf a {
    text-decoration: none;
}

.spwf__wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- USP strip (black, like the header's strip) ---------- */
.spwf__usps {
    background: var(--spwf-ink);
    color: #fff;
}

.spwf__usps-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 24px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.spwf__usps-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    line-height: 1.35;
    color: rgba(255, 255, 255, .85);
}

.spwf__usps-list strong {
    display: block;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}

.spwf__usps-list svg {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    padding: 9px;
    border-radius: 50%;
    background: var(--spwf-orange);
    fill: none;
    stroke: #111;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- main (orange) ---------- */
.spwf__main {
    background: var(--spwf-orange);
    padding: 48px 0 44px;
}

.spwf__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
    align-items: start;
}

.spwf__logo img {
    display: block;
    width: 180px;
    height: auto;
}

.spwf__brand p {
    max-width: 300px;
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--spwf-muted);
}

.spwf__heading {
    position: relative;
    margin: 0 0 22px;
    padding-bottom: 12px;
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--spwf-ink);
}

.spwf__heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 3px;
    border-radius: 2px;
    background: var(--spwf-ink);
}

.spwf__col li + li {
    margin-top: 10px;
}

.spwf__col a {
    color: var(--spwf-ink) !important;
    font-size: 15px;
    transition: opacity .15s;
}

.spwf__col li a:hover {
    opacity: .65;
}

.spwf__help p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--spwf-muted);
}

.spwf__help p strong {
    color: var(--spwf-ink);
}

.spwf__call {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 12px 20px 12px 14px;
    border-radius: 999px;
    background: var(--spwf-ink);
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 700;
    white-space: nowrap;
    transition: background .15s;
}

.spwf__call:hover {
    background: #333;
}

.spwf__call svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--spwf-orange);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.spwf__email {
    display: block;
    margin-top: 12px;
    font-weight: 500;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

/* ---------- bottom bar ---------- */
.spwf__bottom {
    background: var(--spwf-ink);
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
}

.spwf__bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.spwf__pay {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.spwf__pay li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 30px;
    padding: 0 9px;
    border-radius: 5px;
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
}

.spwf__pay-visa {
    color: #1a1f71 !important;
    font-size: 14px !important;
    font-style: italic;
    font-weight: 900 !important;
    letter-spacing: .02em;
}

.spwf__pay-mc span {
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #eb001b;
}

.spwf__pay-mc span + span {
    margin-left: -6px;
    background: #f79e1b;
    mix-blend-mode: multiply;
}

.spwf__pay-paypal {
    color: #0070ba !important;
    font-style: italic;
}

.spwf__pay-paypal b {
    color: #253b80;
}

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
    .spwf__usps-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .spwf__grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 32px;
    }
}

/* ---------- mobile ---------- */
@media (max-width: 600px) {
    .spwf__wrap {
        padding: 0 20px;
    }

    .spwf__usps-list li {
        font-size: 13px;
    }

    .spwf__usps-list svg {
        width: 34px;
        height: 34px;
        padding: 7px;
    }

    .spwf__main {
        padding: 36px 0;
    }

    .spwf__brand,
    .spwf__help {
        grid-column: 1 / -1;
    }

    .spwf__grid {
        gap: 32px 20px;
    }

    .spwf__bottom-row {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 12px;
    }
}

/* ---------- specificity fixes (site + checkout CSS reach in) ---------- */
.spwf .spwf__usps-list {
    width: 100%;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 18px 24px !important;
}

.spwf a.spwf__call,
.spwf a.spwf__call:visited {
    color: #fff !important;
}

.spwf .spwf__heading {
    margin: 0 0 22px !important;
    padding: 0 0 12px !important;
    font-family: Roboto, Arial, Helvetica, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    color: var(--spwf-ink) !important;
}

@media (max-width: 600px) {
    .spwf .spwf__usps-list {
        padding: 16px 20px;
    }
}

/* ---------- content-faithful version (15 Oct 2026): original wording only ---------- */
.spwf .spwf__usps-list {
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
}

.spwf__usps-list strong {
    display: inline;
    font-size: 16px;
}

.spwf__brand p + p {
    margin-top: 12px;
}

.spwf--ppc .spwf__brand p:first-child {
    margin-top: 0;
    color: var(--spwf-ink);
    font-size: 17px;
    font-weight: 700;
}

.spwf__brand a {
    color: var(--spwf-ink) !important;
    font-weight: 700;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

.spwf .spwf__logo {
    text-decoration: none !important;
}

.spwf--ppc .spwf__grid {
    grid-template-columns: 2fr 1fr;
}

.spwf__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    margin: 0 auto 0 32px !important;
}

.spwf__legal a {
    color: rgba(255, 255, 255, .85) !important;
}

.spwf__legal a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

.spwf__cards-chip {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 6px;
    background: #fff;
    line-height: 0;
}

.spwf__cards {
    display: block;
    width: 162px;
    height: auto;
}

@media (max-width: 1024px) {
    .spwf .spwf__usps-list {
        grid-template-columns: repeat(3, auto);
    }

    .spwf--ppc .spwf__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .spwf .spwf__usps-list {
        grid-template-columns: 1fr;
        justify-content: start;
        gap: 12px;
    }

    .spwf--ppc .spwf__grid {
        grid-template-columns: 1fr;
    }

    .spwf__legal {
        margin: 0 !important;
    }
}

/* ---- Mobile only (<=600px): payment badges in one even row, copyright centred (16 Oct 2026) ---- */
@media (max-width: 600px) {
    .spwf .spwf__bottom-row { align-items: stretch; text-align: center; }
    .spwf .spwf__pay { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
    .spwf .spwf__pay li { min-width: 0; height: 30px; padding: 0 3px; font-size: clamp(9px, 2.6vw, 12px); }
    .spwf .spwf__pay li.spwf__pay-visa { font-size: clamp(11px, 3.2vw, 14px) !important; }
    .spwf .spwf__pay-mc span { width: 14px; height: 14px; }
}
@media (max-width: 350px) {
    .spwf .spwf__pay { grid-template-columns: repeat(6, 1fr); }
    .spwf .spwf__pay li { grid-column: span 2; font-size: 11px; }
    .spwf .spwf__pay li:nth-child(4) { grid-column: 2 / span 2; }
}

/* ---- Phones (22 Oct 2026, Matt): payment badges clear of the orange, legal links on one line ---- */
@media (max-width: 768px) {
    .spwf .spwf__bottom-row { padding-top: 18px !important; padding-bottom: 18px !important; }
    .spwf .spwf__legal { flex-wrap: nowrap !important; justify-content: center !important; gap: 0 clamp(8px, 2.4vw, 16px) !important; margin: 0 !important; }
    .spwf .spwf__legal li { white-space: nowrap; }
    .spwf .spwf__legal a { font-size: clamp(10px, 2.85vw, 13px) !important; }
}

/* ---- Desktop/tablet (>=769px, Matt 22 Oct 2026): bottom bar laid out on a grid - links left and payment badges right
   on one line each, copyright on its own line underneath (it was three squashed columns that each wrapped) ---- */
@media (min-width: 769px) {
    .spwf .spwf__bottom-row {
        display: grid !important; grid-template-columns: 1fr auto; grid-template-areas: "copy pay";
        align-items: center; gap: 12px 32px; padding-top: 18px !important; padding-bottom: 18px !important;
    }
    .spwf .spwf__bottom-row:has(.spwf__legal) { grid-template-areas: "legal pay" "copy copy"; }
    .spwf .spwf__bottom-row > p { grid-area: copy; margin: 0 !important; font-size: 12px; }
    .spwf .spwf__legal { grid-area: legal; flex-wrap: wrap; gap: 6px 22px !important; margin: 0 !important; }
    .spwf .spwf__legal li { white-space: nowrap; }
    .spwf .spwf__pay { grid-area: pay; flex-wrap: nowrap !important; justify-content: flex-end; }
    .spwf .spwf__bottom-row:has(.spwf__legal) > p { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 12px; }
}
