/* Editorial boutique: Mushei typeface and official palette throughout. */
body:has(.mg-store) { background: var(--mushei-ivoire); }
html:has(.mg-store) #header, html:has(.mg-store) #theme-switcher { display: none; }
.mg-page-shell { width: 100%; }
.mg-store { --ink: var(--mushei-noir); --muted: var(--mushei-tabac); margin: 0; background: var(--mushei-ivoire); color: var(--ink); font-family: inherit; border: 0; overflow: clip; }
.mg-store button, .mg-store input, .mg-store select { font: inherit; }
.mg-store a { color: inherit; text-decoration: none; }
.mg-store button { color: inherit; cursor: pointer; }
.mg-store button[hidden], .mg-store [hidden] { display: none !important; }
.mg-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mg-nav { display: flex; justify-content: center; align-items: center; padding: 32px 48px; }
.mg-nav > div { display: flex; align-items: center; gap: 24px; }
.mg-nav > div:last-child { justify-content: flex-end; }
.mg-nav a, .mg-nav button { transition: color 160ms ease-out; }
.mg-brand { display: flex; align-items: center; gap: 12px; letter-spacing: .28em; font-size: 13px; }
.mg-brand img { width: 25px; height: 22px; }
.mg-wishlist { display: block; margin-top: 20px; padding: 0; border: 0; background: transparent; text-transform: uppercase; font-size: 10px !important; }
.mg-wishlist.is-active { color: var(--mushei-taupe); text-decoration: underline; text-underline-offset: 5px; }
.mg-store h1 { text-align: center; font-size: clamp(32px,4.2vw,66px); font-weight: 400; line-height: 1.05; letter-spacing: -.05em; margin: 34px 0 66px; }
.mg-catalog { display: grid; grid-template-columns: 195px minmax(0,1fr); gap: 54px; padding: 0 100px 0 100px; }
.mg-sidebar { padding-top: 48px; font-size: 12px; }
.mg-sidebar fieldset { border: 0; margin: 0 0 34px; padding: 0; }
.mg-sidebar legend { text-transform: uppercase; font-size: 13px; margin-bottom: 18px; }
.mg-category { display: block; border: 0; background: transparent; font-size: 12px !important; line-height: 1.9; padding: 0; color: var(--muted) !important; }
.mg-category.is-active { color: var(--ink) !important; }
.mg-reset { border: 0; border-bottom: 1px solid var(--mushei-tabac); padding: 0 0 5px; background: transparent; font-size: 10px !important; color: var(--muted) !important; }
.mg-globe { position: relative; }
.mg-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 52px 42px; align-items: start; }
.mg-card { position: relative; min-width: 0; }
.mg-open-product { display: block; width: 100%; padding: 0; border: 0; background: transparent; text-align: center; }
.mg-photo, .mg-dialog-photo { display: block; width: 100%; aspect-ratio: 1; background-image: url('/assets/shop/mushei-hoods-atlas.png'); background-size: 600% 300%; background-repeat: no-repeat; background-color: var(--mushei-ivoire); }
.mg-open-product > .mg-photo { border: 6px solid var(--mushei-ivoire); box-sizing: border-box; }
.mg-caption { display: block; padding-top: 10px; font-size: 11px; line-height: 1.35; }
.mg-open-product small, .mg-selection-card small, .mg-feature small { display: block; font-size: 10px; color: var(--muted); margin-top: 5px; }
.mg-favorite { position: absolute; right: 12px; top: 10px; width: 30px; height: 30px; background: var(--mushei-ivoire); color: var(--mushei-noir) !important; border: 0; border-radius: 50%; font-size: 19px !important; opacity: 0; transition: opacity 160ms ease-out; }
.mg-favorite[aria-pressed="true"] { opacity: 1; color: var(--mushei-oxblood) !important; }
.mg-card:focus-within .mg-favorite { opacity: 1; }
.mg-feature { display: block; min-width: 0; width: 100%; height: 100%; border: 0; padding: 0; background: transparent; text-align: center; }
.mg-feature-a { grid-column: 1/span 2; grid-row: 2/span 2; }
.mg-feature-b { grid-column: 2/span 2; grid-row: 5/span 2; }
.mg-editorial-photo { display: block; width: 100%; height: calc(100% - 40px); min-height: 400px; background: var(--mushei-taupe); overflow: hidden; }
.mg-editorial-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.mg-feature > span:last-of-type { display: block; margin-top: 10px; font-size: 11px; }
.mg-ornament { display: grid; place-items: center; align-self: stretch; min-height: 200px; }
.mg-filigrane { display: block; width: 100%; height: auto; object-fit: contain; opacity: .38; mix-blend-mode: multiply; pointer-events: none; }
/* Each object occupies its own part of the available cell, rather than one small collage. */
.mg-ornament-a { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px) 0; min-height: clamp(300px, 30vw, 520px); padding: 12px 0; }
.mg-ornament-a .mg-filigrane { width: 65%; height: 65%; min-height: 0; overflow: hidden; }
.mg-filigrane-guitar { grid-column: 1 / -1; grid-row: 1; transform: rotate(-8deg); }
.mg-filigrane-radio { grid-column: 1 / 10; grid-row: 2; transform: rotate(3deg); }
.mg-filigrane-tv { grid-column: 6 / -1; grid-row: 3; transform: rotate(-5deg); }
.mg-ornament-b .mg-filigrane { width: 60%; transform: rotate(3deg); }
.mg-ornament-a { grid-column: 3; grid-row: 3; }
.mg-ornament-b { grid-column: 1; grid-row: 6; }
.mg-star { position: relative; display: block; width: 110px; height: 110px; font-size: 0; }
.mg-star::before { content: ""; position: absolute; inset: 0; background: currentColor; clip-path: polygon(50% 0,55% 44%,100% 50%,55% 56%,50% 100%,45% 56%,0 50%,45% 44%); }
.mg-star i { position: absolute; width: 55px; height: 65px; font-size: 0; right: -28px; bottom: -62px; background: currentColor; clip-path: polygon(50% 0,55% 44%,100% 50%,55% 56%,50% 100%,45% 56%,0 50%,45% 44%); }
.mg-ornament-b .mg-star i { right: auto; left: -28px; }
.mg-grid.is-filtered .mg-feature, .mg-grid.is-filtered .mg-ornament { display: none; }
/* Chargement d'une page ou d'un filtre (API) : la grille reste visible, atténuée. */
.mg-grid[aria-busy="true"] { opacity: .55; transition: opacity .2s ease; }
.mg-load-more:disabled { opacity: .5; cursor: progress; }
.mg-load-more { display: block; width: fit-content; margin: 90px auto 0; padding: 0 0 6px; border: 0; border-bottom: 1px solid var(--mushei-tabac); background: transparent; text-transform: uppercase; font-size: 10px !important; }
.mg-empty { padding: 70px 0; text-align: center; color: var(--muted); font-size: 13px; }
.mg-explore { display: grid; grid-template-columns: 1fr 1.15fr .75fr; align-items: center; gap: 38px; padding: 0 48px; margin-top: 170px; }
.mg-explore-left { width: 100%; aspect-ratio: .7; object-fit: cover; }
.mg-explore-copy { position: relative; padding-bottom: 165px; }
.mg-explore h2 { font-size: clamp(38px,5.1vw,80px); line-height: .96; letter-spacing: -.055em; font-weight: 400; white-space: nowrap; }
.mg-explore p { width: min(100%,330px); font-size: 12px; line-height: 1.5; margin-top: 30px; }
.mg-explore-right { align-self: end; margin-bottom: 0; }
.mg-explore-right .mg-photo { aspect-ratio: .8; background-size: 750% 300%; background-position: 100% 100% !important; }
.mg-discover { position: absolute; display: block; bottom: -50px; right: -80px; width: 190px; height: 190px; z-index: 1; transform: rotate(-9deg); transition: transform 360ms cubic-bezier(.34,1.56,.64,1); }
.mg-discover img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media(hover:hover) and (pointer:fine) { .mg-discover:hover { transform: rotate(2deg) scale(1.08); } }
.mg-discover:active { transform: rotate(-3deg) scale(.98); }
.mg-selection { margin: 230px 48px 0; }
.mg-selection h2 { text-align: center; font-weight: 400; font-size: clamp(28px,3.4vw,50px); letter-spacing: -.04em; margin-bottom: 52px; }
.mg-selection-wrap { display: grid; grid-template-columns: 30px minmax(0,1fr) 30px; align-items: center; gap: 28px; }
.mg-selection-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 105px)/4); gap: 35px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.mg-selection-track::-webkit-scrollbar { display: none; }
.mg-selection-card { display: block; min-width: 0; background: transparent; border: 0; padding: 0; text-align: center; scroll-snap-align: start; }
.mg-selection-card > span:last-of-type { display: block; margin-top: 10px; font-size: 11px; }
.mg-slide-prev, .mg-slide-next { background: transparent; border: 0; padding: 0; font-size: 25px !important; }
.mg-dialog { position: fixed; inset: 0; margin: auto; width: min(860px,calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--mushei-tabac); background: var(--mushei-ivoire); color: var(--ink); overflow: auto; }
.mg-dialog[open] { display: grid; grid-template-columns: 1.2fr 1fr; }
.mg-dialog::backdrop { background: #0a0a0ab8; }
.mg-dialog-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; background: var(--mushei-ivoire); border: 0; z-index: 1; font-size: 18px !important; }
.mg-dialog-info { align-self: center; padding: 35px; }
.mg-dialog-info p { font-size: 10px; line-height: 1.6; color: var(--muted); }
.mg-dialog-info > p:first-child { letter-spacing: .14em; }
.mg-dialog-info h2 { margin: 14px 0; font-size: 28px; letter-spacing: -.04em; line-height: 1.1; }
.mg-enquire { display: inline-block; background: var(--mushei-oxblood); color: var(--mushei-ivoire); padding: 16px 20px; margin-top: 25px; font-size: 12px; text-decoration: none; }
.mg-store button:active { transform: scale(.98); }
.mg-scroll-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: 0; }
.mg-store[data-distorting="true"] .mg-globe .mg-photo, .mg-store[data-distorting="true"] .mg-editorial-photo { opacity: 0; }
@media (hover:hover) and (pointer:fine) { .mg-nav a:hover, .mg-nav button:hover, .mg-sidebar button:hover, .mg-footer a:hover { color: var(--mushei-taupe); } .mg-card:hover .mg-favorite { opacity: 1; } .mg-open-product:hover .mg-caption { text-decoration: underline; text-underline-offset: 3px; }  }
@media (max-width:1200px) {
 .mg-catalog { padding: 0 56px; grid-template-columns: 150px minmax(0,1fr); gap: 35px; }
 .mg-grid { gap: 40px 26px; }
 .mg-nav { padding: 30px; }
 .mg-nav > div { gap: 15px; }
 .mg-explore { padding-left: 35px; padding-right: 35px; }
 .mg-editorial-photo { min-height: 330px; }
}
@media (max-width:900px) {
 .mg-store { margin: 0; }
 .mg-catalog { padding: 0 28px; grid-template-columns: 120px minmax(0,1fr); gap: 25px; }
 .mg-grid { gap: 35px 20px; }
 .mg-sidebar legend { font-size: 11px; }
 .mg-caption, .mg-selection-card > span:last-of-type { font-size: 10px; }
 .mg-nav { font-size: 8px; padding: 26px; }
 .mg-nav > div { gap: 10px; }
 .mg-brand { font-size: 11px; gap: 8px; }
 .mg-brand img { width: 20px; }
 .mg-store h1 { margin: 28px 0 55px; }
 .mg-editorial-photo { min-height: 280px; }
 .mg-ornament { min-height: 150px; }
 .mg-star { width: 80px; height: 80px; }
 .mg-star i { width: 40px; height: 50px; bottom: -45px; }
 .mg-explore { gap: 20px; padding: 0 26px; margin-top: 130px; }
 .mg-explore h2 { font-size: 5.5vw; }
 .mg-explore p { font-size: 10px; }
 .mg-discover { width: 140px; height: 140px; bottom: -20px; right: -55px; }
 .mg-selection { margin: 150px 26px 0; }
 .mg-selection-track { grid-auto-columns: calc((100% - 60px)/4); gap: 20px; }
 .mg-selection-wrap { gap: 12px; grid-template-columns: 20px 1fr 20px; }
}
@media (max-width:650px) {
 .mg-store { margin: 0; }
 .mg-nav { padding: 22px 18px; grid-template-columns: 1fr auto; }
 .mg-nav > div:first-child { display: none; }
 .mg-nav .mg-brand { grid-column: 1; grid-row: 1; justify-self: start; }
 .mg-nav > div:last-child { grid-column: 2; grid-row: 1; }
 .mg-store h1 { margin: 30px 0 38px; font-size: 34px; }
 .mg-catalog { display: block; padding: 0 18px; }
 .mg-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 0 0 30px; }
 .mg-sidebar fieldset { margin: 0; }
 .mg-sidebar fieldset:first-child { grid-column: 1/-1; }
 .mg-sidebar fieldset:first-child legend { margin-bottom: 10px; }
 .mg-category { display: inline-block; margin-right: 20px; font-size: 11px !important; }
 .mg-sidebar legend { margin-bottom: 12px; font-size: 10px; }
 .mg-reset { justify-self: start; align-self: end; grid-column: 2; margin-top: -15px; font-size: 9px !important; }
 .mg-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 14px; }
 .mg-open-product > .mg-photo { border-width: 3px; }
 .mg-feature-a { grid-column: 1/-1; grid-row: 3/span 2; }
 .mg-feature-b { grid-column: 1/-1; grid-row: 7/span 2; }
 .mg-feature { height: auto; }
 .mg-editorial-photo { min-height: 0; height: auto; aspect-ratio: .88; }
 .mg-ornament { display: none; }
 .mg-feature > span:last-of-type { font-size: 10px; }
 .mg-favorite { opacity: 1; right: 7px; top: 7px; width: 25px; height: 25px; font-size: 16px !important; }
 .mg-load-more { margin-top: 50px; }
 .mg-explore { grid-template-columns: 1fr 1fr; gap: 22px 18px; padding: 0 18px; margin-top: 100px; }
 .mg-explore-left { grid-column: 1; grid-row: 2; }
 .mg-explore-copy { display: contents; }
 .mg-explore h2 { grid-column: 1/-1; grid-row: 1; font-size: 12vw; }
 .mg-explore p { grid-column: 2; grid-row: 2; align-self: start; margin: 0; font-size: 10px; }
 .mg-explore-right { grid-column: 2; grid-row: 3; margin-top: -25px; }
 .mg-discover { position: static; grid-column: 1; grid-row: 3; width: 120px; height: 120px; justify-self: center; align-self: center; font-size: 9px; }
 .mg-selection { margin: 100px 18px 0; }
 .mg-selection h2 { font-size: 27px; margin-bottom: 30px; }
 .mg-selection-track { grid-auto-columns: calc((100% - 14px)/2); gap: 14px; }
 .mg-selection-wrap { grid-template-columns: 16px 1fr 16px; gap: 8px; }
 .mg-slide-prev, .mg-slide-next { font-size: 18px !important; }
 .mg-dialog[open] { grid-template-columns: 1fr; }
 .mg-dialog-photo { max-width: 350px; justify-self: center; }
 .mg-dialog-info { padding: 22px; }
}
@media (prefers-reduced-motion:reduce) { .mg-store * { scroll-behavior: auto !important; } .mg-favorite, .mg-nav a, .mg-nav button { transition: none; } .mg-scroll-canvas { display: none; } }

