.md-mobile-nav {display:none}
.md-mobile-categories:not([open]) {display:none}
@media(max-width:782px) {
 body.md-has-mobile-nav {
  --md-mobile-nav-height:calc(54px + env(safe-area-inset-bottom,0px));
  padding-bottom:var(--md-mobile-nav-height);
 }
 body.md-has-mobile-buy-nav {padding-bottom:calc(var(--md-mobile-nav-height) + 70px)}
 .md-has-mobile-buy-nav .pd-mobile-buy {bottom:var(--md-mobile-nav-height);padding-block:7px}
 .md-mobile-nav {
  position:fixed;z-index:85;inset:auto 0 0;display:flex;align-items:stretch;
  min-height:var(--md-mobile-nav-height);padding:3px max(4px,env(safe-area-inset-right,0px)) calc(3px + env(safe-area-inset-bottom,0px)) max(4px,env(safe-area-inset-left,0px));
  background:#fff;border-top:1px solid #e6e3f1;box-shadow:0 -4px 18px #27277e0d;
 }
 .md-mobile-nav a {
  display:flex;flex:1 1 0;min-width:0;min-height:46px;flex-direction:column;align-items:center;justify-content:center;
  gap:2px;color:#4a4763;font-size:clamp(9px,2.6vw,11px);line-height:1.35;text-align:center;text-decoration:none;
 }
 .md-mobile-nav a > span:last-child {max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .md-mobile-nav a[aria-current=page] {color:var(--color-primary,#27277e);font-weight:750}
 .md-mobile-nav a:focus-visible,.md-mobile-categories :is(a,button):focus-visible {outline:2px solid var(--color-primary,#27277e);outline-offset:-2px}
 .md-mobile-nav-icon {display:grid;place-items:center;position:relative;width:36px;height:25px;border-radius:9px}
 .md-mobile-nav a[aria-current=page] .md-mobile-nav-icon {background:#eeecfb}
 .md-mobile-nav-icon img,.md-mobile-nav-icon svg {width:21px;height:21px;object-fit:contain}
 .md-mobile-nav-icon .md-cart-badge {position:absolute;inset:-3px -5px auto auto;min-width:16px;height:16px;font-size:9px}
 .md-mobile-categories {
  position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:75dvh;padding:0 14px env(safe-area-inset-bottom,0px);
  border:0;border-radius:16px 16px 0 0;background:#fff;color:#262446;overscroll-behavior:contain;
 }
 .md-mobile-categories::backdrop {background:#17152a80}
 body:has(.md-mobile-categories[open]) {overflow:hidden}
 .md-mobile-categories header {position:sticky;top:0;z-index:1;background:#fff;padding:10px 0}
 .md-category-heading {display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
 .md-mobile-categories input[type=search] {width:100%;min-height:42px;padding:6px 10px;border:1px solid #e1ddf0;border-radius:9px;background:#f8f7fc;font:inherit;font-size:16px}
 .md-mobile-categories h2 {font-size:1rem;margin:0;color:var(--color-primary,#27277e)}
 .md-mobile-categories button {width:40px;height:40px;border:0;border-radius:10px;background:#f0eef9;color:inherit;font-size:1.3rem;cursor:pointer}
 .md-mobile-categories ul {list-style:none;margin:0;padding:0}
 .md-mobile-categories li :is(a,summary) {display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:44px;padding:6px;border-top:1px solid #eeebf4;color:inherit;text-decoration:none;font-size:.85rem;overflow-wrap:anywhere}
 .md-mobile-categories summary {list-style:none;cursor:pointer;font-weight:750}
 .md-mobile-categories summary::-webkit-details-marker {display:none}
 .md-mobile-categories details[open] > summary {background:#f6f4fc}
 .md-category-chevron {display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:7px;background:#f0eef9;color:var(--color-primary,#27277e)}
 .md-category-chevron::before {content:"";width:9px;height:9px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
 .md-category-chevron-down::before {transform:rotate(-45deg)}
 .md-mobile-categories details[open] > summary .md-category-chevron-down::before {transform:rotate(135deg)}
 .md-mobile-categories .md-category-tree .md-category-tree {padding-inline-start:clamp(4px,2vw,12px);border-inline-start:1px solid #e8e4f4;margin-inline-start:6px}
 .md-mobile-categories details > a {color:var(--color-primary,#27277e);font-size:.77rem}
 .md-mobile-categories [data-category-results] small {display:block;color:#69647e;font-size:.71rem}
 .md-mobile-categories [data-category-browser] h3 {margin:10px 0 3px;color:#27277e;font-size:1rem}
 .md-category-help {margin:0 0 10px;color:#5b5670;font-size:.78rem;line-height:1.7}
 .md-mobile-categories .md-category-back {
  display:flex;align-items:center;gap:5px;width:auto;height:auto;min-height:42px;padding:4px 8px;
  font:inherit;font-size:.8rem;color:#27277e;
 }
 .md-category-back svg {width:17px;height:17px;transform:rotate(180deg)}
 .md-category-view-all {
  display:block;margin-bottom:10px;padding:10px;border-radius:9px;background:#27277e;
  color:#fff;text-decoration:none;text-align:center;font-size:.82rem;font-weight:750;
 }
 .md-mobile-categories .md-category-choices :is(a,button) {
  display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;height:auto;min-height:55px;
  margin-bottom:6px;padding:7px 11px;border:1px solid #eeebf4;border-radius:9px;background:#faf9fd;
  color:#262446;font:inherit;font-size:.88rem;font-weight:700;text-align:start;text-decoration:none;
 }
 .md-category-choices small {display:block;margin-top:2px;color:#5d5775;font-size:.73rem;font-weight:400}
 .md-category-choices :is(a,button)::after {
  content:"";width:8px;height:8px;flex:none;margin-inline-end:4px;
  border-left:2px solid #27277e;border-bottom:2px solid #27277e;transform:rotate(45deg);
 }
 .md-mobile-categories [hidden] {display:none}
}
