/* DIY Marquees – range product cards. Colours per range live in the plugin's range list. */
ul.products li.product.dmrc {
	display: flex !important;
	flex-direction: column;
	padding: 0 !important;
	background: #fff;
	border: 1px solid #e2e5ea;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
	text-align: left;
	font-family: Arial, Helvetica, sans-serif;
	color: #1a1d24;
}
ul.products li.product.dmrc.dmrc--popular { border: 2px solid #1f5fd6; }

.dmrc__media { position: relative; display: block; overflow: hidden; line-height: 0; }
.dmrc__media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin: 0 !important; }
.dmrc__ribbon {
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	position: absolute; top: 22px; right: -44px; width: 170px;
	transform: rotate(45deg); text-align: center;
	font-size: 11px; font-weight: 700; line-height: 1.2; padding: 5px 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}
.dmrc__stock {
	position: absolute; left: 10px; bottom: 10px;
	display: inline-flex; align-items: center; gap: 5px;
	background: #fff; font-size: 12px; font-weight: 700; line-height: 1;
	padding: 6px 9px; border-radius: 4px;
}
.dmrc__stock i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.dmrc__stock.is-in { color: #1d6b34; }
.dmrc__stock.is-out { color: #9a4a00; }

.dmrc__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }

.dmrc__range { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dmrc__pill { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; line-height: 1.2; }
.dmrc__tag { font-size: 12px; font-weight: 700; color: #3a404c; }

.dmrc-dur { display: flex; align-items: center; gap: 8px; }
.dmrc-dur__icons { display: flex; gap: 3px; }
.dmrc-dur__icon { color: #d5d9e0; display: block; }
.dmrc-dur__icon.is-on { color: #1a2a5e; }
.dmrc-dur__label { font-size: 12px; color: #4b5260; }

.dmrc__head { display: flex; flex-direction: column; gap: 4px; }
ul.products li.product.dmrc .dmrc__title { margin: 0; padding: 0; font-size: 19px; line-height: 1.25; font-weight: 700; }
.dmrc__title a { color: #1a1d24; text-decoration: none; }
.dmrc__title a:hover { color: #0a0ac2; text-decoration: underline; }
.dmrc__best { margin: 0; font-size: 14px; line-height: 1.4; color: #3a404c; }

.dmrc__specs { margin: 0; border-top: 1px solid #e6e8ec; }
.dmrc__spec { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid #e6e8ec; font-size: 13px; line-height: 1.3; }
.dmrc__spec dt { margin: 0; color: #4b5260; font-weight: 400; }
.dmrc__spec dd { margin: 0; font-weight: 700; display: flex; align-items: center; gap: 4px; text-align: right; }
.dmrc__spec.is-inc dd { color: #1d6b34; }
.dmrc__spec.is-opt dd { color: #5b6170; }
.dmrc__spec.is-no dd { color: #6b7180; font-weight: 400; }

.dmrc__buy { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
ul.products li.product.dmrc .dmrc__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 0; font-size: 26px; font-weight: 700; color: #0a0ac2; }
.dmrc__price del { font-size: 15px; color: #6b7180; font-weight: 400; }
.dmrc__price ins { text-decoration: none; }
.dmrc__vat { font-size: 12px; font-weight: 400; color: #4b5260; }
.dmrc__delivery { margin: 0; font-size: 13px; font-weight: 700; color: #1d6b34; }
ul.products li.product.dmrc .dmrc__btn {
	display: block; box-sizing: border-box; width: 100%; margin: 8px 0 0; text-align: center;
	background: #ffe600; color: #1a1d24; font-weight: 700; font-size: 15px;
	padding: 13px 10px; border-radius: 6px; border: 0; text-decoration: none; line-height: 1.2;
}
ul.products li.product.dmrc .dmrc__btn:hover { background: #f2d900; color: #1a1d24; }
ul.products li.product.dmrc .dmrc__btn:focus-visible { outline: 2px solid #0a0ac2; outline-offset: 2px; }

/* Phones: compact card, 2-up */
@media (max-width: 600px) {
	.dmrc__body { padding: 10px 10px 12px; gap: 8px; }
	.dmrc__ribbon { top: 14px; right: -36px; width: 124px; font-size: 9px; padding: 3px 0; }
	.dmrc__stock { font-size: 10px; padding: 4px 6px; left: 6px; bottom: 6px; }
	.dmrc__pill { font-size: 10px; padding: 3px 6px; }
	.dmrc__tag { font-size: 11px; }
	.dmrc-dur__icon { width: 15px; height: 12px; }
	.dmrc-dur__label { display: none; }
	ul.products li.product.dmrc .dmrc__title { font-size: 15px; }
	.dmrc__best { display: none; }
	.dmrc__spec { font-size: 11px; padding: 5px 0; }
	.dmrc__spec.is-no { display: none; }
	ul.products li.product.dmrc .dmrc__price { font-size: 19px; }
	.dmrc__vat { display: none; }
	.dmrc__delivery { font-size: 11px; }
	ul.products li.product.dmrc .dmrc__btn { font-size: 14px; padding: 12px 6px; }
}

/* Category header */
.dmrc-cat { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 0 0 20px; }
.dmrc-cat__size { margin: 0; font-size: 16px; color: #3a404c; }
.dmrc-cat__promise { display: flex; align-items: center; gap: 10px; max-width: 440px; background: #fff; border: 1px solid #e2e5ea; border-radius: 8px; padding: 12px 14px; font-size: 14px; line-height: 1.4; color: #1a1d24; }
.dmrc-cat__promise svg { flex: none; color: #1d6b34; }

/* ---------- Compare tick on cards ---------- */
.dmrc__cmp { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; color: #3a404c; cursor: pointer; min-height: 32px; }
.dmrc__cmp input { width: 18px; height: 18px; margin: 0; accent-color: #0a0ac2; }

/* ---------- Compare bar ---------- */
.dmrc-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; background: #fff; border-top: 1px solid #d5d9e0; box-shadow: 0 -4px 16px rgba(16, 24, 40, .12); font-family: Arial, Helvetica, sans-serif; }
.dmrc-bar[hidden] { display: none; }
.dmrc-bar__inner { max-width: 1400px; margin: 0 auto; padding: 10px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.dmrc-bar__items { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dmrc-bar__item, .dmrc-bar__slot { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 6px 0 4px; border: 1px solid #e2e5ea; border-radius: 6px; font-size: 13px; }
.dmrc-bar__item img { width: 48px; height: 36px; object-fit: cover; border-radius: 3px; }
.dmrc-bar__name { max-width: 170px; font-weight: 700; color: #1a1d24; line-height: 1.2; }
.dmrc-bar__slot { border-style: dashed; color: #6b7180; padding: 0 14px; }
.dmrc-bar__rm { width: 32px; height: 32px; border: 0; background: none; font-size: 20px; line-height: 1; color: #4b5260; cursor: pointer; border-radius: 4px; }
.dmrc-bar__rm:hover { background: #f1f3f6; }
.dmrc-bar__actions { display: flex; align-items: center; gap: 12px; }
.dmrc-bar__msg { margin: 0; font-size: 13px; color: #9a4a00; font-weight: 700; }
.dmrc-bar__clear { border: 0; background: none; color: #0a0ac2; text-decoration: underline; font-size: 14px; cursor: pointer; padding: 8px; }
.dmrc-bar__go { border: 0; border-radius: 6px; background: #0a0ac2; color: #fff; font-weight: 700; font-size: 15px; padding: 12px 18px; cursor: pointer; }
.dmrc-bar__go:disabled { background: #d5d9e0; color: #4b5260; cursor: default; }
body.dmrc-bar-open { padding-bottom: 80px; }
@media (max-width: 600px) {
	.dmrc-bar__name, .dmrc-bar__slot { display: none; }
	.dmrc-bar__item { padding-right: 0; }
	.dmrc-bar__inner { padding: 8px 10px; }
	.dmrc-bar__go { padding: 11px 12px; font-size: 14px; }
	body.dmrc-bar-open { padding-bottom: 120px; }
}

/* ---------- Comparison dialog ---------- */
.dmrc-dlg { width: min(1200px, 96vw); max-height: 92vh; padding: 0; border: 0; border-radius: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); font-family: Arial, Helvetica, sans-serif; color: #1a1d24; }
.dmrc-dlg::backdrop { background: rgba(10, 14, 30, .55); }
.dmrc-dlg__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid #e6e8ec; position: sticky; top: 0; background: #fff; z-index: 2; }
.dmrc-dlg__head h2 { margin: 0; font-size: 20px; }
.dmrc-dlg__close { width: 44px; height: 44px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; border-radius: 6px; color: #3a404c; }
.dmrc-dlg__close:hover { background: #f1f3f6; }
.dmrc-dlg .dmrc-ct-scroll { max-height: calc(92vh - 74px); overflow: auto; }
html.dmrc-noscroll { overflow: hidden; }

/* ---------- Comparison table (shortcode + dialog) ---------- */
.dmrc-ct-wrap { margin: 24px 0 32px; font-family: Arial, Helvetica, sans-serif; color: #1a1d24; }
.dmrc-ct-title { margin: 0 0 4px; font-size: 24px; }
.dmrc-ct-sub { margin: 0 0 14px; font-size: 15px; color: #3a404c; }
.dmrc-ct-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fff; border: 1px solid #e2e5ea; border-radius: 10px; }
.dmrc-ct-scroll:focus-visible { outline: 2px solid #0a0ac2; outline-offset: 2px; }
.dmrc-dlg .dmrc-ct-scroll { border: 0; border-radius: 0; }
table.dmrc-ct { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; margin: 0; font-size: 14px; table-layout: fixed; }
.dmrc-ct th, .dmrc-ct td { padding: 10px 12px; border: 0; border-bottom: 1px solid #e6e8ec; text-align: left; vertical-align: top; background: #fff; }
.dmrc-ct tbody th { width: 130px; font-weight: 400; color: #4b5260; position: sticky; left: 0; z-index: 1; background: #f8f9fb; }
.dmrc-ct__corner { width: 130px; position: sticky; left: 0; z-index: 1; background: #f8f9fb !important; }
.dmrc-ct__head { display: table-cell; vertical-align: bottom !important; }
.dmrc-ct__head > * { display: block; margin-top: 6px; }
.dmrc-ct__head .dmrc__pill { display: inline-block; margin-top: 0; }
.dmrc-ct__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; margin: 0 0 8px; }
.dmrc-ct__tag { font-size: 12px; font-weight: 700; color: #3a404c; }
.dmrc-ct__name { font-size: 15px; font-weight: 700; line-height: 1.25; color: #1a1d24; text-decoration: none; }
.dmrc-ct__name:hover { color: #0a0ac2; text-decoration: underline; }
.dmrc-ct__rm { border: 0; background: none; padding: 4px 0; color: #0a0ac2; text-decoration: underline; font-size: 13px; cursor: pointer; }
.dmrc-ct__price { font-size: 20px; font-weight: 700; color: #0a0ac2; }
.dmrc-ct__price del { display: block; font-size: 13px; color: #6b7180; font-weight: 400; }
.dmrc-ct__price ins { text-decoration: none; }
.dmrc-ct__best { line-height: 1.4; }
.dmrc-ct__spec { font-weight: 700; }
.dmrc-ct__spec svg { vertical-align: -2px; margin-right: 4px; }
.dmrc-ct__spec.is-inc { color: #1d6b34; }
.dmrc-ct__spec.is-opt { color: #5b6170; }
.dmrc-ct__spec.is-no { color: #6b7180; font-weight: 400; }
.dmrc-ct__stock { font-size: 13px; font-weight: 700; }
.dmrc-ct__stock.is-in { color: #1d6b34; }
.dmrc-ct__stock.is-out { color: #9a4a00; }
.dmrc-ct .dmrc-dur__icons { display: inline-flex; gap: 3px; }
.dmrc-ct .dmrc__btn { display: block; box-sizing: border-box; width: 100%; text-align: center; background: #ffe600; color: #1a1d24; font-weight: 700; padding: 11px 8px; border-radius: 6px; border: 0; text-decoration: none; }
.dmrc-ct .dmrc__btn:hover { background: #f2d900; color: #1a1d24; }
/* Highlight the most popular range */
.dmrc-ct .is-pop { background: #f3f6ff; box-shadow: inset 2px 0 0 #1f5fd6, inset -2px 0 0 #1f5fd6; }
.dmrc-ct thead .is-pop { box-shadow: inset 2px 0 0 #1f5fd6, inset -2px 0 0 #1f5fd6, inset 0 2px 0 #1f5fd6; border-radius: 8px 8px 0 0; }
.dmrc-ct tr:last-child .is-pop { box-shadow: inset 2px 0 0 #1f5fd6, inset -2px 0 0 #1f5fd6, inset 0 -2px 0 #1f5fd6; }
.dmrc-ct .is-current { background: #fffbe0; }
@media (max-width: 600px) {
	table.dmrc-ct { min-width: 0; width: max-content; font-size: 13px; }
	.dmrc-ct tbody th, .dmrc-ct__corner { width: 78px; min-width: 78px; padding: 8px 6px; font-size: 12px; }
	.dmrc-ct th.dmrc-ct__head, .dmrc-ct td { width: 142px; min-width: 142px; padding: 8px; }
	.dmrc-ct__img { aspect-ratio: 16 / 9; }
	.dmrc-ct__name { font-size: 14px; }
	.dmrc-ct__price { font-size: 17px; }
	.dmrc-ct .dmrc-dur__icon { width: 16px; height: 12px; }
	.dmrc-dlg { width: 100vw; max-width: 100vw; max-height: 100vh; height: 100vh; border-radius: 0; margin: 0; }
	.dmrc-dlg .dmrc-ct-scroll { max-height: calc(100vh - 74px); }
	.dmrc-ct-title { font-size: 20px; }
}
@media (max-width: 600px) {
	.dmrc-ct td.dmrc-ct__corner, .dmrc-ct tbody th { width: 78px; min-width: 78px; max-width: 78px; }
}

/* ---------- Shoptimizer overrides (1.1.1) ---------- */
/* Theme hides loop buttons until hover and pins them to the card bottom – keep ours visible and in flow */
ul.products li.product.dmrc .dmrc__btn,
ul.products li.product.dmrc:hover .dmrc__btn {
	position: static !important; opacity: 1 !important; visibility: visible !important;
	height: auto !important; width: 100% !important; z-index: auto !important; transform: none !important;
	bottom: auto !important; left: auto !important; line-height: 1.2 !important;
}
/* Theme's white hover panel behind cards */
ul.products li.product.dmrc::before { display: none !important; }
/* Theme's mobile title size */
ul.products li.product.dmrc .woocommerce-loop-product__title.dmrc__title { font-size: 19px !important; padding: 0 !important; }
@media (max-width: 600px) {
	ul.products li.product.dmrc .woocommerce-loop-product__title.dmrc__title { font-size: 15px !important; }
}
ul.products li.product.dmrc .dmrc__price { margin-bottom: 0 !important; }
/* Category header row: always full width */
.dmrc-cat { flex: 0 0 100%; width: 100%; clear: both; box-sizing: border-box; }
/* Theme shrinks images on hover – use a gentle lift instead */
ul.products li.product.dmrc:hover img, ul.products li.product.dmrc:hover .dmrc__media { transform: none !important; }
ul.products li.product.dmrc { transition: box-shadow .2s ease; }
ul.products li.product.dmrc:hover, ul.products li.product.dmrc:focus-within { box-shadow: 0 6px 18px rgba(16, 24, 40, .14); }

/* ---------- 1.2: ratings out of 10 (booking.com style) ---------- */
.dmrc-sc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
.dmrc-sc__top { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; font-size: 13px; line-height: 1.2; color: #1a1d24; margin-bottom: 4px; }
.dmrc-sc__top b { font-size: 14px; font-weight: 700; white-space: nowrap; }
.dmrc-sc__top small { font-size: 10px; font-weight: 400; color: #4b5260; margin-left: 1px; }
.dmrc-sc__bar { height: 7px; border-radius: 4px; background: #e6e8ec; overflow: hidden; }
.dmrc-sc__bar i { display: block; height: 100%; border-radius: 4px; background: #1f3a8a; }
.dmrc-sc--cell { display: block; }
.dmrc-sc--cell .dmrc-sc__top { justify-content: flex-start; }

/* "What's included" – positives only */
.dmrc-hl { list-style: none; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 6px; }
.dmrc-hl li { display: flex; align-items: flex-start; gap: 6px; margin: 0 !important; font-size: 13px; line-height: 1.35; color: #1a1d24; list-style: none; }
.dmrc-hl li svg { flex: none; margin-top: 2px; }
.dmrc-hl li.is-inc svg { color: #1d6b34; }
.dmrc-hl li.is-opt svg { color: #5b6170; }
.dmrc-hl li.is-opt { color: #3a404c; }
.dmrc__body > .dmrc-hl { padding-top: 10px !important; border-top: 1px solid #e6e8ec; }

/* Long ribbon text (e.g. "Superior Hire Quality") wraps onto two lines */
.dmrc__ribbon > span { display: inline-block; max-width: 100%; vertical-align: middle; }
.dmrc__ribbon.is-long { white-space: normal; overflow: visible; text-overflow: clip; top: 26px; right: -48px; width: 180px; font-size: 10px; line-height: 1.15; padding: 4px 0; }
.dmrc__ribbon.is-long > span { max-width: 92px; }

@media (max-width: 600px) {
	.dmrc-sc { grid-template-columns: 1fr; gap: 6px; }
	.dmrc-sc__top { font-size: 11px; margin-bottom: 2px; }
	.dmrc-sc__top b { font-size: 12px; }
	.dmrc-sc__bar { height: 5px; }
	.dmrc-hl li { font-size: 11px; gap: 4px; }
	.dmrc-hl li svg { width: 12px; height: 12px; margin-top: 1px; }
	.dmrc__ribbon.is-long { top: 16px; right: -40px; width: 136px; font-size: 8px; padding: 2px 0; }
	.dmrc__ribbon.is-long > span { max-width: 66px; }
}
.dmrc-sc--cell .dmrc-sc__top > span { display: none; }
/* 1.2.1: one rating per line on cards */
.dmrc__body > .dmrc-sc { grid-template-columns: 1fr; gap: 8px; }

/* ---------- 1.3.1: black, Amazon-style prices ---------- */
ul.products li.product.dmrc .dmrc__price, .dmrc-ct .dmrc-ct__price { color: #1a1d24 !important; }
.dmrc-amz { display: inline-flex; align-items: flex-start; line-height: 1; font-weight: 700; color: #1a1d24; letter-spacing: -.01em; }
.dmrc-amz__sym { font-size: .52em; margin: .12em 1px 0 0; }
.dmrc-amz__whole { font-size: 1em; }
.dmrc-amz__frac { font-size: .52em; margin: .12em 0 0 1px; }
.dmrc-was { font-size: 15px; font-weight: 400; color: #6b7180; }
.dmrc-was .amount, .dmrc-was bdi { color: #6b7180; }
.dmrc .screen-reader-text, .dmrc-ct .screen-reader-text, .dmrc-dlg .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
ul.products li.product.dmrc .dmrc__price { font-size: 30px; align-items: flex-end; }
.dmrc-ct .dmrc-ct__price { font-size: 22px; }
@media (max-width: 600px) { ul.products li.product.dmrc .dmrc__price { font-size: 22px; } }

/* ---------- 1.3.2: compact layout whenever the CARD is narrow (e.g. 6-up Elementor widgets) ---------- */
ul.products li.product.dmrc { container-type: inline-size; container-name: dmrc; }
@container dmrc (max-width: 240px) {
	.dmrc__body { padding: 10px 10px 12px; gap: 8px; }
	.dmrc__ribbon { top: 14px; right: -36px; width: 124px; font-size: 9px; padding: 3px 0; }
	.dmrc__ribbon.is-long { top: 16px; right: -40px; width: 136px; font-size: 8px; padding: 2px 0; }
	.dmrc__ribbon.is-long > span { max-width: 66px; }
	.dmrc__stock { font-size: 10px; padding: 4px 6px; left: 6px; bottom: 6px; }
	.dmrc__pill { font-size: 10px; padding: 3px 6px; }
	.dmrc__tag { font-size: 11px; }
	ul.products li.product.dmrc .woocommerce-loop-product__title.dmrc__title { font-size: 15px !important; }
	.dmrc__best { display: none; }
	.dmrc-sc { gap: 6px; }
	.dmrc-sc__top { font-size: 11px; margin-bottom: 2px; }
	.dmrc-sc__top b { font-size: 12px; }
	.dmrc-sc__bar { height: 5px; }
	ul.products li.product.dmrc .dmrc__price { font-size: 22px; }
	.dmrc__vat { display: none; }
	.dmrc__delivery { font-size: 11px; }
	ul.products li.product.dmrc .dmrc__btn { font-size: 14px; padding: 12px 6px; }
}

/* ======================================================================
 * 1.4.0 – Range comparison as aligned columns (shortcode + tick-box panel)
 * ==================================================================== */
.dmrc-cmp2 { margin: 28px 0 36px; font-family: Arial, Helvetica, sans-serif; color: #1a1d24; }
.dmrc-cmp2__title { margin: 0 0 4px !important; font-size: 26px !important; line-height: 1.2; }
.dmrc-cmp2__sub { margin: 0 0 16px !important; font-size: 15px; color: #3a404c; }
.dmrc-cmp2__hint { display: none; margin: 0 0 8px !important; font-size: 13px; font-weight: 700; color: #1a2a5e; }

.dmrc-cmp2__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; padding: 4px 2px 12px; }
.dmrc-cmp2__scroll:focus-visible { outline: 2px solid #0a0ac2; outline-offset: 2px; }

.dmrc-cmp2__grid {
	display: grid;
	grid-template-columns: repeat(var(--dmrc-n, 5), minmax(150px, 1fr));
	grid-template-rows: repeat(6, auto);
	column-gap: 10px;
	min-width: min-content;
}
.dmrc-cmp2__col {
	grid-row: span 6;
	display: grid;
	grid-template-rows: subgrid;
	row-gap: 0;
	background: #fff;
	border: 1px solid #e2e5ea;
	border-radius: 12px;
	scroll-snap-align: start;
	position: relative;
}
.dmrc-cmp2__col.is-pop { border: 2px solid #1f5fd6; box-shadow: 0 6px 18px rgba(31, 95, 214, .12); }
.dmrc-cmp2__col.is-current { background: #fffbe8; }
.dmrc-cmp2__col > * { padding: 12px 14px; margin: 0 !important; border-top: 1px solid #eef0f3; }
.dmrc-cmp2__col > :first-child { border-top: 0; }

.dmrc-cmp2__head { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 16px !important; }
.dmrc-cmp2__flag { position: absolute; top: -11px; left: 12px; background: #1f5fd6; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .03em; padding: 4px 8px; border-radius: 999px; line-height: 1; }
.dmrc-cmp2__col.is-current .dmrc-cmp2__flag { background: #9a6a00; }
.dmrc-cmp2__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; margin: 0 0 4px !important; }
.dmrc-cmp2 .dmrc-cmp2__name, .dmrc-dlg .dmrc-cmp2__name { font-size: 17px; font-weight: 700; line-height: 1.2; color: #1a1d24 !important; text-decoration: none !important; }
.dmrc-cmp2__name:hover { color: #0a0ac2 !important; }
.dmrc-cmp2__rm { border: 0; background: none; padding: 0; color: #0a0ac2; text-decoration: underline; font-size: 13px; cursor: pointer; }

.dmrc-cmp2__price { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-size: 26px; line-height: 1; color: #1a1d24; }
.dmrc-cmp2__price .dmrc-was { font-size: 13px; }
.dmrc-cmp2__stock { font-size: 12px; font-weight: 700; color: #9a4a00; }

.dmrc-cmp2__scores .dmrc-sc { grid-template-columns: 1fr; gap: 7px; }
.dmrc-cmp2__scores .dmrc-sc__top { font-size: 12px; }
.dmrc-cmp2__scores .dmrc-sc__top b { font-size: 13px; }
.dmrc-cmp2__scores .dmrc-sc__bar { height: 6px; }

.dmrc-cmp2__best { font-size: 13px; line-height: 1.4; color: #3a404c; }
.dmrc-cmp2__inc .dmrc-hl { gap: 5px; }
.dmrc-cmp2__inc .dmrc-hl li { font-size: 13px; line-height: 1.3; }

.dmrc-cmp2__cta { align-self: end; border-top: 0 !important; padding-bottom: 14px !important; }
.dmrc-cmp2 .dmrc-cmp2__btn, .dmrc-dlg .dmrc-cmp2__btn {
	display: block; box-sizing: border-box; width: 100%; text-align: center;
	background: #ffe600; color: #1a1d24 !important; font-weight: 700; font-size: 15px;
	padding: 11px 8px; border-radius: 8px; text-decoration: none !important;
}
.dmrc-cmp2__btn:hover { background: #f2d900; }

/* Dialog uses the same columns */
.dmrc-dlg .dmrc-dlg__body { max-height: calc(92vh - 74px); overflow: auto; padding: 18px; background: #f4f5f7; }
.dmrc-dlg .dmrc-cmp2__grid { grid-template-columns: repeat(var(--dmrc-n, 2), minmax(180px, 280px)); justify-content: center; }

/* When there isn't room for every column, show the swipe hint */
@media (max-width: 1100px) { .dmrc-cmp2__hint { display: block; } }
@media (max-width: 600px) {
	.dmrc-cmp2__title { font-size: 21px !important; }
	.dmrc-cmp2__grid { grid-template-columns: repeat(var(--dmrc-n, 5), 160px); column-gap: 8px; }
	.dmrc-cmp2__col > * { padding: 10px 11px; }
	.dmrc-cmp2__price { font-size: 22px; }
	.dmrc-cmp2__name { font-size: 15px !important; }
	.dmrc-dlg .dmrc-dlg__body { max-height: calc(100vh - 74px); padding: 12px 10px; }
	.dmrc-dlg .dmrc-cmp2__grid { grid-template-columns: repeat(var(--dmrc-n, 2), 160px); justify-content: start; }
}
.dmrc-cmp2 .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.dmrc-cmp2.has-many .dmrc-cmp2__hint { display: block; }

/* ---------- 1.5.0 – "Most popular" flag no longer clipped ---------- */
.dmrc-cmp2__scroll { padding-top: 16px; }
.dmrc-cmp2.dmg__sec { margin: 0; }

/* ---------- 1.5.0 – Buyer's guide ([marquee_range_compare]) ---------- */
.dmg { margin: 36px 0 40px; font-family: Arial, Helvetica, sans-serif; color: #1a1d24; line-height: 1.55; }
.dmg *, .dmg *::before, .dmg *::after { box-sizing: border-box; }
.dmg__head { margin: 0 0 8px; }
.dmg .dmg__title { margin: 0 0 12px !important; font-size: 28px !important; line-height: 1.2; color: #1a1d24; }
.dmg__nav { display: flex; flex-wrap: wrap; gap: 8px; }
.dmg__nav a { padding: 7px 14px; border: 1px solid #c9d1e3; border-radius: 999px; font-size: 14px; font-weight: 700; color: #1a2a5e !important; text-decoration: none !important; background: #fff; }
.dmg__nav a:hover, .dmg__nav a:focus-visible { background: #1a2a5e; border-color: #1a2a5e; color: #fff !important; }
.dmg__sec { padding: 28px 0 4px; border-top: 1px solid #e3e7ef; margin-top: 24px; scroll-margin-top: 90px; }
.dmg__sec:first-of-type { border-top: 0; }
.dmg .dmg__h { margin: 0 0 6px !important; font-size: 23px !important; line-height: 1.25; color: #1a1d24; }
.dmg .dmg__intro { margin: 0 0 16px !important; font-size: 15.5px; color: #3a404c; max-width: 760px; }

/* Capacity tiles */
.dmg-cap__grid { list-style: none; margin: 0 0 12px !important; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dmg-cap__tile { margin: 0 !important; padding: 16px 14px; border: 1px solid #dfe4ee; border-radius: 12px; background: #f7f9fc; display: flex; flex-direction: column; gap: 3px; }
.dmg-cap__tile--dance { background: #eef4ff; border-color: #b9cdf5; }
.dmg-cap__ico { color: #1a2a5e; margin-bottom: 4px; }
.dmg-cap__num { font-size: 26px; font-weight: 800; line-height: 1.1; color: #1a1d24; }
.dmg-cap__num small { font-size: 13px; font-weight: 700; color: #3a404c; }
.dmg-cap__lbl { font-size: 15px; font-weight: 700; }
.dmg-cap__note { font-size: 13px; color: #555c69; }
.dmg .dmg-cap__foot { margin: 0 !important; font-size: 14px; color: #3a404c; }

/* Tabs (all panels show stacked if JS is off) */
.dmg-tabs__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 -1px; position: relative; z-index: 1; }
.dmg-tabs__list[hidden] { display: none; }
.dmg-tabs__tab { all: unset; box-sizing: border-box; cursor: pointer; padding: 12px 14px; border: 1px solid #dfe4ee; border-bottom: 0; border-radius: 10px 10px 0 0; background: #f2f4f8; border-top: 4px solid transparent; display: flex; flex-direction: column; gap: 1px; }
.dmg-tabs__tab strong { font-size: 16px; color: #1a1d24; }
.dmg-tabs__tab span { font-size: 12.5px; color: #555c69; }
.dmg-tabs__tab:hover { background: #e9edf4; }
.dmg-tabs__tab[aria-selected="true"] { background: #fff; border-top-color: var(--c); }
.dmg-tabs__tab:focus-visible { outline: 2px solid #0a0ac2; outline-offset: 2px; }
.dmg-tabs__panel { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: center; padding: 22px; border: 1px solid #dfe4ee; border-radius: 0 0 12px 12px; background: #fff; border-left: 4px solid var(--c); }
.dmg-tabs:not(.is-tabbed) .dmg-tabs__panel { border-radius: 12px; margin-bottom: 12px; }
.dmg-tabs__panel[hidden] { display: none; }
.dmg .dmg-tabs__title { margin: 0 0 8px !important; font-size: 19px !important; line-height: 1.3; }
.dmg-tabs__title span { display: block; font-size: 13px; font-weight: 700; color: #555c69; text-transform: uppercase; letter-spacing: .04em; }
.dmg-tabs__text p { margin: 0 0 12px !important; font-size: 15px; }
.dmg-tabs__chips { list-style: none; margin: 0 0 14px !important; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dmg-tabs__chips li { margin: 0 !important; padding: 5px 10px 5px 26px; border-radius: 999px; background: #f2f4f8; font-size: 13px; font-weight: 700; position: relative; }
.dmg-tabs__chips li::before { content: ""; position: absolute; left: 10px; top: 50%; width: 9px; height: 5px; border: solid #2e7d32; border-width: 0 0 2px 2px; transform: translateY(-70%) rotate(-45deg); }
.dmg .dmg-tabs__best { margin: 0 !important; padding: 11px 14px; background: #f0f7f1; border-left: 4px solid #2e7d32; border-radius: 0 8px 8px 0; font-size: 14.5px; }
.dmg-tabs__fig { margin: 0 !important; }
.dmg-tabs__fig img { display: block; width: 100%; height: auto; border-radius: 8px; }

/* Video */
.dmg-video__frame { position: relative; max-width: 820px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.dmg-video__frame iframe, .dmg-video__play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dmg-video__play { all: unset; position: absolute; inset: 0; cursor: pointer; display: block; }
.dmg-video__play img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dmg-video__btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .9; transition: opacity .15s; }
.dmg-video__play:hover .dmg-video__btn, .dmg-video__play:focus-visible .dmg-video__btn { opacity: 1; }
.dmg-video__play:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }

/* Resources */
.dmg-res__grid { list-style: none; margin: 0 !important; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dmg-res__grid li { margin: 0 !important; }
.dmg-res__card { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; border: 1px solid #dfe4ee; border-radius: 12px; text-decoration: none !important; color: #1a1d24 !important; background: #fff; }
.dmg-res__card strong { color: #0a0ac2; font-size: 15.5px; }
.dmg-res__card strong::after { content: " →"; }
.dmg-res__card span { font-size: 13.5px; color: #3a404c; }
.dmg-res__card:hover { border-color: #0a0ac2; }

@media (max-width: 900px) {
	.dmg-cap__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dmg-tabs__panel { grid-template-columns: 1fr; }
	.dmg-tabs__fig { order: -1; }
	.dmg-res__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.dmg .dmg__title { font-size: 23px !important; }
	.dmg .dmg__h { font-size: 20px !important; }
	.dmg-cap__tile { padding: 12px; }
	.dmg-cap__num { font-size: 22px; }
	.dmg-tabs__list { gap: 4px; }
	.dmg-tabs__tab { padding: 10px 8px; text-align: center; }
	.dmg-tabs__tab span { display: none; }
	.dmg-tabs__panel { padding: 16px; gap: 14px; }
}

/* ---------- 1.5.1 – Elementor Products / Related Products widgets ---------- */
/* Elementor sets the card's flex direction from its "button alignment" option (row) – keep our stacked card. */
ul.products li.product.dmrc,
.elementor-products-grid ul.products.elementor-grid li.product.dmrc {
	flex-direction: column !important;
	justify-content: flex-start !important;
	align-items: stretch !important;
}
/* Shoptimizer's related/upsell carousel gives cards a fixed 320px width – let the Elementor grid size them. */
.elementor-products-grid ul.products li.product.dmrc { min-width: 0 !important; max-width: none !important; }
ul.products li.product.dmrc > .dmrc__media { flex: 0 0 auto; width: 100%; }

/* ---------- 1.5.2 – plain tab panels (no coloured side bar) ---------- */
.dmg-tabs__panel { border-left: 1px solid #dfe4ee; }
