.product-chart {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	font-family: "Roboto", Helvetica, Arial, sans-serif;
}

.product-chart__header {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.product-chart .product-chart__title.chart-title {
	position: static;
	display: block;
	width: auto;
	margin: 0;
	color: #26323d;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	text-align: left;
}

.product-chart__subtitle {
	display: block;
	margin-top: 2px;
	color: #7a858f;
	font-size: 12px;
	line-height: 1.3;
}

.product-chart .product-chart__ranges.chart-date {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 4px;
	margin: 0;
	padding: 4px;
	border: 1px solid #e2e7eb;
	border-radius: 9px;
	background: #f3f5f7;
}

.product-chart__ranges button {
	min-width: 0;
	padding: 6px 4px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: #68737e;
	font-family: inherit;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
}

.product-chart__ranges button:hover,
.product-chart__ranges button:focus-visible {
	background: rgba(255, 255, 255, .8);
	color: #26323d;
}

.product-chart__ranges button:focus-visible {
	outline: 2px solid rgba(26, 161, 225, .32);
	outline-offset: 1px;
}

.product-chart__ranges button.active {
	background: #fff;
	box-shadow: 0 2px 7px rgba(25, 39, 52, .1);
	color: var(--main-color);
}

.product-chart__canvas {
	position: relative;
	height: 205px;
	min-height: 205px;
	overflow: hidden;
	border: 1px solid #e7ebef;
	border-radius: 10px;
	background: #fbfcfd;
}

.product-summary__chart .product-chart__canvas #myChart {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	min-width: 0;
	margin: 0;
}

.product-chart__status {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(251, 252, 253, .92);
	color: #71808b;
	font-size: 12px;
	line-height: 1.4;
	text-align: center;
}

.product-chart__status[hidden] {
	display: none;
}

.product-chart__status[data-state="error"] {
	background: #fff7f5;
	color: #a34a36;
}

.product-summary__chart .product-chart .alertPriceWatch {
	position: static;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 8px 12px;
	border: 1px solid rgba(26, 161, 225, .55);
	border-radius: 8px;
	background: #fff;
	color: #365465;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
}

.product-chart__summary {
	display: grid;
	font-size: .76rem;
	gap: 4px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 9px;
	text-align: center;
}

.product-chart__summary span {
	background: #f3f7fa;
	border-radius: 7px;
	padding: 6px 4px;
}

.product-chart__summary strong {
	display: block;
}

body#dark .product-chart__summary span {
	background: #252d34;
}

.product-summary__chart .product-chart .alertPriceWatch:hover,
.product-summary__chart .product-chart .alertPriceWatch:focus-visible {
	border-color: var(--main-color);
	background: #f2faff;
	color: #176d97;
}

.product-summary__chart .product-chart .alertPriceWatch:focus-visible {
	outline: 2px solid rgba(26, 161, 225, .28);
	outline-offset: 2px;
}

body#dark .product-chart .product-chart__title.chart-title {
	color: #f1f3f4;
}

body#dark .product-chart__subtitle {
	color: #aab3ba;
}

body#dark .product-chart .product-chart__ranges.chart-date {
	border-color: #424950;
	background: #202429;
}

body#dark .product-chart__ranges button {
	color: #adb6bd;
}

body#dark .product-chart__ranges button:hover,
body#dark .product-chart__ranges button:focus-visible,
body#dark .product-chart__ranges button.active {
	background: #363c42;
	color: #61bee9;
}

body#dark .product-chart__canvas {
	border-color: #424950;
	background: #202429;
}

body#dark .product-chart__status {
	background: rgba(32, 36, 41, .94);
	color: #b9c1c7;
}

body#dark .product-chart__status[data-state="error"] {
	background: #3a2926;
	color: #f0afa0;
}

body#dark .product-summary__chart .product-chart .alertPriceWatch {
	border-color: #3f7188;
	background: #252a2e;
	color: #c5dbe5;
}

body#dark .product-summary__chart .product-chart .alertPriceWatch:hover,
body#dark .product-summary__chart .product-chart .alertPriceWatch:focus-visible {
	border-color: #61bee9;
	background: #293a42;
	color: #fff;
}

@media only screen and (max-width: 991px) {
	.product-chart__canvas {
		height: 240px;
		min-height: 240px;
	}

	.product-chart__ranges button {
		font-size: 12px;
	}
}
