/**
 * Peptide Information Pages Styles
 *
 * @package PurposeLabs
 */

/* ==========================================================================
   Peptide Info Page - Main Container
   ========================================================================== */

.peptide-info-page {
	padding-top: 0;
}

/* ==========================================================================
   Shared Section Styles
   ========================================================================== */

.peptide-section-title {
	font-size: 2rem;
	font-weight: 600;
	text-align: center;
	margin-bottom: var(--spacing-sm);
	color: var(--color-dark);
}

.peptide-section-subtitle {
	text-align: center;
	color: var(--color-text-muted);
	margin-bottom: var(--spacing-xl);
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.peptide-info-page section {
	padding: var(--spacing-xxl) 0;
}

.peptide-info-page section:nth-child(even) {
	background-color: var(--color-bg-alt);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.peptide-hero {
	background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-light) 100%);
	color: var(--color-text-light);
	padding: var(--spacing-xxl) 0 !important;
	text-align: center;
}

.peptide-hero__breadcrumb {
	margin-bottom: var(--spacing-md);
	font-size: 0.875rem;
}

.peptide-hero__breadcrumb a {
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
	transition: color var(--transition);
}

.peptide-hero__breadcrumb a:hover {
	color: var(--color-text-light);
}

.peptide-hero__breadcrumb .separator {
	margin: 0 0.5rem;
	color: var(--color-text-muted);
}

.peptide-hero__breadcrumb .current {
	color: var(--color-text-light);
}

.peptide-hero__title {
	font-size: 2.5rem;
	color: var(--color-text-light);
	margin-bottom: var(--spacing-sm);
}

.peptide-hero__subtitle {
	font-size: 1.125rem;
	color: var(--color-text-muted);
	margin-bottom: var(--spacing-md);
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.peptide-hero__meta {
	display: flex;
	justify-content: center;
	gap: var(--spacing-md);
	flex-wrap: wrap;
	margin-bottom: var(--spacing-lg);
}

.peptide-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	background: rgba(255, 255, 255, 0.1);
	border-radius: var(--radius-md);
	font-size: 0.875rem;
}

.peptide-hero__badge svg {
	color: var(--color-text-light);
}

.peptide-hero__cta {
	display: flex;
	justify-content: center;
	gap: var(--spacing-sm);
	flex-wrap: wrap;
}

.peptide-hero__cta .button-outline {
	background: transparent;
	border: 1px solid var(--color-text-light);
	color: var(--color-text-light);
}

.peptide-hero__cta .button-outline:hover {
	background: var(--color-text-light);
	color: var(--color-dark);
}

/* ==========================================================================
   Quick Reference Table
   ========================================================================== */

.peptide-quick-ref__table-wrapper {
	max-width: 700px;
	margin: 0 auto;
	overflow-x: auto;
}

