.ht-md{--md-ink:#242118;--md-red:#a92832;--md-cream:#fff7e4;max-width:1480px;margin-inline:auto;padding:clamp(12px,3vw,40px);color:var(--md-ink)}
.ht-md :is(h1,h2){color:inherit;margin:0}
.ht-md a:focus-visible{outline:3px solid #11658a;outline-offset:3px}
.ht-md__hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(20px,4vw,60px);align-items:center;padding:clamp(20px,5vw,70px);border-radius:24px;background:var(--md-cream)}
.ht-md__copy h1{display:inline-block;padding:.36em .68em;border-radius:.55em;background:var(--md-red);color:#fff;font-size:clamp(20px,2.7vw,35px);font-weight:800;letter-spacing:-.025em}
.ht-md__copy h1 span{color:#ffde83}
.ht-md__headline{margin:.35em 0 .22em;font-size:clamp(42px,6.1vw,89px);letter-spacing:-.07em;line-height:.96;font-weight:850}
.ht-md__copy p:not(.ht-md__headline){max-width:39ch;margin:20px 0;font-size:clamp(15px,1.5vw,19px);line-height:1.5}
.ht-md__actions{display:flex;flex-wrap:wrap;gap:10px}
.ht-md__button{display:inline-flex;align-items:center;min-height:44px;border:2px solid var(--md-red);border-radius:9px;padding:8px 15px;background:var(--md-red);color:#fff;font-weight:700}
.ht-md__button--light{background:transparent;color:var(--md-red)}
.ht-md__collage{display:grid;grid-template-columns:1.35fr 1fr;grid-template-rows:1fr 1fr;gap:10px;min-width:0}
.ht-md__collage a{display:flex;align-items:center;justify-content:center;min-width:0;padding:8%;border-radius:18px;background:#e9f4ed}
.ht-md__collage a:first-child{grid-row:span 2;background:#ffe1a1}
.ht-md__collage a:last-child{background:#fce4de}
.ht-md__collage img{display:block;width:100%;height:auto;border-radius:11px}
.ht-md__directory,.ht-md__shelf{margin-top:clamp(26px,5vw,63px)}
.ht-md__directory h2,.ht-md__shelf h2,.ht-md__all{font-size:clamp(24px,3vw,38px);letter-spacing:-.035em;line-height:1.12}
.ht-md__tiles{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;margin-top:18px}
.ht-md__tile{display:flex;flex-direction:column;justify-content:space-between;padding:10px;border-radius:14px;background:#fcf0d6;font-weight:750;line-height:1.2}
.ht-md__tile:nth-child(3n+2){background:#e8f3ec}
.ht-md__tile:nth-child(3n){background:#f9e9e1}
.ht-md__tile img{width:100%;height:auto;aspect-ratio:1.4;object-fit:contain;background:#fff;border-radius:8px}
.ht-md__tile>span{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:44px;padding:4px 2px}
.ht-md__shelf-heading{display:flex;gap:4px 24px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:12px}
.ht-md__shelf-heading a{display:flex;align-items:center;gap:.5em;min-height:44px;color:var(--md-red);font-weight:700;text-decoration:underline;text-underline-offset:4px}
.ht-md__products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(8px,2vw,22px);padding:0;margin:0}
.ht-md__products>li{display:flex;flex-direction:column;min-width:0;list-style:none}
.ht-md__purchase{display:block;margin-top:auto;padding-top:8px}
.ht-md__purchase button,.ht-md a.ht-md__purchase{min-height:44px}
.ht-md a.ht-md__purchase{display:flex;align-items:center;justify-content:center;padding:8px}
.ht-md h2.ht-md__all{margin-top:clamp(26px,5vw,63px)}
#melissa-doug-categories,#melissa-doug-all{scroll-margin-top:150px}
@media(max-width:1000px){.ht-md__tiles{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:680px){.ht-md__hero{grid-template-columns:1fr;border-radius:18px}.ht-md__tiles,.ht-md__products{grid-template-columns:repeat(2,minmax(0,1fr))}.ht-md__collage{gap:7px}.ht-md__collage a{border-radius:13px}}
