/* SLB product page. Scoped to body.slb-pdp. Tokens from the approved mock (simple.html). */
body.slb-pdp {
	--p: #543E78; --line: #EDEAF0; --soft: #FAF9F6; --ink: #2E2A33; --mute: #7C7783;
}

/* ---------- layout ---------- */
body.slb-pdp #content > .col-full,
body.slb-pdp .storefront-breadcrumb > .col-full { max-width: 1200px; }
body.slb-pdp .storefront-breadcrumb { margin-bottom: 0; padding: 18px 0 0; }
body.slb-pdp .woocommerce-breadcrumb { font-size: 12px; color: var(--mute); margin: 0; }
body.slb-pdp .woocommerce-breadcrumb a { color: var(--mute); text-decoration: none; }
body.slb-pdp .woocommerce-breadcrumb a:hover { color: var(--p); }
body.slb-pdp #primary { width: 100%; float: none; margin: 0; }
body.slb-pdp #secondary { display: none; }

body.slb-pdp.single-product div.product {
	display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	column-gap: clamp(40px, 6.7vw, 96px); row-gap: 0; align-items: start;
	padding: 40px 0 112px; margin: 0;
}
body.slb-pdp.single-product div.product > .woocommerce-product-gallery {
	grid-column: 1; grid-row: 1 / span 3; float: none; width: auto; margin: 0;
}
body.slb-pdp.single-product div.product > .summary { grid-column: 2; grid-row: 1; float: none; width: auto; margin: 0; clear: none; }
body.slb-pdp.single-product div.product > .woocommerce-tabs { grid-column: 2; grid-row: 2; float: none; width: auto; margin: 48px 0 0; padding: 0; }
body.slb-pdp.single-product div.product > .onsale, body.slb-pdp span.onsale { display: none; }

/* ---------- gallery ---------- */
body.slb-pdp .woocommerce-product-gallery__trigger { display: none !important; }
body.slb-pdp .woocommerce-product-gallery .flex-viewport { border-radius: 4px; overflow: hidden; }
body.slb-pdp .woocommerce-product-gallery__image img {
	display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain;
	background: var(--soft); border-radius: 4px; margin: 0;
}
body.slb-pdp .woocommerce-product-gallery.slb-fit .woocommerce-product-gallery__image img { background: #fff; border: 1px solid var(--line); }
body.slb-pdp .woocommerce-product-gallery .flex-control-thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0 0; padding: 0; list-style: none; }
body.slb-pdp .woocommerce-product-gallery .flex-control-thumbs li { float: none; width: 64px; height: 64px; margin: 0; padding: 0; }
body.slb-pdp .woocommerce-product-gallery .flex-control-thumbs li img {
	width: 64px; height: 64px; object-fit: cover; border-radius: 3px; opacity: .55; cursor: pointer; margin: 0;
}
body.slb-pdp .woocommerce-product-gallery .flex-control-thumbs li img.flex-active { opacity: 1; outline: 1px solid var(--p); outline-offset: 2px; }

/* ---------- buy column head ---------- */
body.slb-pdp .slb-pdp-label {
	display: block; font: 600 11px/1.4 Nunito, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--mute);
}
body.slb-pdp .summary h1.product_title {
	font: 600 34px/1.25 Montserrat, sans-serif; color: var(--p); letter-spacing: -.005em; margin: 14px 0 14px; padding: 0; overflow-wrap: anywhere;
}
body.slb-pdp .summary p.price, body.slb-pdp .summary span.price {
	font: 600 20px/1.3 Nunito, sans-serif; color: var(--ink); margin: 0;
}
body.slb-pdp .summary .price .from { display: none; }
body.slb-pdp .summary .price del { color: var(--mute); font-weight: 400; font-size: 16px; margin-right: 10px; opacity: 1; }
body.slb-pdp .summary .price ins { background: none; text-decoration: none; font-weight: 600; }

/* things that no longer belong here */
body.slb-pdp .summary .woocommerce-product-rating,
body.slb-pdp .summary .product_meta,
body.slb-pdp .summary .first-payment-date,
body.slb-pdp .summary .woocommerce-product-details__short-description,
body.slb-pdp .summary [class*="atome"], body.slb-pdp .summary [id*="atome"],
body.slb-pdp .summary .gtm4wp_single_productdata,
body.slb-pdp section.related, body.slb-pdp section.upsells,
body.slb-pdp .summary .woocommerce-variation-price,
body.slb-pdp .bundle_price,
body.slb-pdp .storefront-product-pagination,
body.slb-pdp .reset_variations, body.slb-pdp .reset_bundled_variations_fixed,
body.slb-pdp .bundled_item_images_col, body.slb-pdp .bundled_item_col.bundled_item_images_head,
body.slb-pdp table.bundled_products thead { display: none !important; }

