.legal-page{padding:48px 20px 76px;background:#fafafa;min-height:55vh}
.legal-page-container{max-width:1080px;margin:0 auto}
.legal-panel{background:#fff;border:1px solid #e8e9eb;border-radius:18px;box-shadow:0 8px 34px rgba(25,27,30,.035);padding:28px 24px 36px}
.legal-panel .terms-document{max-width:900px;padding:0;margin:0 auto;background:transparent}
.legal-panel .document{max-width:900px;padding:0;margin:0 auto;background:transparent;font:13px/1.55 Arial,'Malgun Gothic',sans-serif;color:#191b1e}
.legal-panel .document *{box-sizing:border-box}
.legal-panel .document-title{margin:0 0 12px;font-size:15px;line-height:1.4}
.legal-panel .document-intro{margin:0 0 18px;font-size:13px;line-height:1.65;word-break:keep-all}
.legal-panel .clause{margin:0 0 15px}
.legal-panel .clause-title{margin:0 0 4px;font-size:13px;line-height:1.5}
.legal-panel .clause p:not(.clause-title){margin:0 0 4px;font-size:13px;line-height:1.55;word-break:keep-all}
.legal-panel .clause p:last-child{margin-bottom:0}
.legal-panel .document a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.legal-panel .document address{font-style:normal;line-height:1.55}
.legal-panel .data-table{width:100%;border-collapse:collapse;margin:7px 0 8px;font-size:12px;line-height:1.5}
.legal-panel .data-table th,.legal-panel .data-table td{padding:8px 10px;border:1px solid #e2e4e8;text-align:left;vertical-align:top;word-break:keep-all}
.legal-panel .data-table th{background:#f5f6f8;font-weight:700}
@media(max-width:640px){.legal-page{padding:20px 12px 42px}.legal-panel{border-radius:14px;padding:18px 14px 24px}.legal-panel .document-intro{line-height:1.6}.legal-panel .data-table{display:block;overflow-x:auto}.legal-panel .data-table th,.legal-panel .data-table td{min-width:105px}}

/* Legal pages and footer refinements */
body.storefront .footer76 .footer-bottom76{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:3px}
body.storefront .footer76 .footer-copyright76{display:block;font-size:12px;line-height:1.6;font-weight:400;text-align:left}
.legal-panel .terms-document .terms-title,.legal-panel .document-title{font-size:21px;line-height:1.4;margin:0 0 26px}
.legal-panel .document-intro{margin:0 0 30px;line-height:1.75}
.legal-panel .terms-document section,.legal-panel .clause{margin-bottom:28px}
.legal-panel .terms-document .section-title,.legal-panel .clause-title{margin-bottom:9px}
.legal-panel .terms-document section p:not(.section-title),.legal-panel .clause p:not(.clause-title){margin-bottom:7px;line-height:1.72}
.legal-panel .terms-document .numbered{margin-top:8px}
.legal-panel .terms-document .numbered li{margin-bottom:9px;line-height:1.72}
.legal-panel .terms-document .numbered .item-copy p{line-height:1.72}
.legal-panel .data-table{margin:11px 0 15px}
@media(max-width:640px){.legal-panel .terms-document .terms-title,.legal-panel .document-title{font-size:19px;margin-bottom:21px}.legal-panel .terms-document section,.legal-panel .clause{margin-bottom:24px}body.storefront .footer76 .footer-bottom76{gap:5px}}

/* Business information layout */
body.storefront .footer76 .footer-main76{display:block;padding-bottom:18px}
body.storefront .footer76 .footer-company76 dl.footer-info76{display:flex;flex-direction:column;align-items:flex-start;gap:5px;max-width:none;margin:0;font-size:14px;line-height:1.8}
body.storefront .footer76 .footer-info76 .footer-info-row76{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 10px;width:100%;margin:0;font-size:14px}
body.storefront .footer76 .footer-info-row76>div{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:0 5px;max-width:100%}
body.storefront .footer76 .footer-info-row76 dt,body.storefront .footer76 .footer-info-row76 dd{font-size:14px;font-weight:400;line-height:1.8;color:inherit}
body.storefront .footer76 .footer-info-row76 a{font-weight:400}
body.storefront .footer76 .footer-divider76{font-weight:400;opacity:.7}
body.storefront .footer76 .footer-bottom76{padding-top:12px;gap:0}
body.storefront .footer76 .footer-copyright76{margin-top:14px}
@media(max-width:760px){body.storefront .footer76 .footer-main76{padding-bottom:16px}body.storefront .footer76 .footer-info76 .footer-info-row76{gap:0 7px}body.storefront .footer76 .footer-bottom76{padding-right:0}body.storefront .footer76 .footer-copyright76{margin-top:14px}}

body.storefront .footer76 .footer-company76 dl.footer-info76,body.storefront .footer76 .footer-info76 .footer-info-row76,body.storefront .footer76 .footer-info-row76 dt,body.storefront .footer76 .footer-info-row76 dd,body.storefront .footer76 .footer-info-row76 a,body.storefront .footer76 .footer-divider76{font-size:12px;line-height:1.6}

body.storefront .footer76 .footer-company76 dl.footer-info76,body.storefront .footer76 .footer-info76 .footer-info-row76,body.storefront .footer76 .footer-info-row76 dt,body.storefront .footer76 .footer-info-row76 dd,body.storefront .footer76 .footer-info-row76 a,body.storefront .footer76 .footer-divider76,body.storefront .footer76 .footer-copyright76{font-size:13px}
