/*
 * The Breather: Products page, styled to match the product, store, cart and checkout pages.
 * Loaded only on the Products page (body.tbpp-overview).
 */

.tbpp-overview {
	/* One brand blue. The tints are the same blue at 8% and 10% on white. */
	--tbp-blue: #006daf;
	--tbp-ink: #25282b;
	--tbp-text: #3a3f44;
	--tbp-muted: #636a71;
	--tbp-tint: #ebf3f9;
	--tbp-card-line: #e6f0f7;
	--tbp-orange: #ff8523;
	--tbp-peach: #fff8f2;
	--tbp-radius: 14px;
	--tbp-head: "Poppins", sans-serif;
}

.tbpp-overview #main #content-wrap {
	padding-top: 0;
	padding-bottom: 0;
}

/* The page is set to full screen width in its page settings, so the content column is set here. */

.tbpp-overview .tbo {
	width: 1200px;
	max-width: 90%;
	margin: 0 auto;
	padding: 44px 0 72px;
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--tbp-text);
}

.tbpp-overview .tbo p {
	margin: 0 0 14px;
}

.tbpp-overview .tbo h1,
.tbpp-overview .tbo h2,
.tbpp-overview .tbo h3 {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: var(--tbp-head);
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: var(--tbp-blue);
}

.tbpp-overview .tbo h2 {
	margin: 0 0 12px;
	font-size: clamp(22px, 2.4vw, 28px);
	line-height: 1.25;
}

/* Elementor's site settings give every link a fixed size, so links take the size of the text around them here. */

.tbpp-overview .tbo a {
	font: inherit;
}

.tbpp-overview .tbo a:not(.tbo-btn) {
	color: var(--tbp-blue);
}

.tbpp-overview .tbo p a:not(.tbo-btn),
.tbpp-overview .tbo .tbo-link {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tbpp-overview .tbo a:focus-visible {
	outline: 3px solid var(--tbp-orange);
	outline-offset: 2px;
}

/* ---------- Breadcrumb, label, heading ---------- */

.tbpp-overview .tbo-crumbs {
	margin: 0 0 22px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--tbp-muted);
}

.tbpp-overview .tbo .tbo-crumbs a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tbpp-overview .tbo-crumbs__sep {
	margin: 0 6px;
}

.tbpp-overview .tbo .tbo-label {
	display: inline-block;
	margin: 0 0 14px;
	padding: 5px 14px;
	border-radius: 999px;
	background: var(--tbp-tint);
	font-family: var(--tbp-head);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--tbp-blue);
}

.tbpp-overview .tbo .tbo-title {
	margin: 0 0 14px;
	font-size: clamp(28px, 3.2vw, 38px);
	line-height: 1.18;
}

.tbpp-overview .tbo .tbo-intro {
	max-width: 68ch;
	margin: 0 0 36px;
	font-size: 18px;
	line-height: 1.6;
}

/* ---------- The two devices ---------- */

.tbpp-overview .tbo-devices {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
}

.tbpp-overview .tbo-device {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--tbp-card-line);
	border-radius: var(--tbp-radius);
	background: #fff;
	overflow: hidden;
}

.tbpp-overview .tbo-device__media {
	display: block;
	padding: 28px 28px 0;
	background: #fff;
}

.tbpp-overview .tbo-device__media img {
	display: block;
	width: 100%;
	max-width: 360px;
	height: auto;
	margin: 0 auto;
}

.tbpp-overview .tbo-device__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 20px 32px 32px;
}

/* Small heading above the "Made for" paragraph. */

.tbpp-overview .tbo .tbo-device__for {
	margin: 4px 0 6px;
	font-size: 17px;
	line-height: 1.35;
}

.tbpp-overview .tbo .tbo-device__name {
	margin: 0 0 16px;
	font-size: clamp(24px, 2.6vw, 30px);
	line-height: 1.2;
}

.tbpp-overview .tbo .tbo-device__name a {
	text-decoration: none;
}

.tbpp-overview .tbo-prices {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 36px;
	margin: 0 0 18px;
}

.tbpp-overview .tbo-prices div {
	margin: 0;
}

.tbpp-overview .tbo-prices dt {
	margin: 0 0 2px;
	font-size: 13px;
	font-weight: 600;
	color: var(--tbp-muted);
}

.tbpp-overview .tbo-prices dd {
	margin: 0;
	font-family: var(--tbp-head);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--tbp-ink);
}

.tbpp-overview .tbo .woocommerce-price-suffix {
	margin-left: 4px;
	font-family: "Open Sans", sans-serif;
	font-size: 13px;
	font-weight: 400;
	color: var(--tbp-muted);
}

.tbpp-overview .tbo .tbo-device__text {
	margin: 0 0 16px;
}

.tbpp-overview .tbo-ticks {
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

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

.tbpp-overview .tbo-ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.2em;
	width: 20px;
	height: 20px;
	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.5 10.4l3 3L14.6 7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.tbpp-overview .tbo-device__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin-top: auto;
}

/* Pill buttons, like the rest of the site. */

.tbpp-overview .tbo .tbo-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 26px;
	border: 0;
	border-radius: 999px;
	background: var(--tbp-blue);
	font-family: var(--tbp-head);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	text-decoration: none;
	text-transform: none;
	color: #fff;
	transition: box-shadow 0.15s ease;
}

