/* 0.8.23: keep native box order and optional footer regions. */
#footer .rc-footer-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:28px}
#footer .rc-footer-grid .box{order:initial;grid-column:auto}
#footer .rc-footer-region{width:calc(100% - 2 * var(--rc-gutter,24px));max-width:var(--rc-page,1440px);margin:0 auto;padding:20px 0}
#footer .rc-footer-boxes{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start}
#footer .rc-footer-boxes>.box{flex:1 1 240px;min-width:0;max-width:100%;margin:0;overflow-wrap:anywhere}
#footer .rc-footer-region .box img{max-width:100%;height:auto}
#footer .rc-footer-brand p{overflow-wrap:anywhere}
@media(max-width:767px){#footer .rc-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
@media(max-width:479px){#footer .rc-footer-grid{grid-template-columns:minmax(0,1fr)}}

/* Keep the native withdrawal link visibly styled as a button. */
#footer a.btn.withdrawal{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;background:#294522;color:#fff!important;border:1px solid #294522;border-radius:3px;font-weight:600;text-decoration:none;line-height:1.3!important}
#footer a.btn.withdrawal:hover{background:#3a5d31;border-color:#3a5d31}
#footer a.btn.withdrawal:focus-visible{outline:3px solid #83b653;outline-offset:3px}

#footer .rc-footer-grid .box_paymment img,#footer .rc-footer-grid .box_shipping img{display:block!important;width:112px!important;height:64px!important;max-width:100%!important;object-fit:contain!important;object-position:left center;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important}
#footer .rc-footer-grid .box_shipping img{width:128px!important;height:52px!important}
#footer .rc-footer-media-row{display:flex;gap:10px;align-items:center;margin:10px 0 18px;flex-wrap:wrap}
#footer .rc-footer-media-row>a{display:block;max-width:112px;flex:0 1 112px;min-width:0}
#footer .box_shipping .rc-footer-media-row>a{max-width:128px;flex-basis:128px}
#footer .rc-footer-label{margin:10px 0 6px;font-weight:600}
#footer .rc-footer-label:first-child{margin-top:0}

/* 0.8.27: approved full-width mountain silhouette at footer bottom. */
#footer{padding-inline:0;padding-bottom:0;margin-bottom:0}
#footer .rc-forest-edge{display:block;width:100%;max-width:none;height:110px;margin:24px 0 0;padding:0;background:#24351e;clip-path:polygon(0 77%,4% 69%,7% 74%,12% 48%,15% 59%,20% 25%,23% 44%,25% 37%,30% 64%,34% 53%,38% 70%,43% 41%,46% 50%,51% 13%,54% 34%,56% 29%,61% 62%,65% 51%,69% 68%,73% 47%,77% 56%,83% 20%,86% 39%,89% 32%,94% 65%,97% 57%,100% 74%,100% 100%,0 100%)}
@media(max-width:600px){#footer .rc-forest-edge{height:70px;margin-top:20px}}
