/*
Theme Name: Restaurants Beauty
Theme URI: https://restaurants.beauty
Author: Custom Build
Description: Custom theme for Restaurants.Beauty - built to match the "Restaurants Near Me" OSM-powered plugin (worldwide restaurant finder). Requires the "Restaurants Near Me (OSM Powered)" plugin to be active for the homepage content.
Version: 1.0.0
Text Domain: rbtheme
*/

:root {
	--rb-pink: #ec1361;
	--rb-navy: #14213d;
	--rb-border: #ececf3;
}

* { box-sizing: border-box; }
body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	color: var(--rb-navy);
	background: #fff;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== HEADER ===== */
.rb-header {
	border-bottom: 1px solid var(--rb-border);
	position: sticky;
	top: 0;
	background: #fff;
	z-index: 500;
}
.rb-header-inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 14px 20px;
	display: flex;
	align-items: center;
	gap: 30px;
}
.rb-logo {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 800;
	font-size: 19px;
	color: var(--rb-navy);
	white-space: nowrap;
}
.rb-logo .rb-fork { font-size: 20px; }
.rb-logo .accent { color: var(--rb-pink); }
.rb-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.rb-logo-tag { font-size: 10.5px; font-weight: 500; color: #999; letter-spacing: .5px; }

.rb-nav { flex: 1; }
.rb-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.rb-nav a {
	font-size: 14.5px;
	font-weight: 600;
	color: #444;
	padding-bottom: 18px;
	border-bottom: 2px solid transparent;
}
.rb-nav li.current-menu-item a,
.rb-nav a.active,
.rb-nav a:hover { color: var(--rb-pink); border-bottom-color: var(--rb-pink); }

.rb-actions { display: flex; align-items: center; gap: 18px; }
.rb-fav-link { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; position: relative; }
.rb-fav-badge {
	background: var(--rb-pink); color: #fff; font-size: 10.5px; font-weight: 700;
	border-radius: 999px; padding: 1px 6px; min-width: 16px; text-align: center;
}
.rb-lang { display: flex; align-items: center; gap: 4px; font-size: 14px; color: #444; cursor: pointer; }

.rb-menu-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; }

@media (max-width: 900px) {
	.rb-nav { display: none; }
	.rb-header-inner { flex-wrap: wrap; }
	.rb-menu-toggle { display: block; }
	.rb-nav.open { display: block; width: 100%; order: 3; }
	.rb-nav.open ul { flex-direction: column; gap: 4px; }
	.rb-nav.open a { display: block; padding: 10px 0; border-bottom: none; }
}

/* ===== FOOTER ===== */
.rb-footer {
	background: var(--rb-navy);
	color: #cfd3e0;
	margin-top: 50px;
	padding: 40px 20px 20px;
}
.rb-footer-inner { max-width: 1320px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.rb-footer h4 { color: #fff; margin: 0 0 12px; font-size: 15px; }
.rb-footer p, .rb-footer a { font-size: 13.5px; color: #b7bcd0; }
.rb-footer a:hover { color: var(--rb-pink); }
.rb-footer-bottom { text-align: center; font-size: 12.5px; color: #8a90ac; margin-top: 30px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 16px; }

/* Generic page content (non-homepage pages using this theme) */
.rb-page-content { max-width: 900px; margin: 40px auto; padding: 0 20px; line-height: 1.7; }
.rb-page-content h1 { font-size: 30px; }
