/* BioVanta Research — WooCommerce presentation layer.
   Plain CSS built on the theme's design tokens; no framework dependency. */

.bvr-woo {
	color: var(--foreground, #16201a);
}

.bvr-eyebrow {
	font-family: var(--font-mono, ui-monospace, "JetBrains Mono", monospace);
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted-foreground, #6b7a70);
	margin: 0 0 0.5rem;
}

.bvr-shop-head {
	border-bottom: 1px solid var(--border, #dce2dd);
	padding-bottom: 2rem;
	margin-bottom: 2.5rem;
}

.bvr-shop-title {
	font-family: var(--font-display, "Space Grotesk", sans-serif);
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.1;
	margin: 0 0 0.75rem;
}

.bvr-shop-intro {
	max-width: 46rem;
	color: var(--muted-foreground, #6b7a70);
	margin: 0;
}

.bvr-grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.bvr-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--border, #dce2dd);
	background: var(--card, #fff);
}

.bvr-card-media {
	display: block;
	background: #f3f5f2;
	overflow: hidden;
}

.bvr-card-media img,
.bvr-single-media img {
	display: block;
	width: 100%;
	height: auto;
}

.bvr-card-body {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.1rem 1.15rem 1.25rem;
	flex: 1;
}

.bvr-card-title {
	font-family: var(--font-display, "Space Grotesk", sans-serif);
	font-size: 1.05rem;
	margin: 0;
	line-height: 1.3;
}

.bvr-card-title a,
.bvr-price a {
	color: inherit;
	text-decoration: none;
}

.bvr-card-summary {
	font-size: 0.875rem;
	color: var(--muted-foreground, #6b7a70);
	margin: 0;
	flex: 1;
}

.bvr-card-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 0.75rem;
}

.bvr-price,
.bvr-single-price {
	font-family: var(--font-mono, ui-monospace, monospace);
	font-weight: 600;
}

.bvr-single-price {
	font-size: 1.35rem;
	margin: 0.25rem 0 1.25rem;
}

.bvr-single-price del {
	opacity: 0.55;
	margin-right: 0.4rem;
}

.bvr-btn,
.bvr-woo .button,
.bvr-woo button.button,
.bvr-woo input.button,
.bvr-woo a.button,
.bvr-woo .single_add_to_cart_button {
	display: inline-block;
	background: var(--forest, #1d3a2a);
	color: var(--paper, #f7f8f5) !important;
	border: 0;
	border-radius: 0;
	padding: 0.7rem 1.2rem;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	line-height: 1;
}

.bvr-btn:hover,
.bvr-woo .button:hover,
.bvr-woo .single_add_to_cart_button:hover {
	opacity: 0.88;
}

.bvr-single-top {
	display: grid;
	gap: 2.5rem;
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
}

@media (min-width: 880px) {
	.bvr-single-top {
		grid-template-columns: 0.9fr 1.1fr;
	}
}

.bvr-single-media {
	border: 1px solid var(--border, #dce2dd);
	background: #f3f5f2;
}

.bvr-single-title {
	font-family: var(--font-display, "Space Grotesk", sans-serif);
	font-size: clamp(1.8rem, 3.2vw, 2.6rem);
	line-height: 1.1;
	margin: 0 0 0.9rem;
}

.bvr-single-summary {
	color: var(--muted-foreground, #6b7a70);
	max-width: 40rem;
}

.bvr-single-facts {
	list-style: none;
	margin: 1.75rem 0 0;
	padding: 1.25rem 0 0;
	border-top: 1px solid var(--border, #dce2dd);
	display: grid;
	gap: 0.6rem;
	font-size: 0.85rem;
}

.bvr-single-facts li {
	display: flex;
	justify-content: space-between;
	gap: 1.5rem;
}

.bvr-single-facts span {
	color: var(--muted-foreground, #6b7a70);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 11px;
}

.bvr-woo .variations {
	width: 100%;
	margin-bottom: 1rem;
	border-collapse: collapse;
}

.bvr-woo .variations th,
.bvr-woo .variations td {
	text-align: left;
	padding: 0.35rem 0.5rem 0.35rem 0;
	vertical-align: middle;
}

.bvr-woo select,
.bvr-woo input[type="number"],
.bvr-woo input[type="text"],
.bvr-woo input[type="email"],
.bvr-woo input[type="tel"],
.bvr-woo textarea {
	border: 1px solid var(--border, #dce2dd);
	background: #fff;
	padding: 0.55rem 0.6rem;
	font: inherit;
	border-radius: 0;
}

.bvr-woo form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
}

.bvr-woo form.variations_form {
	display: block;
}

.bvr-woo .quantity input {
	width: 5rem;
}

.bvr-specs {
	margin: 3.5rem 0 0;
}

.bvr-specs h2,
.bvr-prose h2 {
	font-family: var(--font-display, "Space Grotesk", sans-serif);
	font-size: 1.4rem;
	margin: 2.5rem 0 0.85rem;
}

.bvr-specs table,
.bvr-woo table.shop_attributes {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.bvr-woo table.shop_attributes th,
.bvr-woo table.shop_attributes td {
	border-bottom: 1px solid var(--border, #dce2dd);
	padding: 0.65rem 0.5rem 0.65rem 0;
	text-align: left;
	vertical-align: top;
}

.bvr-woo table.shop_attributes th {
	width: 14rem;
	font-weight: 500;
	color: var(--muted-foreground, #6b7a70);
}

.bvr-woo table.shop_attributes p {
	margin: 0;
}

.bvr-prose {
	max-width: 48rem;
	margin-top: 1rem;
	line-height: 1.7;
}

.bvr-prose h3 {
	font-family: var(--font-display, "Space Grotesk", sans-serif);
	font-size: 1.05rem;
	margin: 1.75rem 0 0.4rem;
}

.bvr-prose p {
	margin: 0 0 1rem;
}

.bvr-prose ul {
	margin: 0 0 1.5rem 1.1rem;
	padding: 0;
}

.bvr-prose li {
	margin-bottom: 0.4rem;
}

.bvr-woo .related.products,
.bvr-woo .upsells.products {
	margin-top: 3.5rem;
	border-top: 1px solid var(--border, #dce2dd);
	padding-top: 2rem;
}

.bvr-woo .related.products h2,
.bvr-woo .upsells.products h2 {
	font-family: var(--font-display, "Space Grotesk", sans-serif);
	font-size: 1.3rem;
	margin-bottom: 1.25rem;
}

.bvr-woo ul.products {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.bvr-woo ul.products li.product {
	border: 1px solid var(--border, #dce2dd);
	padding: 1rem;
	background: #fff;
}

.bvr-woo ul.products li.product a {
	color: inherit;
	text-decoration: none;
}

.bvr-woo ul.products li.product h2,
.bvr-woo ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--font-display, "Space Grotesk", sans-serif);
	font-size: 1rem;
	margin: 0.75rem 0 0.35rem;
}

.bvr-woo .woocommerce-message,
.bvr-woo .woocommerce-info,
.bvr-woo .woocommerce-error {
	border-left: 3px solid var(--forest, #1d3a2a);
	background: #f3f5f2;
	padding: 0.9rem 1rem;
	margin: 0 0 1.5rem;
	list-style: none;
	font-size: 0.9rem;
}

.bvr-empty {
	color: var(--muted-foreground, #6b7a70);
}


/* Clickable size upgrade buttons on variable products */
.bvr-select-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bvr-sizes { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.bvr-size {
  border: 1px solid var(--border, #d9d6ce);
  background: transparent;
  color: inherit;
  padding: 9px 16px;
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.bvr-size:hover:not(:disabled) { border-color: var(--forest, #1d3b2a); }
.bvr-size.is-active { background: var(--forest, #1d3b2a); border-color: var(--forest, #1d3b2a); color: var(--paper, #faf8f4); }
.bvr-size:disabled { opacity: .35; cursor: not-allowed; }
.bvr-single .variations th.label { display: none; }
.bvr-single .variations td { display: block; padding: 0; }

/* Product page — breadcrumbs, bundles, trust strip */
.bvr-crumbs { display:flex; flex-wrap:wrap; gap:8px; font-size:13px; color:#5b6b7d; margin:0 0 28px; }
.bvr-crumbs a { color:#1a5fbd; text-decoration:none; }
.bvr-crumbs strong { font-weight:600; color:#0e2a4e; }

.bvr-single-top { display:grid; gap:40px; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); align-items:start; }
@media (max-width: 900px){ .bvr-single-top { grid-template-columns:1fr; } }
.bvr-single-left { display:grid; gap:20px; }
.bvr-single-media { border:1px solid #e2e8f0; border-radius:16px; overflow:hidden; background:#f6f9fc; }
.bvr-single-buy { position:sticky; top:24px; border:1px solid #e2e8f0; border-radius:16px; padding:22px; background:#fff; }

.bvr-bundles { border:1px solid #e2e8f0; border-radius:16px; padding:20px; background:#fff; }
.bvr-bundles h2 { font-size:16px; margin:0 0 4px; font-family:var(--font-display,"Space Grotesk",sans-serif); color:#0e2a4e; }
.bvr-bundles p { margin:0; font-size:13px; color:#5b6b7d; }
.bvr-bundle-grid { display:grid; gap:16px; grid-template-columns:repeat(2,1fr); margin-top:18px; }
@media (min-width: 640px){ .bvr-bundle-grid { grid-template-columns:repeat(4,1fr); } }
.bvr-bundle { position:relative; display:grid; justify-items:center; gap:4px; padding:16px 10px; border:1px solid #e2e8f0; border-radius:14px; background:#fff; cursor:pointer; font:inherit; text-align:center; transition:border-color .15s ease, box-shadow .15s ease; }
.bvr-bundle:hover { border-color:#1a5fbd; }
.bvr-bundle.is-active { border-color:#1a5fbd; box-shadow:0 0 0 2px rgba(26,95,189,.18); }
.bvr-bundle-badge { position:absolute; top:-10px; left:50%; transform:translateX(-50%); background:#1a5fbd; color:#fff; font-size:11px; letter-spacing:.04em; padding:3px 9px; border-radius:999px; white-space:nowrap; }
.bvr-bundle-vials { display:flex; justify-content:center; margin-bottom:6px; }
.bvr-bundle-vials img { width:46px; height:46px; object-fit:cover; border-radius:10px; border:1px solid #e2e8f0; background:#f6f9fc; margin-left:-12px; }
.bvr-bundle-vials img:first-child { margin-left:0; }
.bvr-bundle-qty { font-size:13px; color:#5b6b7d; }
.bvr-bundle-total { font-size:16px; font-weight:600; color:#0e2a4e; }
.bvr-bundle-each { font-size:12px; color:#7b8a9b; }

.bvr-trust { list-style:none; margin:0; padding:0; display:grid; gap:12px; grid-template-columns:repeat(2,1fr); }
@media (min-width: 640px){ .bvr-trust { grid-template-columns:repeat(4,1fr); } }
.bvr-trust li { display:grid; gap:2px; border:1px solid #e2e8f0; border-radius:12px; padding:12px; background:#f8fbff; }
.bvr-trust strong { font-size:13px; color:#0e2a4e; }
.bvr-trust span { font-size:12px; color:#5b6b7d; }

/* Product page layout corrections */
.bvr-woo { padding-top: 2rem; }
.bvr-single-media { display:flex; align-items:center; justify-content:center; padding:16px; }
.bvr-single-media img { width:100%; max-width:520px; max-height:520px; height:auto; object-fit:contain; border-radius:12px; }
.bvr-single-buy { top: 110px; }
.bvr-single-title { font-size:clamp(1.9rem,3.4vw,2.6rem); line-height:1.1; margin:.25rem 0 .75rem; color:#0e2a4e; }
.bvr-single-price { font-size:1.25rem; font-weight:600; color:#0e2a4e; }
.bvr-single-facts { list-style:none; margin:1.5rem 0 0; padding:1rem 0 0; border-top:1px solid #e2e8f0; display:grid; gap:.5rem; font-size:13px; }
.bvr-single-facts li { display:flex; justify-content:space-between; gap:1rem; }
.bvr-single-facts span { color:#7b8a9b; text-transform:uppercase; letter-spacing:.08em; font-size:11px; }
.bvr-specs, .bvr-prose { margin-top:3rem; }

/* Page container — keep shop/product/cart pages aligned with the rest of the site */
.bvr-woo {
	max-width: 1240px;
	margin-inline: auto;
	padding-inline: 24px;
	box-sizing: border-box;
}
.bvr-prose { max-width: 70ch; }

/* Related / upsell product cards — cancel WooCommerce float+percentage widths inside our grid */
.bvr-woo ul.products li.product {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	clear: none !important;
	border-radius: 14px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	text-align: left;
}
.bvr-woo ul.products li.product img {
	width: 100%;
	height: auto;
	max-height: 200px;
	object-fit: contain;
	margin: 0 0 6px;
	background: #f6f9fc;
	border-radius: 10px;
}
.bvr-woo ul.products li.product .price {
	font-size: 15px;
	font-weight: 600;
	color: #0e2a4e;
	margin: 0;
}
.bvr-woo ul.products li.product .button {
	margin-top: auto;
	display: inline-block;
	align-self: flex-start;
	background: #1a5fbd;
	color: #fff;
	border-radius: 999px;
	padding: 10px 18px;
	font-size: 13px;
	letter-spacing: .02em;
	text-transform: none;
	white-space: nowrap;
	text-decoration: none;
}
.bvr-woo ul.products li.product .button:hover { background: #164f9e; }
.bvr-woo ul.products::before,
.bvr-woo ul.products::after { display: none !important; }

/* On-page shortcut navigation */
.bvr-content-grid {
	display: grid;
	gap: 40px;
	grid-template-columns: 260px minmax(0, 1fr);
	align-items: start;
	margin-top: 3rem;
}
.bvr-content-grid.is-single-col { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 900px) { .bvr-content-grid { grid-template-columns: 1fr; } }
.bvr-sidenav-wrap { position: sticky; top: 110px; }
.admin-bar .bvr-sidenav-wrap { top: 142px; }
@media (max-width: 900px) { .bvr-sidenav-wrap { position: static; } }
.bvr-sidenav {
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
}
.bvr-sidenav ul { list-style: none; margin: 0; padding: 0; }
.bvr-sidenav li { margin: 0; border-top: 1px solid #e2e8f0; }
.bvr-sidenav li:first-child { border-top: 0; }
.bvr-sidenav a {
	display: block;
	padding: 13px 16px;
	font-size: 13px;
	line-height: 1.4;
	color: rgba(14, 42, 78, .72);
	text-decoration: none;
	border-left: 2px solid transparent;
	transition: color .15s ease, background-color .15s ease;
}
.bvr-sidenav a:hover { color: #1a5fbd; background: #f6faff; }
.bvr-sidenav li.is-active > a { border-left-color: #1a5fbd; color: #1a5fbd; font-weight: 600; }
.bvr-sidenav li.is-h3 a { padding-left: 28px; font-size: 12.5px; }

.bvr-sidehelp {
	margin-top: 20px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #fff;
	padding: 20px;
}
.bvr-sidehelp svg { width: 24px; height: 24px; color: #1a5fbd; stroke-linecap: round; stroke-linejoin: round; }
.bvr-sidehelp-title { margin: 12px 0 0; font-family: var(--font-display, "Space Grotesk", sans-serif); font-size: 15px; font-weight: 600; color: #0e2a4e; }
.bvr-sidehelp-body { margin: 6px 0 0; font-size: 13px; line-height: 1.6; color: rgba(14, 42, 78, .6); }
.bvr-sidehelp-cta {
	display: inline-block;
	margin-top: 16px;
	background: #1a5fbd;
	color: #fff;
	border-radius: 8px;
	padding: 10px 16px;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
}
.bvr-sidehelp-cta:hover { background: #164f9e; }
.bvr-prose h2, .bvr-prose h3 { scroll-margin-top: 130px; }
.bvr-content-grid .bvr-prose { margin-top: 0; max-width: 72ch; }

.bvr-inlink{color:#1a5fbd;font-weight:500;text-decoration:underline;text-underline-offset:2px;text-decoration-color:rgba(26,95,189,.35)}
.bvr-inlink:hover{text-decoration-color:#1a5fbd}

/* Catalogue search and filters */
.bvr-catalogue-search {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
	margin: 0 0 14px;
}

.bvr-search-field {
	position: relative;
	flex: 1 1 340px;
	display: flex;
	align-items: center;
}

.bvr-search-icon {
	position: absolute;
	left: 16px;
	width: 18px;
	height: 18px;
	color: #71839a;
	pointer-events: none;
}

.bvr-search-field input[type="search"] {
	width: 100%;
	min-height: 52px;
	padding: 12px 44px 12px 46px;
	font-size: 15px;
	border: 1px solid var(--bv-line, #dbe3ec);
	border-radius: 999px;
	background: #fff;
	color: var(--bv-ink, #16233a);
	-webkit-appearance: none;
	appearance: none;
}

.bvr-search-field input[type="search"]::-webkit-search-cancel-button { display: none; }

.bvr-search-field input[type="search"]:focus {
	outline: none;
	border-color: var(--bv-blue, #1a5fbd);
	box-shadow: 0 0 0 3px rgba(26, 95, 189, 0.14);
}

.bvr-search-clear {
	position: absolute;
	right: 14px;
	border: 0;
	background: none;
	font-size: 22px;
	line-height: 1;
	color: #71839a;
	cursor: pointer;
	padding: 0 4px;
}

.bvr-search-count {
	margin: 0;
	font-size: 13px;
	color: #71839a;
	white-space: nowrap;
}

.bvr-filter-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 26px;
}

.bvr-chip {
	border: 1px solid var(--bv-line, #dbe3ec);
	background: #fff;
	color: #45586f;
	border-radius: 999px;
	padding: 8px 16px;
	font-size: 13px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.bvr-chip:hover { border-color: var(--bv-blue, #1a5fbd); color: var(--bv-blue, #1a5fbd); }

.bvr-chip.is-active {
	background: var(--bv-blue, #1a5fbd);
	border-color: var(--bv-blue, #1a5fbd);
	color: #fff;
}

.bvr-search-empty {
	margin: 32px 0 0;
	padding: 28px;
	text-align: center;
	color: #71839a;
	border: 1px dashed var(--bv-line, #dbe3ec);
	border-radius: 12px;
}

@media (max-width: 640px) {
	.bvr-search-count { width: 100%; }
}

.bvr-review-stars{display:flex;align-items:center;gap:8px;margin:0 0 10px;font-size:13px;color:inherit;text-decoration:none}.bvr-stars{color:#2f5fd0;font-size:18px;letter-spacing:.05em}.bvr-review-link{font-weight:600;text-decoration:underline;text-underline-offset:3px}.bvr-review-stars:hover .bvr-review-link{color:#2f5fd0}

/* v35: purchase options in one sequential, mobile-friendly column */
.bvr-purchase-flow { display:flex; flex-direction:column; gap:16px; width:100%; }
.bvr-purchase-flow form.cart { order:1; margin-bottom:0; }
.bvr-purchase-flow .bvr-bundles { order:2; margin-top:0; }
.bvr-purchase-flow .bvr-bundle-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.bvr-single-price { font-size:clamp(23px,3vw,30px); font-weight:800; color:#0e3973; }
.bvr-purchase-flow .woocommerce-variation-price { font-size:24px; font-weight:800; color:#0e3973; padding:8px 0; }
.bvr-purchase-flow .single_add_to_cart_button { width:100%; min-height:48px; font-weight:700; }
@media(max-width:640px) { .bvr-purchase-flow .bvr-bundles { padding:14px; } .bvr-purchase-flow .bvr-bundle { padding:14px 7px; } }

/* v37: one clean selected price; WooCommerce screen-reader price copy is not visual UI. */
.bvr-single-price .screen-reader-text, .bvr-single-price .woocommerce-price-suffix {display:none!important;}
.bvr-single-price {font-family:inherit;letter-spacing:normal;line-height:1.3;}
.bvr-purchase-flow .woocommerce-variation-price {display:none!important;}

/* v38: hide WooCommerce's redundant variation price below strength buttons.
   Keep variation data in DOM for the selected-price JS and bundle calculations. */
.bvr-single-buy .bvr-purchase-flow form.variations_form .single_variation .price,
.bvr-single-buy .bvr-purchase-flow form.variations_form .woocommerce-variation-price,
.bvr-single-buy .bvr-purchase-flow form.variations_form .single_variation_wrap .price {display:none!important;}
.bvr-single-buy .bvr-purchase-flow form.variations_form .woocommerce-variation-description:empty,
.bvr-single-buy .bvr-purchase-flow form.variations_form .woocommerce-variation-availability:empty {display:none;}

/* v39: suppress duplicated WooCommerce variation price under strength selector. */
.bvr-single-buy .woocommerce-variation-price,
.bvr-single-buy .single_variation .price {display:none!important;}

/* v42: WooCommerce native variation template price is duplicated by the prominent selected price. */
.bvr-single-buy .single_variation .woocommerce-variation-price { display:none !important; }