.peptide-quick-ref__table {
	width: 100%;
	border-collapse: collapse;
	background: var(--color-bg);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.peptide-quick-ref__table th,
.peptide-quick-ref__table td {
	padding: var(--spacing-sm) var(--spacing-md);
	text-align: left;
	border-bottom: 1px solid var(--color-border);
}

.peptide-quick-ref__table th {
	background: var(--color-bg-alt);
	font-weight: 600;
	width: 40%;
	color: var(--color-dark);
}

.peptide-quick-ref__table tr:last-child th,
.peptide-quick-ref__table tr:last-child td {
	border-bottom: none;
}

/* ==========================================================================
   Intro Section
   ========================================================================== */

.peptide-intro {
	max-width: 800px;
	margin: 0 auto;
}

.peptide-intro p {
	font-size: 1.0625rem;
	line-height: 1.8;
	color: var(--color-text);
	margin-bottom: var(--spacing-md);
}

.peptide-intro p:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   Research Applications
   ========================================================================== */

.peptide-research h3 {
	font-size: 1.25rem;
	margin-top: var(--spacing-lg);
	margin-bottom: var(--spacing-sm);
	color: var(--color-dark);
}

.peptide-research h3:first-child {
	margin-top: 0;
}

.peptide-research ul {
	margin: 0 0 var(--spacing-md);
	padding-left: 1.5rem;
}

.peptide-research li {
	margin-bottom: 0.5rem;
	line-height: 1.7;
}

/* ==========================================================================
   Dosage Information
   ========================================================================== */

.peptide-dosage h3 {
	font-size: 1.25rem;
	margin-top: var(--spacing-lg);
	margin-bottom: var(--spacing-sm);
}

.peptide-dosage p em,
.peptide-dosage p i {
	display: block;
	font-style: italic;
	margin-bottom: 0.5rem;
}

/* ==========================================================================
   Reconstitution Guide
   ========================================================================== */

.peptide-reconstitution ol {
	margin: 0 0 var(--spacing-md);
	padding-left: 1.5rem;
}

.peptide-reconstitution li {
	margin-bottom: var(--spacing-sm);
	line-height: 1.7;
}

.peptide-reconstitution__table-wrapper {
	overflow-x: auto;
	margin: var(--spacing-md) 0;
}

.peptide-reconstitution__table {
	width: 100%;
	border-collapse: collapse;
	background: var(--color-bg);
	border-radius: var(--radius-md);
	overflow: hidden;
	font-size: 0.9375rem;
}

.peptide-reconstitution__table th,
.peptide-reconstitution__table td {
	padding: var(--spacing-sm);
	text-align: left;
	border-bottom: 1px solid var(--color-border);
}

.peptide-reconstitution__table th {
	background: var(--color-dark);
	color: var(--color-text-light);
	font-weight: 600;
}

.peptide-reconstitution__table tr:nth-child(even) {
	background: var(--color-bg-alt);
}

/* ==========================================================================
   Storage Guidelines
   ========================================================================== */

.peptide-storage h3 {
	font-size: 1.125rem;
	margin-top: var(--spacing-md);
	margin-bottom: var(--spacing-sm);
}

.peptide-storage ul {
	margin: 0 0 var(--spacing-md);
	padding-left: 1.5rem;
}

.peptide-storage li {
	margin-bottom: 0.5rem;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.peptide-faq__list {
	max-width: 800px;
	margin: 0 auto;
}

.peptide-faq__item {
	margin-bottom: var(--spacing-sm);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	overflow: hidden;
	background: var(--color-bg);
}

.peptide-faq__question {
	font-size: 1rem;
	font-weight: 600;
	padding: var(--spacing-md);
	color: var(--color-dark);
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: var(--color-bg);
	transition: background var(--transition);
}

.peptide-faq__question::-webkit-details-marker {
	display: none;
}

.peptide-faq__question::after {
	content: '+';
	font-size: 1.5rem;
	font-weight: 400;
	color: var(--color-text-muted);
	transition: transform var(--transition);
	flex-shrink: 0;
	margin-left: var(--spacing-sm);
}

.peptide-faq__item[open] .peptide-faq__question::after {
	content: '−';
}

.peptide-faq__question:hover {
	background: var(--color-bg-alt);
}

.peptide-faq__answer {
	padding: 0 var(--spacing-md) var(--spacing-md);
	border-top: 1px solid var(--color-border);
}

.peptide-faq__answer p {
	margin: var(--spacing-sm) 0 0;
	color: var(--color-text-muted);
	line-height: 1.7;
}

.peptide-faq__answer p:first-child {
	margin-top: 0;
}

/* ==========================================================================
   Science Section
   ========================================================================== */

.peptide-science h3 {
	font-size: 1.25rem;
	margin-top: var(--spacing-lg);
	margin-bottom: var(--spacing-sm);
}

.peptide-science h4 {
	font-size: 1.0625rem;
	margin-top: var(--spacing-md);
	margin-bottom: var(--spacing-sm);
	color: var(--color-dark);
}

.peptide-sequence {
	font-family: 'Monaco', 'Consolas', monospace;
	font-size: 0.875rem;
	background: var(--color-bg-alt);
	padding: 0.25rem 0.5rem;
	border-radius: var(--radius-sm);
	word-break: break-all;
}

/* ==========================================================================
   Technical Specifications
   ========================================================================== */

.peptide-tech-specs__table-wrapper {
	max-width: 700px;
	margin: 0 auto;
	overflow-x: auto;
}

.peptide-tech-specs__table {
	width: 100%;
	border-collapse: collapse;
	background: var(--color-bg);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.peptide-tech-specs__table th,
.peptide-tech-specs__table td {
	padding: var(--spacing-sm) var(--spacing-md);
	text-align: left;
	border-bottom: 1px solid var(--color-border);
}

.peptide-tech-specs__table th {
	background: var(--color-bg-alt);
	font-weight: 600;
	width: 40%;
	color: var(--color-dark);
}

.peptide-tech-specs__table tr:last-child th,
.peptide-tech-specs__table tr:last-child td {
	border-bottom: none;
}

/* ==========================================================================
   Quality Testing Section
   ========================================================================== */

.peptide-quality__content {
	max-width: 800px;
	margin: 0 auto;
}

.peptide-quality__text h3 {
	font-size: 1.25rem;
	margin-top: var(--spacing-lg);
	margin-bottom: var(--spacing-sm);
}

.peptide-quality__text h3:first-child {
	margin-top: 0;
}

.peptide-quality__text ul {
	margin: 0 0 var(--spacing-md);
	padding-left: 1.5rem;
}

.peptide-quality__text li {
	margin-bottom: 0.5rem;
}

.peptide-quality__methods {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: var(--spacing-md);
	margin-top: var(--spacing-md);
}

.peptide-quality__method {
	background: var(--color-bg);
	padding: var(--spacing-md);
	border-radius: var(--radius-md);
	border: 1px solid var(--color-border);
}

.peptide-quality__method strong {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--color-dark);
}

.peptide-quality__method p {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--color-text-muted);
}

/* ==========================================================================
   Shop Section
   ========================================================================== */

.peptide-shop__products {
	max-width: 800px;
	margin: 0 auto var(--spacing-lg);
	overflow-x: auto;
}

.peptide-shop__table {
	width: 100%;
	border-collapse: collapse;
	background: var(--color-bg);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.peptide-shop__table th,
.peptide-shop__table td {
	padding: var(--spacing-sm) var(--spacing-md);
	text-align: left;
	border-bottom: 1px solid var(--color-border);
}

.peptide-shop__table th {
	background: var(--color-dark);
	color: var(--color-text-light);
	font-weight: 600;
}

.peptide-shop__table th:last-child {
	width: 140px;
}

.peptide-shop__table td a {
	text-decoration: none;
	font-weight: 500;
}

.peptide-shop__table td a:hover {
	color: var(--color-primary-dark);
}

.peptide-shop__table tr:last-child td {
	border-bottom: none;
}

.peptide-shop__link {
	text-align: center;
}

.view-all-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 500;
	color: var(--color-dark);
	text-decoration: none;
	transition: color var(--transition);
}

.view-all-link:hover {
	color: var(--color-primary-dark);
}

.view-all-link svg {
	transition: transform var(--transition);
}

.view-all-link:hover svg {
	transform: translateX(4px);
}

/* ==========================================================================
   Related Peptides
   ========================================================================== */

.peptide-related__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--spacing-md);
	max-width: 900px;
	margin: 0 auto;
}

