/**
 * Device Page Styles
 */

.sleepops-device-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 1rem;
}

/* Hero Section */
.sleepops-device-hero {
	margin-bottom: 3rem;
	text-align: center;
}

.sleepops-device-title {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: #1a1a1a;
}

.sleepops-device-tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 1rem;
}

.sleepops-device-tag {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	background-color: #f0f0f0;
	border-radius: 4px;
	font-size: 0.875rem;
	color: #666;
}

/* TL;DR Section */
.sleepops-device-tldr {
	margin-bottom: 3rem;
	padding: 2rem;
	background-color: #f9f9f9;
	border-radius: 8px;
}

.sleepops-device-tldr h2 {
	font-size: 1.75rem;
	margin-bottom: 1rem;
}

.sleepops-device-disclaimer {
	margin-top: 1rem;
	padding: 1rem;
	background-color: #fff3cd;
	border-left: 4px solid #ffc107;
	border-radius: 4px;
}

/* Suitable For Section */
.sleepops-device-suitable {
	margin-bottom: 3rem;
}

.sleepops-device-suitable h2 {
	font-size: 1.75rem;
	margin-bottom: 1.5rem;
}

.sleepops-device-personas,
.sleepops-device-sleep-issues {
	margin-bottom: 1.5rem;
}

.sleepops-device-personas h3,
.sleepops-device-sleep-issues h3 {
	font-size: 1.25rem;
	margin-bottom: 0.75rem;
}

.sleepops-device-personas ul,
.sleepops-device-sleep-issues ul {
	list-style: disc;
	margin-left: 2rem;
}

/* How It Feels Section */
.sleepops-device-feels {
	margin-bottom: 3rem;
}

.sleepops-device-feels h2 {
	font-size: 1.75rem;
	margin-bottom: 1rem;
}

.sleepops-device-feels ul {
	list-style: disc;
	margin-left: 2rem;
}

/* Selection Criteria Section */
.sleepops-device-criteria {
	margin-bottom: 3rem;
}

.sleepops-device-criteria h2 {
	font-size: 1.75rem;
	margin-bottom: 1rem;
}

.sleepops-device-criteria-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 1rem;
}

.sleepops-device-criteria-table th,
.sleepops-device-criteria-table td {
	padding: 0.75rem;
	text-align: left;
	border-bottom: 1px solid #ddd;
}

.sleepops-device-criteria-table th {
	background-color: #f5f5f5;
	font-weight: 600;
}

/* Offers Section */
.sleepops-device-offers {
	margin-bottom: 3rem;
}

.sleepops-device-offers h2 {
	font-size: 1.75rem;
	margin-bottom: 1rem;
}

.sleepops-device-offers h3 {
	font-size: 1.5rem;
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.sleepops-device-offers-list {
	margin-top: 1.5rem;
}

.sleepops-device-offers-alternatives {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 300px, 1fr ) );
	gap: 1.5rem;
	margin-top: 1rem;
}

/* Offer Card */
.sleepops-offer-card {
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 1.5rem;
	background-color: #fff;
	transition: box-shadow 0.3s ease;
}

.sleepops-offer-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sleepops-offer-primary {
	border: 2px solid #0073aa;
	background-color: #f0f8ff;
}

.sleepops-offer-image {
	margin-bottom: 1rem;
	text-align: center;
}

.sleepops-offer-image img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
}

.sleepops-offer-content h3 {
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
	color: #1a1a1a;
}

.sleepops-offer-price {
	font-size: 1.5rem;
	font-weight: 700;
	color: #0073aa;
	margin-bottom: 0.75rem;
}

.sleepops-offer-merchant {
	font-size: 0.875rem;
	color: #666;
	margin-bottom: 0.75rem;
}

.sleepops-offer-merchant span {
	display: block;
	margin-bottom: 0.25rem;
}

.sleepops-offer-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.sleepops-offer-tag {
	display: inline-block;
	padding: 0.25rem 0.5rem;
	background-color: #e8e8e8;
	border-radius: 4px;
	font-size: 0.75rem;
	color: #555;
}

.sleepops-offer-cta {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	background-color: #0073aa;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 600;
	transition: background-color 0.3s ease;
	text-align: center;
	width: 100%;
	box-sizing: border-box;
}

.sleepops-offer-cta:hover {
	background-color: #005a87;
	color: #fff;
}

/* Usage & Guardrails Section */
.sleepops-device-guardrails {
	margin-bottom: 3rem;
	padding: 2rem;
	background-color: #fff9e6;
	border-radius: 8px;
	border-left: 4px solid #ffc107;
}

.sleepops-device-guardrails h2 {
	font-size: 1.75rem;
	margin-bottom: 1rem;
}

.sleepops-device-design-intent,
.sleepops-device-disclaimer {
	margin-bottom: 1.5rem;
}

.sleepops-device-design-intent h3,
.sleepops-device-disclaimer h3 {
	font-size: 1.25rem;
	margin-bottom: 0.75rem;
}

.sleepops-device-design-intent ul,
.sleepops-device-disclaimer ul {
	list-style: disc;
	margin-left: 2rem;
}

/* Related Content Section */
.sleepops-device-related {
	margin-bottom: 3rem;
}

.sleepops-device-related h2 {
	font-size: 1.75rem;
	margin-bottom: 1rem;
}

.sleepops-device-related-guides,
.sleepops-device-related-setups {
	margin-bottom: 2rem;
}

.sleepops-device-related-list {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 300px, 1fr ) );
	gap: 1.5rem;
	margin-top: 1rem;
}

.sleepops-device-related-item {
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 1.5rem;
	background-color: #fff;
	transition: box-shadow 0.3s ease;
}

.sleepops-device-related-item:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sleepops-device-related-item a {
	text-decoration: none;
	color: inherit;
}

.sleepops-device-related-item h3 {
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
	color: #0073aa;
}

.sleepops-device-related-item p {
	color: #666;
	font-size: 0.875rem;
	margin-top: 0.5rem;
}

/* FAQ Section */
.sleepops-device-faq {
	margin-bottom: 3rem;
}

.sleepops-device-faq h2 {
	font-size: 1.75rem;
	margin-bottom: 1rem;
}

.sleepops-device-faq-list {
	margin-top: 1rem;
}

.sleepops-device-faq-item {
	margin-bottom: 1.5rem;
	padding: 1.5rem;
	background-color: #f9f9f9;
	border-radius: 8px;
	border-left: 4px solid #0073aa;
}

.sleepops-device-faq-item h3 {
	font-size: 1.125rem;
	margin-bottom: 0.75rem;
	color: #1a1a1a;
}

.sleepops-device-faq-item p {
	color: #666;
	line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
	.sleepops-device-title {
		font-size: 2rem;
	}
	
	.sleepops-device-offers-alternatives,
	.sleepops-device-related-list {
		grid-template-columns: 1fr;
	}
	
	.sleepops-device-criteria-table {
		font-size: 0.875rem;
	}
	
	.sleepops-device-criteria-table th,
	.sleepops-device-criteria-table td {
		padding: 0.5rem;
	}
}
