/* POOQ Device Match v1.0.2 */

/* Compatibility strip above the add-to-cart form */
.pooq-dm-compat {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	margin: 0 0 14px;
	padding: 10px 12px;
	background: #f4efe9;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.4;
	color: #35415b;
}
.pooq-dm-compat-icon {
	display: inline-flex;
	color: #9A5A32;
}
.pooq-dm-compat-text strong {
	font-weight: 700;
}
.pooq-dm-switch {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	font-size: 13px;
}
.pooq-dm-switch select {
	max-width: 190px;
	padding: 4px 28px 4px 8px;
	font-size: 13px;
	line-height: 1.3;
	border: 1px solid #876333;
	border-radius: 6px;
	background-color: #fff;
	height: auto;
}
@media (max-width: 600px) {
	.pooq-dm-switch {
		margin-left: 0;
		width: 100%;
	}
	.pooq-dm-switch select {
		flex: 1 1 auto;
		max-width: none;
	}
}

/* Heading printed before the device-matched carousel */
.pooq-dm-heading {
	margin: 0 0 1rem;
}

/* Add-on rows (cart page and fly-cart) */
.pooq-dm-addons {
	margin: 18px 0 6px;
}
.pooq-dm-addons-title {
	font-weight: 700;
	font-size: 15px;
	margin-bottom: 8px;
}
.pooq-dm-addons ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.pooq-dm-addons li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	border-top: 1px solid rgba(135, 99, 51, 0.18);
}
.pooq-dm-addons li:last-child {
	border-bottom: 1px solid rgba(135, 99, 51, 0.18);
}
.pooq-dm-addon-img {
	flex: 0 0 56px;
}
.pooq-dm-addon-img img {
	width: 56px;
	height: 56px;
	object-fit: contain;
	background: #fff;
	border-radius: 6px;
	display: block;
}
.pooq-dm-addon-info {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.pooq-dm-addon-title {
	font-size: 13px;
	line-height: 1.3;
	font-weight: 600;
	color: inherit;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.pooq-dm-addon-price {
	font-size: 13px;
	font-weight: 700;
}
.pooq-dm-addon-price del {
	font-weight: 400;
	opacity: 0.6;
	margin-right: 4px;
}
.pooq-dm-addons .pooq-dm-add {
	flex: 0 0 auto;
	font-size: 12px;
	padding: 0.6em 1em;
	line-height: 1.2;
	border-radius: 6px;
	white-space: nowrap;
}
/* v1.0.3 (2026-09-07, owner): the add-on button is a SECONDARY action. It rendered in the same copper as the
   checkout button (#B66C40 against #B0693F), so the cart page had two identical primary buttons, and in the fly-cart
   the copper sat on the brown panel. Cart page: cream with the theme's heading colour and a thin brown border, the
   same family as the "Ενημέρωση" button. Fly-cart: cream on the brown panel. !important because the theme paints
   .button colours with higher specificity. Size and shape are left exactly as they were. */
.woocommerce-cart .pooq-dm-addons li a.button.pooq-dm-add,
.pooq-dm-addons li a.button.pooq-dm-add {
	background: #F3EFEA !important;
	color: #35415B !important;
	border: 1px solid rgba(135, 99, 51, 0.45) !important;
	box-shadow: none !important;
	transition: background .15s, border-color .15s, color .15s;
}
.woocommerce-cart .pooq-dm-addons li a.button.pooq-dm-add:hover,
.pooq-dm-addons li a.button.pooq-dm-add:hover,
.pooq-dm-addons li a.button.pooq-dm-add:focus-visible {
	background: #FFFFFF !important;
	color: #876333 !important;
	border-color: #876333 !important;
}
.pooq-dm-addons li a.button.pooq-dm-add.added {
	background: #876333 !important;
	color: #FFFFFF !important;
	border-color: #876333 !important;
}
.pooq-dm-addons.pooq-dm-addons-fly li a.button.pooq-dm-add,
.woocommerce-cart .pooq-dm-addons.pooq-dm-addons-fly li a.button.pooq-dm-add {
	background: #F3EFEA !important;
	color: #876333 !important;
	border-color: transparent !important;
}
.pooq-dm-addons.pooq-dm-addons-fly li a.button.pooq-dm-add:hover,
.woocommerce-cart .pooq-dm-addons.pooq-dm-addons-fly li a.button.pooq-dm-add:hover {
	background: #FFFFFF !important;
	color: #6F5129 !important;
}
.pooq-dm-addons.pooq-dm-addons-fly li a.button.pooq-dm-add.added,
.woocommerce-cart .pooq-dm-addons.pooq-dm-addons-fly li a.button.pooq-dm-add.added {
	background: #FFFFFF !important;
	color: #876333 !important;
}
.pooq-dm-addons .pooq-dm-add.loading {
	opacity: 0.6;
	pointer-events: none;
}
.pooq-dm-addons .pooq-dm-add.added::after {
	content: " ✓";
}
.pooq-dm-addons .added_to_cart {
	display: none;
}

/* fly-cart: tighter, white text on the brown panel */
.pooq-dm-addons-fly {
	margin: 10px 0 0;
	padding: 0 4px;
	color: #fff;
}
.pooq-dm-addons-fly .pooq-dm-addons-title {
	font-size: 14px;
	color: #fff;
}
.pooq-dm-addons-fly .pooq-dm-addon-title,
.pooq-dm-addons-fly .pooq-dm-addon-title:hover,
.pooq-dm-addons-fly .pooq-dm-addon-price,
.pooq-dm-addons-fly .pooq-dm-addon-price .amount {
	color: #fff;
}
.pooq-dm-addons-fly .pooq-dm-addon-price del,
.pooq-dm-addons-fly .pooq-dm-addon-price del .amount {
	color: rgba(255, 255, 255, 0.7);
}
.pooq-dm-addons-fly li {
	border-color: rgba(255, 255, 255, 0.25);
}
