.po-training {
	--po-green: #1f4d33;
	--po-green-soft: #e8efe9;
	--po-border: #e2e2dc;
	--po-muted: #5f6360;
	--po-cream: #f4f3ee;
	--po-serif: "DM Serif Display", Georgia, "Times New Roman", serif;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 32px;
	align-items: start;
	color: #222;
}

.po-training__list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Session card */
.po-card {
	display: grid;
	grid-template-columns: 90px minmax(0, 1fr) auto;
	gap: 22px;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--po-border);
	border-radius: 16px;
	transition: border-color .2s, box-shadow .2s;
}

.po-card.is-selected {
	border-color: var(--po-green);
	box-shadow: 0 0 0 1px var(--po-green);
}

.po-card__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 96px;
	background: var(--po-green-soft);
	border-radius: 12px;
	color: var(--po-green);
	line-height: 1.15;
}

.po-card__month {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.po-card__day {
	font-size: 30px;
	font-weight: 700;
}

.po-card__weekday {
	font-size: 14px;
}

.po-card__tags {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	font-size: 14px;
}

.po-card__badge {
	padding: 3px 10px;
	background: var(--po-green-soft);
	border-radius: 6px;
	color: var(--po-green);
	font-weight: 600;
}

.po-card__topic {
	color: var(--po-muted);
}

.po-card__title {
	margin: 0 0 10px;
	font-family: var(--po-serif);
	font-size: 26px;
	line-height: 1.2;
	font-weight: 500;
	letter-spacing: 0px !important;
}

.po-card__title {
	color: var(--po-green);
	text-decoration: none;
	text-transform: none;
}

.po-card__desc {
	margin-bottom: 12px;
	color: var(--po-muted);
	font-size: 16px;
	line-height: 1.55;
}

.po-card__desc p {
	margin: 0;
}

.po-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
	font-size: 15px;
	color: #333;
	line-height: 1.6;
}

.po-card__aside {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
	text-align: right;
}

.po-card__price strong {
	display: block;
	font-size: 26px;
	line-height: 1.2;
}

.po-card__price span {
	font-size: 14px;
	color: var(--po-muted);
}

.po-card__add {
	min-width: 136px;
	padding: 12px 20px;
	background: #fff;
	border: 1.5px solid var(--po-green);
	border-radius: 10px;
	color: var(--po-green);
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}

.po-card__add:hover,
.po-card__add:focus {
	background: var(--po-green-soft);
	color: var(--po-green);
}

.po-card__add[aria-pressed="true"] {
	background: var(--po-green);
	color: #fff;
}

.po-card__soldout {
	color: var(--po-muted);
	font-weight: 600;
}

/* Selection summary */
.po-summary {
	position: sticky;
	top: 100px;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--po-border);
	border-radius: 16px;
}

.po-summary__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 18px;
}

.po-summary__head h3 {
	margin: 0;
	font-family: "Raleway", Sans-serif;
	font-size: 26px;
	color: var(--po-green);
	text-transform: none;
}

.po-summary__count {
	color: var(--po-muted);
	font-size: 15px;
	font-weight: 600;
}

.po-summary__items {
	margin-bottom: 18px;
}

.po-summary__empty {
	margin: 0;
	padding: 28px 20px;
	border: 1.5px dashed var(--po-border);
	border-radius: 12px;
	color: var(--po-muted);
	text-align: center;
}

.po-summary__empty strong {
	color: var(--po-green);
}

.po-summary__item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	gap: 10px;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid var(--po-border);
	font-size: 15px;
}

.po-summary__item-date {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--po-green);
}

.po-summary__item-title {
	display: block;
	line-height: 1.35;
}

.po-summary__remove {
	padding: 0 6px;
	background: none;
	border: 0;
	color: var(--po-muted);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.po-summary__attendees {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
	padding: 14px 16px;
	background: var(--po-cream);
	border-radius: 12px;
}

.po-summary__attendees span {
	display: block;
	color: var(--po-muted);
	font-size: 14px;
}

.po-qty {
	display: flex;
	align-items: center;
	background: #fff;
	border: 1px solid var(--po-border);
	border-radius: 10px;
}

.po-qty button {
	width: 40px;
	height: 40px;
	padding: 0;
	background: none;
	border: 0;
	color: var(--po-green);
	font-size: 20px;
	cursor: pointer;
}

.po-qty__input {
	width: 40px;
	padding: 0;
	border: 0;
	text-align: center;
	font-size: 17px;
	-moz-appearance: textfield;
}

.po-qty__input::-webkit-outer-spin-button,
.po-qty__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.po-summary__totals {
	margin: 0 0 20px;
}

.po-summary__totals div {
	display: flex;
	justify-content: space-between;
	padding: 4px 0;
}

.po-summary__totals dt,
.po-summary__totals dd {
	margin: 0;
	font-weight: 400;
}

.po-summary__total {
	margin-top: 10px;
	padding-top: 14px !important;
	border-top: 1px solid var(--po-border);
}

.po-summary__total dt {
	font-weight: 700;
}

.po-summary__total dd {
	font-size: 26px;
	font-weight: 700;
	color: var(--po-green);
}

.po-summary__checkout {
	width: 100%;
	padding: 15px;
	background: var(--po-green);
	border: 0;
	border-radius: 10px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.po-summary__checkout:disabled {
	background: #e3e1d6;
	color: #9a9a90;
	cursor: not-allowed;
}

.po-summary__note {
	margin: 14px 0 0;
	color: var(--po-muted);
	font-size: 13px;
	text-align: center;
}

/* Single product page */
.po-training-meta {
	margin: 0 0 1.5em;
	list-style: none;
}

.po-training-meta li {
	margin-bottom: 4px;
}

@media (max-width: 1024px) {
	.po-training {
		grid-template-columns: 1fr;
	}

	.po-summary {
		position: static;
	}
}

@media (max-width: 640px) {
	.po-card {
		grid-template-columns: 64px minmax(0, 1fr);
		gap: 14px;
		padding: 16px;
	}

	.po-card__date {
		height: 76px;
	}

	.po-card__day {
		font-size: 24px;
	}

	.po-card__title {
		font-size: 21px;
	}

	.po-card__aside {
		grid-column: 1 / -1;
		flex-direction: row;
		align-items: center;
		text-align: left;
	}
}

/* Month filter */
.po-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.po-filter__btn {
	padding: 9px 18px;
	background: #fff;
	border: 1px solid var(--po-border);
	border-radius: 999px;
	color: #333;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.po-filter__btn span {
	margin-left: 4px;
	color: var(--po-muted);
	font-weight: 400;
}

.po-filter__btn:hover,
.po-filter__btn:focus {
	background: #fff;
	border-color: var(--po-green);
	color: var(--po-green);
}

.po-filter__btn.is-active {
	background: var(--po-green);
	border-color: var(--po-green);
	color: #fff;
}

.po-filter__btn.is-active span {
	color: rgba(255, 255, 255, .75);
}

.po-card[hidden] {
	display: none;
}

/* Group discount hint */
.po-summary__group {
	margin: -8px 0 16px;
	padding: 8px 12px;
	background: #fdf6e0;
	border-radius: 8px;
	color: #6b5310;
	font-size: 14px;
	text-align: center;
}

.po-summary__group.is-applied {
	background: #e8efe9;
	color: #1f4d33;
	font-weight: 600;
}

.po-summary__discount dd {
	color: #1f4d33;
	font-weight: 600;
}
