.dropeego-product-links-wrapper,
.dropeego-product-links-wrapper * {
	box-sizing: border-box;
}

.dropeego-product-links-wrapper {
	width: 100%;
	min-width: 0;
}

.dropeego-product-links-search-bar-wrapper {
	width: 100%;
	margin-bottom: 20px;
}

.dropeego-product-links-search-form {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	margin: 0;
}

.dropeego-product-links-category {
	flex: 0 1 220px;
	min-width: 0;
}

.dropeego-product-links-search-wrapper {
	flex: 1 1 auto;
	min-width: 0;
}

.dropeego-product-links-order-wrapper {
	flex: 0 1 220px;
	min-width: 0;
}

.dropeego-product-links-category-select,
.dropeego-product-links-search-input,
.dropeego-product-links-order-select {
	display: block;
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid #f5773e !important;
	border-radius: 6px;
	background: #fff;
	box-shadow: none !important;
	outline: none;
	color: #37586D;
}

.dropeego-product-links-category-select,
.dropeego-product-links-order-select {
	padding-right: 32px;
}

.dropeego-product-links-category-select:focus,
.dropeego-product-links-search-input:focus,
.dropeego-product-links-order-select:focus {
	border-color: #f5773e !important;
	box-shadow: 0 0 0 1px #f5773e !important;
	outline: none;
}

.dropeego-product-links-extrasearch-wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	margin-bottom: 15px;
}

.dropeego-product-links-count-wrapper {
	color: #37586D;
	font-size: 14px;
}

.dropeego-product-links-count {
	font-weight: 600;
	color: #f5773e;
}


/* Desktop product table */

.dropeego-product-links-items-header,
.dropeego-product-links-single-item {
	display: grid !important;
	grid-template-columns:
		70px
		minmax(0, 1fr)
		minmax(105px, 0.85fr)
		minmax(105px, 0.85fr)
		minmax(155px, 1.15fr) !important;
	align-items: center;
	column-gap: 12px;
	width: 100%;
	min-width: 0;
}

.dropeego-product-links-items-header {
	padding: 12px 16px;
	background: #37586D;
	color: #fff !important;
	font-weight: 600;
	border-radius: 6px 6px 0 0;
}

.dropeego-product-links-items-header > div {
	display: block !important;
	min-width: 0;
	visibility: visible !important;
	opacity: 1 !important;
	color: #fff !important;
}

.dropeego-product-links-items-header .dropeego-product-links-image,
.dropeego-product-links-items-header .dropeego-product-links-name,
.dropeego-product-links-items-header .dropeego-product-links-price,
.dropeego-product-links-items-header .dropeego-product-links-rewards,
.dropeego-product-links-items-header .dropeego-product-links-action {
	display: block !important;
	min-width: 0;
	visibility: visible !important;
	opacity: 1 !important;
	color: #fff !important;
}

.dropeego-product-links-items-header .dropeego-product-links-image {
	text-align: center;
}

.dropeego-product-links-items-header .dropeego-product-links-name {
	text-align: left;
}

.dropeego-product-links-items-header .dropeego-product-links-price,
.dropeego-product-links-items-header .dropeego-product-links-rewards {
	text-align: center;
}

.dropeego-product-links-items-header .dropeego-product-links-action {
	text-align: center;
}


/* Product rows */

.dropeego-product-links-items-wrapper {
	width: 100%;
	min-width: 0;
}

.dropeego-product-links-single-item {
	padding: 15px 16px;
	border-right: 1px solid #e5e5e5;
	border-bottom: 1px solid #e5e5e5;
	border-left: 1px solid #e5e5e5;
	background: #fff;
}

.dropeego-product-links-single-item > div {
	min-width: 0;
}

.dropeego-product-links-image {
	width: 100%;
}

.dropeego-product-links-product-image {
	display: block;
	width: 60px;
	height: 60px;
	object-fit: contain;
	margin: 0 auto;
}

.dropeego-product-links-name {
	min-width: 0;
}

.dropeego-product-links-product-name {
	display: block;
	color: #37586D;
	font-weight: 600;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.dropeego-product-links-product-name:hover {
	color: #f5773e;
}

.dropeego-product-links-category-name {
	margin-top: 5px;
	font-size: 12px;
	color: #777;
}

.dropeego-product-links-category-name a {
	color: #37586D;
}


/* Price */

.dropeego-product-links-price {
	min-width: 0;
	padding: 0 5px;
	color: #37586D;
	text-align: center;
	overflow-wrap: anywhere;
}

.dropeego-product-links-regular-price {
	margin-bottom: 3px;
	color: #999;
	text-decoration: line-through;
	font-size: 12px;
}

.dropeego-product-links-sale-price,
.dropeego-product-links-current-price {
	color: #f5773e;
	font-size: 14px;
	font-weight: 600;
}


/* Commission */

.dropeego-product-links-rewards {
	min-width: 0;
	padding: 0 5px;
	color: #37586D;
	text-align: center;
	overflow-wrap: anywhere;
}

.dropeego-product-links-reward-label {
	display: none;
}

.dropeego-product-links-rewards .woocommerce-Price-amount {
	color: #f5773e;
	font-weight: 700;
	white-space: nowrap;
}


/* Affiliate action */

.dropeego-product-links-action {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	padding: 0 4px;
	text-align: center;
}

.dropeego-product-links-affiliate-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	min-height: 42px;
	padding: 8px 12px;
	border: 1px solid #f5773e;
	border-radius: 6px;
	background: transparent;
	color: #f5773e;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
	text-decoration: none;
	white-space: normal;
	overflow-wrap: anywhere;
	cursor: pointer;
	transition: all 0.2s ease;
}

