/* Peptides site: footer, legal pages, company table, brands. Loaded by mu-plugins/peptides-site.php. */

:root {
	/* Follow the design refresh tokens (themes/medinet/assets/css/peptides-refresh.css), with fallbacks. */
	--pep-teal: var(--pt-teal, #009caa);
	--pep-teal-dark: var(--pt-teal-dark, #00858e);
	--pep-ink: var(--pt-ink, #12343b);
	--pep-ink-2: var(--pt-deep-2, #0f4b54);
	--pep-deep: var(--pt-deep, #0b3a42);
	--pep-footer-text: rgba(255, 255, 255, .78);
	--pep-radius: 14px;
}

/* ---------- footer ---------- */
.peptides-footer {
	background: linear-gradient(180deg, var(--pep-ink-2) 0%, var(--pep-deep) 100%);
	color: var(--pep-footer-text);
	font-size: var(--fs-sm, 14px);
	line-height: 1.7;
}
.peptides-footer .container { padding-left: 16px; padding-right: 16px; }
.peptides-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
	padding: var(--sp-section, 80px) 0 40px;
}
/* The logo's "PEPTIDE COMPANY № 1" line is ~1/30 of the logo width: at 160px it was 4–5px high.
   At 264px (the SVG's own size) it renders at ~8px caps, bold and letter-spaced: readable. */
.peptides-footer__logo { display: inline-block; margin-bottom: 20px; }
.peptides-footer__logo img { display: block; width: 264px; max-width: 100%; height: auto; filter: brightness(0) invert(1); }
.peptides-footer__col p { color: var(--pep-footer-text); margin: 0 0 12px; }
.peptides-footer__title {
	color: #fff;
	font-size: var(--fs-xs, 13px);
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	margin: 6px 0 18px;
}
.peptides-footer address { font-style: normal; margin: 0 0 12px; color: var(--pep-footer-text); }
.peptides-footer a { color: #fff; text-decoration: none; transition: color .2s; }
.peptides-footer a:hover, .peptides-footer a:focus-visible { color: #6fdbe4; }
.peptides-footer__links { list-style: none; margin: 0; padding: 0; }
.peptides-footer__links li { margin: 0 0 8px; padding: 0; }
.peptides-footer__links a { color: var(--pep-footer-text); }
.peptides-footer__links a:hover { color: #fff; }
.peptides-footer__social { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.peptides-footer__social a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.peptides-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, .1);
	padding: 18px 0;
	font-size: 13px;
}
.peptides-footer__bottom p { margin: 0; color: rgba(255, 255, 255, .6); text-align: center; }
@media (max-width: 991px) {
	.peptides-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; padding-top: 48px; }
}
@media (max-width: 575px) {
	.peptides-footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- legal pages ---------- */
.peptides-legal-note {
	border-left: 4px solid #e8a33d;
	background: #fff8ec;
	padding: 14px 18px;
	border-radius: 8px;
	margin: 0 0 28px;
	font-size: var(--fs-sm, 14px);
}
.peptides-placeholder { color: #9a6a12; }
.peptides-legal-note.peptides-placeholder { color: #6b4a0c; }
.peptides-legal-updated { margin-top: 32px; font-size: 14px; }

.peptides-company { width: 100%; max-width: 640px; border-collapse: collapse; margin: 8px 0 24px; }
table.peptides-company th, table.peptides-company td { padding: 10px 14px; border-bottom: 1px solid #e5eef0; text-align: left; vertical-align: top; }
table.peptides-company th { width: 38%; font-weight: 600; color: var(--pep-ink); }

/* ---------- brands ---------- */
.peptides-brands { padding: var(--sp-section, 80px) 0; background: var(--pt-surface, #f5f9f9); }
.peptides-brands__title { text-align: center; margin: 0 0 var(--sp-block, 40px); color: var(--pep-ink); font-size: var(--fs-h2, 32px); font-weight: 700; letter-spacing: -.015em; }
.peptides-brands__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.peptides-brands__item a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 150px;
	padding: 24px;
	background: #fff;
	border-radius: var(--pep-radius);
	box-shadow: 0 1px 2px rgba(15, 47, 54, .06);
	transition: transform .2s, box-shadow .2s;
}
.peptides-brands__item a:hover, .peptides-brands__item a:focus-visible {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(15, 47, 54, .12);
}
.peptides-brands__item img, .peptides-brands__item svg { width: 100%; height: 96px; object-fit: contain; }
.peptides-brands__name { font-weight: 600; color: var(--pep-ink); font-size: var(--fs-h4, 18px); }
/* inline SVG from peptides_brand_logo_markup() carries a product-page width; the grid sizes it instead */
.peptides-brands__item .peptides-product-brand__logo { width: 100% !important; max-width: 100%; height: 96px; }
.peptides-brands__item { position: relative; }
@media (max-width: 575px) {
	.peptides-brands__item .peptides-product-brand__logo { height: 80px; }
	.peptides-brands__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.peptides-brands__item a { height: 110px; padding: 14px; }
	.peptides-brands__item img, .peptides-brands__item svg { height: 80px; }
}
