.shop-home-footer{box-sizing:border-box;max-width:100%;margin-top:40px;padding:32px 24px 18px;border-top:3px solid var(--brand,#007979);background:#f8fafc;color:#334155}
.shop-home-footer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;max-width:var(--container-w,1720px);margin:auto}
.shop-home-footer section{min-width:0}.shop-home-footer h2{margin:0 0 14px;font-size:14px;font-weight:750;text-transform:uppercase;color:#17252d}
.shop-home-footer a,.shop-footer-link{display:block;width:fit-content;max-width:100%;padding:5px 0;border:0;background:none;color:inherit;font:inherit;font-size:13px;line-height:1.5;text-align:left;text-decoration:none;cursor:pointer;overflow-wrap:anywhere}
.shop-home-footer a:hover,.shop-footer-link:hover{color:var(--brand,#007979);text-decoration:underline}.shop-home-footer :focus-visible{outline:2px solid var(--brand,#007979);outline-offset:3px}
.shop-home-footer p{font-size:13px;line-height:1.65;margin:0 0 10px;overflow-wrap:anywhere}.shop-footer-note{color:#526175}
.shop-footer-download-row{display:flex;align-items:start;gap:12px;flex-wrap:wrap}.shop-footer-download-row canvas{width:120px;height:120px;max-width:100%;background:white;border:1px solid #e2e8f0}
.shop-footer-download-links{display:grid;gap:8px}.shop-footer-download-links a{padding:7px 12px;border:1px solid #cbd5e1;border-radius:6px;background:white}
.shop-home-footer-bottom{max-width:var(--container-w,1720px);margin:24px auto 0;padding-top:16px;border-top:1px solid #e2e8f0;font-size:12px;color:#526175}
.shop-footer-dialog{box-sizing:border-box;max-width:min(560px,calc(100% - 24px));max-height:80dvh;overflow:auto;border:1px solid #cbd5e1;border-radius:14px;padding:24px;color:#17252d;background:white}.shop-footer-dialog::backdrop{background:#0f172a80}.shop-footer-dialog h2{font-size:20px;margin:0 0 16px}.shop-footer-dialog p{line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.shop-footer-dialog button{padding:10px 20px;border:0;border-radius:6px;background:var(--brand,#007979);color:white;cursor:pointer}
@media(max-width:900px){.shop-home-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}}
@media(max-width:480px){.shop-home-footer{padding:24px 16px 18px}.shop-home-footer-grid{grid-template-columns:minmax(0,1fr)}.shop-home-footer a,.shop-footer-link{padding:9px 0}}

.shop-footer-company{display:flex;align-items:center;justify-content:center;gap:16px;margin:20px auto;max-width:900px;text-align:left}
.shop-footer-company-logo{width:64px;height:64px;object-fit:contain;flex:0 0 auto}.shop-footer-company strong{display:block;font-size:16px;margin-bottom:6px}.shop-footer-company p{white-space:pre-wrap}
.shop-footer-copyright{text-align:center}.shop-footer-legal,.shop-footer-badges{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px 24px;margin:12px 0}
.shop-footer-legal a,.shop-footer-legal button{font-size:12px}.shop-footer-badges a,.shop-footer-badges span{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:11px}
.shop-footer-badge-image{max-width:150px;max-height:60px;object-fit:contain}.shop-footer-link-image{width:24px;height:24px;object-fit:contain;vertical-align:middle;margin-right:6px}
.shop-footer-policy-image{max-width:100%;max-height:240px;object-fit:contain}.shop-footer-custom-qr{width:120px;height:120px;object-fit:contain;background:white;border:1px solid #e2e8f0}
.shop-footer-download-links{gap:6px}.shop-footer-download-links a,.shop-footer-download-placeholder{display:flex;align-items:center;padding:5px 8px;font-size:12px;line-height:1.4;border:1px solid #dce3ed;border-radius:4px;background:white;color:#334155;min-height:32px;box-sizing:border-box}
.shop-footer-download-placeholder{cursor:default}.shop-footer-download-links .shop-footer-link-image{width:22px;height:22px}.shop-footer-download-row{flex-wrap:nowrap;gap:10px}.shop-footer-download-row>canvas,.shop-footer-custom-qr{flex:0 0 120px}.shop-footer-download-links{min-width:0}
.shop-footer-editor-body{padding:12px 0;min-width:0}.shop-footer-editor-fields{display:grid;gap:12px}.shop-footer-editor-body>.web-admin-field-label{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}
.shop-footer-editor-image{max-width:180px;max-height:100px;object-fit:contain;background:#f1f5f9;border:1px solid #e2e8f0}.shop-footer-editor-tools{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin-bottom:16px;padding:10px;background:#f8fafc;border:1px solid #dce4ef;border-radius:8px}.shop-footer-editor-tools label{flex:1 1 180px;min-width:0}
.shop-footer-editor-check{display:flex;align-items:center;gap:8px;margin:8px 0}.shop-footer-editor-check input{width:auto}.shop-footer-editor textarea{resize:vertical}.shop-footer-editor .web-admin-input{max-width:100%;box-sizing:border-box}.shop-footer-editor .web-admin-submode-bar{display:flex;flex-wrap:wrap;gap:6px}
@media(max-width:600px){.shop-footer-company{align-items:start}.shop-footer-company-logo{width:48px;height:48px}.shop-footer-editor .shop-home-footer-grid{grid-template-columns:minmax(0,1fr)}}
@media(min-width:481px) and (max-width:600px){.shop-footer-download-row{flex-wrap:wrap}}

/* One shared, editable company/contact/legal frame. */
.shop-footer-info-frame{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:20px 32px;padding:24px;border:1px solid #dce4ed;border-radius:14px;background:#fff}
.shop-footer-contact,.shop-footer-brand,.shop-footer-identity{min-width:0}
.shop-footer-contact h3{margin:0 0 10px;font-size:16px;line-height:1.5;color:#17252d;overflow-wrap:anywhere}
.shop-footer-info-frame .shop-footer-company{margin:0 0 12px;justify-content:flex-start;max-width:none}
.shop-footer-info-frame .shop-footer-legal,.shop-footer-info-frame .shop-footer-badges{justify-content:flex-start;margin:8px 0}
.shop-footer-contact p{white-space:pre-wrap}.shop-footer-contact-row{display:flex;gap:8px;align-items:baseline}.shop-footer-contact-row>span:last-child{min-width:0;overflow-wrap:anywhere}.shop-footer-contact-icon{flex:none}
.shop-footer-info-frame .shop-footer-copyright{grid-column:1/-1;margin:0;padding-top:14px;border-top:1px solid #e2e8f0}
@media(max-width:600px){.shop-footer-info-frame{grid-template-columns:minmax(0,1fr);gap:16px;padding:16px}.shop-footer-info-frame .shop-footer-company{margin-bottom:8px}}