.dropeego-product-links-affiliate-action:hover {
	background: #f5773e;
	border-color: #f5773e;
	color: #fff;
}

.dropeego-product-links-become-affiliate {
	color: #37586D;
	font-size: 13px;
	line-height: 1.4;
	overflow-wrap: anywhere;
}


/* Pagination */

.dropeego-product-links-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 20px;
}

.dropeego-product-links-pagination a,
.dropeego-product-links-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	color: #37586D;
	text-decoration: none;
}

.dropeego-product-links-pagination a:hover,
.dropeego-product-links-pagination .current {
	border-color: #f5773e;
	background: #f5773e;
	color: #fff;
}


/* No results and loading */

.dropeego-product-links-no-results {
	padding: 30px;
	border: 1px solid #e5e5e5;
	color: #37586D;
	text-align: center;
}

.dropeego-product-links-loading {
	opacity: 0.6;
	pointer-events: none;
}


/* Tablet */

@media (min-width: 768px) and (max-width: 1024px) {
	.dropeego-product-links-items-header,
	.dropeego-product-links-single-item {
		grid-template-columns:
			55px
			minmax(0, 1fr)
			minmax(85px, 0.8fr)
			minmax(85px, 0.8fr)
			minmax(120px, 1fr) !important;
		column-gap: 8px;
	}

	.dropeego-product-links-items-header {
		padding: 11px 10px;
		font-size: 12px;
	}

	.dropeego-product-links-single-item {
		padding: 12px 10px;
	}

	.dropeego-product-links-product-image {
		width: 50px;
		height: 50px;
	}

	.dropeego-product-links-affiliate-action {
		padding: 7px 8px;
		font-size: 12px;
	}

	.dropeego-product-links-sale-price,
	.dropeego-product-links-current-price,
	.dropeego-product-links-rewards .woocommerce-Price-amount {
		font-size: 13px;
	}
}


/* Mobile cards */

@media (max-width: 767px) {
	.dropeego-product-links-search-form {
		flex-direction: column;
		align-items: stretch;
	}

	.dropeego-product-links-category,
	.dropeego-product-links-search-wrapper,
	.dropeego-product-links-order-wrapper {
		flex: 1 1 auto;
		width: 100%;
	}

	.dropeego-product-links-items-header {
		display: none !important;
	}

	.dropeego-product-links-single-item {
		display: grid !important;
		grid-template-columns: 64px minmax(0, 1fr) !important;
		grid-template-rows: auto auto auto auto !important;
		column-gap: 12px;
		row-gap: 8px;
		padding: 14px;
		margin-bottom: 10px;
		border: 1px solid #e5e5e5;
		border-radius: 7px;
	}

	.dropeego-product-links-single-item .dropeego-product-links-image {
		grid-column: 1;
		grid-row: 1 / span 4;
		width: 64px;
	}

	.dropeego-product-links-product-image {
		width: 60px;
		height: 60px;
		margin: 0;
	}

	.dropeego-product-links-single-item .dropeego-product-links-name {
		grid-column: 2;
		grid-row: 1;
		text-align: left;
	}

	.dropeego-product-links-single-item .dropeego-product-links-price {
		grid-column: 2;
		grid-row: 2;
		padding: 0;
		text-align: left;
	}

	.dropeego-product-links-single-item .dropeego-product-links-rewards {
		grid-column: 2;
		grid-row: 3;
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		gap: 6px;
		padding: 0;
		text-align: left;
	}

	.dropeego-product-links-single-item .dropeego-product-links-reward-label {
		display: inline;
		color: #777;
		font-size: 12px;
		font-weight: 500;
	}

	.dropeego-product-links-single-item .dropeego-product-links-action {
		grid-column: 2;
		grid-row: 4;
		justify-content: flex-start;
		padding: 0;
		text-align: left;
	}

	.dropeego-product-links-affiliate-action {
		width: auto;
		max-width: 100%;
		justify-content: center;
	}

	.dropeego-product-links-become-affiliate {
		text-align: left;
	}

	.dropeego-product-links-extrasearch-wrapper {
		align-items: stretch;
		flex-direction: column;
		gap: 10px;
	}

	.dropeego-product-links-pagination {
		margin-top: 15px;
	}
}


/* Small mobile */

@media (max-width: 380px) {
	.dropeego-product-links-single-item {
		grid-template-columns: 54px minmax(0, 1fr) !important;
		column-gap: 10px;
		padding: 11px;
	}

	.dropeego-product-links-single-item .dropeego-product-links-image {
		width: 54px;
	}

	.dropeego-product-links-product-image {
		width: 52px;
		height: 52px;
	}

	.dropeego-product-links-product-name {
		font-size: 13px;
	}

	.dropeego-product-links-sale-price,
	.dropeego-product-links-current-price,
	.dropeego-product-links-rewards .woocommerce-Price-amount {
		font-size: 12px;
	}
}