/*
 * The Breather product pages.
 * Loaded only on product pages whose new content has been applied (body.tbpp-product).
 */

.tbpp-product {
	/* One brand blue. The tint and line colours are the same blue at 8% and 20% on white. */
	--tbp-blue: #006daf;
	--tbp-navy: #006daf;
	--tbp-ink: #25282b;
	--tbp-text: #3a3f44;
	--tbp-muted: #636a71;
	--tbp-tint: #ebf3f9;
	--tbp-line: #cce2ef;
	--tbp-orange: #ff8523;
	--tbp-peach: #fff8f2;
	--tbp-peach-line: #f4e2d3;
	--tbp-green: #1a7f4b;
	--tbp-radius: 14px;
	--tbp-head: "Poppins", sans-serif;
}

/* ---------- Buy box ---------- */

.tbpp-product div.product .summary {
	color: var(--tbp-text);
}

.tbpp-product .tbp-region {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.4;
}

.tbpp-product .tbp-region__here {
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--tbp-tint);
	color: var(--tbp-navy);
	font-weight: 600;
}

.tbpp-product .tbp-region__switch {
	color: var(--tbp-blue);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tbpp-product div.product .summary .product_title {
	margin: 0 0 12px;
	padding: 0;
	border: 0;
	font-family: var(--tbp-head);
	font-size: clamp(28px, 3.2vw, 38px);
	font-weight: 600;
	line-height: 1.18;
	letter-spacing: -0.01em;
	color: var(--tbp-navy);
}

.tbpp-product div.product .summary p.price {
	margin: 0 0 18px;
	padding: 0;
	border: 0;
	font-family: var(--tbp-head);
	font-size: 30px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--tbp-navy);
}

.tbpp-product div.product .summary p.price .woocommerce-price-suffix {
	margin-left: 6px;
	font-family: "Open Sans", sans-serif;
	font-size: 15px;
	font-weight: 400;
	color: var(--tbp-muted);
}

.tbpp-product .woocommerce-product-details__short-description {
	margin: 0 0 20px;
	font-size: 17px;
	line-height: 1.6;
}

.tbpp-product .woocommerce-product-details__short-description p {
	margin: 0 0 16px;
}

.tbpp-product .tbp-ticks {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 16px;
	line-height: 1.5;
}

.tbpp-product .tbp-ticks li {
	position: relative;
	margin: 0 0 9px;
	padding-left: 30px;
}

.tbpp-product .tbp-ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 19px;
	height: 19px;
	border-radius: 50%;
	background: var(--tbp-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.3 10.4l3 3 6.4-6.8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 19px no-repeat;
}

.tbpp-product div.product .summary p.stock {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	font-size: 15px;
	font-weight: 600;
	color: var(--tbp-green);
}

.tbpp-product div.product .summary p.stock.in-stock::before {
	content: "";
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--tbp-green);
}

.tbpp-product div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 12px;
	margin: 0 0 20px;
	padding: 0;
	border: 0;
}

.tbpp-product div.product form.cart .quantity {
	float: none;
	margin: 0;
}

.tbpp-product div.product form.cart .single_add_to_cart_button {
	/* Sized to its label with 24px either side, sitting left beside the quantity box. Not stretched. */
	flex: 0 0 auto;
	width: auto;
	float: none;
	min-height: 52px;
	margin: 0;
	padding: 0 24px;
	border: 0;
	border-radius: 999px;
	background: var(--tbp-blue);
	color: #fff;
	font-family: var(--tbp-head);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1.2;
	transition: box-shadow 0.15s ease;
}

/* Stays blue on hover. The site's own button settings would turn it orange. */

.tbpp-product div.product form.cart .single_add_to_cart_button:hover,
.tbpp-product div.product form.cart .single_add_to_cart_button:focus,
.tbpp-product div.product form.cart .single_add_to_cart_button:focus-visible {
	background: var(--tbp-blue) !important;
	color: #fff !important;
	box-shadow: 0 6px 16px rgba(0, 109, 175, 0.32);
}

.tbpp-product div.product form.cart .single_add_to_cart_button:focus-visible {
	outline: 3px solid var(--tbp-orange);
	outline-offset: 2px;
}

.tbpp-product .tbp-assurances {
	clear: both;
	margin: 0;
	padding: 16px 0 0;
	border-top: 1px solid var(--tbp-line);
	list-style: none;
	font-size: 15px;
	line-height: 1.5;
	color: var(--tbp-text);
}

