/* ==========================================================================
   Storefront footer (partials/footer.blade.php), after the reference shop's:
   help band (e-mail / phone), then one dark row (brand | information buttons | social + payment),
   a thin coloured line and the copyright line with the vendor credit.
   Same colour as the header (--shop-primary, #003135). Loaded after style.css.
   ========================================================================== */
footer.pf { background: none; padding: 0; margin: 0; border: 0; color: #fff; margin-top: 40px; }

/* -- "we are here to help you" band -------------------------------------------------------------- */
.pf-help { background: #f6f8f8; }
.pf-help .container { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 34px; padding-bottom: 34px; }
.pf-help h3 { margin: 0; font-size: 24px; font-weight: 700; color: #111827; }
.pf-help p { margin: 10px 0 0; font-size: 16px; color: #475569; }
.pf-help-links { display: flex; gap: 48px; flex-wrap: wrap; }
.pf-help-links a { display: flex; align-items: center; gap: 14px; color: #111827; text-decoration: none; }
.pf-help-links i, .pf-help-links svg { width: 32px; height: 32px; font-size: 32px; color: #111827; flex: 0 0 auto; }
.pf-help-links small { display: block; font-size: 16px; color: #475569; }
.pf-help-links b { display: block; font-size: 17px; font-weight: 600; }
.pf-help-links a:hover b { color: var(--shop-primary, #003135); text-decoration: underline; }

/* -- the dark row: brand | buttons | social + payment ------------------------------------------------ */
.pf-main { background: var(--shop-primary, #003135); padding: 34px 0 0; }
.pf-top { display: grid; grid-template-columns: minmax(220px, 340px) minmax(0, 1fr) auto; align-items: center; gap: 24px; }

.pf-brand img { height: 40px; width: auto; display: block; }
.pf-brand p { margin: 18px 0 0; font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, .92); }

/* the information links, as buttons, in the middle between the logo and the social icons */
/* Small buttons that always share one line and sit in the middle: their size follows the screen width (13px on a laptop),
   and only a phone lets them wrap. */
.pf-links { display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; gap: clamp(6px, .6vw, 10px); }
.pf-links a {
    display: inline-flex; align-items: center; padding: 8px clamp(10px, 1.05vw, 18px); border-radius: 999px; font-size: clamp(12.5px, .95vw, 14px); font-weight: 600; line-height: 1.25; color: #fff; text-decoration: none; white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .06); transition: background .15s, color .15s, border-color .15s;
}
.pf-links a:hover { background: #ffe600; border-color: #ffe600; color: var(--shop-primary, #003135); }

.pf-side { display: flex; flex-direction: column; align-items: flex-end; gap: 22px; }
/* Address + phone, stacked above the social/payment block. */
.pf-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.pf-contact-row { display: flex; align-items: flex-start; gap: 2px; margin: 0; max-width: 280px; text-align: right; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.pf-contact-row a { display: flex; align-items: flex-start; gap: 2px; color: inherit; text-decoration: none; }
.pf-contact-row a:hover { color: #ffe600; }
.pf-contact-row i, .pf-contact-row svg { width: 13px !important; height: 13px; font-size: 13px; flex: 0 0 auto; margin-top: 4px; color: inherit; }
.pf-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; }
.pf-social a { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; color: rgba(255, 255, 255, .78); font-size: 26px; text-decoration: none; transition: color .15s, transform .15s; }
.pf-social a:hover { color: #ffe600; transform: translateY(-2px); }
.pf-social i, .pf-social svg { width: 26px; height: 26px; }
.pf-pay { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.pf-pay > span { font-size: 15px; color: rgba(255, 255, 255, .92); }
.pf-pay div { display: flex; gap: 8px; }
.pf-pay i, .pf-pay svg { width: 38px; height: 28px; font-size: 32px; color: #fff; }

/* -- the thin coloured line -------------------------------------------------------------------------- */
.pf-line { height: 1px; margin: 30px 0 0; border: 0; opacity: 1; background: linear-gradient(90deg, #ffe600 0%, #f59e0b 25%, #14b8a6 60%, #22c55e 100%); }

/* -- copyright on the left, vendor credit on the right, one line (as the footer was before) ---------- */
.pf-legal { background: var(--shop-primary, #003135); }
.pf-legal .container { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.pf-legal p { margin: 0; font-size: 15px; color: rgba(255, 255, 255, .92); }
.pf-legal .dev-credit { font-size: 14px; color: rgba(255, 255, 255, .72); }
.pf-legal .dev-credit a { color: #fff; font-weight: 600; text-decoration: none; }
.pf-legal .dev-credit a:hover { color: #ffe600; }

/* -- tablet / phone ---------------------------------------------------------------------------------------- */
@media (max-width: 1319.98px) {
    /* not enough width for three columns: brand and social on one line, the buttons under them */
    .pf-top { grid-template-columns: minmax(0, 1fr) auto; gap: 28px 32px; }
    .pf-links { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 899.98px) {
    .pf-links { flex-wrap: wrap; }
}
@media (max-width: 991.98px) {
    .pf-help .container { flex-direction: column; align-items: flex-start; gap: 20px; }
    .pf-help-links { gap: 28px; }
}
@media (max-width: 767.98px) {
    footer.pf { margin-top: 28px; }
    .pf-help .container { padding-top: 24px; padding-bottom: 24px; }
    .pf-help h3 { font-size: 20px; }
    .pf-help p { font-size: 14.5px; margin-top: 6px; }
    .pf-help-links { flex-direction: column; gap: 14px; }
    .pf-help-links i, .pf-help-links svg { width: 26px; height: 26px; font-size: 26px; }
    .pf-help-links small { font-size: 14px; }
    .pf-help-links b { font-size: 16px; }

    .pf-main { padding-top: 26px; }
    .pf-top { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }   /* logo + sentence, the buttons, then social + payment */
    .pf-brand img { height: 34px; margin: 0 auto; }
    .pf-brand p { margin-top: 14px; font-size: 15px; }
    .pf-links { gap: 6px; }
    .pf-links a { padding: 6px 9px; font-size: 12px; }
    .pf-side { align-items: center; gap: 16px; }
    .pf-pay { align-items: center; }
    .pf-line { margin-top: 24px; }
    .pf-legal .container { padding-top: 12px; padding-bottom: 96px; /* the phone tab bar sits over the bottom edge */ }
    .pf-legal p { font-size: 13.5px; }
    .pf-legal .dev-credit { font-size: 13px; }
}
