/**
 * DropPrint - Product List Item & Controls Styles (v1.1.2).
 * Styles for individual product rows, product list controls (media dropdown,
 * search), and the dynamic "Show All Options" trigger. V1.1 refines the
 * layout of controls, search bar appearance, and implements advanced styling
 * for the trigger: it can be sticky at the top when all items are shown, or
 * appear at the bottom, fading in on scroll, when more items are hidden.
 * Styles aim to integrate with standard WooCommerce admin aesthetics.
 */
.drop-print-product {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 15px;
	border-bottom: 1px solid #ddd;
	color: #555;
	transition: background-color 0.2s ease, color 0.2s ease, filter 0.3s ease, opacity 0.3s ease;
	min-height: 85px;
	overflow: hidden;
}
.drop-print-product:hover {
	background-color: #f8f9fa;
	color: #1d2327;
}
.drop-print-products-col {
	position: relative;
}
.drop-print-product-info {
	flex-grow: 1;
	flex-shrink: 1;
	flex-basis: 0;
	min-width: 0;
	padding-right: 15px;
	overflow: hidden;
}
.drop-print-product-title {
	font-size: 0.9em;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 5px;
	color: #1d2327;
}
.drop-print-product-sku,
.drop-print-shipping-info,
.drop-print-item-cost,
.drop-print-image-quality-title,
.drop-print-image-quality-container {
	font-size: 0.8em;
	line-height: 1.4;
	margin-top: 4px;
	color: #50575e;
	white-space: normal;
}
.drop-print-product-sku {
	display: none;
}
.drop-print-shipping-info span[title],
.drop-print-item-cost {
	font-weight: 500;
}
.drop-print-shipping-info span[title] {
	cursor: help;
	margin-right: 4px;
	font-size: 1.2em;
	vertical-align: middle;
}
.drop-print-shipping-clarification {
	font-size: 0.9em;
	color: #757575;
	margin-left: 2px;
	vertical-align: middle;
}
.drop-print-image-quality-title {
	display: inline-block;
	margin-right: 5px;
	vertical-align: middle;
}
.drop-print-image-quality-container {
	display: inline-block;
	width: 100px;
	height: 8px;
	background: #f0f0f0;
	border-radius: 4px;
	overflow: hidden;
	margin: 0;
	border: 1px solid #ddd;
	vertical-align: middle;
}
.drop-print-image-quality-indicator {
	display: block;
	height: 100%;
	width: 0;
	max-width: 100%;
	border-radius: 3px;
	transition: width 0.3s ease, background-color 0.3s ease;
}
.drop-print-image-quality-indicator.excellent { background: #4CAF50; }
.drop-print-image-quality-indicator.good      { background: #FFC107; }
.drop-print-image-quality-indicator.fair       { background: #FF9800; }
.drop-print-image-quality-indicator.poor       { background: #F44336; }
.drop-print-image-quality-indicator.exact-match {
	background: #27ae60;
	animation: drop-print-pulse-exact 1.8s infinite ease-in-out;
}
@keyframes drop-print-pulse-exact {
	0%, 100% { box-shadow: 0 0 4px rgba(39, 174, 96, 0.6); }
	50% { box-shadow: 0 0 10px rgba(39, 174, 96, 0.9); }
}
.drop-print-shipping-estimate-price {
	font-style: italic;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.2s ease-in-out, visibility 0s linear 0.4s;
	margin-left: 1px;
}
.drop-print-product:hover .drop-print-shipping-estimate-price {
	visibility: visible;
	opacity: 1;
	transition-delay: 0s;
}
.drop-print-shipping-estimate {
	color: #555;
	font-size: 0.9em;
}
.drop-print-product-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-shrink: 0;
	flex-grow: 0;
}
.drop-print-sell-price-wrapper {
	display: inline-flex;
	align-items: stretch;
	vertical-align: middle;
	border: 1px solid #ccd0d4;
	border-radius: 3px;
	padding: 0;
	background-color: #fff;
	transition: border-color 0.1s ease, box-shadow 0.1s ease;
	overflow: hidden;
}
.drop-print-sell-price-wrapper:focus-within {
	border-color: #007cba;
	box-shadow: 0 0 0 1px #007cba;
}
.drop-print-sell-price-wrapper:not(:has(input:disabled)):hover {
	border-color: #8c8f94;
}
#drop-print-product-data-panel input.drop-print-product-sell-price[type=number],
#drop-print-product-data-panel .drop-print-product-info label,
.drop-print-overlay-message label,
#drop-print-product-data-panel .drop-print-product-actions label,
#drop-print-product-data-panel .drop-print-image-quality-title {
	margin: initial!important;
	width: initial;
	padding: initial;
	float: none !important;
	position: static !important;
	display: inline-flex !important;
	align-items: center;
}
#drop-print-product-data-panel input.drop-print-product-sell-price[type=number] {
    padding-left: 4px;
}
#drop-print-product-data-panel .drop-print-product-actions label {
    max-width: 15px!important;
}
#drop-print-product-data-panel .drop-print-sell-price-label {
	font-size: 1em;
	color: #50575e;
	padding: 6px 5px 6px 8px !important;
	cursor: default;
	line-height: 1;
	font-weight: normal;
	white-space: nowrap;
	border: none;
	border-radius: 0;
	background-color: #f6f7f7;
	border-right: 1px solid #ccd0d4;
}
#drop-print-product-data-panel .drop-print-image-quality-title {
	font-size: 0.8em;
	line-height: 1.4;
	margin-top: 0;
	color: #50575e;
	margin-right: 5px;
	vertical-align: middle;
	font-weight: normal;
}
input.drop-print-product-sell-price {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: textfield;
	border: none;
	background-color: transparent;
	padding: 6px 8px;
	font-size: 13px;
	line-height: 1.84615384;
	color: #2c3338 !important;
	opacity: 1 !important;
	max-width: 65px !important;
	min-width: 50px;
	text-align: left;
	box-shadow: none;
	border-radius: 0;
	outline: none;
	transition: color 0.2s ease;
	font-family: inherit;
}
input.drop-print-product-sell-price:disabled {
	color: #8c8f94 !important;
	cursor: not-allowed;
	background-color: transparent;
	opacity: 0.7 !important;
}
.drop-print-sell-price-wrapper:has(input:disabled) {
	background-color: #f0f0f1;
	border-color: #dcdcde;
	box-shadow: none;
}
.drop-print-sell-price-wrapper:has(input:disabled) .drop-print-sell-price-label {
	color: #8c8f94 !important;
	background-color: #f0f0f1;
	border-color: #dcdcde;
}
input.drop-print-product-sell-price::-webkit-outer-spin-button,
input.drop-print-product-sell-price::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
#drop-print-product-data-panel .drop-print-product-checkbox {
	width: 32px;
	height: 32px;
	margin-left: 10px;
	appearance: none;
	-webkit-appearance: none;
	background-color: #fff;
	border: 1px solid #8c8f94;
	border-radius: 3px;
	cursor: pointer;
	position: relative;
	vertical-align: middle;
	flex-shrink: 0;
}
#drop-print-product-data-panel .drop-print-product-checkbox:not(:disabled):hover {
	border-color: #007cba;
	box-shadow: 0 0 0 1px #007cba;
}
#drop-print-product-data-panel .drop-print-product-checkbox:checked {
	background-color: #007cba;
	border-color: #007cba;
}
#drop-print-product-data-panel .drop-print-product-checkbox:checked::before {
	content: '\f147';
	font-family: dashicons;
	font-size: 26px;
	line-height: 1;
	color: #fff;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