.tbpp-product .tbp-assurances li {
	position: relative;
	margin: 0 0 7px;
	padding-left: 18px;
}

.tbpp-product .tbp-assurances li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 0.6em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--tbp-orange);
}

.tbpp-product .tbp-assurances a,
.tbpp-product .tbp a {
	color: var(--tbp-blue);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tbpp-product .tbp-assurances a:hover,
.tbpp-product .tbp a:hover {
	color: var(--tbp-blue);
	text-decoration-thickness: 2px;
}

/* ---------- Description sections ---------- */

.tbpp-product .tbp {
	clear: both;
	padding-top: 56px;
	color: var(--tbp-text);
	font-size: 17px;
	line-height: 1.65;
}

.tbpp-product .tbp--related {
	padding-top: 0;
}

.tbpp-product .tbp-section {
	margin: 0 0 64px;
}

.tbpp-product .tbp h2 {
	margin: 0 0 16px;
	padding: 0;
	border: 0;
	font-family: var(--tbp-head);
	font-size: clamp(24px, 2.4vw, 30px);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--tbp-navy);
	text-transform: none;
}

.tbpp-product .tbp h3 {
	margin: 0 0 10px;
	font-family: var(--tbp-head);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--tbp-navy);
	text-transform: none;
}

.tbpp-product .tbp p {
	max-width: 68ch;
	margin: 0 0 16px;
}

/* Text beside a picture or panel */

.tbpp-product .tbp-media {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 32px 64px;
	align-items: start;
}

.tbpp-product .tbp-media__figure {
	margin: 0;
}

.tbpp-product .tbp-media__figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--tbp-radius);
}

.tbpp-product .tbp-split--even {
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 0 64px;
	margin-top: 0;
}

.tbpp-product .tbp-split--even .tbp-split__col + .tbp-split__col {
	padding-left: 64px;
}

.tbpp-product .tbp-how h3,
.tbpp-product .tbp-use h3,
.tbpp-product .tbp-delivery h3 {
	margin-top: 0;
}

.tbpp-product .tbp-panel {
	padding: 28px 30px 14px;
	border-radius: var(--tbp-radius);
	background: var(--tbp-tint);
}

.tbpp-product .tbp-panel p {
	font-size: 16px;
}

.tbpp-product .tbp-stack__item + .tbp-stack__item {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--tbp-line);
}

.tbpp-product .tbp-stack p {
	font-size: 16px;
}

/* Breadcrumb above the product */

.tbpp-product .entry-content > .site-breadcrumbs {
	position: static;
	top: auto;
	right: auto;
	height: auto;
	max-width: none;
	margin: 0 0 22px;
	padding: 0;
	font-size: 14px;
	line-height: 1.5;
	text-align: left;
	white-space: normal;
	overflow: visible;
	color: var(--tbp-muted);
}

.tbpp-product .entry-content > .site-breadcrumbs .breadcrumb-sep {
	margin: 0 6px;
	color: var(--tbp-muted);
}

.tbpp-product .entry-content > .site-breadcrumbs a {
	color: var(--tbp-blue);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tbpp-product .entry-content > .site-breadcrumbs a:hover {
	color: var(--tbp-blue);
}

/* Gallery thumbnails all the same shape */

.tbpp-product.woocommerce div.product div.images .flex-control-thumbs {
	display: flex;
	gap: 10px;
	margin: 10px 0 0;
	padding: 0;
}

.tbpp-product.woocommerce div.product div.images .flex-control-thumbs li {
	float: none;
	flex: 0 0 calc(25% - 7.5px);
	width: auto;
	margin: 0;
	padding: 0;
}

.tbpp-product.woocommerce div.product div.images .flex-control-thumbs li img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 8px;
}

.tbpp-product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
	border-radius: var(--tbp-radius);
}

/* Tinted panels */

.tbpp-product .tbp-decide,
.tbpp-product .tbp-seller {
	padding: 40px 44px;
	border-radius: var(--tbp-radius);
	background: var(--tbp-tint);
}

.tbpp-product .tbp .tbp-intro {
	font-size: 19px;
	line-height: 1.55;
	color: var(--tbp-ink);
}

.tbpp-product .tbp-split {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: 0 48px;
	margin-top: 28px;
}

.tbpp-product .tbp-split__col + .tbp-split__col {
	padding-left: 48px;
	border-left: 1px solid var(--tbp-line);
}

.tbpp-product .tbp-list {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.tbpp-product .tbp-list li {
	position: relative;
	max-width: 62ch;
	margin: 0 0 10px;
	padding-left: 22px;
}

.tbpp-product .tbp-list li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 0.62em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--tbp-blue);
}

