:root {
    color-scheme: dark;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(37, 194, 122, 0.16), transparent 32%),
        radial-gradient(circle at top right, rgba(163, 130, 255, 0.12), transparent 28%),
        #060807;
    color: #f6f7f2;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    position: relative;
    min-height: 100vh;
}

body.cart-open {
    overflow: hidden;
}

img,
video {
    display: block;
    max-width: 100%;
}

code {
    color: #d5f7ce;
}

.app-shell {
    position: relative;
    z-index: 1;
    max-width: 1720px;
    margin: 0 auto;
    padding: 18px 16px 40px;
}

.topbar {
    position: sticky;
    top: 14px;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: rgba(11, 14, 13, 0.86);
    backdrop-filter: blur(18px);
}

.brand-link,
.top-link,
.contact-cta,
.media-file-link,
.category-pill {
    color: inherit;
    text-decoration: none;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-link strong,
.brand-link small {
    display: block;
}

.brand-link small {
    margin-top: 2px;
    color: rgba(246, 247, 242, 0.62);
}

.brand-mark {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    background: linear-gradient(135deg, #91ffb5, #1bdc8a);
    color: #062014;
}

.top-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.top-link,
.logout-button {
    border: 0;
    border-radius: 999px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
}

.logout-form {
    margin: 0;
}

.flash-stack {
    margin-top: 16px;
    display: grid;
    gap: 10px;
}

.flash-card {
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
}

.flash-success {
    border-color: rgba(77, 255, 163, 0.32);
    color: #bdffd5;
}

.flash-error {
    border-color: rgba(255, 105, 105, 0.4);
    color: #ffb3b3;
}

.catalog-page,
.admin-page,
.auth-page {
    margin-top: 18px;
}

.catalog-page {
    padding-bottom: 96px;
}

.hero-card,
.auth-card,
.admin-category-block,
.product-card,
.admin-product-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    background: rgba(14, 18, 17, 0.84);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.hero-card,
.auth-card {
    padding: 32px;
}

.hero-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.eyebrow,
.section-kicker {
    margin: 0 0 16px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #92f2b6;
}

h1,
h2,
h3,
p,
figure {
    margin: 0;
}

h1 {
    max-width: 640px;
    font-size: clamp(2.45rem, 7vw, 4.6rem);
    line-height: 0.9;
    letter-spacing: -0.07em;
}

.hero-text {
    max-width: 640px;
    margin-top: 16px;
    color: rgba(246, 247, 242, 0.7);
    line-height: 1.65;
    font-size: 1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(90px, 1fr));
    gap: 12px;
    min-width: min(380px, 100%);
}

.hero-stats article {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stats strong {
    display: block;
    font-size: 2rem;
    letter-spacing: -0.05em;
}

.hero-stats span {
    margin-top: 8px;
    display: block;
    color: rgba(246, 247, 242, 0.68);
    font-size: 0.9rem;
}

.catalog-tools {
    margin-top: 18px;
    position: sticky;
    top: 96px;
    z-index: 10;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    padding: 12px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 10, 9, 0.84);
    backdrop-filter: blur(14px);
}

.search-box {
    flex: 1;
    min-width: min(300px, 100%);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.search-box input {
    width: 100%;
    border: 0;
    background: transparent;
    color: inherit;
    padding: 18px 0;
    font: inherit;
    font-size: 1rem;
    outline: none;
}

.category-rail {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.category-rail::-webkit-scrollbar,
.media-strip::-webkit-scrollbar {
    display: none;
}

.category-pill {
    flex: none;
    scroll-snap-align: start;
    white-space: nowrap;
    padding: 14px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    font-weight: 700;
    font-size: 0.92rem;
}

.category-section,
.admin-category-block {
    margin-top: 30px;
}

.section-head,
.admin-head,
.product-edit-header,
.product-topline,
.media-form-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.section-head h2,
.admin-head h2,
.product-edit-header h3 {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 0.92;
    letter-spacing: -0.06em;
}

.product-grid,
.admin-products {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
    gap: 16px;
}

.product-card,
.admin-product-card {
    padding: 14px;
    overflow: hidden;
}

.product-body {
    padding: 8px 8px 12px;
}

.product-title {
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
}

.status-chip,
.media-type {
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.status-live {
    background: rgba(41, 255, 140, 0.1);
    color: #a2ffbc;
}

.status-out {
    background: rgba(255, 103, 103, 0.08);
    color: #ffb7b7;
}

.product-price {
    margin-top: 14px;
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -0.07em;
    color: #aaf7be;
}

.product-description {
    margin-top: 14px;
    color: rgba(246, 247, 242, 0.72);
    line-height: 1.65;
    white-space: pre-line;
}

.media-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 0 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.media-tile,
.admin-media-preview {
    position: relative;
    flex: none;
    width: min(100%, 420px);
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    scroll-snap-align: start;
}

.media-type {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    background: rgba(8, 12, 10, 0.75);
    color: #f9fdf9;
}

.media-tile img,
.media-tile video,
.admin-media-preview img,
.admin-media-preview video {
    width: 100%;
    aspect-ratio: 4 / 5;
    height: auto;
    object-fit: cover;
    background: #000;
}

.media-audio-card,
.media-file-link,
.no-media-box,
.empty-state {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 22px;
    text-align: center;
    color: rgba(246, 247, 242, 0.8);
    background: linear-gradient(145deg, rgba(36, 56, 42, 0.92), rgba(8, 13, 11, 0.96));
}

.media-audio-card audio {
    width: 100%;
}

.contact-cta,
.cart-add-button,
.primary-button,
.secondary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 18px;
    cursor: pointer;
    font-weight: 800;
    text-decoration: none;
}

.contact-cta,
.cart-add-button,
.primary-button {
    margin-top: 22px;
    padding: 18px 28px;
    background: linear-gradient(135deg, #9cffb8, #28d986);
    color: #04130c;
}

.ghost-button {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: #f6f7f2;
    padding: 18px 24px;
}

.contact-cta {
    width: 100%;
}

.cart-add-button {
    width: 100%;
    margin-top: 22px;
    font-size: 1rem;
}

.cart-add-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(246, 247, 242, 0.9);
}

.primary-button.small,
.secondary-button {
    margin-top: 0;
    padding: 14px 20px;
    font-size: 0.92rem;
}

.secondary-button {
    width: 100%;
    margin-top: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #f6f7f2;
}

.empty-state,
.auth-card {
    max-width: 720px;
    margin: 60px auto 0;
    min-height: auto;
}

.auth-form {
    margin-top: 26px;
    display: grid;
    gap: 16px;
}

.small-note {
    margin-top: 20px;
    font-size: 0.92rem;
    color: rgba(246, 247, 242, 0.7);
}

.admin-category-block {
    padding: 24px;
}

.admin-category-form,
.product-edit-form {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-form-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: minmax(88px, 130px) 1fr minmax(100px, 160px) minmax(100px, 140px);
    gap: 12px;
}

.field-label {
    display: grid;
    gap: 8px;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(246, 247, 242, 0.72);
}

.field-label.wide {
    grid-column: span 1;
}

.field-label input,
.field-label textarea,
.field-label select {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    color: #f6f7f2;
    font: inherit;
    font-size: 1rem;
    padding: 16px 18px;
    outline: none;
}

.field-label textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
    text-transform: none;
    letter-spacing: 0;
}

.field-label select {
    appearance: none;
    cursor: pointer;
}

.switch-row {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.switch-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    font-weight: 700;
}

.switch-chip input {
    width: 18px;
    height: 18px;
    accent-color: #55f29d;
}

.admin-media-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 14px;
}

.admin-media-card {
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    padding: 14px;
}

.admin-media-preview {
    width: 100%;
    margin-bottom: 14px;
}

.admin-media-preview img,
.admin-media-preview video {
    height: 220px;
}

.cart-fab {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px 14px 22px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #9cffb8, #28d986);
    color: #04130c;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 20px 50px rgba(26, 229, 131, 0.18);
}

.cart-fab strong {
    min-width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(4, 19, 12, 0.12);
}

.cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 40;
    pointer-events: none;
}

