/* Adapt EU product page design. Loaded on product pages by mu-plugins/adapt-product-design.php.
   Same system as the homepage: one teal (#715588 / #715588), dark text #230F33, grey text #4a5059,
   white cards with a #e3e6ea border. */

/* ---------- Buying area ---------- */
.single-product .summary h1.product_title {
	font-size: 28px !important;
	line-height: 1.2 !important;
	margin-bottom: 6px !important;
}
.single-product .summary .cgkit-as-variation-price .price,
.single-product .summary > .price {
	font-size: 24px !important;
	font-weight: 700 !important;
	color: #715588 !important;
	margin: 0 0 4px !important;
}
.single-product .summary .price del {
	font-size: 16px;
	font-weight: 400;
	color: #8a9099 !important;
}
/* Test-results link beside the price instead of a full-width button above the pack choice. */
.single-product .summary .adapt-pd-testlink {
	display: inline-flex !important;
	align-items: center;
	margin: 0 0 12px 18px !important; /* clear space after the price (Jasper: "too close") */
	vertical-align: middle;
}
.single-product .summary .adapt-pd-testlink a {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
	min-height: 0 !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 20px !important;
	vertical-align: middle;
	color: #715588 !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.single-product .summary .adapt-pd-testlink a::before {
	content: "";
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23166269' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3Cpath d='M12 3l7 3v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6z'/%3E%3C/svg%3E");
}
.single-product .summary .woocommerce-product-details__short-description,
.single-product .summary .woocommerce-product-details__short-description p {
	font-size: 15px !important;
	line-height: 1.6 !important;
	color: #4a5059 !important;
}

/* Pack choice */
.single-product .summary table.variations th.label {
	padding: 0 0 8px !important;
}
.single-product .summary table.variations th.label label {
	font-size: 14px !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: #230F33 !important;
}
.single-product .summary a.reset_variations {
	display: none !important; /* "Clear" empties the choice and hides the price; nobody needs it */
}
.single-product .summary ul.cgkit-attribute-swatches.adapt-pd-tiles {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px 8px;
	padding-top: 10px !important;
	margin: 0 !important;
	padding: 0 !important;
}
.single-product .summary ul.adapt-pd-tiles li.cgkit-attribute-swatch {
	margin: 0 !important;
	width: auto !important;
}
.single-product .summary ul.adapt-pd-tiles button.cgkit-swatch {
	position: relative;
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	width: 100% !important;
	min-height: 74px;
	height: auto !important;
	padding: 14px 6px 10px !important;
	border: 1.5px solid #d8dde3 !important;
	border-radius: 12px !important;
	background: #fff !important;
	color: #230F33 !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	box-shadow: none !important;
}
.single-product .summary ul.adapt-pd-tiles button.cgkit-swatch.cgkit-swatch-selected {
	border-color: #715588 !important;
	background: #F3EFF6 !important;
	box-shadow: 0 0 0 1px #715588 inset !important;
	color: #230F33 !important;
}
.single-product .summary ul.adapt-pd-tiles button .cross {
	display: none !important;
}
/* One bold line per tile (the pack name); price and per-vial quieter, so tiles do not compete. */
.single-product .summary .adapt-pd-tile-price {
	font-size: 13px;
	font-weight: 500;
	color: #4a5059;
}
.single-product .summary ul.adapt-pd-tiles button.cgkit-swatch-selected .adapt-pd-tile-price {
	font-weight: 600;
	color: #715588;
}
.single-product .summary .adapt-pd-tile-unit {
	font-size: 11px;
	font-weight: 400;
	color: #8a9099;
}
.single-product .summary .adapt-pd-tile-save {
	position: absolute;
	top: -8px;
	left: 50%;
	transform: translateX(-50%);
	padding: 1px 7px;
	border: 1px solid #cfe3e6;
	border-radius: 999px;
	background: #F3EFF6;
	color: #715588;
	font-size: 10.5px;
	font-weight: 600;
	white-space: nowrap;
}
/* Syringe-size and other non-pack options: same tile look, two per row, no prices. */
.single-product .summary ul.cgkit-attribute-swatches:not(.adapt-pd-tiles) {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}
.single-product .summary ul.cgkit-attribute-swatches:not(.adapt-pd-tiles) button.cgkit-swatch {
	width: 100% !important;
	min-height: 48px;
	border: 1.5px solid #d8dde3 !important;
	border-radius: 12px !important;
	background: #fff !important;
	color: #230F33 !important;
	font-weight: 600 !important;
}
.single-product .summary ul.cgkit-attribute-swatches:not(.adapt-pd-tiles) button.cgkit-swatch-selected {
	border-color: #715588 !important;
	background: #F3EFF6 !important;
	box-shadow: 0 0 0 1px #715588 inset !important;
}

/* One price: the one at the top follows the chosen pack, so the second copy above the button goes. */
.single-product .summary .single_variation .woocommerce-variation-price {
	display: none !important;
}

