/* Bookshop footer: unframed gold marks and a small glowing return arrow. */
body .site-footer{--bb-footer-rule:#f4d8a01c;--bb-footer-column-rule:#f4d8a014;border-top:1px solid var(--bb-footer-rule);padding-top:0}
body.bb-home .site-footer{border-top:1px solid var(--bb-footer-rule)}
body .site-footer .footer-top{grid-template-columns:1.35fr 1.05fr 1.05fr 1.15fr 1fr;gap:0;align-items:stretch;padding-block:54px 48px}
body .site-footer .footer-top>.footer-brand{grid-column:auto;padding:0 34px 0 0;border:0}
body .site-footer .footer-brand .button{border-radius:999px;min-height:50px;padding:14px 26px;font-size:14px;line-height:1.35}
body .site-footer .footer-top>.footer-column{display:block;grid-column:auto;min-width:0;align-self:stretch;padding:4px 22px 0 28px;border:0;border-left:1px solid var(--bb-footer-column-rule)}
body .site-footer .footer-top>.footer-column:last-child{padding-right:0}
body .site-footer .footer-column h2{margin:0 0 18px;color:var(--gold);font-size:11px;line-height:1.6}
body .site-footer .footer-column h2 a{color:inherit}
body .site-footer .footer-column li>a,body .site-footer .footer-column>a{font-size:13px;line-height:1.65;min-height:36px;padding-block:6px;overflow-wrap:anywhere}
body .site-footer .footer-column a:hover{color:var(--paper);text-decoration:underline;text-underline-offset:4px}
body .site-footer .footer-contact p{font-size:13px;line-height:1.75;margin:0 0 12px}
body .site-footer .footer-contact-link{display:flex;align-items:center;gap:9px;color:var(--gold);text-decoration:none}
body .site-footer .footer-contact-link svg{width:18px;height:18px;flex-shrink:0}
body .site-footer .footer-social-heading{font:650 10px/1.6 Manrope,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:24px 0 10px}
body .site-footer .footer-socials{display:flex;align-items:center;gap:20px;flex-wrap:nowrap}
body .site-footer .footer-social-icon{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;padding:3px;border:0;border-radius:0;background:transparent;color:var(--gold);box-shadow:none;text-decoration:none;transition:color .18s ease,filter .18s ease}
body .site-footer .footer-social-icon svg{display:block;width:38px;height:38px;fill:currentColor}
body .site-footer .footer-social-icon:is(:hover,:focus-visible){color:var(--paper);background:transparent;text-decoration:none;filter:drop-shadow(0 0 7px #f4d8a080)}
body .site-footer .footer-base{border-top:1px solid var(--bb-footer-rule)}
body .site-footer .footer-bottom{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:20px 0;padding-block:23px;font-size:11px}
body .site-footer .footer-bottom nav{justify-content:center;gap:12px 20px}
body .site-footer .footer-payments{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding-right:0;color:var(--gold)}
body .site-footer .payment-mark{--bb-payment-height:17px;--bb-payment-glow:#ffffff60;position:relative;display:flex;align-items:center;justify-content:center;width:auto;height:28px;flex-shrink:0;border:0;background:transparent;opacity:.8;transition:opacity .18s ease,color .18s ease,filter .18s ease}
body .site-footer .payment-mark svg{display:block;width:auto;height:var(--bb-payment-height);fill:currentColor;transition:opacity .18s ease}
body .site-footer .payment-mark .payment-brand{position:absolute;left:0;top:50%;width:100%;transform:translateY(-50%);opacity:0;pointer-events:none}
body .site-footer .payment-banktransfer{--bb-payment-height:24px}
body .site-footer .payment-visa{--bb-payment-height:16px}
body .site-footer .payment-mastercard,body .site-footer .payment-applepay{--bb-payment-height:18px}
body .site-footer .payment-przelewy24{--bb-payment-height:26px}
body .site-footer .payment-visa{--bb-payment-glow:#1434cb99}
body .site-footer .payment-mastercard{--bb-payment-glow:#ff5f0066}
body .site-footer .payment-blik{--bb-payment-glow:#e94f9666}
body .site-footer .payment-przelewy24{--bb-payment-glow:#d1323966}
body .site-footer .payment-googlepay{--bb-payment-glow:#4285f466}
@media(hover:hover) and (pointer:fine){
 body .site-footer .payment-mark:hover{color:#fff;opacity:1;filter:drop-shadow(0 0 6px var(--bb-payment-glow))}
 body .site-footer .payment-mark:hover .payment-default{opacity:0}
 body .site-footer .payment-mark:hover .payment-brand{opacity:1}
}
body .site-footer a:focus-visible,body .site-footer button:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
.bb-back-to-top{position:fixed;z-index:40;right:24px;bottom:22px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #f4d8a026;border-radius:50%;background:#0b1724;color:var(--gold);cursor:pointer;box-shadow:0 3px 12px #02060b55,0 0 12px #f4d8a00a;transition:box-shadow .2s ease,border-color .2s ease}
.bb-back-to-top[hidden]{display:none!important}
.bb-back-to-top svg{display:block;width:22px;height:22px;pointer-events:none;filter:drop-shadow(0 0 3px #f4d8a045)}
.bb-back-to-top:hover,.bb-back-to-top:focus-visible{border-color:#f4d8a066;box-shadow:0 3px 12px #02060b55,0 0 18px #f4d8a02b}
.bb-back-to-top:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
@media(max-width:1199px){
 body .site-footer .footer-top{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(194px,1fr);row-gap:34px}
 body .site-footer .footer-top>.footer-brand{grid-column:1/-1;padding:0;border:0}
 body .site-footer .footer-brand p{max-width:480px}
 body .site-footer .footer-top>.footer-column{padding-inline:22px 16px}
 body .site-footer .footer-top>.footer-column:nth-child(2){border-left:0;padding-left:0}
 body .site-footer .footer-top>.footer-column.footer-contact{padding-inline-end:0}
 body .site-footer .footer-socials{gap:16px}
 body .site-footer .footer-bottom{grid-template-columns:minmax(0,1fr) auto;gap:18px 24px}
 body .site-footer .footer-bottom nav{grid-column:1/-1;grid-row:2;justify-content:center;padding-right:0}
 body .site-footer .footer-payments{grid-column:2;grid-row:1;justify-content:flex-end}
}
@media(max-width:700px){
 body .site-footer .footer-top{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:32px;padding-block:40px}
 body .site-footer .footer-top>.footer-column{padding-inline:18px 0}
 body .site-footer .footer-top>.footer-column:nth-child(2n){border-left:0;padding-left:0;padding-right:14px}
 body .site-footer .footer-top>.footer-brand{padding:0}
 body .site-footer .footer-column h2{font-size:10px;margin-bottom:14px}
 body .site-footer .footer-column li>a,body .site-footer .footer-column>a{font-size:12px;min-height:40px}
 body .site-footer .footer-socials{gap:16px;width:max-content;margin-inline-start:calc((100% - 164px)/2)}
 body .site-footer .footer-bottom{grid-template-columns:1fr;gap:18px;text-align:center;padding-block:24px 76px;padding-right:20px}
 body .site-footer .footer-bottom nav{grid-column:auto;grid-row:auto;justify-content:center;gap:12px 18px;padding-right:0}
 body .site-footer .footer-payments{grid-column:auto;grid-row:auto;justify-content:center;flex-wrap:wrap;gap:16px;max-width:100%;margin-inline:auto;padding-right:0}
 .bb-back-to-top{right:12px;bottom:14px}
}
@media(max-width:359px){
 body .site-footer .footer-top>.footer-contact{grid-column:1/-1;border-left:0;border-top:1px solid var(--bb-footer-column-rule);padding:24px 0 0}
 body .site-footer .footer-socials{gap:20px;margin-inline-start:0}
 body .site-footer .payment-mark svg{height:calc(var(--bb-payment-height)*.9)}
}
@media(prefers-reduced-motion:reduce){.bb-back-to-top,body .site-footer .footer-social-icon,body .site-footer .payment-mark,body .site-footer .payment-mark svg{transition:none}}
@media print{.bb-back-to-top,.footer-socials,.footer-payments{display:none!important}}

/* Optical sizes keep the bank and Przelewy24 readable beside the heavier logos. */
@media(min-width:1200px) and (max-width:1399px){body .site-footer .footer-payments{gap:9px}}
