/*
Theme Name: Royal Computers Child
Theme URI: https://royalcomputers.example
Description: Update-safe child theme for Royal Computers, based on Electronic Store.
Author: Royal Computers
Author URI: https://royalcomputers.example
Template: electronic-store
Version: 1.0.16
Requires at least: 5.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: royal-computers-child
*/

/**
 * Royal Computers — global child-theme overrides.
 * Namespaced and scoped to avoid Elementor / WooCommerce conflicts.
 */

:root {
	--rc-color-bg: #ffffff;
	--rc-color-surface: #f6f7f9;
	--rc-color-text: #1a1f2b;
	--rc-color-muted: #5c6578;
	--rc-color-accent: #2563eb;
	--rc-color-accent-hover: #1d4ed8;
	--rc-color-border: #e4e8ef;
	--rc-radius-sm: 8px;
	--rc-radius-md: 12px;
	--rc-radius-lg: 16px;
	--rc-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
	--rc-shadow-md: 0 8px 24px rgba(16, 24, 40, 0.08);
	--rc-container-max: 1320px;
}

/* Preserve live fix: hide default parent page banner on the static front page. */
body.home .page-header-area {
	display: none;
}

/* Base layout hygiene for redesign sections. */
body {
	color: var(--rc-color-text);
	background-color: var(--rc-color-bg);
}

.rc-header-injected .site-content,
.site-content {
	overflow-x: clip;
}
