/* ============================================
   Menu Filters
   ============================================ */
.menu-filters {
	margin: var(--tfp-spacing-lg) 0;
	padding: var(--tfp-spacing-md);
	background: var(--tfp-bg-alt);
	border-radius: var(--tfp-radius-md);
}

.filter-buttons {
	display: flex;
	gap: var(--tfp-spacing-sm);
	flex-wrap: wrap;
	margin-bottom: var(--tfp-spacing-sm);
}

.filter-btn,
.filter-clear {
	padding: 0.625rem 1.25rem;
	border: 1px solid var(--tfp-border);
	border-radius: var(--tfp-radius);
	background: var(--tfp-bg);
	color: var(--tfp-text);
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
	transition: var(--tfp-transition);
}

.filter-btn:hover,
.filter-clear:hover {
	background: var(--tfp-bg-hover);
	border-color: var(--tfp-primary);
}

.filter-btn.active {
	background: var(--tfp-primary);
	color: #ffffff;
	border-color: var(--tfp-primary);
}

.filter-count {
	font-size: 0.875rem;
	color: var(--tfp-text-muted);
}

/* ============================================
   Reviews and Ratings
   ============================================ */
.review-section {
	margin: var(--tfp-spacing-2xl) 0;
	padding: var(--tfp-spacing-lg);
	background: var(--tfp-bg-alt);
	border-radius: var(--tfp-radius-md);
}

.review-section h3 {
	margin-bottom: var(--tfp-spacing-md);
	font-size: 1.5rem;
}

.star-rating {
	display: flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
	gap: 0.25rem;
	margin-bottom: var(--tfp-spacing-md);
}

.star-rating input {
	display: none;
}

.star-rating label {
	font-size: 2rem;
	color: var(--tfp-border);
	cursor: pointer;
	transition: var(--tfp-transition);
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
	color: #fbbf24;
}

.star-rating label.active {
	color: #fbbf24;
}

.form-group {
	margin-bottom: var(--tfp-spacing-md);
}

.form-group label {
	display: block;
	margin-bottom: var(--tfp-spacing-xs);
	font-weight: 600;
	color: var(--tfp-text);
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 0.75rem;
	border: 1px solid var(--tfp-border);
	border-radius: var(--tfp-radius);
	background: var(--tfp-bg);
	color: var(--tfp-text);
	font-size: 1rem;
	transition: var(--tfp-transition);
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--tfp-primary);
	box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.review-success {
	padding: var(--tfp-spacing-md);
	background: rgba(22, 163, 74, 0.1);
	border: 1px solid var(--tfp-primary);
	border-radius: var(--tfp-radius);
	color: var(--tfp-primary-dark);
	text-align: center;
}

.reviews-list {
	margin-top: var(--tfp-spacing-xl);
}

.review-item {
	padding: var(--tfp-spacing-md);
	margin-bottom: var(--tfp-spacing-md);
	background: var(--tfp-bg);
	border: 1px solid var(--tfp-border);
	border-radius: var(--tfp-radius-md);
}

.review-header {
	display: flex;
	align-items: center;
	gap: var(--tfp-spacing-sm);
	margin-bottom: var(--tfp-spacing-xs);
	flex-wrap: wrap;
}

.review-header strong {
	color: var(--tfp-text);
}

.review-rating {
	color: #fbbf24;
	font-size: 1.125rem;
}

.review-date {
	font-size: 0.875rem;
	color: var(--tfp-text-muted);
	margin-left: auto;
}

.review-text {
	color: var(--tfp-text);
	line-height: 1.6;
}

/* ============================================
   Popular Items
   ============================================ */
.popular-items-section {
	margin: var(--tfp-spacing-2xl) 0;
}

.popular-items-section h2 {
	margin-bottom: var(--tfp-spacing-lg);
	font-size: 2rem;
}

.popular-items-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: var(--tfp-spacing-md);
}

.popular-item-card {
	padding: var(--tfp-spacing-md);
	background: var(--tfp-bg);
	border: 1px solid var(--tfp-border);
	border-radius: var(--tfp-radius-md);
	transition: var(--tfp-transition);
}

.popular-item-card:hover {
	box-shadow: var(--tfp-shadow-lg);
	transform: translateY(-2px);
	border-color: var(--tfp-primary);
}

.popular-item-card h3 {
	margin: 0 0 var(--tfp-spacing-xs);
	font-size: 1.125rem;
	color: var(--tfp-text);
}

.popular-item-card .restaurant-name {
	margin: 0 0 var(--tfp-spacing-xs);
	font-size: 0.875rem;
	color: var(--tfp-text-muted);
}

.popular-item-card .country-name {
	margin: 0 0 var(--tfp-spacing-sm);
	font-size: 0.75rem;
	color: var(--tfp-text-muted);
	text-transform: uppercase;
}

.click-count {
	display: flex;
	align-items: center;
	gap: var(--tfp-spacing-xs);
	margin-top: var(--tfp-spacing-sm);
}

.count-badge {
	padding: 0.25rem 0.625rem;
	background: var(--tfp-primary);
	color: #ffffff;
	border-radius: var(--tfp-radius);
	font-weight: 700;
	font-size: 0.875rem;
}

.count-label {
	font-size: 0.875rem;
	color: var(--tfp-text-muted);
}

/* Responsive */
@media (max-width: 767px) {
	.filter-buttons {
		flex-direction: column;
	}
	
	.filter-btn,
	.filter-clear {
		width: 100%;
	}
	
	.popular-items-grid {
		grid-template-columns: 1fr;
	}
}

