/* DentaPrecio — módulo clásico. Todo queda aislado para no alterar el tema. */
.dp-legacy-shell,
.dp-legacy-shell * {
	box-sizing: border-box;
}

.dp-legacy-catalog[hidden],
.dp-legacy-shell [hidden] {
	display: none !important;
}

.dp-legacy-catalog {
	--dp-blue: #2563eb;
	--dp-blue-dark: #1d4ed8;
	--dp-text: #111827;
	--dp-muted: #6b7280;
	--dp-line: #e5e7eb;
	--dp-soft: #f3f4f6;
	position: relative;
	width: 100%;
	margin: 0 0 2rem;
	padding: 1rem;
	border-radius: 12px;
	background: #fff;
	color: var(--dp-text);
	font-family: inherit;
	text-align: left;
}

.dp-preload,
.dp-loading {
	display: none !important;
}

.dp-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.dp-search {
	position: relative;
	width: min(100%, 720px);
	margin: 0 auto 1rem;
}

.dp-search input {
	display: block;
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 10px 86px 10px 20px;
	border: 1px solid #d1d5db;
	border-radius: 9999px;
	background: #f9fafb;
	color: #111827;
	font: inherit;
	font-size: 15px;
	line-height: 1.4;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
	appearance: none;
}

.dp-search input:focus {
	border-color: transparent;
	outline: 0;
	box-shadow: 0 0 0 2px #3b82f6;
}

.dp-search input::-webkit-search-cancel-button {
	display: none;
}

.dp-search__clear,
.dp-search__submit {
	position: absolute;
	top: 50%;
	border: 0;
	cursor: pointer;
	transform: translateY(-50%);
}

.dp-search__clear {
	right: 51px;
	padding: 2px 5px;
	background: transparent;
	color: #9ca3af;
	font-size: 23px;
	line-height: 1;
}

.dp-search__clear:hover,
.dp-search__clear:focus-visible {
	color: #4b5563;
}

.dp-search__submit {
	right: 6px;
	display: grid;
	width: 36px;
	height: 36px;
	padding: 8px;
	place-items: center;
	border-radius: 50%;
	background: var(--dp-blue);
	color: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
}

.dp-search__submit:hover,
.dp-search__submit:focus-visible {
	background: var(--dp-blue-dark);
}

.dp-search__submit svg,
.dp-filter__trigger svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.dp-toolbar {
	display: flex;
	position: relative;
	z-index: 15;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
}

.dp-filter {
	position: relative;
}

.dp-filter__trigger {
	display: inline-flex;
	min-height: 38px;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border: 1px solid #e5e7eb;
	border-radius: 9999px;
	background: #fff;
	color: #374151;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
	cursor: pointer;
}

.dp-filter__trigger:hover,
.dp-filter__trigger:focus-visible {
	border-color: #d1d5db;
	background: #f9fafb;
	outline: 0;
}

.dp-filter__trigger svg,
.dp-chevron {
	color: #9ca3af;
}

.dp-filter__badge {
	display: inline-flex;
	min-width: 20px;
	height: 20px;
	align-items: center;
	justify-content: center;
	padding: 0 6px;
	border-radius: 9999px;
	background: var(--dp-blue);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}

.dp-popover {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 50;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(17, 24, 39, .16);
}

.dp-popover--sort {
	width: 240px;
	padding: 6px;
}

.dp-sort-option {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	padding: 9px 12px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #374151;
	font: inherit;
	font-size: 14px;
	text-align: left;
	cursor: pointer;
}

.dp-sort-option:hover {
	background: #f9fafb;
}

.dp-sort-option:focus-visible {
	background: #f9fafb;
	outline: 2px solid var(--dp-blue);
	outline-offset: -2px;
}

.dp-sort-option.is-active {
	background: #eff6ff;
	color: #1d4ed8;
	font-weight: 600;
}

.dp-sort-option.is-active::after {
	content: '✓';
	color: #2563eb;
}

.dp-popover--stores {
	width: min(288px, calc(100vw - 32px));
	overflow: hidden;
}

.dp-store-search {
	padding: 8px;
	border-bottom: 1px solid #f3f4f6;
}

.dp-store-search input {
	width: 100%;
	height: 38px;
	margin: 0;
	padding: 8px 10px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #f9fafb;
	color: #111827;
	font: inherit;
	font-size: 14px;
}

