/* product_edit.html — marketing product editor (transformations layout extensions) */

.product_edit_prefill_holder,
.product_edit_ait_options_template {
    display: none;
}

.product_edit_hint {
    font-weight: 400;
    color: #64748b;
}

.product_edit_category_frozen_hint {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.45;
    color: #64748b;
}

.product_edit_key_values_container,
.product_edit_use_cases_container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.product_edit_key_value_row {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
}

.product_edit_key_value_row .edit_section_content_item_value_editable {
    flex: 1;
}

.product_edit_remove_key_value_button {
    flex-shrink: 0;
}

.product_edit_file_picker {
    display: flex;
    align-items: stretch;
    max-width: 100%;
    min-height: 36px;
    border: 1px solid #D1D5DC;
    border-radius: 5px;
    background-color: #ffffff;
    overflow: hidden;
    box-sizing: border-box;
}

.product_edit_file_picker.edit_input_error {
    border-color: #d32f2f !important;
    background-color: #ffebee !important;
}

.product_edit_file_picker_button {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.4;
    color: #364153;
    background-color: #f5f5f5;
    border-right: 1px solid #D1D5DC;
    cursor: pointer;
    box-sizing: border-box;
}

.product_edit_file_picker_filename {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.4;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
}

.product_edit_file_input_hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.product_edit_insights_image_guidance {
    margin: 4px 0 8px;
    font-size: 14px;
    line-height: 1.45;
    color: #64748b;
}

.product_edit_insights_file_meta {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.45;
    color: #364153;
    font-weight: 500;
}

.product_edit_insights_file_meta:empty {
    display: none;
}

.product_edit_image_preview {
    margin-top: 8px;
    border: 1px solid #BFBFBF;
    border-radius: 5px;
    padding: 8px;
    max-width: 100%;
    background-color: #ffffff;
}

.product_edit_image_preview_img {
    display: block;
    max-width: 100%;
    height: auto;
}

.product_edit_key_values_container.product_edit_input_error_block {
    border: 1px solid #d32f2f;
    background-color: #ffebee;
    border-radius: 4px;
    padding: 8px;
}

.product_edit_form .edit_section_content_item ._error:empty {
    display: none;
}

.products_listing_header_actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.products_listing_header_actions .marketing_products_view_select {
    color: #000000;
    padding: 4px 28px 4px 10px;
    border-radius: 3px;
    cursor: pointer;
    border: 1px solid gray;
    background-color: #D1D6DF;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23000000' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E"),
        linear-gradient(to bottom, #FFFFFF, #D1D6DF);
    background-repeat: no-repeat, repeat;
    background-position: right 10px center, 0 0;
    background-size: 10px 6px, auto;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    user-select: none;
    font-weight: 500;
    font-size: 16px;
    line-height: normal;
    margin-top: 0;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    white-space: nowrap;
}

.products_listing_header_actions .marketing_products_view_select:focus {
    outline: auto 5px -webkit-focus-ring-color;
}
