:root {
    --bg: #0d0b14;
    --bg-soft: #17131f;
    --card: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --text: #f4f1fb;
    --muted: #a39cb5;
    --accent: #b46bff;
    --accent-2: #ff5fa2;
    --accent-3: #4fd1ff;
    --success: #4ade80;
    --danger: #f87171;
    --radius: 18px;
    --font: "Inter", system-ui, -apple-system, sans-serif;
    --font-display: "Unbounded", "Inter", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    min-height: calc(100dvh + env(safe-area-inset-top, 0px));
    background:
        radial-gradient(circle at 15% 0%, rgba(180, 107, 255, 0.22), transparent 45%),
        radial-gradient(circle at 90% 20%, rgba(255, 95, 162, 0.16), transparent 40%),
        var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.5;
}

a { color: inherit; }

.is-hidden { display: none !important; }

.muted { color: var(--muted); }

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 12px;
    background: rgba(13, 11, 20, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.brand {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 17px;
    letter-spacing: 0.04em;
    text-decoration: none;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.balance-chip {
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--card);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.topbar__nav {
    display: flex;
    gap: 14px;
    margin-left: auto;
}

.topbar__link {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.topbar__link.is-active { color: var(--text); }

.tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    background: rgba(13, 11, 20, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
}

.tabbar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.tabbar__item svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.tabbar__item.is-active { color: var(--text); }

.tabbar__item--ai { color: var(--accent); }

.tabbar__item--ai.is-active { color: var(--accent-2); }

.page {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 20px 16px calc(96px + env(safe-area-inset-bottom, 0px));
}

.card {
    margin-bottom: 16px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
}

.card__title {
    margin: 0 0 8px;
    font-size: 17px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 22px;
    border: 0;
    border-radius: 14px;
    font: 600 16px var(--font);
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.btn:active { transform: scale(0.98); }

.btn--primary { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

.btn--ghost {
    background: var(--card);
    border: 1px solid var(--border);
}

.btn--ai {
    position: relative;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    min-height: 64px;
    overflow: hidden;
    background: linear-gradient(110deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent));
    background-size: 300% 100%;
    animation: ai-flow 6s linear infinite, ai-glow 2.4s ease-in-out infinite;
}

.btn--ai::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: ai-shine 2.8s ease-in-out infinite;
}

.btn--ai__label { font-size: 17px; }

.btn--ai__price {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.9;
}

@keyframes ai-flow { to { background-position: 300% 0; } }

@keyframes ai-glow {
    0%, 100% { box-shadow: 0 0 18px rgba(180, 107, 255, 0.45); }
    50% { box-shadow: 0 0 34px rgba(255, 95, 162, 0.7); }
}

@keyframes ai-shine {
    0% { transform: translateX(-100%); }
    60%, 100% { transform: translateX(100%); }
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero__title {
    margin: 8px 0 4px;
    font-family: var(--font-display);
    font-size: clamp(30px, 9vw, 52px);
    font-weight: 800;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, var(--text), var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__subtitle {
    margin: 0 0 20px;
    color: var(--muted);
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 420px;
}

.carousel {
    position: relative;
    width: 100%;
    margin-bottom: 24px;
}

.carousel__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    border-radius: var(--radius);
    -webkit-overflow-scrolling: touch;
}

.carousel__track::-webkit-scrollbar { display: none; }

.carousel__item {
    position: relative;
    flex: 0 0 100%;
    aspect-ratio: 1;
    max-height: 62vh;
    scroll-snap-align: center;
    background: var(--bg-soft);
    text-decoration: none;
}

.carousel__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel__item--placeholder img {
    object-fit: contain;
    padding: 12%;
}

.carousel__caption {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(13, 11, 20, 0.6);
    font-weight: 600;
    text-align: left;
}

.carousel__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

.carousel__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--border);
    cursor: pointer;
    transition: width 0.2s, background 0.2s;
}

.carousel__dot.is-active {
    width: 22px;
    background: var(--accent);
}

.auth-notice {
    margin: 16px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-soft);
    text-align: center;
}

.auth-notice p { margin: 0 0 12px; }

.balance-card { text-align: center; }

.balance-card__label {
    margin: 0;
    color: var(--muted);
}

.balance-card__usd {
    margin: 4px 0 0;
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 800;
}

.balance-card__uzs {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
}

.balance-card__hint {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.referral__link {
    display: flex;
    gap: 8px;
    margin: 12px 0;
}

.referral__link .input {
    min-width: 0;
    font-size: 14px;
}

.referral__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 14px;
    text-align: center;
}

.referral__stats > div {
    display: flex;
    flex-direction: column;
    font-size: 12px;
}

.referral__num {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
}

.tx-list {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.tx-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.tx-item:last-child { border-bottom: 0; }

.tx-item__title { font-weight: 500; }

.tx-item__date {
    color: var(--muted);
    font-size: 13px;
}

.tx-item__amount {
    font-weight: 600;
    white-space: nowrap;
    text-align: right;
}

.tx-item__amount--plus { color: var(--success); }

.tx-item__amount--minus { color: var(--danger); }

.tx-item__uzs {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
}

.error-card { text-align: center; }

.error-card__code {
    margin: 0;
    font-family: var(--font-display);
    font-size: 48px;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    z-index: 50;
    max-width: calc(100% - 32px);
    padding: 12px 18px;
    border-radius: 12px;
    background: #2a2236;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 12px);
    transition: opacity 0.2s, transform 0.2s;
}

.toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.center { text-align: center; }

.page-title {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-size: 26px;
}

.back-link {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--muted);
    text-decoration: none;
}

.btn--small {
    min-height: 36px;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 10px;
}

.btn--danger {
    background: rgba(248, 113, 113, 0.15);
    border: 1px solid rgba(248, 113, 113, 0.4);
    color: var(--danger);
}

.btn--block { width: 100%; }

.btn:disabled {
    opacity: 0.55;
    cursor: default;
}

.filters {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    min-height: 38px;
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--card);
    color: var(--text);
    font: 500 14px var(--font);
    cursor: pointer;
}

