/* Additional legacy merchandise surfaces only. Shared product-theme owns header and safe backgrounds. */
body.hds-legacy-theme>main{max-width:1420px;margin:24px auto;padding:clamp(18px,3vw,38px);background:rgb(247 245 239 / .94);border:1px solid #ffffffc4;border-radius:18px;box-shadow:0 16px 45px #1733440d;box-sizing:border-box}
body.hds-legacy-theme>main h1,body.hds-legacy-theme>main h2,body.hds-legacy-theme>main h3{font-family:Georgia,"Times New Roman",serif;font-weight:500}
body.hds-legacy-theme .hds-legacy-search{max-width:870px;margin:18px auto 0}
body.hds-legacy-theme .hds-legacy-search form{display:flex;gap:8px;align-items:center}
body.hds-legacy-theme .hds-legacy-search input{flex:1;min-width:0;background:#f5f7f5;color:#193243;border:1px solid #d4ded9;border-radius:10px;padding:13px 16px;font:inherit}
body.hds-legacy-theme .hds-legacy-search button{min-height:44px;background:#176f70;color:white;border:0;border-radius:9px;padding:11px 18px;font:inherit;font-weight:650}
body.hds-legacy-theme .hds-legacy-search :is(input,button):focus-visible{outline:3px solid #623da5;outline-offset:3px}
.hds-legacy-fine-gate{grid-column:1/-1;background:#fff9e9;border:1px solid #cbb47b;border-radius:14px;padding:22px;margin:16px 0;color:#514529}
.hds-legacy-fine-gate h2{margin-top:0}.hds-legacy-fine-actions{display:flex;gap:13px;flex-wrap:wrap;align-items:center}
.hds-legacy-fine-gate button{min-height:44px;border:1px solid #8c7441;border-radius:8px;background:#fff;padding:10px 17px;color:#514529;font:inherit;cursor:pointer}
.hds-legacy-fine-gate button:disabled{opacity:.55;cursor:default}.hds-legacy-fine-gate a{color:#0b5254}
.hds-legacy-fine-gate :is(button,a):focus-visible{outline:3px solid #623da5;outline-offset:4px}
.hds-legacy-fine-slot{display:contents}body.hds-legacy-theme [hidden]{display:none!important}
@media(max-width:1480px){body.hds-legacy-theme>main{margin-inline:var(--hds-gutter)}}
@media(max-width:640px){body.hds-legacy-theme>main{padding:17px 13px;margin-top:14px}.hds-legacy-fine-gate{padding:17px}.hds-legacy-fine-actions{align-items:stretch;flex-direction:column}}