.peptide-related__card {
	display: block;
	padding: var(--spacing-md);
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	text-decoration: none;
	transition: all var(--transition);
}

.peptide-related__card:hover {
	border-color: var(--color-primary);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.peptide-related__name {
	font-size: 1.125rem;
	margin-bottom: 0.5rem;
	color: var(--color-dark);
}

.peptide-related__desc {
	font-size: 0.9375rem;
	color: var(--color-text-muted);
	margin-bottom: var(--spacing-sm);
}

.peptide-related__link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-primary-dark);
}

.peptide-related__card:hover .peptide-related__link svg {
	transform: translateX(4px);
}

.peptide-related__link svg {
	transition: transform var(--transition);
}

/* ==========================================================================
   References Section
   ========================================================================== */

.peptide-references {
	max-width: 800px;
	margin: 0 auto;
}

.peptide-references ol {
	margin: 0;
	padding-left: 1.5rem;
}

.peptide-references li {
	margin-bottom: var(--spacing-sm);
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--color-text-muted);
}

.peptide-references em {
	font-style: italic;
}

/* ==========================================================================
   Disclaimer Section
   ========================================================================== */

.peptide-disclaimer__box {
	max-width: 800px;
	margin: 0 auto;
	padding: var(--spacing-md);
	background: var(--color-bg-alt);
	border-left: 4px solid var(--color-primary);
	border-radius: var(--radius-md);
}

.peptide-disclaimer__title {
	font-size: 1.125rem;
	margin-bottom: var(--spacing-sm);
	color: var(--color-dark);
}

.peptide-disclaimer__box p {
	font-size: 0.9375rem;
	color: var(--color-text-muted);
	margin-bottom: var(--spacing-sm);
}

.peptide-disclaimer__box p:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 768px) {
	.peptide-hero__title {
		font-size: 1.75rem;
	}

	.peptide-hero__meta {
		flex-direction: column;
		align-items: center;
	}

	.peptide-hero__cta {
		flex-direction: column;
	}

	.peptide-hero__cta .button {
		width: 100%;
		max-width: 280px;
	}

	.peptide-section-title {
		font-size: 1.5rem;
	}

	.peptide-quick-ref__table th,
	.peptide-tech-specs__table th {
		width: 45%;
	}

	.peptide-shop__table {
		font-size: 0.875rem;
	}

	.peptide-shop__table th:last-child {
		width: 100px;
	}

	.peptide-related__grid {
		grid-template-columns: 1fr;
	}

	.peptide-quality__methods {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Research Landing Page
   ========================================================================== */

.research-page {
	padding-top: 0;
}

.research-page section {
	padding: var(--spacing-xxl) 0;
}

.research-page section:nth-child(odd) {
	background-color: var(--color-bg-alt);
}

/* Research Hero */
.research-hero {
	background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-light) 100%);
	color: var(--color-text-light);
	padding: var(--spacing-xxl) 0 !important;
	text-align: center;
}

