/**
 * Product page design (see inc/product-page.php).
 * Sizes and colors are measured from the design mockup (mockup px x 1.18 = site px).
 */

@font-face {
	font-family: "Outfit";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/outfit-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.bp-product,
.bp-breadcrumb {
	--bp-font: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

	--bp-ink: #0a2530;          /* product title */
	--bp-heading: #043238;      /* green-teal box titles */
	--bp-label: #06313e;        /* labels */
	--bp-text: #153f50;         /* body text */
	--bp-muted: #335e7c;        /* secondary values */

	--bp-price: #017f29;
	--bp-purple: #7152d4;       /* button */
	--bp-purple-hover: #5f40c4;
	--bp-purple-icon: #5329bb;
	--bp-purple-heading: #2c14ac;
	--bp-purple-link: #4f3aab;
	--bp-purple-line: #6446cc;
	--bp-thumb-active: #8f74e3;
	--bp-green: #14914f;
	--bp-green-check: #11894c;
	--bp-green-group: #0d844e;
	--bp-blue: #0a7fcf;
	--bp-pink: #cc158a;

	font-family: var(--bp-font);
}

/* ---------- Breadcrumb ---------- */

.woocommerce .woocommerce-breadcrumb.bp-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0 0 44px;
	padding: 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	color: #0b1a28;
}

.bp-breadcrumb .bp-breadcrumb__home {
	flex: none;
	width: 17px;
	height: 17px;
	margin-right: 10px;
	color: #3c7fae;
}

.woocommerce .woocommerce-breadcrumb.bp-breadcrumb a {
	color: var(--bp-purple-link);
	text-decoration: none;
}

.woocommerce .woocommerce-breadcrumb.bp-breadcrumb a:hover,
.woocommerce .woocommerce-breadcrumb.bp-breadcrumb a:focus-visible {
	text-decoration: underline;
}

.bp-breadcrumb__sep {
	display: inline-flex;
	margin: 0 10px;
	color: #46707f;
}

.bp-breadcrumb__sep .bp-icon {
	width: 14px;
	height: 14px;
}

.bp-breadcrumb__item:last-child {
	font-weight: 600;
	color: #0b1a28;
}

/* ---------- Two-column layout ---------- */

.bp-product .bp-icon {
	display: block;
	flex: none;
}

.bp-product__layout {
	display: grid;
	grid-template-columns: minmax(0, 562fr) minmax(0, 531fr);
	column-gap: 48px;
	align-items: start;
}

.bp-product__col {
	min-width: 0;
}

.woocommerce div.product.bp-product div.images,
.woocommerce div.product.bp-product div.summary {
	float: none;
	width: 100%;
	margin-bottom: 0;
}

/* Phones and tablets: one column. Order: images, booking form, class info, other boxes. */
@media (max-width: 991px) {
	.bp-product__layout {
		display: flex;
		flex-direction: column;
		gap: 28px;
	}

	.bp-product__col {
		display: contents;
	}

	.bp-product__col--left > .onsale,
	.woocommerce div.product.bp-product div.images { order: 1; }
	.woocommerce div.product.bp-product div.summary { order: 2; }
	.bp-product__boxes--right { order: 3; }
	.bp-product__boxes--left { order: 4; }
}

/* ---------- Gallery (the zoom button keeps its WooCommerce look) ---------- */

.woocommerce div.product.bp-product div.images .flex-viewport,
.woocommerce div.product.bp-product div.images .woocommerce-product-gallery__wrapper {
	border-radius: 12px;
	overflow: hidden;
}

.woocommerce div.product.bp-product div.images .flex-viewport .woocommerce-product-gallery__wrapper {
	border-radius: 0;
	overflow: visible;
}

.woocommerce div.product.bp-product div.images .woocommerce-product-gallery__image > a > img {
	aspect-ratio: 1.36;
	object-fit: cover;
}

.woocommerce div.product.bp-product div.images .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 19px;
	margin-top: 20px;
	overflow: visible;
}

.woocommerce div.product.bp-product div.images .flex-control-thumbs li {
	float: none;
	clear: none;
	width: auto;
}