.tbpp-product .tbp-list--alt li::before {
	background: var(--tbp-orange);
}

.tbpp-product .tbp-link {
	font-weight: 600;
}

.tbpp-product .tbp .tbp-note {
	max-width: none;
	margin: 28px 0 0;
	padding: 14px 18px;
	border-left: 4px solid var(--tbp-orange);
	border-radius: 0 8px 8px 0;
	background: #fff;
	font-size: 16px;
}

/* The two dials */

.tbpp-product .tbp-dials {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin: 32px 0 40px;
}

.tbpp-product .tbp-dial {
	padding: 24px 26px 10px;
	border: 1px solid var(--tbp-line);
	border-radius: var(--tbp-radius);
}

.tbpp-product .tbp-dial h3 {
	margin-top: 0;
}

.tbpp-product .tbp-scale {
	display: flex;
	gap: 8px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.tbpp-product .tbp-scale li {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin: 0;
	border-radius: 50%;
	font-family: var(--tbp-head);
	font-size: 17px;
	font-weight: 600;
	line-height: 1;
	border: 2px solid var(--tbp-blue);
	background: #fff;
	color: var(--tbp-blue);
}

.tbpp-product .tbp-dial p {
	font-size: 16px;
}

/* Steps: a real sequence, so numbered */

.tbpp-product .tbp-steps {
	max-width: 760px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: tbp-step;
}

.tbpp-product .tbp-steps li {
	position: relative;
	min-height: 36px;
	margin: 0 0 14px;
	padding: 5px 0 0 54px;
	counter-increment: tbp-step;
}

.tbpp-product .tbp-steps li::before {
	content: counter(tbp-step);
	position: absolute;
	left: 0;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--tbp-navy);
	color: #fff;
	font-family: var(--tbp-head);
	font-size: 16px;
	font-weight: 600;
}

.tbpp-product .tbp-steps strong {
	color: var(--tbp-ink);
}

.tbpp-product .tbp-routine {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 6px 0 20px;
	padding: 0;
	border: 1px solid var(--tbp-line);
	background: #fff;
	border-radius: var(--tbp-radius);
	list-style: none;
	font-size: 15.5px;
	line-height: 1.4;
}

.tbpp-product .tbp-routine li {
	margin: 0;
	padding: 18px 20px;
}

.tbpp-product .tbp-routine li:nth-child(even) {
	border-left: 1px solid var(--tbp-line);
}

.tbpp-product .tbp-routine li:nth-child(n + 3) {
	border-top: 1px solid var(--tbp-line);
}

.tbpp-product .tbp-routine strong {
	display: block;
	margin-bottom: 2px;
	font-family: var(--tbp-head);
	font-size: 30px;
	font-weight: 600;
	line-height: 1.1;
	color: var(--tbp-blue);
}

/* Specs and care */

.tbpp-product .tbp-facts {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 40px 64px;
	padding: 40px 44px;
	border-radius: var(--tbp-radius);
	background: var(--tbp-peach);
}

.tbpp-product .tbp-facts .tbp-table th,
.tbpp-product .tbp-facts .tbp-table td {
	border-bottom-color: var(--tbp-peach-line);
}

.tbpp-product .tbp-facts .tbp-table tr:last-child th,
.tbpp-product .tbp-facts .tbp-table tr:last-child td {
	border-bottom: 0;
}

.tbpp-product .tbp-facts .tbp-table,
.tbpp-product .tbp-facts .tbp-list {
	margin-bottom: 0;
}

.tbpp-product .tbp-facts .tbp-list li:last-child {
	margin-bottom: 0;
}

.tbpp-product .tbp-table {
	width: 100%;
	margin: 0 0 16px;
	border: 0;
	border-collapse: collapse;
	font-size: 16px;
}

.tbpp-product .tbp-table th,
.tbpp-product .tbp-table td {
	padding: 12px 0;
	border: 0;
	border-bottom: 1px solid var(--tbp-line);
	background: none;
	text-align: left;
	vertical-align: top;
	text-transform: none;
	letter-spacing: 0;
}

.tbpp-product .tbp-table th {
	width: 46%;
	padding-right: 16px;
	font-weight: 600;
	color: var(--tbp-ink);
}

.tbpp-product .tbp-table--rates {
	max-width: 460px;
	margin: 8px 0 8px;
}

.tbpp-product .tbp-table--rates thead th {
	border-bottom: 2px solid var(--tbp-navy);
	font-size: 15px;
}