/* Quantity + Buy Now on one row. */
.single-product .summary .woocommerce-variation-add-to-cart,
.single-product .summary form.cart:not(.variations_form) {
	display: flex !important;
	align-items: stretch;
	gap: 10px;
	margin-top: 14px !important;
}
.single-product .summary .quantity.buttons_added {
	flex: 0 0 auto;
	margin: 0 !important;
}
.single-product .summary .quantity input.qty {
	height: 52px !important;
	border-radius: 10px 0 0 10px !important;
}
.single-product .summary .single_add_to_cart_button {
	flex: 1 1 auto;
	min-height: 52px !important;
	border-radius: 10px !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	background: #715588 !important;
}

/* Facts under the button: one soft card, icons on the rows a shopper acts on. */
.single-product .summary dl.adapt-pf-facts {
	margin: 18px 0 8px !important;
	padding: 14px 16px !important;
	background: #f3f8f9;
	border: 1px solid #e1ecee;
	border-radius: 12px;
	font-size: 14px !important;
}
/* Every row the same: icon, label, value. */
.single-product .summary dl.adapt-pf-facts > div.adapt-pd-fact {
	display: grid !important;
	grid-template-columns: 20px 104px minmax(0, 1fr);
	column-gap: 8px;
	align-items: start;
	padding: 5px 0 !important;
	margin: 0 !important;
}
.single-product .summary dl.adapt-pf-facts > div.adapt-pd-fact::before {
	content: "";
	width: 18px;
	height: 18px;
	margin-top: 1px;
	background: no-repeat center / contain;
}
.single-product .summary dl.adapt-pf-facts .adapt-pd-fact dt,
.single-product .summary dl.adapt-pf-facts .adapt-pd-fact dd {
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
	float: none !important;
	line-height: 1.45 !important;
}
.single-product .summary dl.adapt-pf-facts dt {
	color: #230F33 !important;
	font-weight: 600 !important;
}
.single-product .summary dl.adapt-pf-facts dd {
	color: #4a5059 !important;
}
.single-product .summary .adapt-pd-fact-vial::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23368696' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 2h6M10 2v3M14 2v3'/%3E%3Cpath d='M8 5h8v14a3 3 0 0 1-3 3h-2a3 3 0 0 1-3-3z'/%3E%3Cpath d='M8 12h8'/%3E%3C/svg%3E") !important;
}
.single-product .summary .adapt-pd-fact-drop::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23368696' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3s6 6.5 6 11a6 6 0 0 1-12 0c0-4.5 6-11 6-11z'/%3E%3C/svg%3E") !important;
}
.single-product .summary .adapt-pd-fact-temp::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23368696' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 14.8V4a2 2 0 0 0-4 0v10.8a4 4 0 1 0 4 0z'/%3E%3C/svg%3E") !important;
}
.single-product .summary .adapt-pd-fact-box::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23368696' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7l9-4 9 4v10l-9 4-9-4z'/%3E%3Cpath d='M3 7l9 4 9-4M12 11v10'/%3E%3C/svg%3E") !important;
}
.single-product .summary .adapt-pd-fact-sliders::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23368696' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h10M18 6h2M4 12h4M12 12h8M4 18h12M20 18h0'/%3E%3Ccircle cx='16' cy='6' r='2'/%3E%3Ccircle cx='10' cy='12' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E") !important;
}
.single-product .summary .adapt-pd-fact-info::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23368696' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8h0'/%3E%3C/svg%3E") !important;
}
.single-product .summary .adapt-pd-fact-ship::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23368696' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 4h13v12H1z'/%3E%3Cpath d='M14 8h4l4 4v4h-8z'/%3E%3Ccircle cx='5.5' cy='18.5' r='2'/%3E%3Ccircle cx='17.5' cy='18.5' r='2'/%3E%3C/svg%3E") !important;
}
.single-product .summary .adapt-pd-fact-clock::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23368696' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") !important;
}
.single-product .summary .adapt-pd-fact-lock::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23368696' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") !important;
}