.woocommerce div.product.bp-product div.images .flex-control-thumbs li img {
	box-sizing: border-box;
	width: 100%;
	aspect-ratio: 1.244;
	object-fit: cover;
	border: 2px solid transparent;
	border-radius: 8px;
	opacity: 1;
	transition: border-color 0.2s;
}

.woocommerce div.product.bp-product div.images .flex-control-thumbs li img:hover {
	border-color: #cdbff5;
}

.woocommerce div.product.bp-product div.images .flex-control-thumbs li img.flex-active {
	border-color: var(--bp-thumb-active);
}

/* ---------- Title and price ---------- */

.woocommerce div.product.bp-product .product_title {
	margin: -5px 0 16px;
	font-family: var(--bp-font);
	font-size: 35px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--bp-ink);
}

.woocommerce div.product.bp-product p.price,
.woocommerce div.product.bp-product span.price {
	margin: 0 0 26px;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--bp-price);
}

/* ---------- Day / Time / Location card ---------- */

.bp-choice {
	display: grid;
	grid-template-columns: 155fr 161fr 175fr;
	gap: 0;
	margin: 0 0 14px;
	padding: 17px 19px 16px;
	background: #f2f4fe;
	border: 1px solid #e9ecfc;
	border-radius: 12px;
}

.bp-choice__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	min-width: 0;
	padding-right: 10px;
}

.bp-choice__item:last-child {
	padding-right: 0;
}

.bp-choice__item .bp-icon {
	width: 27px;
	height: 27px;
	color: var(--bp-purple-icon);
}

.bp-choice__text {
	min-width: 0;
}

.bp-choice__label {
	display: block;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--bp-label);
}

.bp-choice__value {
	display: block;
	margin-top: 6px;
	font-size: 16.5px;
	line-height: 1.35;
	color: #0a2939;
	overflow-wrap: anywhere;
}

/* ---------- Dropdowns card ---------- */

.woocommerce div.product.bp-product form.cart {
	margin: 0;
}

.woocommerce div.product.bp-product form.cart .variations {
	position: relative;
	display: block;
	width: 100%;
	margin: 0;
	padding: 20px 19px 23px;
	background: #f2f8fc;
	border: 1px solid #e9f2f8;
	border-radius: 12px;
	font-size: 16px;
}

.woocommerce div.product.bp-product form.cart .variations tbody {
	display: block;
}

.woocommerce div.product.bp-product form.cart .variations tr {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	align-items: center;
}

.woocommerce div.product.bp-product form.cart .variations tr + tr {
	margin-top: 21px;
}

.woocommerce div.product.bp-product form.cart .variations th,
.woocommerce div.product.bp-product form.cart .variations td {
	display: block;
	padding: 0;
	border: 0;
	background: transparent;
	line-height: 1.3;
	vertical-align: middle;
}

.woocommerce div.product.bp-product form.cart .variations th {
	text-align: left;
}

.woocommerce div.product.bp-product form.cart .variations td.value {
	position: relative;
}

.woocommerce div.product.bp-product form.cart .variations label {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--bp-label);
}

.woocommerce div.product.bp-product form.cart .variations select {
	display: block;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	height: 46px;
	margin: 0;
	padding: 0 44px 0 16px;
	border: 1px solid #dfe9f1;
	border-radius: 7px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23557d8f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 16px 16px;
	box-shadow: none;
	font-family: var(--bp-font);
	font-size: 16.5px;
	line-height: 44px;
	color: #193b4e;
	cursor: pointer;
}

.woocommerce div.product.bp-product form.cart .variations select:hover {
	border-color: #c9d9e6;
}

.woocommerce div.product.bp-product form.cart .variations select:focus {
	border-color: var(--bp-thumb-active);
	outline: 3px solid rgba(113, 82, 212, 0.2);
	outline-offset: 0;
}

/* "Clear" link: sits in the card's bottom padding, so it takes no extra space. */
.woocommerce div.product.bp-product form.cart .reset_variations {
	position: absolute;
	top: 100%;
	right: 2px;
	margin-top: 3px;
	font-size: 13px;
	line-height: 1.2;
	color: var(--bp-purple-link);
}