.tbpp-product .tbp-table--rates td:last-child,
.tbpp-product .tbp-table--rates th:last-child {
	width: 40%;
	text-align: right;
}


/* Questions */

.tbpp-product .tbp-faq__item {
	border-bottom: 1px solid var(--tbp-line);
}

.tbpp-product .tbp-faq__item:first-of-type {
	border-top: 1px solid var(--tbp-line);
}

.tbpp-product .tbp-faq__item summary {
	position: relative;
	padding: 18px 44px 18px 0;
	font-family: var(--tbp-head);
	font-size: 17.5px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--tbp-navy);
	cursor: pointer;
	list-style: none;
}

.tbpp-product .tbp-faq__item summary::-webkit-details-marker {
	display: none;
}

.tbpp-product .tbp-faq__item summary::after {
	content: "";
	position: absolute;
	right: 6px;
	top: 50%;
	width: 11px;
	height: 11px;
	margin-top: -8px;
	border-right: 2px solid var(--tbp-blue);
	border-bottom: 2px solid var(--tbp-blue);
	transform: rotate(45deg);
	transition: transform 0.15s ease;
}

.tbpp-product .tbp-faq__item[open] summary::after {
	margin-top: -2px;
	transform: rotate(-135deg);
}

.tbpp-product .tbp-faq__item summary:focus-visible {
	outline: 3px solid var(--tbp-orange);
	outline-offset: 2px;
}

.tbpp-product .tbp-faq__answer {
	padding: 0 44px 8px 0;
}

.tbpp-product .tbp .tbp-disclaimer {
	max-width: none;
	margin: 0 0 56px;
	padding-top: 20px;
	border-top: 1px solid var(--tbp-line);
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--tbp-muted);
}

/* Goes with */

.tbpp-product .tbp-related__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	max-width: 980px;
}

.tbpp-product .tbp a.tbp-related__card {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 16px;
	border: 1px solid var(--tbp-line);
	border-radius: var(--tbp-radius);
	color: var(--tbp-text);
	text-decoration: none;
	transition: border-color 0.15s ease;
}

.tbpp-product .tbp a.tbp-related__card:hover,
.tbpp-product .tbp a.tbp-related__card:focus-visible {
	border-color: var(--tbp-blue);
}

.tbpp-product .tbp-related__img {
	flex: 0 0 132px;
	width: 132px;
	height: auto;
	border-radius: 8px;
}

.tbpp-product .tbp-related__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 15.5px;
	line-height: 1.45;
}

.tbpp-product .tbp-related__name {
	font-family: var(--tbp-head);
	font-size: 18px;
	font-weight: 600;
	color: var(--tbp-navy);
}

.tbpp-product .tbp-related__price {
	margin-top: 4px;
	font-weight: 600;
	color: var(--tbp-navy);
}

.tbpp-product .tbp-related__price .woocommerce-price-suffix {
	font-weight: 400;
	color: var(--tbp-muted);
}

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

@media (max-width: 900px) {
	.tbpp-product .tbp-facts,
	.tbpp-product .tbp-media {
		grid-template-columns: 1fr;
	}

	.tbpp-product .tbp-decide,
	.tbpp-product .tbp-seller,
	.tbpp-product .tbp-facts {
		padding: 32px 28px;
	}
}

@media (max-width: 767px) {
	.tbpp-product .tbp {
		padding-top: 40px;
		font-size: 16.5px;
	}

	.tbpp-product .tbp-section {
		margin-bottom: 48px;
	}

	.tbpp-product .tbp-decide,
	.tbpp-product .tbp-seller,
	.tbpp-product .tbp-facts {
		padding: 28px 20px;
	}

	.tbpp-product .tbp-split,
	.tbpp-product .tbp-split--even,
	.tbpp-product .tbp-dials,
	.tbpp-product .tbp-related__grid {
		grid-template-columns: 1fr;
	}

	.tbpp-product .tbp-split__col + .tbp-split__col {
		margin-top: 20px;
		padding: 24px 0 0;
		border-left: 0;
		border-top: 1px solid var(--tbp-line);
	}

	.tbpp-product .tbp-scale li {
		width: 38px;
		height: 38px;
	}

	.tbpp-product .tbp-related__img {
		flex-basis: 104px;
		width: 104px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tbpp-product .tbp-faq__item summary::after,
	.tbpp-product div.product form.cart .single_add_to_cart_button,
	.tbpp-product .tbp a.tbp-related__card {
		transition: none;
	}
}