.dp-store-search input:focus {
	border-color: transparent;
	outline: 0;
	box-shadow: 0 0 0 2px #3b82f6;
}

.dp-store-list {
	max-height: 288px;
	padding: 6px;
	overflow-y: auto;
}

.dp-store-option {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 8px;
	border-radius: 8px;
	color: #4b5563;
	font-size: 14px;
	cursor: pointer;
}

.dp-store-option[hidden] {
	display: none !important;
}

.dp-store-option:hover {
	background: #f9fafb;
}

.dp-store-option input {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--dp-blue);
}

.dp-store-option__logo {
	display: grid;
	width: 28px;
	height: 28px;
	flex: 0 0 28px;
	place-items: center;
	padding: 2px;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	background: #fff;
}

.dp-store-option__logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.dp-store-clear {
	width: calc(100% - 16px);
	margin: 0 8px 8px;
	padding: 7px 8px;
	border: 0;
	border-top: 1px solid #f3f4f6;
	background: #fff;
	color: #6b7280;
	font: inherit;
	font-size: 13px;
	cursor: pointer;
}

.dp-chips {
	display: contents;
}

.dp-chip {
	padding: 5px 9px 5px 12px;
	border: 1px solid #dbeafe;
	border-radius: 9999px;
	background: #eff6ff;
	color: #1d4ed8;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}

.dp-clear-all {
	padding: 5px 8px;
	border: 0;
	background: transparent;
	color: #6b7280;
	font: inherit;
	font-size: 12px;
	cursor: pointer;
}

.dp-count {
	margin-left: auto;
	color: #6b7280;
	font-size: 14px;
	white-space: nowrap;
}

.dp-status {
	min-height: 20px;
	margin: -8px 0 12px !important;
	color: #4b5563;
	font-size: 13px;
	text-align: left !important;
}

.dp-status.is-error {
	color: #b91c1c;
}

.dp-disclaimer {
	margin: 0 0 12px !important;
	color: #4b5563;
	font-size: 13px;
	line-height: 1.5;
}

.dp-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	transition: opacity .15s ease;
}

.dp-card {
	display: flex;
	position: relative;
	min-width: 0;
	min-height: 100%;
	flex-direction: column;
	padding: 16px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
	color: #111827;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
	text-decoration: none !important;
	transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}

.dp-card:hover,
.dp-card:focus-within {
	box-shadow: 0 10px 24px rgba(17, 24, 39, .12);
	transform: translateY(-1px);
}

.dp-card--sponsored {
	border-color: #fed7aa;
	box-shadow: 0 0 0 1px #ffedd5;
}

.dp-card__opener {
	position: absolute;
	inset: 0;
	z-index: 5;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	cursor: pointer;
}

/* Enlace real de salida en el título: clicable por encima del opener del
 * modal (z-index 5) y con el mismo aspecto del título estático. */
.dp-card__title-link {
	position: relative;
	z-index: 6;
	color: inherit;
	text-decoration: none;
}

.dp-card__title-link:hover,
.dp-card__title-link:focus-visible {
	text-decoration: underline;
}

.dp-card__opener:focus-visible {
	outline: 3px solid #60a5fa;
	outline-offset: 2px;
}

.dp-card__media {
	display: flex;
	height: 192px;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	padding: 8px;
	overflow: hidden;
}

.dp-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform .3s ease;
}

.dp-card:hover .dp-card__media img {
	transform: scale(1.05);
}

.dp-card__no-image {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	border-radius: 6px;
	background: #f3f4f6;
	color: #9ca3af;
	font-size: 13px;
}

.dp-card__body {
	display: flex;
	min-width: 0;
	flex: 1;
	flex-direction: column;
}

.dp-card__vendor {
	display: block;
	margin-bottom: 4px;
	color: #6b7280;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1.3;
	text-transform: uppercase;
}

.dp-card__vendor--ali {
	color: #ea580c;
}

