:root {
  color-scheme: light;
  --ink: #1e1932;
  --deep: #1e1932;
  --paper: #fffdf6;
  --lime: #fcf84a;
  --hero-bg: #fcf84a;
  --orange: #ff6138;
  --lavender: #d7cbff;
  --saffron: #f27b35;
  --leaf: #337a55;
  --muted: #777383;
  --line: #e7e2d9;
  --surface-muted: #f3efe7;
  --surface-photo: #eee9df;
  --surface-custom: #f7ecdf;
  --surface-input: #fff8e9;
  --surface-input-hover: #fff2df;
  --surface-preview: #fbf8f0;
  --line-strong: #dfdacf;
  --placeholder: #9c97a1;
  --danger: #a03525;
  --status: #7165be;
  --footer-line: #494455;
  --reload-bg: #fcf84a;
  --display: "Space Grotesk", sans-serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f7f3eb;
  --deep: #242230;
  --paper: #15141d;
  --hero-bg: #201f2b;
  --lavender: #272536;
  --leaf: #79c69b;
  --muted: #aaa6b5;
  --line: #3a3845;
  --surface-muted: #211f2a;
  --surface-photo: #24232e;
  --surface-custom: #1e1c26;
  --surface-input: #211f2a;
  --surface-input-hover: #2b2631;
  --surface-preview: #211f2a;
  --line-strong: #45424f;
  --placeholder: #aaa6b5;
  --danger: #ff8c7c;
  --status: #b7aaff;
  --footer-line: #45424f;
  --reload-bg: #15141d;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; transition: background-color .4s ease, color .4s ease; }
body.locked { overflow: hidden; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
[hidden] { display: none !important; }
.wrap { width: min(1240px, calc(100% - 72px)); margin-inline: auto; }
.kicker { margin: 0 0 13px; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.period { color: var(--orange); }

.topline { height: 32px; padding: 0 5%; background: var(--deep); color: white; display: flex; justify-content: space-between; align-items: center; font-size: 9px; font-weight: 800; letter-spacing: .13em; transition: background-color .4s ease; }
.reload-screen { position: fixed; inset: 0; z-index: 200; display: none; place-content: center; justify-items: center; gap: 12px; background: var(--reload-bg); color: var(--ink); }
body.is-reloading .reload-screen { display: grid; animation: reload-screen-exit .72s cubic-bezier(.76,0,.24,1) .34s both; }
.reload-brand { display: flex; align-items: center; gap: 10px; font: 700 clamp(58px, 13vw, 104px)/.9 var(--display); letter-spacing: -.1em; animation: reload-brand-pop .55s cubic-bezier(.2,.8,.2,1) both; }
.reload-brand span { display: inline-block; color: var(--orange); font-size: .48em; animation: reload-flower-spin .85s linear infinite; }
.reload-screen p { margin: 0; font-size: 9px; font-weight: 900; letter-spacing: .2em; }
@keyframes reload-screen-exit { to { opacity: 0; transform: translateY(-100%); visibility: hidden; } }
@keyframes reload-brand-pop { from { opacity: 0; transform: scale(.72) rotate(-5deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes reload-flower-spin { to { transform: rotate(360deg); } }
.site-header { position: relative; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); transition: background-color .4s ease, border-color .4s ease; }
.nav { height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.wordmark { position: relative; display: inline-flex; align-items: flex-start; width: max-content; font-family: var(--display); font-size: 29px; font-weight: 700; line-height: .8; letter-spacing: -.09em; }
.wordmark > span { position: absolute; top: -4px; right: -12px; font: 700 9px "DM Sans", sans-serif; }
.wordmark small { margin: 4px 0 0 8px; font: 800 8px "DM Sans", sans-serif; letter-spacing: .13em; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 12px; font-weight: 700; }
.nav-links a { position: relative; padding: 8px 0; }
.nav-links a::after { position: absolute; right: 100%; bottom: 1px; left: 0; height: 2px; content: ""; background: var(--orange); transition: right .2s ease; }
.nav-links a:hover::after { right: 0; }
.nav-tools { justify-self: end; display: flex; align-items: center; gap: 10px; }
.tool-button { display: flex; align-items: center; gap: 6px; padding: 9px 10px; border: 0; background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; }
.tool-icon { display: grid; min-width: 24px; height: 24px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-size: 8px; }
.theme-toggle { gap: 7px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; transition: background-color .4s ease, border-color .4s ease, transform .2s ease; }
.theme-toggle:hover { transform: translateY(-2px); }
.theme-toggle-icon { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: var(--lime); color: var(--deep); font-size: 14px; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
:root[data-theme="dark"] .theme-toggle-icon { transform: rotate(180deg); }
.bag-trigger b { display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; background: var(--lime); color: var(--deep); font-size: 9px; }
.menu-toggle { display: none; }

.hero { position: relative; display: grid; min-height: 610px; grid-template-columns: .92fr 1.08fr; overflow: hidden; background: var(--hero-bg); transition: background-color .4s ease; }
.hero-copy { z-index: 2; align-self: center; padding: 62px max(36px, calc((100vw - 1240px)/2)); padding-right: 0; }
.sticker { display: inline-flex; margin: 0 0 21px; padding: 8px 11px; transform: rotate(-3deg); background: var(--orange); color: white; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.hero h1 { margin: 0; font: 700 clamp(68px, 8.6vw, 126px)/.77 var(--display); letter-spacing: -.095em; }
.hero h1 > span:not(.period) { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero h1 .period { color: var(--ink); }
.hero-sub { max-width: 310px; margin: 27px 0 25px; font-size: 14px; line-height: 1.6; }
.page-enter .hero-copy > * { animation: home-copy-enter .55s cubic-bezier(.2,.8,.2,1) both; }
.page-enter .hero-copy > :nth-child(1) { animation-name: home-sticker-enter; animation-delay: .06s; }
.page-enter .hero-copy > :nth-child(2) { animation-delay: .14s; }
.page-enter .hero-copy > :nth-child(3) { animation-delay: .22s; }
.page-enter .hero-copy > :nth-child(4) { animation-delay: .3s; }
.page-enter .hero-art > img { animation: home-art-enter .9s cubic-bezier(.2,.8,.2,1) both; }
.page-enter .hero-stamp { animation: home-stamp-enter .65s cubic-bezier(.2,.8,.2,1) .25s both; }
@keyframes home-copy-enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes home-sticker-enter { from { opacity: 0; transform: translateY(16px) rotate(2deg); } to { opacity: 1; transform: translateY(0) rotate(-3deg); } }
@keyframes home-art-enter { from { opacity: .4; transform: scale(1.08); } to { opacity: 1; transform: scale(1); } }
@keyframes home-stamp-enter { from { opacity: 0; transform: rotate(20deg) scale(.7); } to { opacity: 1; transform: rotate(9deg) scale(1); } }
.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 32px; padding: 0 19px; border: 1px solid transparent; cursor: pointer; font-size: 11px; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--orange); }
.button-dark { background: var(--deep); color: white; }
.button-outline { border-color: var(--line); background: transparent; }
.hero-art { position: relative; min-height: 610px; overflow: hidden; background: var(--orange); }
.hero-art > img { position: absolute; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; filter: saturate(.8); }
.sunburst { position: absolute; z-index: 1; top: 50%; left: 50%; width: min(39vw, 510px); aspect-ratio: 1; transform: translate(-50%,-50%); border: 1px solid rgba(30,25,50,.55); border-radius: 50%; background: repeating-conic-gradient(from 2deg, rgba(252,248,74,.68) 0deg 5deg, transparent 5deg 10deg); mix-blend-mode: screen; }
.hero-stamp { position: absolute; z-index: 2; top: 10%; right: 10%; display: grid; width: 88px; height: 88px; place-items: center; transform: rotate(9deg); border: 1px solid var(--ink); border-radius: 50%; background: var(--hero-bg); text-align: center; font-size: 10px; font-weight: 900; line-height: 1.1; }
.hero-caption { position: absolute; z-index: 2; right: 20px; bottom: 18px; color: white; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.ticker { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; overflow: hidden; padding: 10px 0; background: var(--deep); color: white; white-space: nowrap; }
.ticker div { width: max-content; animation: ticker 30s linear infinite; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.ticker b { padding: 0 24px; color: var(--lime); }
@keyframes ticker { to { transform: translateX(-50%); } }

.shop-section { padding-top: 89px; padding-bottom: 106px; }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.section-top h2, .modal h2, .drawer h2 { margin: 0; font: 700 clamp(45px, 6vw, 77px)/.95 var(--display); letter-spacing: -.08em; }
.shop-controls { display: flex; gap: 9px; }
.search-box { display: flex; min-width: 205px; align-items: center; gap: 6px; padding: 0 11px; border: 1px solid var(--line); }
.search-box span { font-size: 20px; }
.search-box input { width: 100%; padding: 11px 0; border: 0; outline: 0; background: transparent; font-size: 11px; }
.shop-controls select { padding: 0 25px 0 10px; border: 1px solid var(--line); background: var(--paper); font-size: 10px; }
.filters { display: flex; gap: 7px; margin: 28px 0 22px; }
.filter { padding: 8px 15px; border: 1px solid var(--line); border-radius: 30px; background: transparent; cursor: pointer; font-size: 10px; font-weight: 700; transition: .2s; }
.filter:hover, .filter.active { border-color: var(--deep); background: var(--deep); color: white; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.loading-card, .empty-state { grid-column: 1 / -1; display: grid; min-height: 260px; place-content: center; gap: 10px; background: var(--surface-muted); text-align: center; font: 600 18px var(--display); }
.loading-card span { color: var(--orange); font-size: 30px; }
.product-card { min-width: 0; }
.product-photo { position: relative; aspect-ratio: .83; overflow: hidden; background: var(--surface-photo); transition: background-color .4s ease; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-photo img { transform: scale(1.045) rotate(-1deg); }
.product-tag { position: absolute; top: 12px; left: 12px; padding: 7px 9px; transform: rotate(-3deg); background: var(--lime); color: var(--deep); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.product-add { position: absolute; right: 11px; bottom: 11px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--deep); color: white; cursor: pointer; font: 400 22px var(--display); transition: .18s; }
.product-add:hover { transform: rotate(90deg); background: var(--orange); }
.product-details { display: flex; justify-content: space-between; gap: 10px; padding: 13px 1px; }
.product-details h3 { margin: 0 0 5px; font: 700 14px var(--display); }
.product-title-button { padding: 0; border: 0; background: transparent; cursor: pointer; text-align: left; }
.product-title-button:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.product-details p { margin: 0; color: var(--muted); font-size: 10px; }
.product-price { white-space: nowrap; font-size: 12px; font-weight: 800; }

.custom-lab { position: relative; overflow: hidden; padding: 100px 0; background: var(--surface-custom); transition: background-color .4s ease; }
.custom-lab::before, .custom-lab::after { position: absolute; right: 0; left: 0; height: 15px; content: ""; background: radial-gradient(circle at 8px 8px, var(--saffron) 0 3px, transparent 3.5px), radial-gradient(circle at 24px 8px, var(--leaf) 0 3px, transparent 3.5px); background-size: 32px 15px; }
.custom-lab::before { top: 0; }
.custom-lab::after { bottom: 0; transform: rotate(180deg); }
.custom-lab-inner { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(35px, 7vw, 100px); }
.custom-copy { position: relative; padding-top: 40px; }
.custom-copy .kicker { max-width: 290px; color: var(--leaf); }
.custom-copy h2 { margin: 0; font: 700 clamp(58px, 7vw, 92px)/.84 var(--display); letter-spacing: -.09em; }
.custom-copy h2 em { color: var(--saffron); font-style: normal; }
.custom-copy > p:not(.kicker) { max-width: 370px; font-size: 13px; line-height: 1.75; }
.rangoli-seal { position: absolute; top: -34px; right: 7%; display: grid; width: 122px; justify-items: center; gap: 5px; color: var(--saffron); }
.rangoli-seal svg { width: 92px; filter: drop-shadow(0 5px 5px rgba(30,25,50,.12)); }
.rangoli-spin { transform-box: fill-box; transform-origin: center; animation: rangoli-spin 32s linear infinite; }
.rangoli-seal > span { color: var(--leaf); font-size: 7px; font-weight: 900; letter-spacing: .16em; }
@keyframes rangoli-spin { to { transform: rotate(360deg); } }
.tricolor-rule { display: flex; width: 132px; height: 5px; margin: 20px 0; overflow: hidden; border-radius: 5px; }
.tricolor-rule i { flex: 1; }
.tricolor-rule i:first-child { background: var(--saffron); }
.tricolor-rule i:nth-child(2) { background: #fffdf6; }
.tricolor-rule i:last-child { background: var(--leaf); }
.custom-note { max-width: 350px; color: var(--muted); font-size: 10px !important; }
.design-card { position: relative; padding: 26px; border: 1px solid var(--line); background: var(--paper); box-shadow: 9px 9px 0 var(--lavender); transition: background-color .4s ease, border-color .4s ease; }
.design-card::before { position: absolute; top: -9px; right: 22px; width: 66px; height: 17px; transform: rotate(4deg); background: var(--saffron); content: ""; }
.design-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.mini-flower { color: var(--saffron); font-size: 23px; animation: flower-bob 3s ease-in-out infinite; }
@keyframes flower-bob { 50% { transform: rotate(18deg) scale(1.15); } }
.design-form { display: grid; gap: 15px; }
.design-dropzone { position: relative; display: grid; min-height: 160px; align-content: center; justify-items: center; gap: 7px; overflow: hidden; border: 1px dashed var(--line-strong); background: linear-gradient(135deg, var(--surface-input), var(--paper)); cursor: pointer; text-align: center; transition: background .2s, border-color .2s, transform .2s; }
.design-dropzone:hover, .design-dropzone.drag-over { transform: translateY(-2px); border-color: var(--saffron); background: var(--surface-input-hover); }
.design-dropzone input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.design-dropzone input:focus-visible + .upload-mark { outline: 2px solid var(--ink); outline-offset: 3px; }
.upload-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--lime); color: var(--deep); font: 600 21px var(--display); }
.design-dropzone strong { font: 700 14px var(--display); }
.design-dropzone > span:not(.upload-mark) { color: var(--muted); font-size: 10px; }
.design-dropzone small { color: var(--leaf); font-size: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.design-preview { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 13px; padding: 8px; border: 1px solid var(--line); background: var(--surface-preview); }
.design-preview:not([hidden]) { animation: preview-arrive .35s cubic-bezier(.2,.8,.2,1) both; }
@keyframes preview-arrive { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.design-preview img { width: 90px; height: 72px; object-fit: cover; background: white; }
.design-preview > div { display: grid; gap: 8px; min-width: 0; }
.design-preview strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.design-preview button { justify-self: start; padding: 0; border: 0; border-bottom: 1px solid; background: transparent; cursor: pointer; font-size: 9px; }
.design-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.design-fields label { display: grid; align-content: start; gap: 6px; font-size: 9px; font-weight: 800; }
.design-fields label:last-child { grid-column: 1 / -1; }
.design-fields input, .design-fields select, .design-fields textarea { width: 100%; min-width: 0; padding: 11px; border: 1px solid var(--line); border-radius: 0; outline-color: var(--saffron); background: transparent; font-size: 10px; }
.design-fields input, .design-fields select { height: 40px; }
.design-fields textarea { resize: vertical; }
.design-fields input::placeholder, .design-fields textarea::placeholder { color: var(--placeholder); }
.optional { color: var(--muted); font-weight: 400; }
.design-submit { width: 100%; justify-content: space-between; }
.design-message { min-height: 14px; margin: -5px 0 0; color: var(--leaf); font-size: 10px; font-weight: 700; }
.design-message.error { color: var(--danger); }
.design-fineprint { margin: -7px 0 0; color: var(--muted); font-size: 8px; line-height: 1.5; }
.admin-design { display: grid; grid-template-columns: 72px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 9px; }
.admin-design img { width: 72px; height: 72px; object-fit: cover; background: var(--surface-muted); }
.admin-design strong { display: block; margin-bottom: 4px; font-size: 10px; }
.admin-design p { margin: 4px 0; color: var(--muted); line-height: 1.5; }
.admin-design select { max-width: 140px; margin-top: 5px; padding: 5px; border: 1px solid var(--line); background: var(--paper); font-size: 9px; }

.manifesto { position: relative; min-height: 486px; padding: 73px 24px; overflow: hidden; background: var(--lavender); text-align: center; transition: background-color .4s ease; }
.manifesto-symbol { position: absolute; top: 50%; left: 50%; color: rgba(30,25,50,.07); transform: translate(-50%,-54%) rotate(-12deg); white-space: nowrap; font: 700 min(53vw, 600px)/.8 var(--display); letter-spacing: -.13em; pointer-events: none; }
.manifesto-symbol span { color: var(--orange); font-size: .43em; vertical-align: middle; }
.manifesto > *:not(.manifesto-symbol) { position: relative; }
.manifesto h2 { margin: 0; font: 700 clamp(62px, 9vw, 118px)/.83 var(--display); letter-spacing: -.095em; text-transform: uppercase; }
.manifesto h2 em { color: var(--orange); font-style: normal; }
.manifesto > p:not(.kicker) { max-width: 460px; margin: 22px auto 16px; font-size: 12px; line-height: 1.75; }
.text-link { padding: 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; cursor: pointer; font-size: 10px; font-weight: 800; }
.text-link span { padding-left: 12px; }
.manifesto-scribble { position: absolute !important; right: 14%; bottom: 76px; transform: rotate(-12deg); color: var(--orange); font: italic 700 28px/.8 var(--display); }

.newsletter { position: relative; display: grid; min-height: 332px; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding: 58px max(36px, calc((100vw - 1100px)/2)); overflow: hidden; background: var(--orange); }
.newsletter-copy .kicker { color: white; }
.newsletter-copy h2 { margin: 0; font: 700 clamp(46px, 6vw, 76px)/.88 var(--display); letter-spacing: -.08em; }
.newsletter-copy h2 em { color: var(--lime); font-style: normal; }
.newsletter-spark { position: absolute; top: -65px; left: 42%; color: rgba(255,255,255,.14); font-size: 260px; }
.newsletter-form { position: relative; }
.newsletter-form label { display: block; margin-bottom: 10px; font-size: 10px; font-weight: 700; }
.newsletter-form > div { display: flex; border-bottom: 1px solid var(--ink); }
.newsletter-form input { width: 100%; height: 48px; border: 0; outline: 0; background: transparent; font-size: 13px; }
.newsletter-form input::placeholder { color: rgba(30,25,50,.62); }
.newsletter-form button { padding: 0 0 0 12px; border: 0; background: transparent; cursor: pointer; white-space: nowrap; font-size: 10px; font-weight: 900; }
.newsletter-form > p { min-height: 15px; margin: 10px 0 0; font-size: 9px; }

.footer { padding: 40px 0 17px; background: var(--deep); color: white; transition: background-color .4s ease; }
.footer-main { display: grid; min-height: 140px; grid-template-columns: 1fr 1fr 1fr; }
.footer-mark { color: white; }
.footer-main > p { margin: 0; font: 600 15px/1.5 var(--display); }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 10px; font-weight: 700; }
.admin-setup-link { padding: 0; border: 0; background: transparent; color: var(--lime); cursor: pointer; font: inherit; }
.footer-base { display: flex; justify-content: space-between; padding-top: 15px; border-top: 1px solid var(--footer-line); color: #b7b3bf; font-size: 8px; font-weight: 800; letter-spacing: .11em; }

.overlay { position: fixed; z-index: 40; inset: 0; background: rgba(22,18,33,.52); backdrop-filter: blur(2px); }
.drawer { position: fixed; z-index: 41; top: 0; right: 0; display: flex; width: min(460px, 100%); height: 100dvh; flex-direction: column; padding: 27px; transform: translateX(105%); background: var(--paper); transition: transform .3s ease, background-color .4s ease; }
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.drawer h2 { font-size: 37px; }
.drawer h2 span { color: var(--muted); font: 500 14px "DM Sans", sans-serif; letter-spacing: 0; }
.close-button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; font-size: 24px; line-height: 1; }
.cart-items { flex: 1; overflow: auto; }
.cart-empty { display: grid; height: 100%; align-content: center; justify-items: center; gap: 13px; color: var(--muted); text-align: center; font-size: 12px; }
.cart-empty b { color: var(--orange); font: 700 52px var(--display); }
.cart-row { display: grid; grid-template-columns: 86px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-row img { width: 86px; height: 95px; object-fit: cover; background: var(--surface-photo); mix-blend-mode: multiply; }
.cart-row h3 { margin: 3px 0 5px; font: 700 13px var(--display); }
.cart-row p { margin: 0 0 12px; color: var(--muted); font-size: 10px; }
.quantity { display: inline-flex; align-items: center; gap: 11px; border: 1px solid var(--line); }
.quantity button { width: 26px; height: 25px; border: 0; background: transparent; cursor: pointer; }
.quantity span { font-size: 10px; }
.cart-row-price { font-size: 11px; font-weight: 800; }
.cart-bottom { padding-top: 15px; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; font-size: 12px; }
.cart-bottom > p { color: var(--muted); font-size: 10px; }
.checkout-button { width: 100%; justify-content: space-between; }

.modal { position: fixed; z-index: 42; top: 50%; left: 50%; width: min(480px, calc(100% - 28px)); max-height: min(88dvh, 850px); padding: 35px; overflow: auto; transform: translate(-50%,-48%); background: var(--paper); box-shadow: 8px 8px 0 var(--lime); transition: background-color .4s ease; }
.modal[hidden] { display: none; }
.modal-close { position: absolute; top: 14px; right: 14px; }
.modal h2 { max-width: 90%; font-size: clamp(39px, 8vw, 58px); }
.modal-note { max-width: 340px; margin: 13px 0 22px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.auth-tabs { display: flex; gap: 17px; margin: 20px 0; border-bottom: 1px solid var(--line); }
.auth-tabs button { padding: 0 0 9px; border: 0; border-bottom: 2px solid transparent; background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; }
.auth-tabs button.active { border-color: var(--orange); }
.stack-form { display: grid; gap: 13px; }
.stack-form label, .checkout-fields label { display: grid; gap: 6px; font-size: 10px; font-weight: 700; }
.stack-form input, .stack-form select, .checkout-fields input { min-width: 0; height: 42px; padding: 0 10px; border: 1px solid var(--line); outline-color: var(--orange); background: transparent; font-size: 12px; }
.stack-form .button { width: 100%; margin-top: 5px; }
.form-message { min-height: 14px; margin: 0; color: var(--danger); font-size: 10px; line-height: 1.4; }
.form-message[data-kind="success"] { color: var(--leaf); }
.setup-entry { margin-top: 19px; }
.password-reset-confirm { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.account-actions { display: flex; flex-wrap: wrap; gap: 9px; margin: 23px 0; }
.account-actions .text-link { align-self: center; }
.order-card { padding: 13px 0; border-top: 1px solid var(--line); font-size: 10px; }
.order-card p { margin: 5px 0 0; color: var(--muted); }
.order-status { float: right; color: var(--status); font-weight: 800; text-transform: uppercase; }
.wide-modal { width: min(790px, calc(100% - 28px)); }
.checkout-form { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; margin-top: 25px; }
.checkout-fields { display: grid; align-content: start; gap: 13px; }
.split-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checkout-summary { padding: 17px; background: var(--surface-muted); }
.checkout-summary h3, .admin-layout h3 { margin: 0 0 14px; font: 700 15px var(--display); }
.summary-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-strong); font-size: 10px; }
.checkout-summary .cart-total { margin: 15px 0; font-weight: 800; }
.checkout-summary .button { width: 100%; justify-content: space-between; }
.admin-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 25px; margin-top: 28px; }
.admin-product-form { align-content: start; padding: 17px; background: var(--surface-muted); }
.admin-orders { max-height: 510px; overflow: auto; }
.admin-orders-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0 14px; }
.admin-orders-heading h3 { margin: 0; }
.admin-export-link { flex: 0 0 auto; color: var(--orange); font-size: 10px; font-weight: 800; }
.admin-order { padding: 12px 0; border-top: 1px solid var(--line); font-size: 10px; }
.admin-order-head { display: flex; justify-content: space-between; gap: 10px; font-weight: 800; }
.admin-order select { margin-top: 8px; padding: 5px; border: 1px solid var(--line); background: var(--paper); font-size: 10px; }
.admin-order ul { padding-left: 15px; color: var(--muted); line-height: 1.6; }
.inventory-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 10px; }
.inventory-row button { border: 0; background: transparent; color: var(--danger); cursor: pointer; font-size: 9px; font-weight: 800; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; align-items: center; }
.product-detail img { width: 100%; max-height: 420px; aspect-ratio: .9; object-fit: cover; background: var(--surface-photo); mix-blend-mode: multiply; }
.product-detail-copy h2 { margin: 0; font: 700 clamp(38px, 6vw, 65px)/.95 var(--display); letter-spacing: -.08em; }
.product-detail-copy > p:not(.kicker) { color: var(--muted); font-size: 12px; line-height: 1.7; }
.product-detail-price { margin: 17px 0; font-weight: 800; }
.size-picker { display: grid; max-width: 180px; gap: 7px; margin: 17px 0; font-size: 10px; font-weight: 800; }
.size-picker select { height: 40px; padding: 0 10px; border: 1px solid var(--line); background: transparent; font-size: 11px; }
.product-detail-copy .button { width: 100%; justify-content: space-between; }
.toast { position: fixed; z-index: 60; bottom: 22px; left: 50%; max-width: calc(100% - 30px); padding: 12px 17px; transform: translate(-50%, 90px); background: var(--deep); color: white; font-size: 11px; transition: transform .25s ease; }
.toast.show { transform: translate(-50%, 0); }
.rangoli-cursor { position: fixed; z-index: 90; top: 0; left: 0; width: 10px; height: 10px; border: 2px solid var(--paper); border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 1px var(--ink); transform: translate3d(var(--cursor-x, -100px),var(--cursor-y, -100px),0) translate(-50%,-50%) scale(var(--cursor-scale,1)); opacity: 0; pointer-events: none; transition: opacity .15s, transform .14s ease, background-color .14s; will-change: transform; }
.rangoli-cursor::before { position: absolute; inset: -5px; border: 1px dashed var(--leaf); border-radius: 50%; content: ""; animation: cursor-ring-spin 8s linear infinite; }
.rangoli-cursor svg { display: none; }
.rangoli-cursor.is-visible { opacity: 1; }
.rangoli-cursor.is-hovered { --cursor-scale: 1.35; background-color: var(--leaf); }
.rangoli-cursor.is-pressed { --cursor-scale: .75; }
body.rangoli-cursor-enabled, body.rangoli-cursor-enabled *:not(input):not(textarea):not(select) { cursor: none !important; }
@keyframes cursor-ring-spin { to { transform: rotate(360deg); } }
@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .rangoli-cursor { display: none !important; }
  body.rangoli-cursor-enabled, body.rangoli-cursor-enabled * { cursor: auto !important; }
}

@media (max-width: 900px) {
  .wrap { width: min(100% - 40px, 1240px); }
  .nav-links { gap: 18px; }
  .hero { min-height: 540px; grid-template-columns: .98fr 1.02fr; }
  .hero-copy { padding-left: 40px; }
  .hero-art { min-height: 540px; }
  .hero h1 { font-size: clamp(66px, 10vw, 100px); }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 14px; }
  .product-photo { aspect-ratio: .97; }
  .custom-lab { padding: 76px 0; }
  .custom-lab-inner { grid-template-columns: 1fr; gap: 32px; }
  .custom-copy { padding-top: 42px; }
  .rangoli-seal { top: -20px; right: 5%; width: 100px; }
  .rangoli-seal svg { width: 72px; }
  .custom-copy h2 { font-size: clamp(60px, 12vw, 82px); }
}
@media (min-width: 841px) and (max-width: 960px) {
  .nav-links { gap: 18px; }
  .nav-tools { gap: 5px; }
  .tool-button { padding: 7px 6px; }
  .theme-toggle { gap: 5px; padding: 6px 8px; }
}
@media (max-width: 840px) {
  .nav { height: 70px; grid-template-columns: 40px 1fr auto; }
  .menu-toggle { display: flex; width: 36px; height: 36px; flex-direction: column; justify-content: center; gap: 6px; padding: 7px; border: 0; background: transparent; }
  .menu-toggle span { height: 2px; background: var(--ink); }
  .wordmark { grid-column: 2; justify-self: center; font-size: 26px; }
  .nav-links { position: absolute; top: 70px; right: 0; left: 0; display: none; flex-direction: column; align-items: flex-start; gap: 17px; padding: 22px max(25px, calc((100vw - 760px)/2)) 28px; background: var(--paper); box-shadow: 0 12px 20px #1e19321c; font: 700 23px var(--display); }
  .nav-links.open { display: flex; }
  .nav-tools { gap: 0; }
  .tool-button { padding: 7px 4px; }
  .tool-label { display: none; }
  .tool-icon { min-width: 27px; height: 27px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 30px); }
  .topline { height: 29px; padding: 0 12px; font-size: 8px; }
  .topline span:first-child { display: none; }
  .topline span:last-child { margin: auto; }
  .nav { height: 65px; grid-template-columns: 40px 1fr auto; }
  .menu-toggle { display: flex; width: 36px; height: 36px; flex-direction: column; justify-content: center; gap: 6px; padding: 7px; border: 0; background: transparent; }
  .menu-toggle span { height: 2px; background: var(--ink); }
  .wordmark { grid-column: 2; justify-self: center; font-size: 24px; }
  .wordmark small { font-size: 7px; }
  .nav-links { position: absolute; top: 65px; right: 0; left: 0; display: none; padding: 22px 25px 28px; background: var(--paper); box-shadow: 0 12px 20px #1e19321c; }
  .nav-links.open { display: flex; flex-direction: column; align-items: flex-start; gap: 17px; font: 700 23px var(--display); }
  .nav-tools { gap: 0; }
  .tool-button { padding: 7px 4px; }
  .tool-label { display: none; }
  .tool-icon { min-width: 27px; height: 27px; }
  .hero { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { padding: 39px 24px 35px; }
  .sticker { margin-bottom: 19px; }
  .hero h1 { font-size: clamp(77px, 19vw, 112px); }
  .hero-sub { max-width: 250px; margin: 20px 0; font-size: 12px; }
  .hero-art { min-height: 350px; }
  .sunburst { width: 74vw; }
  .hero-stamp { width: 67px; height: 67px; font-size: 8px; }
  .hero-caption { bottom: 35px; font-size: 8px; }
  .ticker { padding: 8px 0; }
  .ticker div { font-size: 8px; }
  .ticker b { padding: 0 13px; }
  .shop-section { padding-top: 62px; padding-bottom: 69px; }
  .section-top { display: block; }
  .section-top h2 { font-size: 50px; }
  .shop-controls { margin-top: 17px; }
  .search-box { min-width: 0; flex: 1; }
  .shop-controls select { max-width: 135px; }
  .filters { gap: 6px; margin: 20px 0 15px; }
  .filter { padding: 7px 11px; font-size: 9px; }
  .product-grid { gap: 20px 10px; }
  .product-photo { aspect-ratio: .78; }
  .product-tag { top: 8px; left: 8px; padding: 6px; font-size: 7px; }
  .product-add { right: 7px; bottom: 7px; width: 36px; height: 36px; }
  .product-details { gap: 4px; padding-top: 10px; }
  .product-details h3 { font-size: 12px; }
  .product-details p { font-size: 9px; }
  .product-price { font-size: 10px; }
  .custom-lab { padding: 66px 0; }
  .custom-lab-inner { gap: 26px; }
  .custom-copy > p:not(.kicker) { max-width: 310px; font-size: 12px; }
  .design-card { padding: 19px 15px; box-shadow: 6px 6px 0 var(--lavender); }
  .design-dropzone { min-height: 145px; }
  .design-fields { gap: 10px; }
  .manifesto { min-height: 410px; padding: 62px 20px; }
  .manifesto h2 { font-size: clamp(63px, 17vw, 92px); }
  .manifesto > p:not(.kicker) { max-width: 340px; font-size: 11px; }
  .manifesto-scribble { right: 7%; bottom: 35px; font-size: 20px; }
  .newsletter { grid-template-columns: 1fr; gap: 27px; padding: 48px 25px; }
  .newsletter-copy h2 { font-size: 61px; }
  .newsletter-spark { top: 20%; left: 55%; font-size: 190px; }
  .footer { padding-top: 30px; }
  .footer-main { min-height: 225px; grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .footer-main > p { justify-self: end; font-size: 12px; }
  .footer-links { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2,1fr); align-content: start; }
  .footer-base { gap: 10px; font-size: 7px; }
  .footer-base span:last-child { text-align: right; }
  .drawer { padding: 19px; }
  .modal { padding: 29px 21px 23px; }
  .modal h2 { font-size: 43px; }
  .checkout-form, .admin-layout { grid-template-columns: 1fr; gap: 20px; }
  .product-detail { grid-template-columns: 1fr; gap: 20px; }
  .product-detail img { max-height: 250px; aspect-ratio: 1.15; }
  .checkout-summary { order: -1; }
  .admin-orders { max-height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (max-width: 640px) {
  .rangoli-cursor { display: none !important; }
  body.rangoli-cursor-enabled, body.rangoli-cursor-enabled * { cursor: auto !important; }
}
.demo-banner {
  padding: 10px 18px;
  background: #15141d;
  color: #fff;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.demo-disabled-message {
  margin: 16px 0;
  padding: 14px 16px;
  border: 1px solid currentColor;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

.demo-auth-status {
  padding: 8px 18px;
  background: #e9e6d8;
  color: #15141d;
  text-align: center;
  font-size: 0.8rem;
}