.chip.is-active {
    border-color: transparent;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.swatch {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 2px solid var(--border);
    border-radius: 999px;
    background: var(--card);
    color: var(--muted);
    cursor: pointer;
}

.swatch.is-active {
    border-color: var(--text);
    box-shadow: 0 0 0 3px rgba(180, 107, 255, 0.5);
}

.select,
.input {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-soft);
    color: var(--text);
    font: 400 16px var(--font);
}

textarea.input { resize: vertical; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.product-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    text-decoration: none;
}

.product-card__img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    background: var(--bg-soft);
}

.product-card__title {
    font-weight: 500;
    font-size: 14px;
}

.product-card__price {
    font-weight: 700;
}

.product-card__price__uzs,
.price__uzs {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
}

.product {
    display: grid;
    gap: 20px;
}

.product__media img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--bg-soft);
}

.product__title {
    margin: 0;
    font-size: 24px;
}

.product__price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 8px 0;
}

.product__usd {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
}

.product__uzs { color: var(--muted); }

.product__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
}

.product__label {
    margin: 16px 0 8px;
    font-weight: 600;
}

.product__description {
    margin: 16px 0;
    color: var(--muted);
    white-space: pre-line;
}

.product .btn--block { margin-top: 16px; }

.dot-color {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
}

.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    overflow-x: auto;
}

.tab {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--card);
    color: var(--muted);
    font: 600 14px var(--font);
    cursor: pointer;
}

.tab.is-active {
    color: var(--text);
    border-color: var(--accent);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--muted);
    font-size: 14px;
}

.field legend { margin-bottom: 6px; }

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.checks {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text);
}

.form__actions {
    display: flex;
    gap: 10px;
}

.admin-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.admin-row {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 10px 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.admin-row__img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 10px;
    background: var(--bg-soft);
}

.admin-row__info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    font-size: 14px;
}

.admin-row__actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shirt-stage {
    --shirt: #ffffff;
    position: relative;
    width: min(78vw, 340px);
    margin: 0 auto 20px;
    aspect-ratio: 400 / 440;
}

.shirt-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.shirt-svg__body {
    fill: var(--shirt);
    stroke: rgba(255, 255, 255, 0.25);
    stroke-width: 3;
    stroke-linejoin: round;
    transition: fill 0.3s;
}

.shirt-svg__collar {
    fill: none;
    stroke: rgba(0, 0, 0, 0.18);
    stroke-width: 6;
    stroke-linecap: round;
}

.shirt-svg__print {
    fill: none;
    stroke: rgba(180, 107, 255, 0.8);
    stroke-width: 2;
    stroke-dasharray: 8 6;
}

.shirt-stage[data-gender="male"] .shirt-svg__female,
.shirt-stage[data-gender="female"] .shirt-svg__male { display: none; }

.shirt-stage--glow .shirt-svg {
    animation: shirt-float 3.2s ease-in-out infinite, shirt-glow 2.4s ease-in-out infinite;
}

.shirt-stage--glow .shirt-svg__print { animation: print-dash 1.2s linear infinite; }

.shirt-stage--done .shirt-svg__print,
.wait .shirt-svg__print { display: none; }

.shirt-stage--glow .shirt-svg__print,
.create__preview .shirt-svg__print { display: block; }

.shirt-stage__design {
    position: absolute;
    left: 35%;
    top: 27.3%;
    width: 30%;
    height: 36.4%;
    object-fit: contain;
    animation: design-in 0.6s ease-out;
}