.dp-card__title {
	display: -webkit-box;
	min-height: 42px;
	margin: 0 0 12px !important;
	overflow: hidden;
	color: #111827;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1.5 !important;
	text-align: left !important;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.dp-card:hover .dp-card__title,
.dp-card:focus-within .dp-card__title {
	color: var(--dp-blue);
}

.dp-card--sponsored:hover .dp-card__title {
	color: #ea580c;
}

.dp-card__prices {
	display: flex;
	min-height: 30px;
	align-items: baseline;
	gap: 8px;
	margin-top: auto;
	margin-bottom: 12px;
}

.dp-card__price {
	color: #111827;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

.dp-card__price--request {
	color: var(--dp-blue);
	font-size: 17px;
}

.dp-card__old-price {
	color: #9ca3af;
	font-size: 12px;
}

.dp-card__footer {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 8px;
	padding-top: 12px;
	border-top: 1px solid #f3f4f6;
}

.dp-card__store-logo {
	display: grid;
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	place-items: center;
	overflow: hidden;
	border: 1px solid #f3f4f6;
	border-radius: 50%;
	background: #fff;
	color: #6b7280;
	font-size: 10px;
	font-weight: 700;
}

.dp-card__store-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.dp-card__store-name,
.dp-card__orders {
	min-width: 0;
	overflow: hidden;
	color: #6b7280;
	font-size: 12px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dp-card__change,
.dp-card__discount,
.dp-card__sponsored-label {
	position: absolute;
	top: 8px;
	z-index: 3;
	padding: 4px 8px;
	border-radius: 9999px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
}

.dp-card__store-count {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 3;
	padding: 4px 8px;
	border: 1px solid #bfdbfe;
	border-radius: 9999px;
	background: #eff6ff;
	color: #1d4ed8;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	box-shadow: 0 2px 5px rgba(0, 0, 0, .08);
}

.dp-card__change,
.dp-card__discount {
	right: 8px;
}

.dp-card__change.is-down {
	background: #bbf7d0;
	color: #166534;
}

.dp-card__change.is-up,
.dp-card__discount {
	background: #fecaca;
	color: #991b1b;
}

.dp-card__sponsored-label {
	left: 8px;
	background: #ffedd5;
	color: #c2410c;
	font-size: 10px;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.dp-card__footer--ali {
	justify-content: flex-start;
}

.dp-card__ali-logo {
	flex: 0 0 auto;
	padding: 2px 6px;
	border-radius: 4px;
	background: #e62e04;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}

.dp-card__external {
	margin-left: auto;
	color: #9ca3af;
	font-size: 17px;
}

.dp-empty {
	padding: 42px 20px;
	border-radius: 8px;
	background: #fff;
	text-align: center;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

.dp-empty p {
	margin: 0 0 12px !important;
	color: #6b7280;
	font-size: 17px;
	text-align: center !important;
}

.dp-empty button {
	border: 0;
	background: transparent;
	color: var(--dp-blue);
	font: inherit;
	cursor: pointer;
}

.dp-more-wrap {
	display: flex;
	justify-content: center;
	margin-top: 36px;
}

.dp-more {
	padding: 11px 30px;
	border: 1px solid #d1d5db;
	border-radius: 9999px;
	background: #fff;
	color: #374151;
	font: inherit;
	font-weight: 600;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
	cursor: pointer;
}

.dp-more:hover,
.dp-more:focus-visible {
	background: #f9fafb;
	box-shadow: 0 6px 14px rgba(17, 24, 39, .1);
}

body.dp-modal-open {
	overflow: hidden;
}

.dp-modal {
	display: flex;
	position: fixed;
	inset: 0;
	z-index: 999999;
	align-items: center;
	justify-content: center;
	padding: 16px;
	overflow-y: auto;
	background: rgba(0, 0, 0, .52);
	backdrop-filter: blur(3px);
}

.dp-modal__dialog {
	width: min(100%, 700px);
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

.dp-modal__dialog.is-grouped {
	width: min(100%, 860px);
}

.dp-modal__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 18px;
	border-bottom: 1px solid #f3f4f6;
}

.dp-modal__title {
	margin: 0 !important;
	color: #111827;
	font-size: 18px !important;
	font-weight: 600 !important;
	line-height: 1.45 !important;
	text-align: left !important;
}

.dp-modal__close {
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #9ca3af;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.dp-modal__close:hover,
.dp-modal__close:focus-visible {
	background: #f3f4f6;
	color: #4b5563;
}

.dp-modal__body {
	padding: 14px 18px 18px;
}

.dp-modal__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: 24px;
	margin-bottom: 14px;
}

.dp-modal__media {
	display: grid;
	min-height: 150px;
	place-items: center;
	padding: 12px;
	border-radius: 8px;
	background: #f9fafb;
}

.dp-modal__media img {
	max-width: 100%;
	max-height: 150px;
	object-fit: contain;
}

.dp-modal__info {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
}

.dp-modal__vendor {
	margin-bottom: 4px;
	color: #6b7280;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.dp-modal__price {
	color: #111827;
	font-size: 30px;
	line-height: 1.2;
}

.dp-modal__change {
	margin: 8px 0;
	padding: 4px 8px;
	border-radius: 9999px;
	font-size: 13px;
	font-weight: 700;
}

.dp-modal__change.is-down { background: #bbf7d0; color: #166534; }
.dp-modal__change.is-up { background: #fecaca; color: #991b1b; }

.dp-modal__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 12px;
	padding: 11px 22px;
	border-radius: 8px;
	background: var(--dp-blue);
	color: #fff !important;
	font-weight: 600;
	text-decoration: none !important;
}

.dp-modal__offers {
	min-width: 0;
	max-width: 100%;
	margin: 0 0 16px;
}

.dp-modal__offers-title {
	margin: 0 0 8px !important;
	color: #111827;
	font-size: 16px !important;
	font-weight: 600 !important;
	text-align: left !important;
}

.dp-modal__offers-list {
	display: grid;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	gap: 8px;
	list-style: none !important;
}

.dp-modal__offer {
	display: grid;
	min-width: 0;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border: 1px solid #e5e7eb;
	border-radius: 9px;
	background: #fff;
}

.dp-modal__offer.is-best {
	border-color: #bbf7d0;
	background: #f0fdf4;
	box-shadow: inset 3px 0 0 #16a34a;
}

.dp-modal__offer-info {
	display: flex;
	min-width: 0;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.dp-modal__offer-vendor-wrap {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 6px;
}

.dp-modal__offer-vendor {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	color: #374151;
	font-size: 13px;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dp-modal__offer.is-best .dp-modal__offer-vendor {
	color: #166534;
}

.dp-modal__offer-best-badge {
	flex: 0 0 auto;
	padding: 2px 6px;
	border-radius: 999px;
	background: #dcfce7;
	color: #166534;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
}

.dp-modal__offer-price {
	flex: 0 0 auto;
	color: #111827;
	font-size: 15px;
}

.dp-modal__offer-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border-radius: 7px;
	background: var(--dp-blue);
	color: #fff !important;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none !important;
	white-space: nowrap;
}

.dp-modal__chart-title {
	margin: 0 0 10px !important;
	color: #111827;
	font-size: 16px !important;
	font-weight: 600 !important;
	text-align: left !important;
}

.dp-modal__chart {
	min-width: 0;
	max-width: 100%;
	min-height: 160px;
	padding: 12px;
	border: 1px solid #f3f4f6;
	border-radius: 10px;
	background: #f9fafb;
}

.dp-chart-legend {
	display: flex;
	min-width: 0;
	flex-wrap: wrap;
	gap: 7px 14px;
	margin: 0 0 10px;
	color: #4b5563;
	font-size: 11px;
}

.dp-chart-legend__item {
	display: inline-flex;
	min-width: 0;
	align-items: center;
	gap: 6px;
}

.dp-chart-legend__item--best {
	color: #111827;
	font-weight: 800;
}

.dp-chart-legend__swatch {
	width: 24px;
	flex: 0 0 24px;
	border-top: 3px solid #2563eb;
}

.dp-chart-legend__swatch--best {
	border-top-width: 5px;
	border-top-color: #111827;
}

.dp-chart-note {
	margin: -3px 0 8px !important;
	color: #6b7280;
	font-size: 10px;
	line-height: 1.35;
	text-align: left !important;
}

.dp-modal__dialog.is-grouped .dp-modal__chart svg {
	height: 240px;
}

.dp-modal__chart svg {
	display: block;
	width: 100%;
	height: 200px;
}

.dp-chart-grid {
	stroke: #e5e7eb;
	stroke-width: 1;
	stroke-dasharray: 4 4;
}

.dp-chart-label {
	fill: #6b7280;
	font-size: 11px;
	font-weight: 600;
}

.dp-chart-label--date {
	font-size: 10px;
}

.dp-chart-point {
	fill: #2563eb;
	stroke: #fff;
	stroke-width: 2;
}

.dp-modal__no-chart {
	display: grid;
	height: 154px;
	place-items: center;
	margin: 0 !important;
	color: #9ca3af;
	text-align: center !important;
}

.dp-modal__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-top: 12px;
}

.dp-modal__stat {
	padding: 9px;
	border: 1px solid;
	border-radius: 8px;
	text-align: center;
}

.dp-modal__stat span,
.dp-modal__stat strong {
	display: block;
}

.dp-modal__stat span {
	margin-bottom: 2px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.dp-modal__stat strong { font-size: 15px; }
.dp-modal__stat--current { border-color: #dbeafe; background: #eff6ff; color: #1d4ed8; }
.dp-modal__stat--low { border-color: #dcfce7; background: #f0fdf4; color: #15803d; }
.dp-modal__stat--high { border-color: #fee2e2; background: #fef2f2; color: #b91c1c; }

@media (max-width: 1023px) {
	.dp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
	.dp-legacy-catalog { padding: 12px; }
	.dp-search input { height: 44px; padding-left: 16px; font-size: 14px; }
	.dp-toolbar { align-items: flex-start; }
	.dp-filter__trigger { padding: 8px 12px; }
	.dp-count { flex-basis: 100%; margin-left: 0; }
	.dp-popover--sort { width: min(240px, calc(100vw - 48px)); }
	.dp-card { padding: 11px; }
	.dp-card__media { height: 140px; margin-bottom: 10px; padding: 4px; }
	.dp-card__title { min-height: 39px; font-size: 13px !important; }
	.dp-card__price { font-size: 16px; }
	.dp-card__old-price { display: none; }
	.dp-card__footer { gap: 5px; padding-top: 8px; }
	.dp-card__store-name, .dp-card__orders { font-size: 10px; }
	.dp-card__ali-logo { font-size: 9px; }
	.dp-card__change, .dp-card__discount, .dp-card__sponsored-label { padding: 3px 6px; font-size: 9px; }
	.dp-card__store-count { padding: 3px 6px; font-size: 9px; }
	.dp-modal { align-items: center; padding: 8px; }
	.dp-modal__dialog { max-height: calc(100vh - 16px); }
	.dp-modal__header { padding: 12px 14px; }
	.dp-modal__title { font-size: 16px !important; }
	.dp-modal__body { padding: 12px 14px 14px; }
	/* Fila compacta: miniatura al lado de la info, sin apilar (ahorra altura). */
	.dp-modal__top { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: center; margin-bottom: 12px; }
	.dp-modal__media { min-height: 92px; height: 92px; padding: 6px; }
	.dp-modal__media img { max-height: 80px; }
	.dp-modal__vendor { font-size: 12px; }
	.dp-modal__price { font-size: 22px; }
	.dp-modal__link { margin-top: 8px; padding: 8px 12px; }
	.dp-modal__offers { margin-bottom: 12px; }
	.dp-modal__offers-title { font-size: 15px !important; }
	.dp-modal__offer { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 8px; }
	.dp-modal__offer-info { align-items: flex-start; flex-direction: column; gap: 2px; }
	.dp-modal__offer-vendor-wrap { max-width: 100%; flex-wrap: wrap; }
	.dp-modal__offer-vendor { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
	.dp-modal__offer-price { font-size: 13px; }
	.dp-modal__offer-link { padding: 7px 9px; font-size: 11px; }
	.dp-modal__chart-title { margin: 4px 0 8px !important; font-size: 15px !important; }
	.dp-modal__chart { padding: 6px; min-height: 140px; }
	.dp-modal__chart svg { height: 150px; }
	.dp-modal__dialog.is-grouped .dp-modal__chart svg { height: 190px; }
	.dp-chart-legend { gap: 5px 10px; font-size: 10px; }
	.dp-modal__stats { gap: 5px; margin-top: 10px; }
	.dp-modal__stat { padding: 7px 4px; }
	.dp-modal__stat strong { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
	.dp-legacy-catalog *,
	.dp-legacy-catalog *::before,
	.dp-legacy-catalog *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}