#drop-print-product-data-panel .drop-print-product-checkbox:disabled {
	cursor: not-allowed;
	opacity: 0.6;
	border-color: #dcdcde;
	background-color: #f6f7f7;
}
#drop-print-product-data-panel .drop-print-product-checkbox:disabled:checked::before {
	color: #a7aaad;
}
.drop-print-product.match {
	border-left-width: 5px;
	border-left-style: solid;
	border-left-color: #77cc7a;
	animation-name: pulse-left-border;
	animation-duration: 1.5s;
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
}
@keyframes pulse-left-border {
	0% { border-left-color: #77cc7a; }
	50% { border-left-color: #99e09d; }
	100% { border-left-color: #77cc7a; }
}
.drop-print-product.match:hover {
	background-color: #f1f8f1;
}
.drop-print-product.match.selected {
	border-left-width: 0px;
}
.drop-print-product.unsuitable-product {
	filter: grayscale(70%);
	opacity: 0.8;
	color: #757575;
	background-color: #f5f5f5;
	border-bottom-color: #d0d0d0;
}
.drop-print-product.unsuitable-product:hover {
	filter: grayscale(40%);
	opacity: 1;
	background-color: #eeeeee;
}
.drop-print-product.unsuitable-product .drop-print-product-actions {
    display: none;
}
.drop-print-product.unsuitable-product .drop-print-product-actions,
.drop-print-product.unsuitable-product .drop-print-image-quality-container {
	opacity: 0.8;
}
.drop-print-product.unsuitable-product input.drop-print-product-checkbox:disabled {
	cursor: not-allowed;
}
.drop-print-product.selected {
	background-color: #f0f6fc;
}
.drop-print-product.drop-print-hidden-non-match {
    display: none;
    background: #fff;
}
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}
.drop-print-controls-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 15px;
	border-bottom: 1px solid #e0e0e0;
	background-color: #f9f9f9;
}
.drop-print-media-select-wrapper {
	flex-grow: 1;
	margin-right: 15px;
}
#drop-print-media-select {
	width: 100%;
}
.drop-print-product-search-wrapper {
	flex-shrink: 0;
}
#drop-print-product-search {
	width: auto;
	min-width: 150px;
	max-width: 220px;
}
.drop-print-product-list-footer {
	padding: 0;
	margin-top: 0;
	position: relative;
}
.drop-print-show-all-trigger {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 10px 15px;
	background-color: #f6f7f7;
	border-top: 1px solid #ddd;
	color: #2271b1;
	text-align: center;
	cursor: pointer;
	font-size: 13px;
	box-sizing: border-box;
	transition: background-color 0.15s ease, opacity 0.3s ease-in-out;
	outline: none;
	opacity: 0.8;
	pointer-events: none;
	position: relative;
	z-index: 5;
}
.drop-print-show-all-trigger.visible {
	opacity: 1;
	pointer-events: auto;
}
.drop-print-show-all-trigger:not(.disabled):hover,
.drop-print-show-all-trigger:not(.disabled):focus {
	background-color: #f0f0f0;
	color: #135e96;
}
.drop-print-show-all-trigger .drop-print-show-all-indicator {
	margin-left: 8px;
	font-size: 16px;
	line-height: 1;
	height: 16px;
	width: 16px;
	transition: transform 0.2s ease-out;
}
.drop-print-show-all-trigger.disabled,
.drop-print-show-all-trigger[aria-disabled="true"] {
	color: #a0a5aa;
	background-color: #f6f7f7;
	cursor: default;
	opacity: 0.7 !important;
	pointer-events: none;
}
.drop-print-show-all-trigger.disabled .drop-print-show-all-indicator,
.drop-print-show-all-trigger[aria-disabled="true"] .drop-print-show-all-indicator {
	opacity: 0.5;
}
.drop-print-show-all-trigger.is-sticky-top {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	background-color: #fff;
	border-top: none;
	z-index: 100;
	opacity: 1 !important;
	pointer-events: auto !important;
}
.drop-print-show-all-trigger.is-sticky-top.disabled,
.drop-print-show-all-trigger.is-sticky-top[aria-disabled="true"] {
    background-color: #f9f9f9;
    color: #999;
}
.drop-print-show-all-trigger.is-sticky-top .drop-print-show-all-indicator,
.drop-print-show-all-trigger[aria-expanded="true"] .drop-print-show-all-indicator {
	transform: rotate(180deg);
}