.mobile-shop-product-form,
.mobile-shop-product-form * {
    box-sizing: border-box;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    letter-spacing: 0 !important;
}

.mobile-shop-product-form .fa,
.mobile-shop-product-form .fas,
.mobile-shop-product-form .fa-solid {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.mobile-shop-product-form {
    position: fixed;
    top: var(--mobile-app-header-height, calc(env(safe-area-inset-top, 0px) + 116px));
    right: 0;
    bottom: var(--mobile-shop-bottom-nav-offset, calc(64px + env(safe-area-inset-bottom, 0px)));
    left: 0;
    z-index: 9000;
    background: var(--mobile-shop-bg);
    color: var(--mobile-shop-text);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-shop-product-form-shell {
    min-height: 100%;
    padding: 14px 14px calc(26px + env(safe-area-inset-bottom, 0px));
}

.mobile-shop-product-form-header {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 74px;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.mobile-shop-product-form-close {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid var(--mobile-shop-border);
    background: var(--mobile-shop-button-bg);
    color: var(--mobile-shop-text);
    -webkit-text-fill-color: var(--mobile-shop-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-shop-product-form-title {
    min-width: 0;
    text-align: center;
}

.mobile-shop-product-form-title span {
    display: block;
    color: var(--mobile-shop-muted);
    font-size: 11px;
    font-weight: 760;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.mobile-shop-product-form-title h2 {
    margin: 0;
    color: var(--mobile-shop-text);
    font-size: 21px;
    line-height: 1;
    font-weight: 780;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-shop-product-form-save {
    min-height: 40px;
    border-radius: 999px;
    border: 1px solid var(--mobile-shop-border);
    background: var(--mobile-shop-button-bg);
    color: var(--mobile-shop-text);
    -webkit-text-fill-color: var(--mobile-shop-text);
    font-size: 13px;
    font-weight: 780;
}

.mobile-shop-product-form-media {
    position: relative;
    aspect-ratio: 1 / 1.02;
    border-radius: 10px;
    border: 1px solid var(--mobile-shop-border);
    background: var(--mobile-shop-card-soft);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.mobile-shop-product-form-upload {
    position: absolute;
    inset: 0;
    border: 0;
    background: transparent;
    color: var(--mobile-shop-text);
    -webkit-text-fill-color: var(--mobile-shop-text);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 720;
}

.mobile-shop-product-form-upload i {
    font-size: 25px;
}

.mobile-shop-product-form-file {
    display: none;
}

.mobile-shop-product-form-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.mobile-shop-product-form-media.has-preview img {
    display: block;
}

.mobile-shop-product-form-media.has-preview .mobile-shop-product-form-upload {
    inset: auto 12px 12px auto;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--mobile-shop-surface);
    border: 1px solid var(--mobile-shop-border);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
}

.mobile-shop-product-form-media.has-preview .mobile-shop-product-form-upload span {
    display: none;
}

.mobile-shop-product-form-grid {
    display: grid;
    gap: 13px;
}

.mobile-shop-product-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.mobile-shop-product-form-field {
    display: grid;
    gap: 7px;
}

.mobile-shop-product-form-field label {
    color: var(--mobile-shop-muted);
    font-size: 12px;
    font-weight: 760;
}

.mobile-shop-product-form-field input,
.mobile-shop-product-form-field textarea,
.mobile-shop-product-form-field select {
    width: 100%;
    border: 1px solid var(--mobile-shop-border);
    border-radius: 10px;
    background: var(--mobile-shop-card-bg);
    color: var(--mobile-shop-text);
    font-size: 15px;
    font-weight: 620;
    outline: none;
    box-shadow: none;
}

.mobile-shop-product-form-field input,
.mobile-shop-product-form-field select {
    height: 46px;
    padding: 0 13px;
}

.mobile-shop-product-form-field textarea {
    min-height: 104px;
    resize: vertical;
    padding: 13px;
    line-height: 1.4;
}

.mobile-shop-product-form-field input::placeholder,
.mobile-shop-product-form-field textarea::placeholder {
    color: var(--mobile-shop-subtle);
}

.mobile-shop-product-form-note {
    margin: 3px 0 0;
    color: var(--mobile-shop-subtle);
    font-size: 12px;
    line-height: 1.35;
}