@keyframes shirt-float {
    0%, 100% { transform: translateY(0) rotateY(0deg); }
    50% { transform: translateY(-10px) rotateY(12deg); }
}

@keyframes shirt-glow {
    0%, 100% { filter: drop-shadow(0 0 14px rgba(180, 107, 255, 0.55)); }
    50% { filter: drop-shadow(0 0 34px rgba(255, 95, 162, 0.85)); }
}

@keyframes print-dash { to { stroke-dashoffset: -28; } }

@keyframes design-in {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

.segmented {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 4px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-soft);
}

.segmented__item {
    min-height: 44px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    font: 600 15px var(--font);
    cursor: pointer;
}

.segmented__item.is-active {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    color: var(--text);
}

.create__preview { width: min(56vw, 230px); }

.create__color-name { margin: 10px 0 0; }

.create__idea { min-height: 120px; }

.create__counter {
    margin: 6px 0 0;
    font-size: 13px;
    text-align: right;
}

.create__submit { margin-top: 4px; }

.create__balance { margin-top: 10px; }

.create__balance.is-warning { color: var(--danger); }

.wait {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 12px;
    text-align: center;
    perspective: 800px;
}

.wait__mockup {
    width: min(92vw, 420px);
    margin: 0 auto 20px;
    border-radius: var(--radius);
    box-shadow: 0 0 40px rgba(180, 107, 255, 0.35);
    animation: design-in 0.6s ease-out;
}

.downloads {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.downloads .btn {
    min-height: 44px;
    padding: 8px 10px;
    font-size: 14px;
}

.wait__links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.link-muted,
.link-danger {
    padding: 8px 0;
    border: 0;
    background: none;
    font: 500 14px var(--font);
    cursor: pointer;
}

.link-muted { color: var(--muted); }

.link-danger { color: var(--danger); }

.design-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.design-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    text-decoration: none;
}

.design-card__media {
    position: relative;
    aspect-ratio: 1080 / 1188;
    border-radius: 12px;
    background: var(--bg-soft);
    overflow: hidden;
}

.design-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.design-card__badge {
    position: absolute;
    left: 8px;
    top: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(13, 11, 20, 0.75);
    font-size: 12px;
}

.design-card--failed .design-card__badge { color: var(--danger); }

.design-card__idea {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.design-card__date {
    color: var(--muted);
    font-size: 12px;
}

.wait__message {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 600;
}

.wait__hint,
.wait__idea {
    margin: 0 0 8px;
    max-width: 420px;
    font-size: 14px;
}

.wait__idea { font-style: italic; }

.wait__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 420px;
    margin-top: 12px;
}

.page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.page-head .page-title { margin: 0; }

.order-item {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 14px;
    align-items: center;
}

.order-item__img {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--bg-soft);
}

.order-item__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.order-item__info strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-item__price { font-weight: 600; }

.order__qty-title { margin-top: 18px; }

.stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}

.stepper__btn {
    width: 48px;
    height: 44px;
    border: 0;
    background: var(--card);
    color: var(--text);
    font: 600 20px var(--font);
    cursor: pointer;
}

.stepper__value {
    min-width: 48px;
    text-align: center;
    font-weight: 700;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.order-total__value {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: var(--font-display);
    font-size: 22px;
}

.order-total__uzs {
    color: var(--muted);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 400;
}

.order__hint {
    margin: 0 0 14px;
    font-size: 13px;
    text-align: center;
}

.order-done__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    font-size: 32px;
    line-height: 64px;
}

.order-list {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.order-row {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 10px 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.order-row__img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
    background: var(--bg-soft);
}

.order-row__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.order-row__info strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.order-row__note {
    margin-top: 4px;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--card);
    font-size: 13px;
}

.order-row__phone {
    color: var(--accent-3);
    text-decoration: none;
}

.order-row__side {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--card);
    border: 1px solid var(--border);
    font-size: 12px;
    font-weight: 600;
}

.status-badge--new { color: var(--accent-3); }

.status-badge--accepted,
.status-badge--printing { color: var(--accent); }

.status-badge--shipped { color: #fbbf24; }

.status-badge--done { color: var(--success); }

.status-badge--cancelled { color: var(--danger); }

.form--inline {
    flex-direction: row;
    align-items: flex-end;
}

.form--inline .field { flex: 1; }

.admin-filter {
    margin-bottom: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
}

.admin-filter .chip { flex: 0 0 auto; }

@media (min-width: 640px) {
    .product { grid-template-columns: 1fr 1fr; }

    .admin-row { grid-template-columns: 56px 1fr auto; }

    .admin-row__actions { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .btn--ai, .btn--ai::after,
    .shirt-stage--glow .shirt-svg,
    .shirt-stage--glow .shirt-svg__print { animation: none; }
}
