#newfb_product_set_parent {
	display: none;
}

#woocommerce-product-data .fb-product-image-source-field .wc-radios {
	width: auto;
}

#woocommerce-product-data ul.wc-tabs li.fb_commerce_tab_options a::before {
	content: "\f304";
}

/* added #woocommerce-product-data to increase selector specificity */
#woocommerce-product-data .fb-product-image-source-field .wc-radios li {
	margin-bottom: 0;
}
#woocommerce-product-data .fb-product-image-source-field .wc-radios li:last-child {
	padding-bottom: 0;
}


/* Ensure proper spacing between fields */
#facebook_options .options_group {
    padding: 0;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #eee;
}

#facebook_options .google_product_catgory {
    border-top: 1px solid #eee;
}

.woocommerce_variable_attributes .wp-editor-wrap label {
    float: left;
    width: 150px;
    padding: 0;
    color: #666;
    font-size: 12px;
    font-weight: 600;
    line-height: 24px;
}

/* Ensure editor area has proper height */
.wp-editor-area {
    min-height: 100px;
	color: #000000
}

/* Match WooCommerce field hover states */
#facebook_options .wp-editor-container:hover {
    border-color: #666;
}

/* add padding-top for first radio button in variation fields */
#woocommerce-product-data .woocommerce_variation .fb-product-image-source-field .wc-radios li:first-child {
	padding-top: 10px;
}

.woocommerce_variation .fb-product-image-source-field {
	margin: 1em 0;
}

.woocommerce_variation .fb-product-image-source-field legend {
	float: left;
	padding-inline-start: 0;
	padding-inline-end: 0;
}

.woocommerce_variation .fb-product-image-source-field .woocommerce-help-tip {
	float: left;
	margin-left: 4px;
	vertical-align: top;
}

.woocommerce_variation .fb-product-image-source-field .wc-radios {
	clear: both;
}

#woocommerce-product-data .wc_facebook_commerce_enabled_field label,
#woocommerce-product-data .wc_facebook_commerce_fields label {
	padding-right: 37px;
	position: relative;
	width: 113px;
}
#woocommerce-product-data .wc_facebook_commerce_enabled_field label .woocommerce-help-tip,
#woocommerce-product-data .wc_facebook_commerce_fields label .woocommerce-help-tip {
	margin: 0;
	position: absolute;
	top: 4px;
	right: 12px;
}

#woocommerce-product-data #fb_product_video_selected_thumbnails p.video-thumbnail {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

#woocommerce-product-data #fb_product_video_selected_thumbnails p.video-thumbnail img {
    height: 20px;
    width: 20px;
    margin-right: 10px;
}

#woocommerce-product-data #fb_product_video_selected_thumbnails p.video-thumbnail span {
	margin-right: 10px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	white-space: normal;
	line-height: 1.2em;
	max-height: 2.4em;
}

#woocommerce-product-data #fb_product_video_selected_thumbnails p.video-thumbnail a.remove-video {
	color: red;
    font-weight: 400;
    line-height: 26px;
    text-decoration: none;
}

#woocommerce-product-data #wc-facebook-google-product-category-fields {
	width: 50%;
}

#woocommerce-product-data .wc-facebook-google-product-category-field select {
	float: none;
	width: 100%;
	max-width: none;
}

#woocommerce-product-data #wc-facebook-google-product-category-fields .select2-container {
	float: none;
	width: 100% !important;
}

.notice .button.js-wc-plugin-framework-notice-dismiss {
	margin-left: 10px;
}

/* adjusts widths of the products table, same as WooCommerce categories and tags */
.column-facebook_sync {
	width: 11% !important;
}

.woocommerce_options_panel .wp-editor-container {
    margin-left: 162px;
    width: calc(100% - 182px);
    max-width: 550px;
}

.woocommerce_options_panel .wp-editor-tabs {
    margin-left: 162px;
    max-width: 550px;
}

/* Ensure the label aligns properly */
.woocommerce_options_panel label[for="fb_product_description"] {
    float: left;
    width: 150px;
    padding: 0;
    margin: 0 0 0 12px;
}

/* Ensure the wp-editor-wrap takes full width */
.wp-editor-wrap {
    width: 100%;
    max-width: 100%;
}

.facebook-metabox {
	overflow: hidden;
	clear: both;
	border: 1px solid #ddd;
	margin: 16px 0 !important;
	background: #fff;
	padding: 0 !important; /* Remove the previous padding */
	border-bottom: 1px solid #eee !important;
}
.facebook-metabox h3 {
	margin: 0 !important;
	font-size: 1em !important;
	padding: 0.5em 0.75em 0.5em 1em !important;
	cursor: pointer;
	border-bottom: 1px solid #ddd;
}
.facebook-metabox.closed .handlediv:before {
	content: "\f140" !important;
}
.facebook-metabox .handlediv:before {
	content: "\f142" !important;
	font: normal 20px/1 dashicons;
}
.facebook-metabox .wc-metabox-content {
	padding: 1em;
	background: #fff;
}
.facebook-metabox h3 strong {
	line-height: 26px;
	font-weight: 600;
}

.sync-indicator .sync-tooltip {
	display: none;
	position: absolute;
	background: #32373c;
	padding: 8px;
	border-radius: 3px;
	color: #fff;
	font-size: 11px;
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
	line-height: 1.4;
	white-space: nowrap;
	z-index: 9999;
	top: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(8px);
}

.sync-indicator .sync-tooltip:before {
	content: '';
	position: absolute;
	border: 6px solid transparent;
	border-bottom-color: #32373c;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
}

.sync-indicator:hover .sync-tooltip {
	display: block;
}

.synced-attribute {
	background-color: #f0f0f1 !important;
	cursor: not-allowed;
}

.sync-indicator .sync-tooltip:before {
	content: '';
	position: absolute;
	border: 6px solid transparent;
	border-bottom-color: #32373c;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
}

.sync-indicator:hover .sync-tooltip {
	display: block;
}

.wc-attributes-icon {
    display: inline-block;
    margin-left: 8px;
    cursor: help;
    vertical-align: middle;
    font-size: 14px;
    position: relative;
    line-height: 1;
    top: 2px;
}

.wc-attributes-icon:before {
    font-family: Dashicons;
    content: "\f175";
}

.woocommerce_options_panel {
    input[type="text"],
    input[type="number"],
    input[type="email"],
    input[type="url"],
    select {
        font-size: 12px !important;
    }
}