/* Market82 17.5.2 – consistently styled catalogue, no emoji and no inherited broken columns. */
.m82-pro-home .m82-sad-welcome{min-height:310px;padding:43px 47px;background:linear-gradient(115deg,var(--surface) 58%,var(--surface-2));display:flex;flex-direction:column;justify-content:center;isolation:isolate}
.m82-pro-home .m82-sad-welcome h1{font-weight:800;font-size:clamp(37px,4.6vw,61px);line-height:1.07;max-width:700px}
.m82-pro-home .m82-sad-welcome p{max-width:600px;margin:15px 0 21px;line-height:1.7}
.m82-home-hero-decor{position:absolute;right:5%;top:12%;width:230px;height:230px;display:flex;align-items:center;justify-content:center;pointer-events:none;z-index:-1}
.m82-hero-orbit{position:absolute;border:1px solid color-mix(in srgb,var(--primary) 17%,transparent);border-radius:50%;inset:0}.m82-hero-orbit.orbit-two{inset:25px;border-color:color-mix(in srgb,var(--primary) 25%,transparent)}
.m82-hero-center{width:114px;height:114px;border-radius:30px;display:grid;place-items:center;background:linear-gradient(135deg,#fc5d70,#ef304e);color:white;font-size:55px;letter-spacing:-.07em;font-weight:850;box-shadow:0 18px 54px rgba(241,59,79,.2);transform:rotate(-9deg)}
/* The missing display:grid caused the broken vertical homepage. These explicit declarations win even without the original category stylesheet. */
.m82-home-category-modern .m82-home-category-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:1fr;gap:12px!important;align-items:stretch;margin:0;padding:0}
.m82-home-category-modern .m82-home-category-grid>a.m82-pro-category-card{box-sizing:border-box;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;position:relative;min-width:0;min-height:108px;height:100%;gap:15px!important;padding:19px!important;border:1px solid var(--line);border-radius:19px!important;background:var(--surface);color:var(--ink);text-decoration:none;box-shadow:0 2px 10px rgba(20,20,34,.015);transition:transform .18s,border-color .18s,box-shadow .18s}
.m82-home-category-modern .m82-home-category-grid>a.m82-pro-category-card:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--primary) 48%,var(--line));box-shadow:0 10px 26px rgba(22,22,38,.08)}
.m82-home-category-modern .m82-home-category-icon{width:60px!important;height:60px!important;flex:0 0 60px;display:grid;place-items:center;background:var(--surface-2);border-radius:17px!important;color:var(--primary)}
.m82-category-svg{display:block;width:28px;height:28px;flex:none;color:var(--primary)}
.m82-home-category-copy{display:flex;flex-direction:column;justify-content:center;gap:7px;min-width:0;max-width:100%;flex:1}
.m82-home-category-modern .m82-home-category-title{font-size:14px!important;line-height:1.35!important;font-weight:800!important;overflow-wrap:anywhere}
.m82-home-category-count{font-size:11px;color:var(--muted);line-height:1.3}
.m82-home-category-modern .m82-home-category-go{position:static!important;align-self:center;color:var(--primary);font-size:20px!important;margin-left:auto}
.m82-pro-home .m82-home-categories{margin-top:31px}
.m82-pro-home .m82-sad-section-title{margin-bottom:18px}
/* Catalogue directory: consistent rectangular tiles and restrained line icons. */
.m82-category-page .m82-category-directory{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;align-items:stretch}
.m82-category-page .m82-category-tile{box-sizing:border-box;display:flex;min-width:0;min-height:165px;padding:20px;gap:15px;border-radius:19px}
.m82-category-page .m82-category-tile-icon{display:grid;place-items:center;background:var(--surface-2);width:58px;height:58px;flex:0 0 58px;border-radius:17px;color:var(--primary)}
.m82-category-page .m82-category-tile-icon .icon,.m82-category-hero-art .icon{width:29px;height:29px;color:var(--primary)}
.m82-category-page .m82-category-tile-body{width:100%}.m82-category-page .m82-category-tile-body strong{font-size:14px;line-height:1.38}
.m82-category-page .m82-category-hero{min-height:170px;background:linear-gradient(120deg,var(--surface) 50%,var(--surface-2));border-radius:22px}
.m82-category-hero-art{font-size:0;transform:none;filter:none;width:105px;height:105px;border-radius:26px;background:color-mix(in srgb,var(--primary) 8%,var(--surface));display:grid;place-items:center}
.m82-category-hero-art .icon{width:48px;height:48px}
/* Subcategories of a department form their own responsive grid, not a nested left sidebar. */
.m82-catalog-modern .m82-catalog-subgrid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.m82-catalog-modern .m82-category-small{min-width:0;min-height:70px;gap:10px;padding:12px;border-radius:15px}
.m82-catalog-modern .m82-category-small-icon{height:39px;width:39px;flex:0 0 39px;background:var(--surface-2);border-radius:12px}
.m82-catalog-modern .m82-category-small-icon .m82-category-svg{width:21px;height:21px}
.m82-catalog-modern .m82-catalog-subtitle{justify-content:space-between;flex-wrap:wrap}
/* Clean desktop mega-menu, selected department on right. */
.m82-panel-symbol{width:33px;min-width:33px;height:33px;display:grid;place-items:center;flex:0 0 33px;border-radius:10px;background:var(--surface);color:var(--primary)}
.m82-panel-symbol .m82-category-svg,.m82-panel-symbol .icon{width:18px;height:18px}
.m82-panel-root{gap:12px;min-height:53px;padding:9px 11px;font-size:12px}
.m82-panel-roots{padding:13px}
.m82-panel-root:hover .m82-panel-symbol,.m82-panel-root.is-selected .m82-panel-symbol{background:var(--primary-soft)}
.m82-panel-welcome-icon{width:76px;height:76px;display:grid;place-items:center;border-radius:23px;background:var(--surface-2);color:var(--primary)}
.m82-panel-welcome-icon .icon{width:33px;height:33px}
.m82-panel-children-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.m82-panel-children-grid a{min-width:0;overflow-wrap:anywhere;padding:13px;gap:9px}
.m82-panel-children-grid a>span{display:grid;place-items:center;width:33px;flex:0 0 33px;height:33px;border-radius:10px;background:var(--surface);font-size:0}
.m82-panel-children-grid a>span .m82-category-svg{width:19px;height:19px}
.m82-category-overlay .m82-panel-top>div{min-width:0}
.m82-category-overlay .m82-panel-group{min-width:0}
@media(max-width:1150px){.m82-home-category-modern .m82-home-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.m82-category-page .m82-category-directory{grid-template-columns:repeat(3,minmax(0,1fr))}.m82-catalog-modern .m82-catalog-subgrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.m82-home-hero-decor{opacity:.27;right:-30px;top:-40px;transform:scale(.72)}.m82-pro-home .m82-sad-welcome{min-height:0;padding:32px 26px}.m82-category-page .m82-category-directory{grid-template-columns:repeat(2,minmax(0,1fr))}.m82-catalog-modern .m82-catalog-subgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.m82-home-category-modern .m82-home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}.m82-home-category-modern .m82-home-category-grid>a.m82-pro-category-card{flex-direction:column!important;align-items:flex-start!important;justify-content:space-between!important;min-height:142px;padding:13px!important;gap:9px!important;border-radius:16px!important}.m82-home-category-modern .m82-home-category-icon{height:43px!important;width:43px!important;flex:0 0 43px;border-radius:13px!important}.m82-home-category-modern .m82-home-category-icon .m82-category-svg{width:22px;height:22px}.m82-home-category-copy{gap:4px;justify-content:flex-end}.m82-home-category-modern .m82-home-category-title{font-size:12px!important}.m82-home-category-count{font-size:10px}.m82-home-category-modern .m82-home-category-go{position:absolute!important;right:13px;top:18px;align-self:auto;font-size:17px!important}.m82-pro-home .m82-sad-welcome h1{font-size:clamp(31px,7vw,41px)}.m82-pro-home .m82-sad-welcome p{font-size:12px}.m82-pro-home .m82-sad-section-title h2{font-size:21px}.m82-category-page .m82-category-tile{min-height:148px;padding:14px}.m82-category-page .m82-category-tile-icon{width:45px;height:45px;flex-basis:45px;border-radius:13px}.m82-category-page .m82-category-tile-icon .m82-category-svg{width:22px;height:22px}.m82-category-page .m82-category-tile-body strong{font-size:12px}.m82-category-overlay .m82-panel-roots{padding:10px 15px}.m82-category-overlay .m82-panel-subcategory{overflow:auto}.m82-category-overlay .m82-panel-root{min-height:51px}.m82-category-overlay .m82-panel-children-grid{grid-template-columns:1fr}}
@media(max-width:380px){.m82-home-category-modern .m82-home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.m82-home-category-modern .m82-home-category-grid>a.m82-pro-category-card{min-height:139px;padding:11px!important}.m82-home-category-modern .m82-home-category-title{font-size:11px!important}.m82-home-category-modern .m82-home-category-icon{width:39px!important;height:39px!important;flex-basis:39px}.m82-home-category-count{font-size:9px}.m82-category-page .m82-category-directory{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.m82-pro-category-card,.m82-category-tile,.m82-category-small{transition:none!important}}

@media(max-width:720px){.m82-home-hero-decor{display:none}.m82-pro-home .m82-sad-section-title{align-items:flex-start;flex-wrap:wrap;gap:9px}.m82-pro-home .m82-sad-section-title>a{margin-left:auto;font-size:11px}.m82-pro-home .m82-sad-section-title h2{font-size:20px}}