.tbpp-overview .tbo .tbo-btn:hover,
.tbpp-overview .tbo .tbo-btn:focus-visible {
	background: var(--tbp-blue);
	color: #fff;
	box-shadow: 0 6px 16px rgba(0, 109, 175, 0.32);
}

.tbpp-overview .tbo .tbo-link {
	font-size: 15px;
	font-weight: 600;
}

/* ---------- Side by side ---------- */

.tbpp-overview .tbo-compare {
	margin-top: 60px;
}

.tbpp-overview .tbo-table-wrap {
	overflow-x: auto;
}

.tbpp-overview .tbo-table {
	width: 100%;
	margin: 6px 0 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 16px;
}

.tbpp-overview .tbo-table th,
.tbpp-overview .tbo-table td {
	padding: 14px 18px;
	border: 0;
	background: none;
	text-align: left;
	vertical-align: top;
	text-transform: none;
	letter-spacing: 0;
	color: var(--tbp-text);
}

.tbpp-overview .tbo-table thead th {
	padding-bottom: 12px;
	font-family: var(--tbp-head);
	font-size: 17px;
	font-weight: 600;
	color: var(--tbp-blue);
}

.tbpp-overview .tbo-table tbody th {
	width: 24%;
	font-weight: 600;
	color: var(--tbp-ink);
}

.tbpp-overview .tbo-table tbody td {
	width: 38%;
}

/* Tinted rows instead of lines. */

.tbpp-overview .tbo-table tbody tr:nth-child(odd) th,
.tbpp-overview .tbo-table tbody tr:nth-child(odd) td {
	background: var(--tbp-tint);
}

.tbpp-overview .tbo-table tbody tr th:first-child {
	border-radius: 10px 0 0 10px;
}

.tbpp-overview .tbo-table tbody tr td:last-child {
	border-radius: 0 10px 10px 0;
}

.tbpp-overview .tbo-table .amount {
	font-weight: 600;
	color: var(--tbp-ink);
}

/* ---------- Travel cases ---------- */

.tbpp-overview .tbo-cases {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
	gap: 28px 44px;
	align-items: center;
	margin-top: 60px;
	padding: 36px;
	border-radius: var(--tbp-radius);
	background: var(--tbp-tint);
}

.tbpp-overview .tbo .tbo-cases__text p {
	margin: 0;
}

.tbpp-overview .tbo-cases__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tbpp-overview .tbo-case {
	margin: 0;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
}

.tbpp-overview .tbo-case__media {
	display: block;
	aspect-ratio: 16 / 9;
}

.tbpp-overview .tbo-case__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tbpp-overview .tbo-case__body {
	padding: 14px 18px 18px;
}

.tbpp-overview .tbo .tbo-case h3 {
	margin: 0 0 2px;
	font-size: 18px;
	line-height: 1.3;
}

.tbpp-overview .tbo .tbo-case__price {
	margin: 0 0 8px;
	font-family: var(--tbp-head);
	font-size: 18px;
	font-weight: 600;
	color: var(--tbp-ink);
}

.tbpp-overview .tbo .tbo-case__links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin: 0;
	font-size: 15px;
	font-weight: 600;
}

/* ---------- Order ---------- */

.tbpp-overview .tbo-cta {
	margin-top: 60px;
	padding: 40px 36px;
	border-radius: var(--tbp-radius);
	background: var(--tbp-peach);
	text-align: center;
}

.tbpp-overview .tbo .tbo-cta > p {
	max-width: 62ch;
	margin-left: auto;
	margin-right: auto;
}

.tbpp-overview .tbo-cta__buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 14px;
	margin: 20px 0 22px;
}

.tbpp-overview .tbo .tbo-cta .tbo-cta__contact {
	max-width: 84ch;
	margin-bottom: 0;
	font-size: 15px;
}

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

@media (max-width: 900px) {
	.tbpp-overview .tbo-cases {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 767px) {
	.tbpp-overview .tbo {
		padding: 28px 0 48px;
	}

	.tbpp-overview .tbo-devices {
		grid-template-columns: minmax(0, 1fr);
	}

	.tbpp-overview .tbo-device__body {
		padding: 16px 22px 26px;
	}

	.tbpp-overview .tbo .tbo-intro {
		margin-bottom: 28px;
		font-size: 17px;
	}

	.tbpp-overview .tbo-compare,
	.tbpp-overview .tbo-cases,
	.tbpp-overview .tbo-cta {
		margin-top: 44px;
	}

	.tbpp-overview .tbo-cases,
	.tbpp-overview .tbo-cta {
		padding: 26px 20px;
	}

	.tbpp-overview .tbo-table {
		font-size: 15px;
	}

	.tbpp-overview .tbo-table th,
	.tbpp-overview .tbo-table td {
		padding: 12px 10px;
	}

	.tbpp-overview .tbo-table tbody th {
		width: 28%;
	}

	.tbpp-overview .tbo-table tbody td {
		width: 36%;
	}
}

@media (max-width: 480px) {
	.tbpp-overview .tbo-cases__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.tbpp-overview .tbo-cta__buttons .tbo-btn {
		flex: 1 0 100%;
	}
}
