/*
Theme Name:   Northbond Peptides
Theme URI:    https://northbondpeptides.co.uk
Description:  Clinical, minimal WooCommerce child theme for Northbond Peptides. Requires the Storefront parent theme.
Author:       Northbond Peptides
Template:     storefront
Version:      1.0.0
Text Domain:  northbond
*/

:root {
	--nb-ink: #142027;
	--nb-body: #4A575E;
	--nb-muted: #556269;
	--nb-ground: #F6F8F8;
	--nb-surface: #FFFFFF;
	--nb-rule: #DCE2E4;
	--nb-field: #B9C3C7;
	--nb-accent: #0E5C70;
	--nb-accent-dark: #0A4352;
	--nb-accent-tint: #E6F0F2;
	--nb-sans: 'IBM Plex Sans', 'Helvetica Neue', Helvetica, sans-serif;
	--nb-mono: 'IBM Plex Mono', Menlo, Consolas, monospace;
}

/* Base */
body, button, input, select, textarea {
	font-family: var(--nb-sans);
	color: var(--nb-ink);
}
body { background: var(--nb-ground); }
h1, h2, h3, h4 { font-family: var(--nb-sans); color: var(--nb-ink); font-weight: 500; letter-spacing: -0.015em; }
p { color: var(--nb-body); }
a { color: var(--nb-accent); }
a:hover, a:focus { color: var(--nb-accent-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
	outline: 2px solid var(--nb-accent);
	outline-offset: 3px;
}
.nb-mono { font-family: var(--nb-mono); }

/* Research notice bar */
.nb-notice {
	background: var(--nb-ink);
	color: #E8EEF0;
	font-size: 13px;
	line-height: 1.4;
	text-align: center;
	padding: 9px 20px;
}

/* Header */
.site-header {
	background: var(--nb-surface) !important;
	border-bottom: 1px solid var(--nb-rule);
	padding-top: 18px !important;
	margin-bottom: 0 !important;
}
.nb-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--nb-ink) !important;
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.01em;
	margin-bottom: 18px;
}
.nb-brand svg { flex: none; }
.main-navigation ul li a, .site-header-cart .cart-contents {
	color: var(--nb-ink) !important;
	font-size: 15px;
}
.main-navigation ul li a:hover { color: var(--nb-accent) !important; }

/* Buttons */
button, input[type="button"], input[type="reset"], input[type="submit"],
.button, .added_to_cart, .wc-block-components-button {
	background: var(--nb-accent) !important;
	border-color: var(--nb-accent) !important;
	color: #FFFFFF !important;
	border-radius: 3px;
	font-weight: 500;
	min-height: 44px;
}
button:hover, .button:hover, input[type="submit"]:hover {
	background: var(--nb-accent-dark) !important;
	border-color: var(--nb-accent-dark) !important;
}
.nb-btn-outline {
	display: inline-flex;
	align-items: center;
	padding: 13px 24px;
	border: 1px solid var(--nb-field);
	border-radius: 3px;
	color: var(--nb-ink) !important;
	text-decoration: none;
	font-weight: 500;
}
.nb-btn {
	display: inline-flex;
	align-items: center;
	padding: 14px 24px;
	background: var(--nb-accent);
	color: #FFFFFF !important;
	border-radius: 3px;
	text-decoration: none;
	font-weight: 500;
}
.nb-btn:hover { background: var(--nb-accent-dark); }

/* Full-bleed bands inside Storefront's .col-full */
.nb-band {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	background: var(--nb-surface);
	border-top: 1px solid var(--nb-rule);
	border-bottom: 1px solid var(--nb-rule);
}
.nb-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Hero */
.nb-hero {
	display: flex;
	flex-wrap: wrap;
	gap: 64px;
	align-items: center;
	padding: 72px 0 88px;
}
.nb-hero__text { flex: 1 1 420px; min-width: 0; }
.nb-hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 24px; }
.nb-hero__lead { font-size: 18px; line-height: 1.6; max-width: 34em; margin-bottom: 32px; }
.nb-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.nb-chain {
	flex: 1 1 420px;
	min-width: 0;
	margin: 0;
	background: var(--nb-surface);
	border: 1px solid var(--nb-rule);
	border-radius: 4px;
	padding: 32px;
}
.nb-chain__residues { display: flex; flex-wrap: wrap; gap: 10px 0; align-items: center; list-style: none; margin: 0; padding: 0; }
.nb-chain__residues li { display: flex; align-items: center; margin: 0; }
.nb-chain__residue {
	width: 52px; height: 52px;
	border-radius: 50%;
	border: 1.5px solid var(--nb-accent);
	display: flex; align-items: center; justify-content: center;
	font-family: var(--nb-mono);
	font-size: 13px;
	background: var(--nb-surface);
}
.nb-chain__bond { width: 14px; height: 1.5px; background: var(--nb-accent); }
.nb-chain figcaption {
	margin-top: 28px; padding-top: 18px;
	border-top: 1px solid var(--nb-rule);
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
	font-size: 14px; color: var(--nb-body);
}

