/* Store legal page. Scoped additions; no global typography or existing page changes. */
.store-legal-tabs{display:flex;flex-wrap:wrap;align-items:stretch;gap:0 28px;border-bottom:1px solid var(--line,#dadada);margin-bottom:44px}
.store-legal-tabs [role=tab]{position:relative;min-height:56px;padding:16px 0;background:none;border:0;border-bottom:2px solid transparent;border-radius:0;font:inherit;font-size:13px;line-height:1.45;text-align:left;max-width:100%;overflow-wrap:anywhere;color:var(--muted,#6a6a6a)}
.store-legal-tabs [role=tab]:hover{color:var(--ink,#242424)}
.store-legal-tabs [role=tab][aria-selected=true]{border-bottom-color:var(--ink,#242424);color:var(--ink,#242424)}
.store-legal-tabs [role=tab]:focus-visible,.store-legal-panel:focus-visible{outline:2px solid var(--ink,#242424);outline-offset:5px}
.store-legal-panels{max-width:900px;min-width:0}
.store-legal-panel[hidden]{display:none}
.store-legal-panel h2{font:inherit;font-size:clamp(24px,2.5vw,32px);font-weight:400;letter-spacing:-.02em;line-height:1.3;margin:0 0 28px;overflow-wrap:anywhere}
.store-legal-copy{font-size:15px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;tab-size:4}
.store-legal-empty{max-width:720px;padding:28px 0;border-top:1px solid var(--line,#dadada);font-size:15px;line-height:1.8;color:var(--muted,#6a6a6a)}
.store-legal-editor fieldset{min-width:0;border:1px solid #deded8;border-radius:8px;padding:18px;margin:24px 0}
.store-legal-editor legend{padding:0 8px;font-weight:600;overflow-wrap:anywhere;max-width:100%}
.store-legal-editor textarea{resize:vertical;min-height:220px;line-height:1.65}
@media(max-width:760px){.store-legal{padding-top:24px;padding-bottom:64px}.store-legal-tabs{gap:0 22px;margin-bottom:32px}.store-legal-tabs [role=tab]{font-size:12px;min-height:52px}.store-legal-copy{font-size:14px}.store-legal-panel h2{margin-bottom:22px}}
/* One existing footer navigation row, including the added link, on narrow phones. */
@media(max-width:540px){.footer .footer-links{gap:12px;min-width:0;max-width:100%;flex-wrap:nowrap;overflow-x:auto}.footer .footer-links a{font-size:11px;white-space:nowrap;gap:6px}}

/* Legal editor styles remain scoped to the existing legal content. */
.store-legal-rich{min-height:220px;max-height:65vh;overflow:auto;resize:vertical;border:1px solid #bbb;border-radius:5px;padding:12px;background:#fff;color:#222;font:inherit;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;tab-size:4}
.store-legal-rich:focus{outline:2px solid #51483d;outline-offset:2px}
.store-legal-rich[aria-invalid=true]{border-color:#ad3227}
.store-legal-rich[contenteditable=false]{background:#f4f4f2}
.store-legal-rich strong,.store-legal-copy strong{font-weight:700}
.store-legal-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:8px 0;font-size:12px}
.store-legal-toolbar button{flex:none}
.store-legal-rich + [data-legal-rich-error]:empty{display:none}
/* r93: match the existing Fabrics heading typography, not the About heading. */
.store-page.store-legal{width:auto;max-width:none;margin:0 var(--store-content-gutter,clamp(22px,4vw,68px));padding:36px 0 100px}
.store-legal .store-page-heading{border:0;padding:0;margin:0 0 48px}
.store-legal .store-page-heading .eyebrow{margin:0 0 16px}
.store-legal .store-page-heading h1{font-family:inherit;font-size:clamp(32px,3.1vw,44px);font-weight:400;letter-spacing:-.035em;line-height:1.16;margin:0;overflow-wrap:anywhere}
@media(max-width:760px){.store-page.store-legal{padding-top:24px;padding-bottom:64px}.store-legal .store-page-heading{margin-bottom:32px}}

@media(max-width:760px){.store-legal .store-page-heading h1{font-size:32px;line-height:1.15}}
