.atlas-analytics-consent[hidden]{display:none!important}
.atlas-analytics-consent{position:fixed;z-index:100050;inset:auto 16px max(16px,env(safe-area-inset-bottom));margin:auto;max-width:920px;padding:20px;background:#fff;border:1px solid #e1e5eb;border-radius:16px;box-shadow:0 8px 36px #10233a24;display:flex;align-items:center;gap:24px;color:#17202d;font-family:inherit;font-size:14px;line-height:1.5}
.atlas-analytics-consent strong{font-size:17px}.atlas-analytics-consent p{margin:6px 0}.atlas-analytics-consent a{text-decoration:underline;color:inherit}
.atlas-analytics-consent__actions{display:flex;gap:10px;flex-shrink:0}.atlas-analytics-consent button{min-height:44px;padding:10px 16px;border:1px solid #cdd4df;border-radius:10px;background:#fff;color:#17202d;font:inherit;cursor:pointer}.atlas-analytics-consent button:hover{background:#f7f8fa}.atlas-analytics-consent button:focus-visible,.atlas-analytics-preferences button:focus-visible{outline:2px solid #d90018;outline-offset:3px}
.atlas-analytics-preferences{text-align:center;padding:14px}.atlas-analytics-preferences button{border:0;background:transparent;color:#566273;text-decoration:underline;font:inherit;cursor:pointer}
.single-product .atlas-analytics-preferences{padding-bottom:90px}
.atlas-analytics-preview{position:fixed;inset:90px 12px auto auto;z-index:100040;background:#102438;color:white;padding:10px;border-radius:10px;max-width:340px;font:12px/1.5 monospace}.atlas-analytics-preview ol{max-height:220px;overflow:auto;padding-left:20px}.atlas-analytics-preview a{color:white}.atlas-analytics-preview summary{cursor:pointer}
@media(max-width:700px){.atlas-analytics-consent{inset:auto 10px max(10px,env(safe-area-inset-bottom));padding:16px;display:block}.atlas-analytics-consent__actions{margin-top:14px;display:grid;grid-template-columns:1fr 1fr}.atlas-analytics-consent button{padding:10px;font-size:13px}}

.atlas-analytics-consent{max-width:1000px;max-height:calc(100dvh - 32px);overflow:auto}
.atlas-analytics-consent__actions{flex-wrap:wrap;max-width:330px}
.atlas-privacy-options{display:flex;flex-wrap:wrap;gap:16px;margin-top:12px}
.atlas-privacy-options label{display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer}
.atlas-privacy-options input{width:18px;height:18px;accent-color:#d90018}
.atlas-analytics-preferences button{min-height:44px;padding:8px}
.atlas-analytics-consent [data-privacy-status]{font-size:13px;color:#596373}
@media(max-width:700px){.atlas-analytics-consent__actions{max-width:none}.atlas-privacy-options{gap:4px 16px}}


/* Compact privacy settings, preserving all existing choice handlers. */
.atlas-analytics-preferences,.single-product .atlas-analytics-preferences{padding:8px 16px 20px;margin:0;font-size:13px;line-height:1.4}
.single-product .atlas-analytics-preferences{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
.atlas-analytics-preferences button{font-size:13px;line-height:1.4;text-underline-offset:3px}
.atlas-analytics-consent{max-width:720px;gap:20px;padding:22px;border-radius:16px}
.atlas-analytics-consent__actions{display:grid;grid-template-columns:1fr 1fr;max-width:none;flex:0 0 260px}
.atlas-analytics-consent button[data-analytics-choice="custom"]{background:#d90018;color:#fff;border-color:#d90018}
.atlas-analytics-consent button[data-analytics-choice="custom"]:hover{background:#b90014}
.atlas-privacy-options{display:grid;gap:0;margin-top:12px}
.atlas-privacy-options label{padding:8px 0;border-top:1px solid #edf0f3;font-size:14px}
.atlas-analytics-consent [data-privacy-status]:empty{display:none}
@media(max-width:700px){
 .atlas-analytics-consent{inset:auto 12px max(12px,env(safe-area-inset-bottom));padding:16px;max-height:calc(100dvh - 40px);font-size:13px;line-height:1.45}
 .atlas-analytics-consent strong{font-size:18px}
 .atlas-analytics-consent__actions{gap:8px;margin-top:12px}
 .atlas-analytics-consent button{font-size:13px;padding:8px;min-height:44px}
}

/* Legal links are rendered together by the footer, before JavaScript runs. */
body .footer-legal,body .ar-footer__legal{display:flex!important;flex-direction:row!important;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:12px 24px;text-align:left!important}
body .atlas-footer-legal-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:12px 24px;min-width:0;font:inherit;color:inherit}
body .atlas-footer-legal-links>a,body .atlas-checkout-privacy-links>a{margin:0!important;padding:0!important;font:inherit!important;color:inherit;text-decoration:none}
body :is(.atlas-footer-legal-links,.footer-legal,.ar-footer__legal,.atlas-checkout-privacy-links) .atlas-analytics-preferences{display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:6px 12px;min-width:0;width:auto;margin:0!important;padding:0!important;font:inherit;color:inherit;text-align:left}
body :is(.atlas-footer-legal-links,.footer-legal,.ar-footer__legal,.atlas-checkout-privacy-links) .atlas-analytics-preferences button{display:inline-block;flex:0 1 auto;min-width:0;max-width:100%;width:auto;height:auto;min-height:0;margin:0!important;padding:0!important;border:0;border-radius:0;background:transparent;box-shadow:none;font:inherit!important;color:inherit!important;letter-spacing:inherit;text-transform:none;text-align:left;white-space:normal;text-decoration:none;cursor:pointer}
body .atlas-footer-legal-links>a:hover,body .atlas-analytics-preferences button:hover,body .atlas-checkout-privacy-links>a:hover{text-decoration:underline;text-underline-offset:3px}
body .atlas-analytics-preferences [data-privacy-result]{min-width:0;max-width:100%;width:auto;white-space:normal;overflow-wrap:anywhere;font:inherit;text-align:inherit}
body .atlas-analytics-preferences [data-privacy-result]:empty{display:none}
.atlas-checkout-privacy-links{flex-wrap:wrap;align-items:center;gap:12px 24px;padding:16px 20px;font-size:12px;line-height:1.5;color:#61718a}
@media(max-width:600px){
 body .footer-legal,body .ar-footer__legal{gap:12px;font-size:12px;line-height:1.5}
 body .footer-legal>span:first-child,body .ar-footer__legal>span:first-child{flex-basis:100%}
 body .atlas-footer-legal-links,body .atlas-checkout-privacy-links{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.85fr) minmax(0,1.2fr);align-items:start;gap:12px;width:100%}
 body .atlas-footer-legal-links>a,body .atlas-checkout-privacy-links>a{min-width:0;align-self:start;overflow-wrap:anywhere}
 body .atlas-footer-legal-links .atlas-analytics-preferences,body .atlas-checkout-privacy-links .atlas-analytics-preferences{align-self:start}
}