/* Section headings */
.nb-section { padding: 80px 0; }
.nb-section h2 { font-size: 34px; margin: 0 0 12px; }
.nb-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 40px; }
.nb-section__head p { margin: 0; }

/* Product grid */
.nb-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.nb-card {
	display: flex; flex-direction: column; gap: 14px;
	text-decoration: none;
	color: var(--nb-ink) !important;
	border: 1px solid var(--nb-rule);
	border-radius: 4px;
	padding: 24px;
	background: var(--nb-ground);
	height: 100%;
	box-sizing: border-box;
}
.nb-card:hover { border-color: var(--nb-accent); }
.nb-card__img { aspect-ratio: 16 / 10; border-radius: 3px; background: #E9EEEF; overflow: hidden; }
.nb-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nb-card__title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 20px; font-weight: 600; }
.nb-card__mw { font-family: var(--nb-mono); font-size: 13px; color: var(--nb-body); }
.nb-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--nb-rule); font-size: 17px; font-weight: 500; }
.nb-card__foot span:last-child { font-size: 15px; color: var(--nb-accent); }

/* Testing steps */
.nb-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.nb-steps li { border-top: 2px solid var(--nb-accent); padding-top: 20px; margin: 0; }
.nb-steps__n { font-size: 15px; font-weight: 600; color: var(--nb-accent); }
.nb-steps h3 { font-size: 20px; font-weight: 600; margin: 10px 0; }
.nb-steps p { font-size: 16px; line-height: 1.6; margin: 0; }

/* FAQ */
.nb-faq { max-width: 800px; margin: 0 auto; }
.nb-faq details { border-top: 1px solid var(--nb-rule); padding: 20px 0; }
.nb-faq details:last-child { border-bottom: 1px solid var(--nb-rule); }
.nb-faq summary { font-size: 18px; font-weight: 500; cursor: pointer; list-style: none; }
.nb-faq summary::-webkit-details-marker { display: none; }
.nb-faq p { margin: 14px 0 0; line-height: 1.6; }

/* Single product */
.single-product div.product .product_title { font-size: 46px; letter-spacing: -0.02em; }
.single-product div.product p.price { color: var(--nb-ink); font-size: 28px; font-weight: 500; }
.nb-ruo {
	margin: 20px 0;
	padding: 16px 18px;
	background: var(--nb-surface);
	border: 1px solid var(--nb-rule);
	border-radius: 3px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--nb-body);
}
.nb-specs { display: flex; flex-wrap: wrap; gap: 48px; clear: both; padding: 48px 0; }
.nb-specs__table { flex: 999 1 520px; min-width: 0; }
.nb-specs__table h2, .nb-coa h2 { font-size: 24px; margin: 0 0 20px; }
.nb-specs__scroll { overflow-x: auto; }
.nb-specs table { width: 100%; border-collapse: collapse; font-size: 15px; background: transparent; }
.nb-specs th, .nb-specs td { padding: 14px 0; border-top: 1px solid var(--nb-rule); vertical-align: top; background: transparent !important; }
.nb-specs tr:last-child th, .nb-specs tr:last-child td { border-bottom: 1px solid var(--nb-rule); }
.nb-specs th { text-align: left; font-weight: 500; width: 200px; padding-right: 24px; }
.nb-specs td.nb-mono { font-size: 14px; line-height: 1.6; word-break: break-word; }
.nb-coa {
	flex: 1 1 300px; min-width: 0; align-self: flex-start;
	border: 1px solid var(--nb-rule); border-radius: 4px;
	padding: 28px; background: var(--nb-surface);
}
.nb-coa dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 0 0 20px; font-size: 15px; }
.nb-coa dt { color: var(--nb-body); font-weight: 400; }
.nb-coa dd { margin: 0; }
.nb-coa .nb-btn-outline { width: 100%; justify-content: center; box-sizing: border-box; }

/* Checkout confirmations */
.nb-confirm {
	margin: 0 0 24px;
	padding: 20px;
	background: var(--nb-surface);
	border: 1px solid var(--nb-rule);
	border-radius: 4px;
}
.nb-confirm label { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.55; margin-bottom: 12px; cursor: pointer; }
.nb-confirm label:last-child { margin-bottom: 0; }
.nb-confirm input[type="checkbox"] { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--nb-accent); }

/* Footer */
.site-footer { background: var(--nb-surface) !important; border-top: 1px solid var(--nb-rule); color: var(--nb-body) !important; }
.nb-footer-legal { font-size: 14px; line-height: 1.7; color: var(--nb-body); padding: 24px 0 8px; }

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; animation: none !important; }
}
