:root {
	/* Defining global CSS variables */
	--border-radius: 10px;
	--padding: 6px;
	--margin: 10px;
}

section.content {
	min-height: 100vh;
}

h1 {
	margin:90px 10px 10px 10px;
}

section {
	max-width: 800px;
}

.info {
	margin: 0;
	text-align: center;
}

.bundle-switch {
	display: flex;
	justify-content: center;
}

.bundle-switch > div {
	display: flex;
	background-color: #ccc;
	border-radius: 25px;
	margin: var(--margin);
}

.bundle-switch input {
	display: none;
}

.bundle-switch label {
	display: flex;
	font-weight: normal;
	text-transform: uppercase;
	border-radius: 25px;
	margin: 0;
	padding: 10px 20px;
	color: #000;
	font-weight: bold;
}

.bundle-switch label:has(input:checked) {
	background-color: #3F73A5;
	color:#fff;

}

.news-item {
	position: relative;
	display: flex;
	font-size: 14px;
	font-weight: normal;
	margin: 10px 10px;
	padding: var(--padding);
	border-radius: var(--border-radius);
	background-color: #e6f6f6;
	border: 2px solid #e6f6f6;
	box-shadow: 0 2px 4px #ccc;
}

.news-item:has(input:checked) {
	border-color: #6bc9c9;
	box-shadow: 0 2px 6px #6bc9c9;
}

.news-item input {
	display: none;
} 

.news-item .text-cont {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin-left: var(--padding);
	margin-right: 30px; /* checkbox size */
}

.news-item .text-cont div {
	display: flex;
	flex-direction: column;
}

.news-item img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: var(--border-radius);
}

.news-item .bundle {
	display: flex;
	flex-wrap: wrap;
	width: 60px;
	height: 60px;
	border-radius: var(--border-radius);
	overflow: hidden;
	background-size: 90px;
}

.news-item .bundle img {
	width: 30px;
	height: 30px;
	/* border-radius: 0; */
}

.news-item .title {
	color:#000;
	font-size: 14px;
	line-height: 14px;
	text-transform: uppercase;
}

.news-item .section {
	font-size: 12px;
}

.news-item .price {
	color:#006933;
	font-size: 16px;
	font-weight: bold;
}

.news-item .price-old {
	color:#ccc;
	text-decoration: line-through;
}

.checkbox-icon {
	width: 30px;
	height: 30px;
	position: absolute;
	top:var(--padding);
	right: var(--padding);
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 50 50"><circle cx="25" cy="25" r="22" fill="%23f0f0f040" stroke="%23999" stroke-width="3"/></svg>');
}

.news-item:has(input:checked) .checkbox-icon {
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 50 50"><circle cx="25" cy="25" r="22" fill="%234CAF50" stroke="%234CAF50" stroke-width="3"/><path d="M14 25 L22 33 L36 19" fill="none" stroke="white" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

.single-cover, .bundle-cover {
	display: none;
}

.form:has(.bundle-switch:checked) .bundle-cover {
	display: block;
}

.form:has(.single-switch:checked) .single-cover {
	display: block;
}

.checkout {
	position:fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1000;

	display: flex;
	justify-content: space-evenly;
	align-items: center;
	padding: var(--margin);
	background-color: #f0f0f0;
	box-shadow: 0 0 4px #ccc;
}

.checkout div {
	display: flex;
	flex-direction: column;
	align-items: center;
	color: #000;
	font-size: 12px;
	min-width: 50%;
}

.checkout div span {
	font-size: 22px;
	font-weight: bold;
}

button {
	border:0;
	background-color: #3F73A5;
	font-size: 18px;
	color:#fff;
	padding: 10px 50px;
	border-radius: 50px;
}

.checkout a {
	font-size: 12px;
	color:#666;
}

.checkout button:disabled {
	background-color: #ccc;
}

.center {
	text-align: center;
	justify-content: center;
}