/* Override theme and Gutenberg container widths on plugin pages */
body.single-pet_generator .ct-container,
body.single-pet_generator .ct-container-narrow,
body.single-pet_generator .ct-container-full,
body.single-pet_generator .entry-content,
body.single-pet_generator article,
body.tax-pet_type .ct-container,
body.tax-pet_category .ct-container,
body.post-type-archive-pet_generator .ct-container {
	max-width: 1280px !important;
}

.png-page {
	background: #fff;
	padding: 35px;
	min-height: 100%;
	max-width: none;
	width: 100%;
}

.png-archive {
	background: #fff;
	padding: 35px;
	min-height: 100%;
	max-width: none;
	width: 100%;
}

.png-section {
	margin-bottom: 3rem;
}

.png-section h2 {
	font-weight: 700;
	margin-bottom: 1rem;
}

.png-section h3 {
	font-weight: 600;
	margin: 1.5rem 0 0.75rem;
}

/* Hero */
.png-hero h1 {
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 1rem;
}

/* Breadcrumbs */
.png-breadcrumbs {
	margin-bottom: 2rem;
	font-size: 0.875rem;
}

.png-breadcrumbs__list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	padding: 0;
	margin: 0;
}

.png-breadcrumbs__item {
	display: inline-flex;
	align-items: center;
}

.png-breadcrumbs__item a {
	color: #2563eb;
	text-decoration: none;
}

.png-breadcrumbs__item a:hover {
	text-decoration: underline;
}

.png-breadcrumbs__sep {
	margin: 0 0.35rem;
	color: #94a3b8;
}

/* Generator */
.png-generator__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: flex-end;
	padding: 1.5rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	margin-bottom: 1.5rem;
}

.png-filter-group {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-width: 140px;
}

.png-filter-group label {
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #64748b;
}

.png-filter-group select {
	padding: 0.5rem 0.75rem;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #fff;
}

.png-generate-btn {
	padding: 0.6rem 1.5rem;
	background: #2563eb;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
}

.png-generate-btn:hover {
	background: #1d4ed8;
}

.png-generate-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Results Notice */
.png-results-notice {
	padding: 0.75rem 1rem;
	background: #fefce8;
	border: 1px solid #facc15;
	border-radius: 8px;
	color: #854d0e;
	font-size: 0.9rem;
	margin-bottom: 1rem;
}

/* Name Cards */
.png-results-placeholder {
	color: #64748b;
	text-align: center;
	padding: 2rem;
}

.png-name-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.25rem;
}

.png-name-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 1.25rem;
	transition: box-shadow 0.2s;
}

.png-name-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.png-name-card__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 0.75rem;
}

.png-name-card__name {
	font-size: 1.4rem;
	font-weight: 700;
}

.png-name-card__actions {
	display: flex;
	gap: 0.5rem;
}

.png-name-card__actions button {
	background: none;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	padding: 4px 8px;
	cursor: pointer;
	font-size: 0.85rem;
	transition: background 0.15s;
}

.png-name-card__actions button:hover {
	background: #f1f5f9;
}

.png-name-card__actions button.active {
	background: #fef2f2;
	border-color: #fca5a5;
}

.png-name-card__meaning {
	color: #334155;
	margin-bottom: 0.75rem;
}

.png-name-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.png-origin-badge {
	display: inline-block;
	padding: 2px 10px;
	background: #eff6ff;
	color: #1e40af;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 600;
}

.png-name-card__tip {
	font-size: 0.85rem;
	color: #64748b;
	font-style: italic;
	margin-bottom: 0.5rem;
}

.png-name-card__famous {
	font-size: 0.85rem;
	color: #7c3aed;
	margin-bottom: 0.75rem;
}

/* Trend Bar */
.png-trend-bar {
	height: 6px;
	background: #e2e8f0;
	border-radius: 3px;
	overflow: hidden;
	margin-top: auto;
}

.png-trend-bar__fill {
	height: 100%;
	border-radius: 3px;
	transition: width 0.4s ease;
}

.png-trend-bar__fill--rising {
	background: linear-gradient(90deg, #22c55e, #16a34a);
}

.png-trend-bar__fill--popular {
	background: linear-gradient(90deg, #eab308, #ca8a04);
}

.png-trend-bar__fill--classic {
	background: linear-gradient(90deg, #94a3b8, #64748b);
}

.png-trend-label {
	font-size: 0.75rem;
	color: #64748b;
	margin-top: 4px;
}

/* Names Table */
.png-names-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 1rem;
}

.png-names-table th {
	background: #f8fafc;
	padding: 0.75rem 1rem;
	text-align: left;
	font-weight: 600;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #475569;
	border-bottom: 2px solid #e2e8f0;
}

.png-names-table td {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid #f1f5f9;
}

.png-names-table tbody tr:hover {
	background: #f8fafc;
}

.png-trend-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 600;
}

.png-trend-badge--rising {
	background: #dcfce7;
	color: #166534;
}

.png-trend-badge--popular {
	background: #fef9c3;
	color: #854d0e;
}

.png-trend-badge--classic {
	background: #f1f5f9;
	color: #475569;
}

.png-show-more-wrap {
	text-align: center;
	margin-top: 1.5rem;
}

.png-show-more-btn {
	padding: 0.6rem 2rem;
	background: #fff;
	color: #2563eb;
	border: 2px solid #2563eb;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
}

.png-show-more-btn:hover {
	background: #2563eb;
	color: #fff;
}

/* FAQ */
.png-faq-list {
	margin: 0;
}

.png-faq-question {
	font-weight: 700;
	padding: 1rem 0 0.5rem;
	border-top: 1px solid #e2e8f0;
	margin-top: 0.5rem;
}

.png-faq-question:first-child {
	border-top: none;
	margin-top: 0;
}

.png-faq-answer {
	color: #334155;
	padding-bottom: 0.5rem;
	margin-left: 0;
}

/* Related */
.png-related-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1rem;
}

.png-related-card {
	display: flex;
	flex-direction: column;
	padding: 1.25rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	text-decoration: none;
	color: #1e293b;
	transition: all 0.2s;
}

.png-related-card:hover {
	background: #eff6ff;
	border-color: #93c5fd;
	transform: translateY(-2px);
}

.png-related-card__title {
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.png-related-card__badge {
	font-size: 0.8rem;
	color: #64748b;
}

/* Responsive */
@media (max-width: 640px) {
	.png-page,
	.png-archive {
		padding: 10px;
	}

	.png-generator__filters {
		flex-direction: column;
	}

	.png-filter-group {
		width: 100%;
	}

	.png-name-cards {
		grid-template-columns: 1fr;
	}

	.png-names-table {
		display: block;
		overflow-x: auto;
	}

	.png-related-grid {
		grid-template-columns: 1fr 1fr;
	}
}