/* ---------- pick your flavours ---------- */
body.slb-pdp tr.bundled_product, body.slb-pdp tr.bundled_product:nth-child(odd), body.slb-pdp tr.bundled_product:nth-child(even),
body.slb-pdp table.variations tr, body.slb-pdp table.variations tr:nth-child(even) { background: none !important; }
body.slb-pdp table.bundled_products tbody tr td, body.slb-pdp table.bundled_products tbody tr:nth-child(2n) td, body.slb-pdp table.variations tbody tr td { background: none !important; }
body.slb-pdp .bundled_item_cart_content table.variations { margin: 0; }
body.slb-pdp .bundled_item_cart_content table.variations tr { display: block; padding: 0; border: 0; }
body.slb-pdp .bundled_item_cart_content table.variations td.label, body.slb-pdp .bundled_item_cart_content table.variations th.label { display: none; }
body.slb-pdp .bundled_item_cart_content table.variations td.value { display: block; }
body.slb-pdp form.cart { margin: 0; }
body.slb-pdp .slb-pick-label { margin-top: 48px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
body.slb-pdp form.cart:not(.bundle_form) table.variations { margin-top: 36px; }
body.slb-pdp table.bundled_products, body.slb-pdp table.variations, body.slb-pdp .slb-extras-table {
	display: block; width: 100%; margin: 0; border: 0; background: none; table-layout: auto;
}
body.slb-pdp table.bundled_products tbody, body.slb-pdp table.variations tbody { display: block; }
body.slb-pdp table.bundled_products td, body.slb-pdp table.bundled_products th,
body.slb-pdp table.variations td, body.slb-pdp table.variations th { border: 0; background: none; padding: 0; }

body.slb-pdp tr.bundled_product, body.slb-pdp table.variations tr {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 14px 0; border-bottom: 1px solid var(--line); background: none; line-height: 1.35; font-size: 15px; color: var(--ink);
}
body.slb-pdp td.bundled_item_details_col { flex: 1 1 auto; min-width: 0; display: block; }
body.slb-pdp td.slb-hide { display: none !important; }
body.slb-pdp td.bundled_item_qty_col { flex: none; }
body.slb-pdp tr.bundled_product .details { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
body.slb-pdp .bundled_product_title {
	font: 400 15px/1.35 Nunito, sans-serif; color: var(--ink); margin: 0; padding: 0; flex: 1 1 auto; min-width: 0; text-transform: none; letter-spacing: 0;
}
body.slb-pdp .bundled_product_title a, body.slb-pdp .bundled_product_title_link { display: none; }
body.slb-pdp .bundled_item_cart_content { flex: none; margin: 0; padding: 0; max-width: 62%; }
body.slb-pdp .slb-qty-note { color: var(--mute); font-size: 13px; }
body.slb-pdp table.variations td.label { flex: 1 1 auto; font: 400 15px/1.35 Nunito, sans-serif; color: var(--ink); }
body.slb-pdp table.variations td.label label, body.slb-pdp table.variations th.label label { font: inherit; color: inherit; margin: 0; }
body.slb-pdp table.variations th.label { flex: 1 1 auto; font: 400 15px/1.35 Nunito, sans-serif; color: var(--ink); text-align: left; }
body.slb-pdp table.variations td.label abbr, body.slb-pdp .bundled_item_cart_content abbr.required { display: none; }
body.slb-pdp table.variations td.value { flex: none; }

body.slb-pdp .bundled_item_cart_content select, body.slb-pdp table.variations select, body.slb-pdp .slb-extras-table select {
	-webkit-appearance: none; appearance: none; cursor: pointer; height: auto; margin: 0; width: auto;
	width: 220px !important; min-width: 0 !important; max-width: 100% !important; text-overflow: ellipsis;
	font: 600 13.5px/1.3 Nunito, sans-serif; color: var(--p); background-color: var(--soft);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23543E78' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 15px center; background-size: 10px;
	border: 1px solid var(--line); border-radius: 999px; padding: 9px 36px 9px 16px; box-shadow: none;
}
body.slb-pdp select:focus-visible { outline: 2px solid #8E3969; outline-offset: 2px; }
body.slb-pdp tr.slb-need { background: #FBF7FC; }
body.slb-pdp tr.slb-need select { border-color: #8E3969; }
body.slb-pdp .woocommerce-variation { margin: 0; }
body.slb-pdp .woocommerce-variation-description, body.slb-pdp .woocommerce-variation-availability { font-size: 13px; color: var(--mute); margin-top: 10px; }
body.slb-pdp .woocommerce-variation-description p { margin: 0; }

/* PB messages: quiet, only after an attempt */
body.slb-pdp .bundle_error { display: none !important; }
body.slb-pdp form.slb-tried .bundle_error { display: block !important; margin-top: 18px; }
body.slb-pdp .bundle_error .woocommerce-info { background: none; border: 0; padding: 0; margin: 0; color: #8E3969; font-size: 13.5px; }
body.slb-pdp .bundle_error .woocommerce-info::before { display: none; }
body.slb-pdp .bundle_error ul { list-style: none; margin: 0; padding: 0; }
body.slb-pdp .bundle_availability p, body.slb-pdp .stock { font-size: 13px; color: var(--mute); margin: 10px 0 0; }

/* ---------- buy row ---------- */
body.slb-pdp .slb-buy { display: flex; align-items: center; gap: 14px; margin-top: 44px; }
body.slb-pdp .slb-buy::before, body.slb-pdp .slb-buy::after { content: none !important; display: none !important; }
body.slb-pdp .slb-buy .quantity {
	display: flex; align-items: center; flex: none; height: 52px; margin: 0; padding: 0;
	border: 1px solid var(--line); border-radius: 999px; background: #fff;
}
body.slb-pdp .slb-buy .quantity .screen-reader-text { position: absolute; }
body.slb-pdp .slb-buy .quantity input.qty {
	width: 26px; height: 50px; min-width: 0; padding: 0; margin: 0; border: 0; background: none; box-shadow: none;
	text-align: center; font: 700 15px/1 Nunito, sans-serif; color: var(--ink); -moz-appearance: textfield; appearance: textfield;
}
body.slb-pdp .slb-buy .quantity input.qty::-webkit-outer-spin-button, body.slb-pdp .slb-buy .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
body.slb-pdp .slb-buy .quantity .slb-step {
	width: 40px; height: 50px; padding: 0; border: 0; background: none; cursor: pointer; box-shadow: none;
	font: 600 18px/1 Nunito, sans-serif; color: var(--p); border-radius: 999px;
}
body.slb-pdp .slb-buy .quantity .slb-step:hover { background: #F6F3F9; }
html body.slb-pdp.single-product form.cart .slb-buy .single_add_to_cart_button {
	flex: 1 1 auto; min-height: 52px; height: 52px; margin: 0; padding: 0 24px; width: auto; float: none; white-space: nowrap;
}
body.slb-pdp .slb-buy input[type=hidden] { display: none; }

body.slb-pdp .single_variation_wrap { margin: 0; padding: 0; }
body.slb-pdp .woocommerce-variation-add-to-cart.slb-buy { margin: 44px 0 0; padding: 0; width: 100%; }
body.slb-pdp .slb-folds:not(:has(details:not([hidden]))) { display: none; }
/* ---------- fold-outs ---------- */
body.slb-pdp .slb-folds { margin-top: 48px; border-top: 1px solid var(--line); }
body.slb-pdp .slb-fold { border-bottom: 1px solid var(--line); }
body.slb-pdp .slb-fold[hidden] { display: none; }
body.slb-pdp .slb-fold > summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
	padding: 20px 0; font: 700 11px/1.4 Nunito, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
}
body.slb-pdp .slb-fold > summary::-webkit-details-marker { display: none; }
body.slb-pdp .slb-fold > summary::after { content: "+"; font: 400 20px/1 Nunito, sans-serif; letter-spacing: 0; color: var(--p); }
body.slb-pdp .slb-fold[open] > summary::after { content: "\2212"; }
body.slb-pdp .slb-fold-body { padding: 0 0 24px; font: 400 15px/1.7 Nunito, sans-serif; color: #4a4550; }
body.slb-pdp .slb-prose > :first-child { margin-top: 0; }
body.slb-pdp .slb-prose > :last-child { margin-bottom: 0; }
body.slb-pdp .slb-prose p, body.slb-pdp .slb-prose ul, body.slb-pdp .slb-prose ol { margin: 0 0 1em; }
body.slb-pdp .slb-prose ul, body.slb-pdp .slb-prose ol { padding-left: 1.2em; }
body.slb-pdp .slb-prose img { max-width: 100%; height: auto; }
body.slb-pdp .slb-prose img.alignleft { float: left; margin: 0 16px 8px 0; width: 64px; height: 64px; }
body.slb-pdp .slb-prose::after { content: ""; display: block; clear: both; }
body.slb-pdp table.slb-allergens { width: 100%; border-collapse: collapse; margin: 0; border: 0; }
body.slb-pdp table.slb-allergens td { padding: 10px 0; border: 0; border-top: 1px solid var(--line); vertical-align: top; background: none; }
body.slb-pdp table.slb-allergens tr:first-child td { border-top: 0; }
body.slb-pdp table.slb-allergens td:first-child { width: 110px; color: var(--mute); font: 600 11px/1.4 Nunito, sans-serif; letter-spacing: .14em; text-transform: uppercase; padding-top: 13px; }

/* extras: optional bundled items and add ons, inside the fold-out */
body.slb-pdp .slb-fold-extras tr.bundled_product { align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
body.slb-pdp .slb-fold-extras tr.bundled_product:last-child { border-bottom: 0; }
body.slb-pdp .slb-fold-extras tr.bundled_product .details { display: block; }
body.slb-pdp .slb-fold-extras .bundled_product_title { font-weight: 600; }
body.slb-pdp .slb-fold-extras label.bundled_product_optional_checkbox { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--mute); margin: 4px 0 0; cursor: pointer; }
body.slb-pdp .slb-fold-extras .bundled_product_optional_checkbox input { accent-color: var(--p); width: 16px; height: 16px; margin: 0; }
body.slb-pdp .slb-fold-extras .bundled_item_cart_content { max-width: none; margin-top: 10px; }
body.slb-pdp .slb-fold-extras td.bundled_item_qty_col .quantity { margin: 0; }
body.slb-pdp .slb-fold-extras td.bundled_item_qty_col input.qty { width: 64px; height: 40px; border: 1px solid var(--line); border-radius: 999px; text-align: center; padding: 0 0 0 10px; background: #fff; }
body.slb-pdp .slb-fold-extras .bundled_item_cart_details .price { font-size: 13px; }
body.slb-pdp .slb-fold-body .wccf_field_container { margin: 0 0 14px; }
body.slb-pdp .slb-fold-body .wccf_field_container ul { list-style: none; margin: 0; padding: 0; }
body.slb-pdp .slb-fold-body .wccf_field_container li { padding: 7px 0; border-bottom: 1px solid var(--line); }
body.slb-pdp .slb-fold-body .wccf_field_container li:last-child { border-bottom: 0; }
body.slb-pdp .slb-fold-body .wccf_field_container label { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; }
body.slb-pdp .slb-fold-body .wccf_field_container input[type=checkbox], body.slb-pdp .slb-fold-body .wccf_field_container input[type=radio] { accent-color: var(--p); }
body.slb-pdp .slb-fold-body .wccf_field_container .wccf_price_label { color: var(--mute); font-size: 13px; }
body.slb-pdp .slb-fold-body .wccf_field_container small { display: block; color: var(--mute); font-size: 12.5px; margin-top: 6px; }
body.slb-pdp .slb-fold-gift textarea, body.slb-pdp .slb-fold-gift input[type=text] {
	width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: 400 15px/1.5 Nunito, sans-serif; box-shadow: none; background: #fff;
}

/* reviews: a plain list under the folds, only when there are reviews */
body.slb-pdp .woocommerce-tabs ul.tabs { display: none; }
body.slb-pdp .woocommerce-tabs .woocommerce-Tabs-panel { display: block !important; padding: 0; margin: 0; }
body.slb-pdp .woocommerce-tabs h2 { font: 700 11px/1.4 Nunito, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; }
body.slb-pdp .woocommerce-Reviews .commentlist { list-style: none; margin: 0; padding: 0; }
body.slb-pdp .woocommerce-Reviews .commentlist li { padding: 14px 0; border-top: 1px solid var(--line); }
body.slb-pdp .woocommerce-Reviews .commentlist img.avatar { display: none; }
body.slb-pdp .woocommerce-Reviews .commentlist .comment_container { padding: 0; }
body.slb-pdp .woocommerce-Reviews .commentlist .comment-text { margin: 0; border: 0; padding: 0; }
body.slb-pdp #review_form_wrapper, body.slb-pdp .woocommerce-verification-required { display: none; }

/* ---------- phone ---------- */
@media (max-width: 767px) {
	body.slb-pdp #content > .col-full { padding: 0; }
	body.slb-pdp .storefront-breadcrumb > .col-full { padding: 0 24px; }
	body.slb-pdp.single-product div.product { display: block; padding: 12px 0 140px; }
	body.slb-pdp.single-product div.product > .woocommerce-product-gallery {
		position: static; width: 100vw; max-width: 100vw; margin: 0 calc(50% - 50vw);
	}
	body.slb-pdp .woocommerce-product-gallery .flex-viewport, body.slb-pdp .woocommerce-product-gallery__image img { border-radius: 0; }
	body.slb-pdp .woocommerce-product-gallery.slb-fit .woocommerce-product-gallery__image img { border: 0; }
	body.slb-pdp .woocommerce-product-gallery .flex-control-thumbs { justify-content: center; gap: 8px; margin: 18px 0 0; }
	body.slb-pdp .woocommerce-product-gallery .flex-control-thumbs li { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
	body.slb-pdp .woocommerce-product-gallery .flex-control-thumbs li:has(img.flex-active) { background: var(--p); }
	body.slb-pdp .woocommerce-product-gallery .flex-control-thumbs li img {
		position: absolute; left: -8px; top: -8px; width: 22px; height: 22px; opacity: 0 !important; outline: 0 !important; border-radius: 0;
	}
	body.slb-pdp.single-product div.product > .summary { padding: 28px 24px 0; }
	body.slb-pdp.single-product div.product > .woocommerce-tabs { padding: 0 24px; }
	body.slb-pdp .summary h1.product_title { font-size: 24px; }
	body.slb-pdp .summary p.price { font-size: 18px; }
	body.slb-pdp .slb-pick-label { margin-top: 32px; }
	body.slb-pdp tr.bundled_product, body.slb-pdp table.variations tr { font-size: 14px; }
	/* 31 Oct 2026: selects were 170px wide at 13px and clipped 'Choose an option' / the chosen flavour. Full width row under the label, 16px, 44px tall. */
	body.slb-pdp tr.bundled_product, body.slb-pdp table.variations tr { flex-wrap: wrap; }
	body.slb-pdp .bundled_item_cart_content select, body.slb-pdp table.variations select { width: 100% !important; font-size: 16px; min-height: 44px; }
	body.slb-pdp .bundled_item_cart_content, body.slb-pdp table.variations td.value { max-width: 100%; flex: 1 1 100%; }
	body.slb-pdp .slb-folds { margin-top: 32px; }
	html body.slb-pdp .woocommerce-store-notice.demo_store { display: none !important; }

	body.slb-pdp .slb-buy {
		position: fixed; left: 0; right: 0; bottom: var(--slb-hh, 0px); margin: 0; gap: 12px;
		padding: 12px 20px 12px; background: #fff; border-top: 1px solid var(--line); z-index: 90;
	}
	body.slb-pdp .slb-buy .quantity { height: 50px; }
	body.slb-pdp .slb-buy .quantity .slb-step { width: 34px; height: 48px; }
	body.slb-pdp .slb-buy .quantity input.qty { height: 48px; }
	html body.slb-pdp.single-product form.cart .slb-buy .single_add_to_cart_button { height: 50px; min-height: 50px; font-size: 15px !important; }
	body.slb-pdp .site-footer { padding-bottom: 80px; }
}

/* 1 Nov 2026: product 65202 carried an in-content ::after "Book Consultation" over font-size:0 text; on phones the 15px rule un-hid the JS label too. JS label is now 'Book consultation · $x', so retire the ::after. */
html body.slb-pdp.single-product form.cart .slb-buy .single_add_to_cart_button::after { content: none !important; display: none !important; }
html body.slb-pdp.postid-65202.single-product form.cart .slb-buy .single_add_to_cart_button { font-size: 16px !important; letter-spacing: normal !important; line-height: 1.2 !important; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 767px) {
	html body.slb-pdp.postid-65202.single-product form.cart .slb-buy .single_add_to_cart_button { font-size: 15px !important; }
}

/* 1 Nov 2026: one mobile sticky-bar rule for every product type (simple, variable, bundle, 65202, 60986). The variable-product rule 'padding:0' used to win; this matches its specificity. Bar is a border-box with equal 20px sides; qty stays fixed, button shrinks. */
@media (max-width: 767px) {
	body.slb-pdp .slb-buy, body.slb-pdp .woocommerce-variation-add-to-cart.slb-buy {
		box-sizing: border-box; left: 0; right: 0; width: auto; max-width: 100vw; margin: 0; padding: 12px 20px;
	}
	body.slb-pdp .slb-buy > * { min-width: 0; }
	body.slb-pdp .slb-buy .quantity { flex: 0 0 auto; }
	html body.slb-pdp.single-product form.cart .slb-buy .single_add_to_cart_button {
		flex: 1 1 0; min-width: 0; padding: 0 10px !important; overflow: hidden; text-overflow: ellipsis; box-sizing: border-box;
	}
	body.slb-pdp .slb-buy > div:not(.quantity):empty, body.slb-pdp .slb-buy > span:empty { display: none; }
}
