:root {
    --ink: #f4f2eb;
    --muted: #a7a49c;
    --paper: #080808;
    --cream: #121212;
    --line: #2d2d2b;
    --lime: #d7ff45;
    --orange: #ff6633;
    --bone: #4b4742;
    --olive: #4f5a39;
    --steel: #59636d;
    --red: #c83b32;
    --radius: 2px;
    --shadow: 0 18px 50px rgba(23, 23, 23, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
main { min-height: 62vh; }
.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; }

.site-header { display: flex; justify-content: space-between; align-items: center; min-height: 78px; padding: 14px 5vw; border-bottom: 1px solid var(--line); background: rgba(8, 8, 8, .94); position: relative; z-index: 5; }
.top-mark { display: block; flex: 0 0 120px; inline-size: 120px; block-size: 58px; min-inline-size: 0; min-block-size: 0; max-inline-size: 120px; max-block-size: 58px; overflow: hidden !important; }
.top-mark img { display: block; inline-size: 100%; block-size: 100%; min-inline-size: 0; min-block-size: 0; max-inline-size: 100%; max-block-size: 100%; object-fit: contain; object-position: left center; opacity: .76; filter: contrast(1.16) brightness(1.18); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 12px; font-weight: 800; letter-spacing: .15em; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; background: var(--lime); color: var(--paper); font-size: 11px; letter-spacing: -.05em; transform: rotate(-5deg); }
.site-nav { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: flex-end; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.site-nav a { border-bottom: 1px solid transparent; padding-bottom: 4px; }
.site-nav a:hover, .footer-links a:hover { border-color: var(--ink); }

.hero { min-height: min(620px, calc(100vh - 78px)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr); gap: 5vw; padding: clamp(48px, 6vw, 92px) 5vw clamp(48px, 5vw, 76px); align-items: center; overflow: hidden; }
.eyebrow { display: block; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .19em; line-height: 1.5; }
.hero-copy { max-width: 630px; position: relative; z-index: 1; }
.hero h1, .simple-page h1, .auth-shell h1, .admin-header h1 { margin: 20px 0 24px; font-size: clamp(48px, 7.6vw, 112px); line-height: .88; letter-spacing: -.075em; font-weight: 900; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-copy p { max-width: 400px; margin: 0 0 33px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.hero-media { width: min(100%, 480px); max-height: min(480px, 58vh); aspect-ratio: 1; justify-self: end; overflow: hidden; background: #111; }
.hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-width: 185px; border: 0; border-radius: var(--radius); padding: 15px 17px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--ink); color: var(--cream); }
.button-primary:hover { background: var(--orange); }
.button-secondary { background: transparent; border: 1px solid var(--ink); }
.button-light { background: var(--cream); color: var(--ink); }
.button-light:hover { background: var(--lime); }
.button span { font-size: 18px; line-height: 10px; }
.button-spinner { display: inline-block; width: 12px; height: 12px; flex: 0 0 12px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: button-spin .7s linear infinite; }
form.is-submitting { cursor: progress; }
form.is-submitting .button { cursor: progress; opacity: .78; }
@keyframes button-spin { to { transform: rotate(360deg); } }

.hero-art { min-height: 480px; height: 100%; position: relative; background: #211f20; overflow: hidden; isolation: isolate; border: 1px solid #343133; }
.hero-art:before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(244,242,235,.9) 1px, transparent 1px); background-size: 16px 16px; opacity: .16; }
.hero-art-grid { position: absolute; inset: 22px; border: 1px solid rgba(244,242,235,.22); z-index: 1; }
.hero-icon { position: absolute; inset: 5%; z-index: 2; width: 90%; height: 90%; object-fit: contain; mix-blend-mode: screen; filter: contrast(1.14) brightness(1.15); }
.art-label { position: absolute; z-index: 4; color: var(--ink); font-size: 10px; font-weight: 900; letter-spacing: .21em; writing-mode: vertical-rl; }
.art-label-top { top: 28px; right: 24px; }
.art-label-bottom { bottom: 28px; left: 24px; transform: rotate(180deg); }
.hero-art-index { position: absolute; right: 24px; bottom: 23px; z-index: 4; color: var(--ink); font-size: 10px; font-weight: 900; letter-spacing: .16em; }

.ticker { display: flex; justify-content: space-around; align-items: center; overflow: hidden; background: var(--lime); color: var(--paper); padding: 16px 4vw; font-size: 10px; font-weight: 800; letter-spacing: .17em; white-space: nowrap; }
.collection { padding: 110px 5vw 120px; max-width: 1600px; margin: auto; }
.collection-preview { padding-top: 92px; padding-bottom: 86px; }
.collection-preview + .collection-preview { padding-top: 34px; border-top: 1px solid var(--line); }
.collection-page { min-height: 68vh; }
.collection-page .section-heading { align-items: start; }
.collection-page h1 { max-width: 700px; margin: 14px 0 0; font-size: clamp(44px, 6vw, 88px); line-height: .9; letter-spacing: -.075em; }
.collection-page .lead { margin: 20px 0 0; }
.shelf-link { margin-bottom: 0; white-space: nowrap; }
.shelf-empty { color: var(--muted); padding: 40px 0; }
.section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 36px; }
.section-heading h2, .manifesto h2, .order-strip h2 { max-width: 580px; margin: 13px 0 0; font-size: clamp(32px, 4vw, 58px); line-height: .95; letter-spacing: -.055em; }
.result-count { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.filter-bar { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 34px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 13px 0; }
.search-field { min-width: 245px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--ink); padding: 6px 0; }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.search-field span { font-size: 24px; line-height: 1; transform: rotate(-15deg); }
.category-pills { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.pill { padding: 8px 12px; border: 1px solid transparent; border-radius: 999px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pill:hover, .pill.is-active { border-color: var(--ink); color: var(--ink); background: var(--cream); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 16px; }
.product-card { min-width: 0; }
.product-visual { display: block; position: relative; min-height: 335px; overflow: hidden; transition: transform .2s ease; }
.product-visual:hover { transform: translateY(-5px); }
.product-visual:has(.product-image):before, .product-visual:has(.detail-image):before { opacity: 0; }
.product-image, .detail-image { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.product-visual:has(.product-image), .detail-visual:has(.detail-image) { background: #171717; }
.product-visual:has(.product-image) .product-arrow, .detail-visual:has(.detail-image) .detail-stamp { text-shadow: 0 2px 8px rgba(0,0,0,.8); }
.product-visual:hover { transform: translateY(-5px); }
.product-visual:before { content: ''; position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(135deg, transparent 0 48%, rgba(255,255,255,.7) 49% 50%, transparent 51%); background-size: 30px 30px; }
.visual-black { background: #222; color: var(--lime); }
.visual-red { background: var(--red); color: var(--cream); }
.visual-bone { background: var(--bone); color: var(--ink); }
.visual-olive { background: var(--olive); color: var(--lime); }
.visual-orange { background: var(--orange); color: var(--cream); }
.visual-steel { background: var(--steel); color: var(--ink); }
.product-badge { position: absolute; left: 15px; top: 15px; z-index: 1; padding: 6px 8px; background: var(--lime); color: var(--paper); font-size: 9px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.product-badge.category-camisetas { background: var(--lime); color: var(--paper); }
.product-badge.category-moletons { background: var(--orange); color: var(--cream); }
.product-badge.category-shorts { background: var(--olive); color: var(--lime); }
.product-badge.category-acessorios { background: var(--steel); color: var(--ink); }
.product-badge.category-equipamentos { background: var(--red); color: var(--cream); }
.product-badge.category-default { background: var(--cream); color: var(--ink); border: 1px solid var(--line); }
.product-symbol { position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-50%, -50%) rotate(-7deg); white-space: pre-line; text-align: center; font-size: 48px; line-height: .84; letter-spacing: -.1em; font-weight: 900; text-shadow: 4px 4px 0 rgba(250,249,243,.65); }
.product-arrow { position: absolute; right: 16px; bottom: 12px; z-index: 2; font-size: 28px; }
.product-info { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding: 14px 0 0; }
.product-info h3 { margin: 0 0 5px; font-size: 14px; letter-spacing: -.02em; }
.product-info p { margin: 0; color: var(--muted); font-size: 11px; }
.product-info strong { font-size: 13px; white-space: nowrap; }
.compare-price { color: var(--muted); font-size: 10px; margin-top: 6px; }
.empty-state { padding: 80px 20px; text-align: center; background: var(--cream); border: 1px solid var(--line); }
.empty-mark, .auth-mark { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 22px; background: var(--ink); color: var(--lime); font-size: 20px; font-weight: 900; transform: rotate(-7deg); }
.empty-state h3 { margin: 0 0 8px; font-size: 25px; }
.empty-state p { color: var(--muted); margin: 0 0 25px; }

.manifesto { display: grid; grid-template-columns: 1.1fr .9fr; gap: 35px; align-items: start; padding: 90px 5vw; background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.manifesto-number { color: var(--orange); font-size: 42px; font-weight: 900; letter-spacing: -.08em; }
.manifesto p { max-width: 390px; color: var(--muted); font-size: 15px; line-height: 1.65; margin: 28px 0 0; }
.order-strip { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin: 0 5vw; padding: 80px 0; }
.order-strip h2 { font-size: clamp(34px, 4.7vw, 64px); }

.detail-layout { max-width: 1400px; margin: auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 8vw; padding: 85px 5vw 120px; align-items: center; }
.detail-visual { min-height: 650px; }
.product-gallery { position: relative; z-index: 1; display: grid; gap: 12px; width: 100%; }
.product-gallery-main { position: relative; display: grid; place-items: center; min-height: 560px; overflow: hidden; }
.product-gallery-main .gallery-main-image { display: block; width: 100%; height: 560px; object-fit: cover; }
.product-gallery-main .gallery-main-image.detail-symbol { position: relative; inset: auto; }
.product-gallery-thumbs { display: flex; flex-wrap: wrap; gap: 9px; }
.gallery-thumb { display: grid; place-items: center; width: 68px; height: 68px; padding: 0; overflow: hidden; border: 1px solid rgba(250,249,243,.22); background: #151515; cursor: pointer; transition: border-color .2s ease, transform .2s ease, opacity .2s ease; }
.gallery-thumb:hover { border-color: var(--ink); transform: translateY(-2px); }
.gallery-thumb:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.gallery-thumb.is-selected { border-color: var(--lime); }
.gallery-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-gallery-editor { margin: 28px 0 0; padding: 24px; background: #111; border: 1px solid var(--line); }
.product-gallery-editor .section-heading { margin-bottom: 20px; }
.product-gallery-editor .section-heading > div { min-width: 0; }
.product-gallery-editor .section-heading h2 { margin: 8px 0; }
.gallery-count { color: var(--lime); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.gallery-admin-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.gallery-admin-slot { display: grid; gap: 12px; min-width: 0; padding: 12px; background: #171717; border: 1px solid var(--line); }
.gallery-admin-preview { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; background: #222; color: var(--muted); }
.gallery-admin-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-slot-empty { color: var(--muted); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.gallery-slot-status { color: var(--muted); font-size: 9px; text-align: center; }
.gallery-admin-slot input[type="file"] { width: 100%; max-width: 100%; font-size: 10px; }
.gallery-admin-slot .field-help { min-height: 28px; font-size: 10px; line-height: 1.4; }
.detail-symbol { position: absolute; z-index: 1; inset: 0; display: grid; place-items: center; text-align: center; white-space: pre-line; font-size: clamp(80px, 12vw, 170px); line-height: .8; letter-spacing: -.13em; font-weight: 900; transform: rotate(-8deg); text-shadow: 9px 9px 0 rgba(250,249,243,.6); }
.detail-stamp { position: absolute; bottom: 35px; right: 35px; z-index: 2; padding: 12px; border: 2px solid currentColor; border-radius: 50%; font-size: 11px; font-weight: 900; text-align: center; line-height: .9; transform: rotate(13deg); }
.detail-copy { max-width: 490px; }
.back-link { display: inline-block; margin-bottom: 46px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.back-link:hover { color: var(--orange); }
.detail-copy h1 { margin: 17px 0 13px; font-size: clamp(48px, 6vw, 84px); line-height: .86; letter-spacing: -.08em; }
.detail-tagline { font-size: 18px; font-weight: 700; }
.detail-description { color: var(--muted); line-height: 1.65; }
.detail-price { margin: 32px 0 16px; font-size: 25px; font-weight: 900; }
.availability { display: flex; align-items: center; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #4e9b52; }
.size-block { padding: 24px 0; }
.field-label { display: block; margin-bottom: 10px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.upload-preview { display: flex; align-items: center; gap: 14px; margin-top: 12px; color: var(--muted); font-size: 12px; }
.upload-preview img { width: 88px; height: 88px; object-fit: cover; border: 1px solid var(--line); }
.field-help { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; }
.size-list { display: flex; flex-wrap: wrap; gap: 7px; }
.size-chip { padding: 9px 13px; border: 1px solid var(--line); background: var(--cream); font-size: 11px; font-weight: 800; }
.variant-block { border-top: 1px solid var(--line); padding-top: 22px; }
.variant-chip { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 70px; }
.variant-chip small { color: var(--muted); font-size: 9px; font-weight: 700; }
.variant-chip.is-unavailable { opacity: .58; text-decoration: line-through; }
.inventory-adjust-form { display: flex; align-items: center; gap: 7px; min-width: 300px; }
.inventory-adjust-form input { box-sizing: border-box; width: 82px; border: 1px solid var(--line); border-radius: 0; outline: 0; padding: 9px 8px; background: #151515; color: var(--ink); }
.inventory-adjust-form input[name="reason"] { width: 130px; }
.inventory-adjust-form input:focus { border-color: var(--ink); box-shadow: 0 0 0 2px var(--lime); }
.notice-box { padding: 18px; background: var(--lime); color: var(--paper); }
.notice-box strong { font-size: 12px; }
.notice-box p { margin: 7px 0 0; font-size: 12px; line-height: 1.45; }

.simple-page { max-width: 700px; margin: auto; padding: 110px 5vw 140px; }
.simple-page h1 { font-size: clamp(50px, 8vw, 95px); }
.lead { max-width: 520px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.lookup-form, .auth-form { display: grid; gap: 10px; margin: 40px 0; }
.purchase-form { display: grid; gap: 18px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.purchase-options { display: flex; flex-wrap: wrap; gap: 8px; }
.purchase-option { position: relative; min-width: 76px; cursor: pointer; }
.purchase-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.purchase-option span { display: grid; gap: 5px; min-height: 52px; padding: 11px 12px; border: 1px solid var(--line); background: #151515; }
.purchase-option strong { color: var(--ink); font-size: 12px; }
.purchase-option small { color: var(--muted); font-size: 9px; }
.purchase-option input:checked + span { border-color: var(--lime); background: var(--lime); color: var(--paper); }
.purchase-option input:checked + span strong, .purchase-option input:checked + span small { color: var(--paper); }
.purchase-option input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.purchase-option.is-unavailable { cursor: not-allowed; opacity: .55; }
.purchase-actions { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; align-items: end; }
.purchase-actions label { display: grid; gap: 8px; }
.purchase-actions input, .cart-checkout-form input, .cart-checkout-form textarea { box-sizing: border-box; width: 100%; border: 1px solid var(--line); border-radius: 0; outline: 0; padding: 13px 14px; background: #151515; color: var(--ink); }
.purchase-actions input:focus, .cart-checkout-form input:focus, .cart-checkout-form textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 2px var(--lime); }
.purchase-actions .button { width: 100%; }
.button:disabled { cursor: not-allowed; opacity: .48; transform: none; }
.cart-page { max-width: 1500px; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(340px, .6fr); gap: 34px; align-items: start; }
.cart-items-form { display: grid; gap: 1px; }
.cart-item { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto 96px 80px; gap: 18px; align-items: center; padding: 22px; background: #111; border-bottom: 1px solid var(--line); }
.cart-item:first-child { border-top: 1px solid var(--line); }
.cart-item.is-warning { border-left: 4px solid var(--orange); }
.cart-item-media { display: grid; place-items: center; width: 92px; height: 92px; overflow: hidden; background: #191919; border: 1px solid var(--line); }
.cart-item-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.cart-item-placeholder { color: var(--muted); font-size: 24px; font-weight: 900; letter-spacing: -.12em; }
.cart-item-copy { min-width: 0; }
.cart-item-copy h2 { margin: 0 0 8px; color: var(--ink); font-size: 22px; letter-spacing: -.04em; }
.cart-item-variant { display: block; color: var(--ink); font-size: 12px; font-weight: 800; }
.cart-item-copy p { display: flex; flex-wrap: wrap; gap: 7px 12px; margin: 12px 0 0; color: var(--muted); font-size: 10px; }
.cart-item-stock { color: var(--muted); }
.cart-item-stock.is-warning { color: var(--orange); font-weight: 800; }
.cart-item-price { display: grid; gap: 5px; text-align: right; white-space: nowrap; }
.cart-item-price span, .cart-item-price small { color: var(--muted); font-size: 10px; }
.cart-item-price strong { color: var(--ink); font-size: 16px; }
.cart-item > label { display: grid; gap: 8px; }
.cart-item input { box-sizing: border-box; width: 100%; border: 1px solid var(--line); border-radius: 0; padding: 11px 10px; background: #151515; color: var(--ink); }
.cart-item input:focus { border-color: var(--ink); box-shadow: 0 0 0 2px var(--lime); outline: 0; }
.cart-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-top: 18px; }
.cart-actions form { margin: 0; }
.cart-actions .button { min-width: 210px; }
.cart-summary { position: sticky; top: 24px; padding: 28px; background: var(--cream); color: var(--ink); border: 1px solid var(--line); }
.cart-summary-heading { display: flex; justify-content: space-between; gap: 15px; align-items: center; }
.cart-summary-count { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.cart-summary h2 { margin: 12px 0 24px; color: var(--ink); font-size: 30px; letter-spacing: -.05em; }
.cart-summary p { color: var(--muted); font-size: 12px; line-height: 1.55; }
.cart-summary a { color: var(--ink); text-decoration: underline; }
.cart-total { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cart-total span { color: var(--muted); font-size: 11px; }
.cart-total strong { color: var(--ink); font-size: 25px; }
.cart-summary-intro { margin: 18px 0 0; }
.cart-warning { padding: 10px; background: #f7d8d2; color: #8f261f !important; font-weight: 800; }
.cart-checkout-form { display: grid; gap: 13px; margin-top: 22px; }
.cart-checkout-form label { display: grid; gap: 8px; }
.cart-checkout-form .field-label em { color: var(--muted); font-size: 9px; font-style: normal; letter-spacing: .04em; }
.cart-checkout-form .button { width: 100%; }
.order-confirmation { max-width: 700px; margin: 0 auto 30px; }
.order-confirmation code { display: block; margin-top: 10px; padding: 12px; background: rgba(8, 8, 8, .14); color: var(--paper); overflow-wrap: anywhere; }
.lookup-form label, .auth-form label { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.lookup-form input, .auth-form input { width: 100%; border: 1px solid var(--line); border-radius: 0; outline: 0; padding: 16px; background: var(--cream); color: var(--ink); }
.lookup-form input:focus, .auth-form input:focus { border-color: var(--ink); box-shadow: 0 0 0 2px var(--lime); }
.lookup-form button, .auth-form button { margin-top: 14px; }
.form-error { padding: 13px; background: #f7d8d2; color: #8f261f; font-size: 12px; }
.order-result { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 28px 0; padding: 22px; background: var(--cream); border-left: 4px solid var(--lime); }
.order-result h2 { margin: 8px 0; font-size: 23px; }
.order-result p { color: var(--muted); font-size: 12px; }
.order-status { padding: 8px 10px; background: var(--lime); color: var(--paper); font-size: 10px; font-weight: 900; text-transform: uppercase; white-space: nowrap; }

.auth-shell { max-width: 430px; margin: auto; padding: 110px 5vw 140px; }
.auth-shell .auth-mark { margin: 0 0 30px; }
.auth-shell h1 { font-size: clamp(50px, 8vw, 80px); margin: 16px 0; }
.auth-shell > p { color: var(--muted); }
.auth-form { margin-top: 34px; }
.auth-form .button { width: 100%; }

.admin-site { background: #0d0d0d; }
.admin-site .site-header { background: #0d0d0d; }
.admin-header { display: flex; justify-content: space-between; gap: 30px; align-items: end; padding: 75px 5vw 55px; }
.admin-header h1 { font-size: clamp(48px, 6vw, 90px); margin-bottom: 15px; }
.admin-header p { color: var(--muted); margin: 0; }
.text-button { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); padding: 11px 14px; background: var(--cream); color: var(--paper); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; cursor: pointer; }
.text-button:hover { background: var(--lime); border-color: var(--lime); }
.text-button span { font-size: 14px; line-height: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0 5vw 80px; background: var(--line); border: 1px solid var(--line); }
.stat-card { display: grid; gap: 14px; min-height: 160px; padding: 23px; background: var(--cream); }
.stat-card span, .stat-card small { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.stat-card strong { font-size: 55px; letter-spacing: -.08em; }
.stat-card small { letter-spacing: .04em; text-transform: none; font-weight: 400; }
.stat-dark { background: var(--lime); color: var(--paper); }
.stat-dark span, .stat-dark small { color: #38420e; }
.stat-dark strong { color: var(--paper); }
.admin-section { padding: 0 5vw 80px; }
.admin-table-wrap { overflow-x: auto; background: var(--cream); }
.admin-table { width: 100%; border-collapse: collapse; text-align: left; }
.admin-table th { padding: 14px 17px; background: var(--lime); color: var(--paper); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.admin-table td { padding: 16px 17px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; white-space: nowrap; }
.admin-table tr:last-child td { border-bottom: 0; }
.table-product { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.table-product strong { display: block; font-size: 12px; }
.table-product small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.table-dot { display: block; width: 34px; height: 34px; }
.status-pill { display: inline-flex; align-items: center; min-height: 24px; padding: 5px 9px; border: 1px solid transparent; font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.status-pill.is-active { background: var(--lime); color: var(--paper); }
.status-pill.is-paused { background: #e0b4ac; color: #8f261f; }
.status-pill.is-out { background: #f7d8d2; color: #8f261f; }
.status-pill.is-featured { margin-left: 8px; background: transparent; color: var(--lime); border-color: var(--lime); }
.status-pill.is-promotion { background: var(--orange); color: var(--paper); border-color: var(--orange); }
.table-action { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; border: 1px solid var(--line); border-bottom-color: var(--ink); padding: 7px 10px; background: #151515; color: var(--ink); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; }
.table-action:hover { color: var(--paper); background: var(--lime); border-color: var(--lime); }
.table-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.table-meta { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.inline-status-form { display: flex; align-items: center; gap: 10px; }
.inline-status-form select { min-width: 150px; }
.admin-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.admin-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.admin-toolbar .search-field { flex: 1; margin: 0; }
.admin-toolbar select, .admin-form select, .admin-form input, .admin-form textarea { box-sizing: border-box; width: 100%; border: 1px solid var(--line); border-radius: 0; outline: 0; padding: 13px 14px; background: #151515; color: var(--ink); }
.admin-toolbar select:focus, .admin-form select:focus, .admin-form input:focus, .admin-form textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 2px var(--lime); }
.admin-form-card { margin-bottom: 24px; padding: 28px; background: #111; border: 1px solid var(--line); }
.admin-form-card h2 { margin: 0 0 22px; font-size: 28px; letter-spacing: -.04em; }
.admin-form { display: grid; gap: 18px; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.admin-form > label, .admin-form-grid > label { display: grid; gap: 8px; }
.admin-form textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.admin-form .button { width: fit-content; }
.order-items-card { padding: 24px; background: #111; border: 1px solid var(--line); }
.order-items-card .section-heading { margin-bottom: 18px; }
.product-variant-card { margin: 0; padding: 24px; }
.product-variant-card .section-heading { margin-bottom: 20px; }
.product-variant-card .section-heading > div { min-width: 0; }
.product-variant-card .section-heading h2 { margin-bottom: 8px; }
.product-variant-card .section-heading .field-help { max-width: 620px; margin: 0; }
.product-variant-table-wrap { background: #151515; }
.product-variant-table input[type="text"], .product-variant-table input[type="number"] { min-width: 110px; padding: 10px 11px; }
.product-variant-table td { vertical-align: middle; }
.product-variant-table th:nth-child(1) { min-width: 180px; }
.product-variant-table th:nth-child(2) { min-width: 160px; }
.product-variant-table th:nth-child(3) { min-width: 135px; }
.variant-reserved-value { display: inline-flex; min-width: 32px; justify-content: center; color: var(--ink); font-weight: 800; }
.variant-active-control { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-size: 10px; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.variant-active-control input { width: auto; accent-color: var(--lime); }
.product-variant-card > .field-help { display: block; margin: 16px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
@media (max-width: 760px) {
    .product-variant-card .section-heading { align-items: stretch; flex-direction: column; }
    .product-variant-card .section-heading .button { width: 100%; }
    .product-variant-table-wrap { margin: 0 -24px; }
    .gallery-admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .product-gallery-main { min-height: 360px; }
    .product-gallery-main .gallery-main-image { height: 360px; }
    .gallery-thumb { width: 58px; height: 58px; }
}
.order-item-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.order-item-row label { display: grid; gap: 8px; }
.order-summary-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin-bottom: 24px; background: var(--line); border: 1px solid var(--line); }
.order-summary-grid > div { display: grid; gap: 8px; min-height: 96px; padding: 18px; background: #111; }
.order-summary-grid strong { color: var(--ink); font-size: 13px; overflow-wrap: anywhere; }
.order-detail-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.order-token-box { margin-bottom: 24px; }
.order-token-box code { display: block; margin-top: 10px; padding: 10px; background: rgba(8, 8, 8, .14); color: var(--paper); font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.order-token-box p { margin-bottom: 0; }
.order-token-box p code { display: inline; margin: 0; padding: 0; background: transparent; font-size: inherit; }
.order-items-public { margin-top: 24px; }
.table-link { color: var(--ink); }
.table-link:hover { color: var(--orange); }
.check-row { display: flex !important; align-items: center; flex-wrap: wrap; gap: 18px; }
.check-row label, .check-row > span { display: inline-flex !important; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.check-row input { width: auto; accent-color: var(--lime); }
.empty-state.compact { padding: 38px 20px; }
.flash-success { margin: 0 5vw 30px; padding: 14px 17px; background: var(--lime); color: var(--paper); font-size: 12px; font-weight: 800; }
.cart-page > .flash-success { margin-left: 0; margin-right: 0; }
.admin-note { display: flex; justify-content: space-between; gap: 40px; margin: 0 5vw 100px; padding: 30px 0; border-top: 1px solid var(--line); }
.admin-note p { max-width: 560px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.site-footer { display: flex; justify-content: center; align-items: center; min-height: 150px; padding: 30px 5vw; background: #050505; color: var(--ink); }
.footer-logo { display: block; width: min(100%, 180px); max-height: 120px; line-height: 0; }
.footer-logo img { display: block; width: 100%; height: auto; max-height: 120px; object-fit: contain; object-position: center; }


@media (max-width: 980px) {
    .hero { min-height: auto; grid-template-columns: 1fr 1fr; gap: 38px; padding-top: 70px; }
    .hero-media { width: 100%; max-width: 520px; }
    .hero-art { min-height: 350px; }
    .art-sun { width: 210px; height: 210px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 16px; }
    .detail-layout { grid-template-columns: 1fr; gap: 45px; }
    .detail-visual { min-height: 500px; }
    .manifesto { grid-template-columns: 70px 1fr; }
    .manifesto p { grid-column: 2; margin-top: 0; }
}

@media (max-width: 620px) {
    .site-header { padding: 12px 5vw; min-height: 68px; }
    .footer-logo { width: min(100%, 150px); max-height: 100px; }
    .footer-logo img { max-height: 100px; }
    .top-mark { flex-basis: 92px; inline-size: 92px; block-size: 46px; max-inline-size: 92px; max-block-size: 46px; }
    .site-nav { gap: 12px; font-size: 9px; }
    .text-button { align-self: flex-start; }
    .admin-actions { justify-content: flex-start; }
    .admin-toolbar { align-items: stretch; flex-direction: column; }
    .admin-form-grid { grid-template-columns: 1fr; }
    .admin-form .button { width: 100%; }
    .purchase-actions { grid-template-columns: 1fr; }
    .purchase-actions .button { width: 100%; }
    .cart-layout { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
    .cart-item { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 13px; align-items: center; }
    .cart-item-media { width: 72px; height: 72px; }
    .cart-item-copy h2 { font-size: 18px; }
    .cart-item-price { grid-column: 2 / 4; text-align: left; }
    .cart-item-quantity { grid-column: 1 / 3; }
    .cart-item > .table-action { grid-column: 3; grid-row: 3; }
    .order-item-row { grid-template-columns: 1fr; }
    .order-summary-grid { grid-template-columns: 1fr 1fr; }
    .order-detail-footer { align-items: stretch; flex-direction: column; }
    .order-detail-footer .inline-status-form { align-items: stretch; flex-direction: column; }
    .order-detail-footer .inline-status-form select, .order-detail-footer .button { width: 100%; }
    .inline-status-form { align-items: stretch; flex-direction: column; }
    .inline-status-form select { min-width: 0; }
    .inventory-adjust-form { align-items: stretch; flex-direction: column; min-width: 180px; }
    .inventory-adjust-form input, .inventory-adjust-form input[name="reason"] { width: 100%; }
    .hero { grid-template-columns: 1fr; padding-top: 55px; min-height: auto; }
    .hero-media { justify-self: start; width: min(100%, 430px); max-width: 100%; max-height: none; }
    .collection-preview { padding-top: 68px; padding-bottom: 60px; }
    .collection-page h1 { font-size: 58px; }
    .collection-page .section-heading { display: block; }
    .collection-page .result-count { display: block; margin-top: 22px; }
    .shelf-link { margin-top: 22px; }
    .hero h1 { font-size: 60px; }
    .hero-art { min-height: 300px; }
    .art-sun { width: 170px; height: 170px; left: 22%; }
    .art-ape { right: 6%; top: 25%; font-size: 95px; }
    .ticker { justify-content: flex-start; gap: 55px; overflow: hidden; }
    .ticker div:nth-child(2) { display: none; }
    .collection { padding-top: 75px; padding-bottom: 80px; }
    .section-heading, .filter-bar { align-items: start; flex-direction: column; }
    .filter-bar { gap: 14px; }
    .search-field { width: 100%; }
    .category-pills { justify-content: flex-start; }
    .product-visual { min-height: 230px; }
    .product-symbol { font-size: 32px; }
    .product-info { flex-direction: column; gap: 6px; }
    .manifesto { display: block; padding: 65px 5vw; }
    .manifesto-number { margin-bottom: 25px; }
    .manifesto p { margin-top: 25px; }
    .order-strip { align-items: start; flex-direction: column; padding: 65px 0; }
    .detail-layout { padding-top: 55px; }
    .detail-visual { min-height: 380px; }
    .detail-copy h1 { font-size: 58px; }
    .simple-page, .auth-shell { padding-top: 80px; }
    .order-result { align-items: start; flex-direction: column; }
    .admin-header { align-items: start; flex-direction: column; padding-top: 55px; }
    .stats-grid { grid-template-columns: 1fr; margin-bottom: 60px; }
    .admin-section { padding-bottom: 60px; }
    .admin-note { align-items: start; flex-direction: column; gap: 14px; margin-bottom: 70px; }
    .site-footer { grid-template-columns: 1fr; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
    *, *:before, *:after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