.mg-store .mg-selection { padding-bottom: 120px; }
@media(max-width:650px) { .mg-store .mg-nav { display:flex; justify-content:center; } .mg-store .mg-selection { padding-bottom:70px; } .mg-sidebar > .mg-wishlist { margin-top: 0; justify-self:start; align-self:end; } }
/* The imported loader belongs to the old template; the home uses Mushei's intro. */
html:has(.mg-store) body > div.fixed.inset-0.z-50 { visibility: hidden !important; pointer-events: none !important; }

.mg-store h1#mg-title { padding-inline: 24px; }
.mg-street-title { display: grid; grid-template-columns: 1220fr 1220fr 1914fr; align-items: center; gap: clamp(8px,1.4vw,24px); width: min(92vw,1240px); margin: auto; color: var(--mushei-tabac); }
.mg-street-title .mushei-street-step:nth-child(n) { width: 100%; margin: 0; }
.mg-sidebar { padding-top: 0; font-size: 14px; }
.mg-sidebar legend { font-size: 15px; }
.mg-store .mg-category { font-size: 14px !important; line-height: 2; }
.mg-store .mg-reset, .mg-store .mg-wishlist { font-size: 12px !important; }
.mg-caption, .mg-feature > span:last-of-type, .mg-selection-card > span:last-of-type { font-size: 14px; line-height: 1.45; }
.mg-open-product small, .mg-feature small, .mg-selection-card small { font-size: 12px; }
.mg-explore p { font-size: 16px; line-height: 1.55; }
.mg-dialog-info p { font-size: 13px; }
.mg-enquire { font-size: 14px; }
.mg-store .mg-load-more { font-size: 13px !important; }
.mg-star { animation: mg-star-float 4.5s ease-in-out infinite; transform-origin: center; }
.mg-ornament-b .mg-star { animation-delay: -2.2s; }
.mg-star i { animation: mg-star-twinkle 3.2s ease-in-out infinite; }
@keyframes mg-star-float { 0%,100% { transform: rotate(-8deg) scale(.94); } 50% { transform: rotate(8deg) scale(1.07); } }
@keyframes mg-star-twinkle { 0%,100% { transform: rotate(12deg) scale(.85); opacity:.7; } 50% { transform: rotate(-12deg) scale(1.12); opacity:1; } }
@media(hover:hover) and (pointer:fine) {
 .mg-ornament:hover .mg-star { animation: mg-star-pop 650ms cubic-bezier(.22,1,.36,1) both; color: var(--mushei-oxblood); }
}
@keyframes mg-star-pop { 0% { transform: rotate(-8deg) scale(.94); } 45% { transform: rotate(105deg) scale(1.18); } 70% { transform: rotate(82deg) scale(.97); } 100% { transform: rotate(90deg) scale(1.08); } }
@media(max-width:650px) {
 .mg-street-title { width: min(92vw,1240px); }
 .mg-store .mg-caption, .mg-feature > span:last-of-type, .mg-selection-card > span:last-of-type { font-size: 12px; }
 .mg-open-product small, .mg-feature small, .mg-selection-card small { font-size: 11px; }
 .mg-sidebar legend { font-size: 12px; }
 .mg-store .mg-category { font-size: 13px !important; margin-right: 14px; }
 .mg-store .mg-reset, .mg-store .mg-wishlist { font-size: 11px !important; }
 .mg-explore p { font-size: 13px; }
}
@media(prefers-reduced-motion:reduce) {
 .mg-star, .mg-star i, .mg-ornament:hover .mg-star { animation: none !important; transform: none !important; opacity: 1; }
 .mg-discover { transition: none; }
 .mg-discover:hover { transform: rotate(-9deg); }
}
/* Product names lead each card; collection labels remain readable. */
.mg-store .mg-caption, .mg-store .mg-feature > span:last-of-type, .mg-store .mg-selection-card > span:last-of-type { font-size: 18px; line-height: 1.35; }
.mg-store .mg-sidebar legend { font-size: 16px; }
.mg-store .mg-category { font-size: 15px !important; }
/* Reuse the same drawn oval and rounded vector lettering as Voir la boutique. */
.mg-store .mg-load-more { display: grid; place-items: center; position: relative; width: 190px; min-height: 96px; aspect-ratio: 2/1; padding: 0; margin: 70px auto 0; border: 0; background: transparent; color: var(--mushei-tabac); text-decoration: none; }
.mg-more-type { width: 66%; background: currentColor; mask: url('/mushei-street-voir-plus.svg') center / contain no-repeat; }
.mg-more-type img { display: block; width: 100%; height: auto; opacity: 0; }
.mg-load-more:focus-visible .mushei-discover-circle path { stroke-dashoffset: 0; opacity: 1; }
/* A Palace-like product stage, contained in one screen with an explicit return. */
html:has(.mg-dialog[open]) { overflow: hidden; }
.mg-dialog { inset: 0; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 20px; border: 0; background: var(--mushei-ivoire); color: var(--mushei-noir); overflow: hidden; box-sizing: border-box; }
.mg-dialog[open] { display: flex; flex-direction: column; }
.mg-product-header { position: relative; display: flex; align-items: center; justify-content: center; flex: 0 0 60px; margin-bottom: 12px; }
.mg-product-header .mg-dialog-close { position: absolute; inset: auto auto auto 0; width: auto; height: auto; min-height: 40px; padding: 10px 16px; background: var(--mushei-ivoire); color: var(--mushei-tabac); font-size: 14px !important; border: 1px solid var(--mushei-taupe); cursor: pointer; }
.mg-product-layout { display: grid; grid-template-columns: minmax(0,59%) minmax(0,1fr); column-gap: clamp(35px,8vw,130px); min-height: 0; flex: 1; }
.mg-product-gallery { display: flex; align-items: flex-start; justify-content: flex-start; min-width: 0; min-height: 0; }
.mg-dialog .mg-dialog-photo { position: relative; width: min(100%,calc(100dvh - 125px)); max-width: none; aspect-ratio: 1; height: auto; flex: none; }
.mg-detail-image { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.mg-dialog .mg-dialog-info { align-self: start; padding: 24px 0 0; width: min(100%,400px); }
.mg-dialog-info .mg-product-kicker { font-size: 11px; letter-spacing: .12em; margin: 0 0 14px; color: var(--mushei-tabac); }
.mg-dialog-info h2 { font-size: clamp(25px,2.2vw,36px); line-height: 1.06; letter-spacing: -.045em; margin: 0 0 30px; }
.mg-product-size-field { border: 0; padding: 0; margin: 0 0 20px; }
.mg-product-size-field legend { font-size: 12px; color: var(--mushei-tabac); margin-bottom: 10px; }
.mg-product-sizes { display: flex; gap: 7px; flex-wrap: wrap; }
.mg-product-sizes button { background: transparent; color: var(--mushei-noir); border: 1px solid var(--mushei-taupe); min-width: 44px; min-height: 42px; padding: 8px; font-size: 13px; }
.mg-product-sizes button[aria-pressed="true"] { background: var(--mushei-oxblood); border-color: var(--mushei-oxblood); color: var(--mushei-ivoire); }
.mg-dialog .mg-enquire { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; background: var(--mushei-oxblood); color: var(--mushei-ivoire); padding: 12px 20px; margin: 0 0 24px; font-size: 14px; }
.mg-product-description { padding-left: 17px; list-style: disc; margin: 0 0 24px; font-size: 14px; line-height: 1.5; }
.mg-product-variants { display: flex; gap: 10px; margin-top: 12px; }
.mg-product-variant { width: 62px; height: 62px; padding: 2px; background: transparent; border: 1px solid transparent; }
.mg-product-variant[aria-pressed="true"] { border-color: var(--mushei-noir); }
.mg-variant-swatch { display: block; width: 100%; height: 100%; background-image: url('/assets/shop/mushei-hoods-atlas.png'); background-size: 600% 300%; }
.mg-variant-swatch:has(img) { background-image: none; }
.mg-variant-swatch img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mg-dialog-info .mg-dialog-size { font-size: 12px; margin-top: 15px; color: var(--mushei-tabac); }
@media(max-width:650px) {
 .mg-store .mg-caption, .mg-store .mg-feature > span:last-of-type, .mg-store .mg-selection-card > span:last-of-type { font-size: 14px; }
 .mg-store .mg-category { font-size: 13px !important; }
 .mg-store .mg-sidebar legend { font-size: 13px; }
 .mg-store .mg-load-more { width: 160px; margin-top: 45px; }
 .mg-dialog { padding: 12px 16px; }
 .mg-product-header { flex-basis: 44px; margin-bottom: 8px; justify-content: flex-end; }
 .mg-product-header .mg-brand { font-size: 11px; }
 .mg-product-header .mg-dialog-close { min-height: 34px; padding: 7px 10px; font-size: 12px !important; }
 .mg-product-layout { display: flex; flex-direction: column; gap: 12px; }
 .mg-product-gallery { flex: 0 0 auto; justify-content: center; }
 .mg-dialog .mg-dialog-photo { width: min(100%,34dvh); height: 34dvh; }
 .mg-dialog .mg-dialog-info { width: 100%; padding: 0; align-self: stretch; }
 .mg-dialog-info .mg-product-kicker { display: none; }
 .mg-dialog-info h2 { font-size: 24px; margin-bottom: 12px; }
 .mg-product-size-field { margin-bottom: 12px; }
 .mg-product-size-field legend { margin-bottom: 6px; font-size: 11px; }
 .mg-product-sizes button { min-width: 38px; min-height: 32px; padding: 5px 8px; font-size: 12px; }
 .mg-dialog .mg-enquire { min-height: 40px; margin-bottom: 10px; font-size: 12px; padding: 9px 14px; }
 .mg-product-description { margin-bottom: 10px; font-size: 12px; line-height: 1.35; }
 .mg-product-variants { margin-top: 0; gap: 8px; }
 .mg-product-variant { width: 42px; height: 42px; }
 .mg-dialog-info .mg-dialog-size { font-size: 11px; margin-top: 5px; }
}
@media(min-width:651px) and (max-height:700px) {
 .mg-dialog { padding-top: 8px; }
 .mg-product-header { flex-basis: 44px; margin-bottom: 6px; }
 .mg-dialog .mg-dialog-photo { width: min(100%,calc(100dvh - 75px)); }
 .mg-dialog .mg-dialog-info { padding-top: 5px; }
 .mg-dialog-info .mg-product-kicker { display:none; }
 .mg-dialog-info h2 { font-size: 24px; margin-bottom: 14px; }
 .mg-product-size-field { margin-bottom: 12px; }
 .mg-product-sizes button { min-height:32px; padding:5px; }
 .mg-dialog .mg-enquire, .mg-product-description { margin-bottom: 12px; }
 .mg-product-variant { width:44px; height:44px; }
}

@media(min-width:651px) and (max-width:1000px) { .mg-product-layout { grid-template-columns:minmax(0,55%) minmax(0,1fr); column-gap:32px; } }

@media(max-width:650px) {
 .mg-sidebar { display:block; }
 .mg-sidebar .mg-reset { display:inline-block; margin:18px 18px 0 0; }
 .mg-sidebar > .mg-wishlist { display:inline-block; margin:18px 0 0; }
}