/* ---------- Picked class: price, spots, button ---------- */

/* The class description is shown as boxes under the button instead. */
.woocommerce div.product.bp-product .woocommerce-variation-description {
	display: none;
}

.woocommerce div.product.bp-product .woocommerce-variation:not(:empty) {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 16px;
	margin: 16px 2px 0;
}

.woocommerce div.product.bp-product .woocommerce-variation-price .price {
	margin: 0;
	font-size: 20px;
}

.woocommerce div.product.bp-product .woocommerce-variation-availability p.stock {
	margin: 0;
	font-size: 15px;
	font-weight: 500;
}

.woocommerce div.product.bp-product .stock.in-stock {
	color: var(--bp-green-check);
}

.woocommerce div.product.bp-product .stock.out-of-stock {
	color: #b3261e;
}

.woocommerce div.product.bp-product form.cart .woocommerce-variation-add-to-cart,
.woocommerce div.product.bp-product form.cart:not(.variations_form) {
	display: flex;
	gap: 12px;
	margin-top: 14px;
}

.woocommerce div.product.bp-product form.cart::before,
.woocommerce div.product.bp-product form.cart::after {
	content: none;
}

.woocommerce div.product.bp-product form.cart div.quantity {
	float: none;
	flex: none;
	margin: 0;
}

.woocommerce div.product.bp-product form.cart div.quantity .qty {
	box-sizing: border-box;
	width: 78px;
	height: 51px;
	padding: 0 8px;
	border: 1px solid #dfe9f1;
	border-radius: 8px;
	background: #fff;
	font-family: var(--bp-font);
	font-size: 17px;
	color: #193b4e;
}

.woocommerce div.product.bp-product form.cart .single_add_to_cart_button,
.woocommerce div.product.bp-product form.cart .single_add_to_cart_button.disabled,
.woocommerce div.product.bp-product form.cart .single_add_to_cart_button:disabled {
	display: inline-flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	gap: 12px;
	float: none;
	height: 51px;
	margin: 0;
	padding: 0 20px;
	border: 0;
	border-radius: 8px;
	background: var(--bp-purple);
	font-family: var(--bp-font);
	font-size: 17px;
	font-weight: 600;
	line-height: 1;
	color: #fff;
}

.woocommerce div.product.bp-product form.cart .single_add_to_cart_button::before {
	content: "";
	flex: none;
	width: 23px;
	height: 23px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h2.6l2.5 11.6a1.8 1.8 0 0 0 1.8 1.4h8.9a1.8 1.8 0 0 0 1.75-1.35L21.5 7H5.3'/%3E%3Cpath d='M6.6 11.2h13.9'/%3E%3Ccircle cx='9.2' cy='20' r='1.3'/%3E%3Ccircle cx='17.6' cy='20' r='1.3'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h2.6l2.5 11.6a1.8 1.8 0 0 0 1.8 1.4h8.9a1.8 1.8 0 0 0 1.75-1.35L21.5 7H5.3'/%3E%3Cpath d='M6.6 11.2h13.9'/%3E%3Ccircle cx='9.2' cy='20' r='1.3'/%3E%3Ccircle cx='17.6' cy='20' r='1.3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.woocommerce div.product.bp-product form.cart .single_add_to_cart_button:not(.disabled):not(:disabled):hover {
	background: var(--bp-purple-hover);
	color: #fff;
}

.woocommerce div.product.bp-product form.cart .single_add_to_cart_button:focus-visible {
	outline: 3px solid rgba(113, 82, 212, 0.35);
	outline-offset: 2px;
}

.woocommerce div.product.bp-product form.cart .single_add_to_cart_button.disabled,
.woocommerce div.product.bp-product form.cart .single_add_to_cart_button:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

/* ---------- Info boxes ---------- */

.bp-product__boxes {
	display: flex;
	flex-direction: column;
}

.bp-product__boxes--left {
	gap: 19px;
	margin-top: 33px;
}

.bp-product__boxes--right {
	gap: 13px;
	margin-top: 52px;
}

.bp-product__boxes[hidden] {
	display: none;
}

