/* RESEARCH COMPOUNDS SECTION STYLES */

.compounds-section {
	width: 100vw;
	margin: 0 calc(-50vw + 50%);
	background-color: var(--brand-white);
	padding: 5rem 2rem;
}

.compounds-header {
	width: 100%;
	margin: 0 0 3rem 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 2rem;
}

.compounds-title {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--brand-dark-gray);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0;
}

.compounds-link {
	font-size: 0.7rem;
	font-weight: 600;
	color: var(--brand-primary-red);
	text-decoration: none;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	transition: all 0.3s ease;
}

.compounds-link:hover {
	gap: 1rem;
	transform: translateX(2px);
}

.compounds-grid {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1.75rem;
	padding: 0 2rem;
}

.compound-card {
	background-color: var(--brand-white);
	border: 1px solid #ebebeb;
	border-radius: 2px;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
}

.compound-card:hover {
	border-color: var(--brand-primary-red);
	box-shadow: 0 12px 24px rgba(187, 13, 18, 0.08);
	transform: translateY(-6px);
}

.compound-image {
	width: 100%;
	height: 240px;
	background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	border-bottom: 1px solid #ebebeb;
	margin-bottom: 1.5rem;
	overflow: hidden;
}

.compound-image svg {
	width: 65px;
	height: 65px;
	stroke: var(--brand-light-gray);
	stroke-width: 1.2;
	transition: stroke 0.3s ease;
}

.compound-card:hover .compound-image svg {
	stroke: var(--brand-primary-red);
}

.compound-info {
	padding: 1.75rem 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	flex: 1;
}

.compound-name {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--brand-black);
	letter-spacing: 0.05em;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.compound-dosage {
	display: inline-flex;
	background-color: #f5f5f5;
	border: 1px solid #ebebeb;
	padding: 0.35rem 0.75rem;
	font-size: 0.65rem;
	font-weight: 600;
	color: var(--brand-medium-gray);
	border-radius: 2px;
	flex-shrink: 0;
	margin-left: auto;
}

.compound-label {
	font-size: 0.7rem;
	color: var(--brand-light-gray);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	font-weight: 500;
}

.compound-footer {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid #f0f0f0;
}

.compound-cart-btn {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1.1rem;
	color: var(--brand-primary-red);
	transition: all 0.3s ease;
	padding: 0.75rem;
	margin: -0.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.compound-cart-btn:hover {
	transform: scale(1.15);
	filter: drop-shadow(0 2px 4px rgba(187, 13, 18, 0.2));
}

.compound-cart-btn svg {
	width: 20px;
	height: 20px;
	stroke: currentColor;
	fill: none;
}

/* More Compounds Card */
.compound-card.more-compounds {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 1.5rem;
	min-height: auto;
	background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
	border: 1px dashed #d9d9d9;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.compound-card.more-compounds:hover {
	border-color: var(--brand-primary-red);
	background: var(--brand-white);
	box-shadow: 0 12px 24px rgba(187, 13, 18, 0.08);
	transform: translateY(-6px);
}

.compound-card.more-compounds .compound-info {
	padding: 2rem;
	text-align: center;
	gap: 0.75rem;
}

.more-compounds-title {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--brand-dark-gray);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin: 0;
}

.more-compounds-link {
	font-size: 0.7rem;
	color: var(--brand-primary-red);
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	transition: gap 0.3s ease;
}

.more-compounds-link:hover {
	gap: 1rem;
}

/* Responsive */
@media (max-width: 1200px) {
	.compounds-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.5rem;
	}
}

@media (max-width: 768px) {
	.compounds-section {
		padding: 3rem 1rem;
	}

	.compounds-header {
		padding: 0 1rem;
		flex-direction: column;
		gap: 1rem;
		align-items: flex-start;
		margin-bottom: 2rem;
	}

	.compounds-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
		padding: 0 1rem;
	}

	.compound-card {
		border-radius: 2px;
	}
}

@media (max-width: 480px) {
	.compounds-grid {
		grid-template-columns: 1fr;
	}

	.compound-image {
		height: 200px;
	}
}
