html { scrollbar-gutter: stable; }
[hidden] { display: none !important; }
header .menu-item { position: relative; white-space: nowrap; }
header .menu-item::before { content: ''; position: absolute; right: 0; bottom: 0; width: 0; height: 2px; background: #4b5563; transition: width .3s ease; }
.dark header .menu-item::before { background: #ccc; }
header .menu-item:hover::before, header .menu-item.is-active::before { left: 0; width: 100%; }
header.is-active { background: color-mix(in srgb, var(--color-base-100) 90%, transparent); backdrop-filter: saturate(180%) blur(10px); box-shadow: 0 1px 5px #0001; }
.mw-home header { background: rgb(255 255 255 / .3); backdrop-filter: blur(10px); }
.dark .mw-home header { background: rgb(0 0 0 / .3); }
.mw-dark-image { display: none; }
.dark .mw-light-image { display: none; }
.dark .mw-dark-image { display: block; }
.mw-header-actions { gap: 1rem; }
.mw-theme-label select { font-size: .875rem; padding: .4rem 1.65rem .4rem .65rem; border: 1px solid color-mix(in srgb, currentColor 18%, transparent); border-radius: 999px; background-color: transparent; color: inherit; width: 6.2rem; }
.mw-cart-link { font-size: .875rem; white-space: nowrap; }
[data-cart-count] { display: inline-block; min-width: 1.1rem; text-align: center; }
.mw-mobile-toggle { font-size: 1.4rem; width: 2rem; }
.mw-marquee { overflow: hidden; mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent); }
.mw-marquee-track { display: flex; width: max-content; gap: 2rem; animation: mw-marquee 35s linear infinite; }
.mw-marquee:hover .mw-marquee-track, .mw-marquee:focus-within .mw-marquee-track { animation-play-state: paused; }
@keyframes mw-marquee { to { transform: translateX(-20%); } }
.mw-piece-body { width: 100%; }
.mw-piece-body.prose { white-space: normal; }
.mw-perspective { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 40; display: grid; place-items: center; height: 3rem; width: 3rem; border-radius: 50%; color: white; background: #111c; backdrop-filter: blur(8px); box-shadow: 0 2px 6px #0002; }
.mw-perspective span { height: 2.5rem; width: 2.5rem; }
.dark .mw-perspective { background: #fffe; color: #111; }
dialog { margin: auto; width: min(38rem, calc(100vw - 2rem)); max-height: 85vh; overflow-y: auto; padding: 2rem; border: 1px solid color-mix(in srgb, currentColor 18%, transparent); border-radius: 1rem; background: var(--color-base-100); color: var(--color-base-content); line-height: 1.65; }
dialog::backdrop { background: #0008; backdrop-filter: blur(3px); }
.mw-dialog-header { display: flex; justify-content: space-between; align-items: start; gap: 2rem; margin-bottom: 1rem; font-size: 1.25rem; font-weight: 600; }
.mw-dialog-header button { font-size: 1.5rem; line-height: 1; }
.mw-button { display: inline-flex; justify-content: center; align-items: center; border: 1px solid currentColor; border-radius: .5rem; padding: .65rem 1rem; font-weight: 600; background: var(--color-base-content); color: var(--color-base-100); cursor: pointer; }
.mw-button:disabled { opacity: .45; cursor: default; }
.mw-product { border: 1px solid color-mix(in srgb, currentColor 15%, transparent); border-radius: .75rem; overflow: hidden; }
.mw-product > img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.mw-product-copy { padding: 1.25rem; display: grid; gap: 1rem; }
.mw-product-copy h2 { font-size: 1.25rem; font-weight: 600; }
.mw-product-copy select, .mw-cart-row input { padding: .5rem; border: 1px solid color-mix(in srgb, currentColor 25%, transparent); border-radius: .4rem; color: inherit; background: var(--color-base-100); }
.mw-cart-row { display: grid; grid-template-columns: 1fr 4rem auto; align-items: center; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid color-mix(in srgb, currentColor 20%, transparent); }
.mw-cart-row p { font-size: .875rem; margin-top: .25rem; }
.mw-cart-row input { width: 100%; }
.mw-cart-row button { text-decoration: underline; font-size: .875rem; }
.mw-cart-total { margin: 1.5rem 0; font-size: 1.4rem; font-weight: 600; }
.mw-cart-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
#checkout-status, #shop-status { margin: 1rem 0; }
.mw-skip { position: fixed; left: 1rem; top: -6rem; z-index: 100; padding: 1rem; background: var(--color-base-100); }
.mw-skip:focus { top: 1rem; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
html[data-theme=forest] { --color-base-100: #0d1916; --color-base-200: #16251f; --color-base-300: #21352b; --color-base-content: #e5eddf; --color-primary: #a7c68d; --color-gray-900: #e5eddf; --color-gray-800: #16251f; --color-gray-700: #30463a; --color-gray-600: #647e69; --color-gray-400: #a1b39f; --color-gray-300: #bfceba; --color-primary-500: #a7c68d; }
html[data-theme=dusk] { --color-base-100: #241b2a; --color-base-200: #302435; --color-base-300: #47334d; --color-base-content: #f3e4ee; --color-primary: #e7a9bb; --color-gray-900: #f3e4ee; --color-gray-800: #302435; --color-gray-700: #59435c; --color-gray-600: #8a708c; --color-gray-400: #b89bb5; --color-gray-300: #ddc4d6; --color-primary-500: #e7a9bb; }
html:is([data-theme=forest], [data-theme=dusk]) .pc-card { background: var(--color-base-200); border-color: var(--color-base-300); }
html:is([data-theme=forest], [data-theme=dusk]) .pc-card__heading { color: var(--color-base-content); }
html:is([data-theme=forest], [data-theme=dusk]) .pc-card__content > p:not(.pc-card__heading) { color: var(--color-gray-400); }
html:is([data-theme=forest], [data-theme=dusk]) .pc-card__footer { color: var(--color-base-content); }
@media (max-width: 767px) { .mw-header-actions { gap: .5rem; } .mw-piece-image { margin-left: 0; margin-right: 0; } .mw-landing { height: calc(100svh - 64px); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .mw-marquee-track { animation: none; } .mw-marquee { overflow-x: auto; } .mw-marquee-track a[aria-hidden=true] { display: none; } }