.bp-box {
	--bp-box-bg: #f9fbfd;
	--bp-box-border: #e8eff4;
	--bp-box-icon: var(--bp-green);
	--bp-box-title: var(--bp-heading);
	--bp-box-text: var(--bp-text);
	--bp-box-dot: var(--bp-text);

	padding: 20px 19px 22px;
	background: var(--bp-box-bg);
	border: 1px solid var(--bp-box-border);
	border-radius: 12px;
	color: var(--bp-box-text);
}

.bp-box__head {
	display: flex;
	align-items: center;
	gap: 21px;
}

.bp-box__head .bp-icon {
	width: 40px;
	height: 40px;
	color: var(--bp-box-icon);
}

.bp-product .bp-box .bp-box__title {
	margin: 0;
	padding: 0;
	font-family: var(--bp-font);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--bp-box-title);
}

.bp-box__body {
	font-size: 15px;
	line-height: 1.8;
}

.bp-box__body > :first-child {
	margin-top: 0;
}

.bp-box__body > :last-child {
	margin-bottom: 0;
}

.bp-box__body p {
	margin: 0 0 10px;
}

.bp-box__body a {
	color: var(--bp-purple-link);
}

.bp-box__body strong {
	font-weight: 600;
}

/* Check-mark lists (What to Expect, Requirements) */
.bp-product ul.bp-box__checks {
	margin: 10px 0 0;
	padding: 0 0 0 32px;
	list-style: none;
}

.bp-box__checks li {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	margin: 0;
	font-size: 16px;
	line-height: 1.9;
	color: var(--bp-box-text);
}

.bp-box__checks li .bp-icon {
	width: 19px;
	height: 19px;
	margin-top: 6px;
	color: var(--bp-green-check);
}

/* Class Overview */
.bp-box--overview {
	padding-bottom: 28px;
}

.bp-box--overview .bp-box__head {
	align-items: flex-start;
}

.bp-box--overview .bp-box__title::after {
	content: "";
	display: block;
	width: 47px;
	height: 3px;
	margin-top: 13px;
	border-radius: 2px;
	background: var(--bp-purple-line);
}

.bp-box--overview .bp-box__head .bp-icon {
	margin-top: -3px;
}

.bp-box--overview .bp-box__body {
	margin-top: 22px;
	font-size: 14.7px;
	line-height: 1.75;
	color: #05273a;
}

/* Class Details */
.bp-box--details {
	--bp-box-bg: #f2f4fe;
	--bp-box-border: #eceffd;
	--bp-box-icon: var(--bp-purple-icon);
	--bp-box-title: var(--bp-purple-heading);
	padding-bottom: 59px;
}

.bp-box--details .bp-box__head .bp-icon {
	width: 38px;
	height: 38px;
}

.bp-product ul.bp-box__stats {
	display: grid;
	grid-template-columns: 180fr 196fr 148fr;
	gap: 0;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.bp-box__stat {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	min-width: 0;
	margin: 0;
	padding-right: 10px;
}

.bp-box__stat:last-child {
	padding-right: 0;
}

.bp-box__stat .bp-icon {
	width: 27px;
	height: 27px;
	margin-top: 4px;
	color: var(--bp-purple-icon);
}

.bp-box__stat-label {
	display: block;
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--bp-label);
}

.bp-box__stat-value {
	display: block;
	margin-top: 4px;
	font-size: 15.5px;
	line-height: 1.35;
	color: var(--bp-muted);
}

/* Requirements */
.bp-box--requirements {
	--bp-box-bg: #f6fbfa;
	--bp-box-border: #e3efef;
}

/* ----- Class info boxes (right column, built by product-page.js) ----- */

.bp-product__boxes--right .bp-box {
	padding: 19px 19px 21px;
}

.bp-product__boxes--right .bp-box__head {
	gap: 22px;
}

.bp-product__boxes--right .bp-box__head .bp-icon {
	width: 35px;
	height: 35px;
}

.bp-product .bp-product__boxes--right .bp-box__title {
	font-size: 20px;
}