.cart-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.68);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.cart-panel {
    position: absolute;
    right: 0;
    top: 0;
    width: min(540px, 100vw);
    height: 100%;
    padding: 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    background: #0b0f0e;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
}

.cart-drawer.is-open {
    pointer-events: auto;
}

.cart-drawer.is-open .cart-backdrop {
    opacity: 1;
}

.cart-drawer.is-open .cart-panel {
    transform: translateX(0);
}

.cart-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 6px 2px 18px;
}

.cart-panel-head h2 {
    font-size: 2rem;
    letter-spacing: -0.06em;
    line-height: 0.94;
}

.cart-close-button {
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.06);
    color: #f6f7f2;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.cart-items {
    display: grid;
    gap: 12px;
}

.cart-item-card,
.cart-summary,
.cart-empty,
.cart-message,
.order-card {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.cart-item-card {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 14px;
}

.cart-item-name {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.cart-item-price {
    margin-top: 6px;
    color: rgba(246, 247, 242, 0.7);
    font-size: 0.92rem;
}

.qty-controls {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #f6f7f2;
    font-size: 1.1rem;
    font-weight: 900;
    cursor: pointer;
}

.cart-empty {
    display: none;
    min-height: auto;
    padding: 24px;
    margin-top: 12px;
}

.booking-form {
    margin-top: 16px;
    display: grid;
    gap: 16px;
}

.booking-step-card {
    margin-bottom: 14px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.cart-helper-text,
.route-note {
    color: rgba(246, 247, 242, 0.72);
    line-height: 1.5;
    font-size: 0.96rem;
}

.product-option-label {
    margin-top: 16px;
}

.fulfillment-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.fulfillment-card {
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
}

.fulfillment-card input {
    width: 18px;
    height: 18px;
    accent-color: #55f29d;
}

.fulfillment-card strong {
    font-size: 0.95rem;
    letter-spacing: -0.04em;
}

.fulfillment-card span {
    color: rgba(246, 247, 242, 0.68);
    font-size: 0.88rem;
    line-height: 1.35;
}

.fulfillment-card:has(input:checked) {
    border-color: rgba(85, 242, 157, 0.35);
    background: rgba(85, 242, 157, 0.08);
}

.cart-summary {
    padding: 18px;
    display: grid;
    gap: 14px;
}

.cart-summary div,
.order-item-row,
.order-topline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.cart-summary span,
.order-meta-grid span,
.order-item-row span {
    color: rgba(246, 247, 242, 0.68);
}

.cart-summary strong,
.order-item-row strong {
    font-size: 1rem;
}

.cart-total-row {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
}

.cart-total-row strong {
    font-size: 1.35rem;
    color: #aaf7be;
}

.cart-input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.address-field {
    position: relative;
}

.address-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    z-index: 5;
    display: none;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(11, 15, 14, 0.97);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.32);
}

.address-suggestions.is-visible {
    display: grid;
    gap: 8px;
}

.address-option {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: inherit;
    padding: 14px;
    cursor: pointer;
}

.address-option strong,
.address-option span {
    display: block;
}

.address-option strong {
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.address-option span {
    margin-top: 4px;
    color: rgba(246, 247, 242, 0.66);
    font-size: 0.82rem;
    line-height: 1.35;
}

.cart-message {
    display: none;
    padding: 14px 16px;
    color: #baffd4;
}

.cart-message.is-visible {
    display: block;
}

.cart-message.is-error {
    color: #ffb7b7;
}

.cart-submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.admin-orders-section {
    margin-top: 28px;
}

.orders-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
    gap: 16px;
}

.order-card {
    padding: 20px;
    background: rgba(14, 18, 17, 0.84);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.order-topline h3 {
    font-size: 1.8rem;
    letter-spacing: -0.06em;
    line-height: 1;
}

.status-order {
    background: rgba(125, 156, 255, 0.12);
    color: #cdd7ff;
}

.order-meta-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.order-meta-grid p,
.order-item-row {
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
}

.order-meta-grid span,
.order-meta-grid strong {
    display: block;
}

.order-meta-grid strong {
    margin-top: 6px;
    font-size: 0.98rem;
}

.order-items-list {
    margin-top: 14px;
    display: grid;
    gap: 8px;
}

.order-note {
    margin-top: 14px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(145, 255, 181, 0.05);
    color: rgba(246, 247, 242, 0.78);
    white-space: pre-line;
}

.order-status-form {
    margin-top: 16px;
    display: grid;
    gap: 12px;
}

@media (min-width: 1024px) {
    body::before,
    body::after {
        content: "";
        position: fixed;
        inset: 0;
        pointer-events: none;
    }

    body::before {
        z-index: -2;
        background:
            linear-gradient(180deg, rgba(6, 8, 7, 0.58), rgba(6, 8, 7, 0.72)),
            url("/static/imgs/desk.jpg") center center / cover no-repeat,
            radial-gradient(circle at top left, rgba(37, 194, 122, 0.16), transparent 32%),
            radial-gradient(circle at top right, rgba(163, 130, 255, 0.12), transparent 28%),
            #060807;
    }

    body::after {
        z-index: -1;
        inset: -10%;
        background:
            radial-gradient(circle at center, rgba(6, 8, 7, 0) 36%, rgba(6, 8, 7, 0.82) 100%),
            url("/static/imgs/desk.jpg") center center / cover no-repeat;
        filter: blur(24px) saturate(0.9);
        opacity: 0.3;
    }
}

@media (min-width: 1600px) {
    body::before {
        background:
            linear-gradient(180deg, rgba(6, 8, 7, 0.48), rgba(6, 8, 7, 0.62)),
            url("/static/imgs/desk.jpg") center center / cover no-repeat,
            radial-gradient(circle at top left, rgba(37, 194, 122, 0.14), transparent 34%),
            radial-gradient(circle at top right, rgba(163, 130, 255, 0.1), transparent 30%),
            #060807;
    }

    body::after {
        inset: -8%;
        filter: blur(20px) saturate(0.94);
        opacity: 0.24;
        background:
            radial-gradient(circle at center, rgba(6, 8, 7, 0) 34%, rgba(6, 8, 7, 0.74) 100%),
            url("/static/imgs/desk.jpg") center center / cover no-repeat;
    }
}

@media (max-width: 820px) {
    body::before,
    body::after {
        content: "";
        position: fixed;
        inset: 0;
        pointer-events: none;
    }

    body::before {
        z-index: -2;
        background:
            linear-gradient(180deg, rgba(6, 8, 7, 0.64), rgba(6, 8, 7, 0.74)),
            url("/static/imgs/bg.jpg") center center / cover no-repeat,
            radial-gradient(circle at top left, rgba(37, 194, 122, 0.16), transparent 32%),
            radial-gradient(circle at top right, rgba(163, 130, 255, 0.12), transparent 28%),
            #060807;
    }

    body::after {
        z-index: -1;
        inset: -12%;
        background:
            radial-gradient(circle at center, rgba(6, 8, 7, 0) 38%, rgba(6, 8, 7, 0.84) 100%),
            url("/static/imgs/bg.jpg") center center / cover no-repeat;
        filter: blur(28px) saturate(0.88);
        opacity: 0.38;
    }

    .app-shell {
        padding-inline: 12px;
    }

    .topbar {
        position: static;
        border-radius: 22px;
        padding: 12px;
    }

    .brand-link small {
        display: none;
    }

    .top-link,
    .logout-button {
        padding: 12px 14px;
        font-size: 0.88rem;
    }

    .hero-card,
    .auth-card,
    .product-card,
    .admin-category-block,
    .admin-product-card {
        padding: 14px;
        border-radius: 24px;
    }

    .hero-card,
    .auth-card {
        padding: 22px;
    }

    .hero-grid {
        display: block;
    }

    .hero-stats {
        margin-top: 24px;
    }

    .catalog-tools {
        position: static;
        padding: 10px;
    }

    .media-tile,
    .admin-media-preview {
        width: min(100%, 86vw);
        border-radius: 22px;
    }

    .media-tile img,
    .media-tile video {
        aspect-ratio: 4 / 5;
        height: auto;
    }

    .product-body {
        padding: 12px 8px 8px;
    }

    .section-head,
    .admin-head,
    .product-edit-header,
    .product-topline,
    .media-form-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .field-label.wide {
        grid-column: span 1;
    }

    .contact-cta,
    .cart-add-button,
    .primary-button,
    .ghost-button {
        width: 100%;
    }

    .cart-fab {
        left: 12px;
        right: 12px;
        bottom: 12px;
        justify-content: space-between;
        width: auto;
    }

    .cart-panel {
        width: 100vw;
        padding: 14px;
    }

    .cart-input-grid,
    .fulfillment-grid,
    .order-meta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 390px) {
    body::before,
    body::after {
        content: none;
    }
}