/* ---------- Description, then reviews (no tab bar) ---------- */
.single-product .woocommerce-tabs.adapt-pd-stacked ul.tabs {
	display: none !important;
}
.single-product .woocommerce-tabs.adapt-pd-stacked .woocommerce-Tabs-panel {
	display: block !important; /* WooCommerce's tab script sets display:none on the inactive panel */
}
.single-product .woocommerce-tabs.adapt-pd-stacked #tab-reviews {
	max-width: 760px;
	margin: 40px auto 0 !important;
	padding-top: 28px !important;
	border-top: 1px solid #e3e6ea;
}
.single-product .woocommerce-tabs.adapt-pd-stacked #tab-reviews .woocommerce-Reviews-title {
	display: block !important; /* the theme hides it because the tab used to name the section */
	font-size: 24px !important;
	margin-bottom: 8px !important;
}
.single-product .easytouch-content,
.single-product .adapt-content {
	font-family: inherit !important; /* the widget's own style block set Arial; the site is Inter */
	color: #230F33 !important;
}
/* Bullet lists: the widget's style block left them with no indent, so bullets sat on the screen edge. */
.single-product .easytouch-content ul,
.single-product .adapt-content ul {
	padding-left: 22px !important;
	margin-left: 0 !important;
}
.single-product .easytouch-content ul li,
.single-product .adapt-content ul li {
	padding-left: 4px;
}
.single-product .easytouch-content p,
.single-product .easytouch-content li,
.single-product .adapt-content p,
.single-product .adapt-content li {
	color: #4a5059;
}
/* Tables: light header, and they scroll inside their own box instead of widening the page. */
.single-product .adapt-pf-table,
.single-product .easytouch-content .adapt-pf-sizes,
.single-product .adapt-content .adapt-pf-sizes {
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid #e3e6ea;
	border-radius: 12px;
	margin: 20px 0 28px !important;
}
.single-product .adapt-pf-table table,
.single-product table.adapt-pf-sizes {
	margin: 0 !important;
	border: 0 !important;
}
.single-product .easytouch-content th,
.single-product .adapt-content th {
	background: #F3EFF6 !important;
	color: #230F33 !important;
	font-weight: 600 !important;
	border: 0 !important;
	border-bottom: 1px solid #e3e6ea !important;
	padding: 10px 14px !important;
}
.single-product .easytouch-content td,
.single-product .adapt-content td {
	border: 0 !important;
	border-bottom: 1px solid #eef0f3 !important;
	padding: 10px 14px !important;
	background: #fff !important;
}
.single-product .easytouch-content tr:last-child td,
.single-product .adapt-content tr:last-child td {
	border-bottom: 0 !important;
}

/* FAQ: one card, question left, small teal +/- right (same as the homepage). */
.single-product .adapt-pf-faq details.faq-item {
	margin: 0 !important;
	background: #fff !important;
	border: 1px solid #e3e6ea !important;
	border-bottom-width: 0 !important;
	border-radius: 0 !important;
}
.single-product .adapt-pf-faq details.faq-item:first-of-type {
	border-radius: 12px 12px 0 0 !important;
}
.single-product .adapt-pf-faq details.faq-item:last-of-type {
	border-bottom-width: 1px !important;
	border-radius: 0 0 12px 12px !important;
}
.single-product .adapt-pf-faq summary {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 16px 18px !important;
	background: transparent !important;
	color: #230F33 !important;
	cursor: pointer;
	list-style: none;
}
.single-product .adapt-pf-faq summary::-webkit-details-marker {
	display: none;
}
.single-product .adapt-pf-faq summary h3 {
	margin: 0 !important;
	font-size: 16px !important;
	line-height: 1.4 !important;
	font-weight: 600 !important;
	color: #230F33 !important;
}
.single-product .adapt-pf-faq summary::after {
	content: "+";
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	line-height: 28px;
	text-align: center;
	border-radius: 50%;
	background: #F3EFF6;
	color: #715588;
	font-weight: 700;
	font-size: 18px;
}
.single-product .adapt-pf-faq details[open] summary::after {
	content: "\2212";
}
.single-product .adapt-pf-faq summary h3::after,
.single-product .adapt-pf-faq summary::before {
	content: none !important;
}
.single-product .adapt-pf-faq .faq-answer {
	padding: 0 18px 16px !important;
	background: transparent !important;
	color: #4a5059 !important;
}

/* ---------- Phones ---------- */
.single-product .summary .adapt-pd-more {
	display: none; /* only shown on phones, below */
}
@media (max-width: 767px) {
	.single-product .summary h1.product_title {
		font-size: 24px !important;
	}
	/* Three lines (15px x 1.6), faded at the bottom; line-clamp does not work on a div holding a <p>. */
	.single-product .summary .adapt-pd-fold {
		position: relative;
		max-height: 4.8em;
		overflow: hidden;
	}
	.single-product .summary .adapt-pd-fold::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		height: 1.6em;
		background: linear-gradient(rgba(248, 248, 248, 0), #f8f8f8);
	}
	.single-product .summary .adapt-pd-fold.adapt-pd-open {
		max-height: none;
	}
	.single-product .summary .adapt-pd-fold.adapt-pd-open::after {
		content: none;
	}
	.single-product .summary .adapt-pd-fold p {
		margin: 0 !important;
	}
	.single-product .summary .adapt-pd-more {
		display: inline-block;
		margin: 4px 0 14px;
		padding: 0;
		border: 0;
		background: none;
		color: #715588;
		font-size: 14px;
		font-weight: 600;
		text-decoration: underline;
		text-underline-offset: 3px;
		cursor: pointer;
	}
	.single-product .summary ul.cgkit-attribute-swatches.adapt-pd-tiles {
		gap: 18px 8px; /* room for the "Save" badges that sit on each tile's top edge */
		padding-top: 10px !important;
	}
	.single-product .summary ul.adapt-pd-tiles button.cgkit-swatch {
		font-size: 13px !important;
		min-height: 70px;
	}
	.single-product .adapt-pf-faq summary h3 {
		font-size: 15px !important;
	}
}