.bp-product__boxes--right .bp-box__body {
	margin-top: 10px;
	padding-left: 43px;
	font-size: 15.5px;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.bp-product__boxes--right .bp-box__body ul,
.bp-product__boxes--right .bp-box__body ol {
	margin: 0 0 10px;
	padding: 0 0 0 16px;
}

.bp-product__boxes--right .bp-box__body > :last-child {
	margin-bottom: 0;
}

.bp-product__boxes--right .bp-box__body li {
	margin: 0;
	padding-left: 6px;
}

.bp-product__boxes--right .bp-box__body li::marker {
	color: var(--bp-box-dot);
}

.bp-product__boxes--right .bp-box__body li::first-letter {
	text-transform: uppercase;
}

.bp-box__note {
	display: block;
	margin-top: 3px;
	font-size: 13px;
	line-height: 1.6;
}

.bp-box__note u {
	text-decoration: none;
}

.bp-box--group {
	--bp-box-bg: #eff8f5;
	--bp-box-border: #e2f1ea;
	--bp-box-icon: var(--bp-green-group);
	--bp-box-title: #043236;
	--bp-box-text: #1f5566;
	--bp-box-dot: #145765;
}

.bp-box--registration {
	--bp-box-bg: #f1f2fe;
	--bp-box-border: #e7e9fc;
	--bp-box-icon: var(--bp-purple-icon);
	--bp-box-title: var(--bp-purple-heading);
	--bp-box-text: #2d5a7f;
	--bp-box-dot: #226283;
}

.bp-box--coupon {
	--bp-box-bg: #ebf6fd;
	--bp-box-border: #dcedfb;
	--bp-box-icon: var(--bp-blue);
	--bp-box-title: #00509f;
	--bp-box-text: #235886;
	--bp-box-dot: #1c7ac0;
}

.bp-box--coupon .bp-box__body strong {
	font-weight: 700;
	color: #083a6b;
}

.bp-product__boxes--right .bp-box--help .bp-box__body {
	padding-left: 57px;
}

.bp-box--help {
	--bp-box-bg: #fbf2f7;
	--bp-box-border: #f6e2ec;
	--bp-box-icon: var(--bp-pink);
	--bp-box-title: #b80f7a;
	--bp-box-text: #225577;
}

.bp-box--receipt,
.bp-box--info {
	--bp-box-icon: var(--bp-green-group);
}

.bp-box .bp-box__phone {
	font-weight: 600;
	color: #063a5c;
	text-decoration: underline;
	text-decoration-color: #d45aa8;
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
	white-space: nowrap;
}

.bp-box .bp-box__phone:hover {
	color: var(--bp-pink);
}

/* ---------- Smaller screens ---------- */

@media (max-width: 991px) {
	.bp-product__boxes--left,
	.bp-product__boxes--right {
		margin-top: 0;
	}
}

@media (max-width: 575px) {
	.woocommerce .woocommerce-breadcrumb.bp-breadcrumb {
		margin-bottom: 24px;
	}

	.woocommerce div.product.bp-product .product_title {
		font-size: 28px;
	}

	.woocommerce div.product.bp-product div.images .flex-control-thumbs {
		gap: 10px;
		margin-top: 12px;
	}

	.bp-choice {
		grid-template-columns: 1fr 1fr;
		padding: 18px 16px;
	}

	.bp-choice__item:last-child {
		grid-column: 1 / -1;
	}

	.woocommerce div.product.bp-product form.cart .variations {
		padding: 16px 14px 20px;
	}

	.woocommerce div.product.bp-product form.cart .variations tr {
		grid-template-columns: 74px minmax(0, 1fr);
	}

	.woocommerce div.product.bp-product form.cart .variations tr + tr {
		margin-top: 14px;
	}

	.bp-box {
		padding: 18px 16px 20px;
	}

	.bp-box__head {
		gap: 14px;
	}

	.bp-product ul.bp-box__checks {
		padding-left: 0;
	}

	.bp-product ul.bp-box__stats {
		grid-template-columns: 1fr;
	}

	.bp-box--details {
		padding-bottom: 22px;
	}

	.bp-product__boxes--right .bp-box__body {
		padding-left: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.woocommerce div.product.bp-product div.images .flex-control-thumbs li img {
		transition: none;
	}
}