.research-hero h1 {
	font-size: 2.5rem;
	color: var(--color-text-light);
	margin-bottom: var(--spacing-sm);
}

.research-hero .hero-subtitle {
	font-size: 1.125rem;
	color: var(--color-text-muted);
	max-width: 700px;
	margin: 0 auto;
}

/* Research Intro */
.research-intro .intro-content {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
}

.research-intro h2 {
	font-size: 2rem;
	margin-bottom: var(--spacing-md);
	color: var(--color-dark);
}

.research-intro p {
	font-size: 1.0625rem;
	line-height: 1.8;
	color: var(--color-text);
	margin-bottom: var(--spacing-sm);
}

/* Research Category */
.research-category {
	background: var(--color-bg) !important;
}

.research-category:nth-child(even) {
	background: var(--color-bg-alt) !important;
}

.category-title {
	font-size: 1.75rem;
	text-align: center;
	margin-bottom: var(--spacing-xs);
	color: var(--color-dark);
}

.category-description {
	text-align: center;
	color: var(--color-text-muted);
	margin-bottom: var(--spacing-lg);
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

/* Peptide Grid */
.peptide-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: var(--spacing-md);
	max-width: 1200px;
	margin: 0 auto;
}

.peptide-card {
	display: flex;
	flex-direction: column;
	padding: var(--spacing-lg);
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	text-decoration: none;
	transition: all var(--transition);
}

.peptide-card:hover {
	border-color: var(--color-primary);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	transform: translateY(-4px);
}

.peptide-card__name {
	font-size: 1.25rem;
	margin-bottom: 0.25rem;
	color: var(--color-dark);
}

.peptide-card__tagline {
	font-size: 0.875rem;
	color: var(--color-primary-dark);
	font-weight: 500;
	margin-bottom: var(--spacing-sm);
}

.peptide-card__description {
	font-size: 0.9375rem;
	color: var(--color-text-muted);
	line-height: 1.6;
	margin-bottom: var(--spacing-md);
	flex-grow: 1;
}

.peptide-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-dark);
}

.peptide-card:hover .peptide-card__link {
	color: var(--color-primary-dark);
}

.peptide-card:hover .peptide-card__link svg {
	transform: translateX(4px);
}

.peptide-card__link svg {
	transition: transform var(--transition);
}

/* Research CTA */
.research-cta {
	background: var(--color-bg) !important;
}

.research-cta .cta-box {
	max-width: 600px;
	margin: 0 auto;
	text-align: center;
	padding: var(--spacing-xl);
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
	border-radius: var(--radius-lg);
	color: var(--color-text-light);
}

.research-cta .cta-box h2 {
	font-size: 1.5rem;
	color: var(--color-text-light);
	margin-bottom: var(--spacing-sm);
}

.research-cta .cta-box p {
	margin-bottom: var(--spacing-md);
	opacity: 0.9;
}

.research-cta .button-primary {
	background: var(--color-text-light);
	color: var(--color-dark);
}

.research-cta .button-primary:hover {
	background: var(--color-bg-alt);
}

/* Research Disclaimer */
.research-disclaimer .disclaimer-box {
	max-width: 800px;
	margin: 0 auto;
	padding: var(--spacing-lg);
	background: var(--color-bg);
	border-left: 4px solid var(--color-primary);
	border-radius: var(--radius-md);
}

.research-disclaimer h2 {
	font-size: 1.25rem;
	margin-bottom: var(--spacing-sm);
	color: var(--color-dark);
}

.research-disclaimer p {
	font-size: 0.9375rem;
	color: var(--color-text-muted);
	margin-bottom: var(--spacing-sm);
	line-height: 1.7;
}

.research-disclaimer p:last-child {
	margin-bottom: 0;
}

/* Research Page Responsive */
@media (max-width: 768px) {
	.research-hero h1 {
		font-size: 1.75rem;
	}

	.category-title {
		font-size: 1.5rem;
	}

	.peptide-grid {
		grid-template-columns: 1fr;
	}

	.research-cta .cta-box {
		padding: var(--spacing-md);
	}
}
