/*
Theme Name: Design Store
Theme URI: https://designstore.example
Author: Design Store
Description: ثيم خفيف وآمن لمتجر Design Store للهدايا المطبوعة. يدعم RTL وإلمنتور وووكومرس. الهيدر والفوتر يُبنيان بإلمنتور عبر إضافة Design Store Core.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: design-store
Tags: rtl-language-support, e-commerce, custom-logo, custom-menu, translation-ready
*/

/* Minimal base. Components live in the Design Store Core plugin. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: #fff; color: #2d1a3a; line-height: 1.8;
	font-family: "Cairo", "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif; font-size: 16px;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: #c4167a; }
a:hover { color: #5b1d78; }
h1, h2, h3, h4, h5, h6 { color: #5b1d78; font-weight: 800; line-height: 1.4; margin: 0 0 .6em; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; top: 8px; inset-inline-start: 8px; z-index: 100000; width: auto; height: auto; margin: 0; clip: auto;
	padding: 10px 16px; background: #fff; border-radius: 8px; box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
}
.ds-main { min-height: 40vh; }
.ds-container { width: 100%; max-width: 1240px; margin-inline: auto; padding: 40px 20px; }
.entry-title { font-size: clamp(28px, 4vw, 40px); margin-bottom: 18px; }
.entry-content > * { max-width: 100%; }
.entry-content img { border-radius: 14px; }
.ds-post { margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid #eadcf0; }
.ds-post h2 { font-size: 26px; }
.ds-post h2 a { text-decoration: none; }
.ds-404 { text-align: center; padding-block: 80px; }
.ds-404 h1 { font-size: clamp(60px, 14vw, 140px); margin: 0; background: linear-gradient(135deg, #5b1d78, #c4167a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.search-form { display: flex; gap: 8px; max-width: 460px; margin: 18px auto; }
.search-form input[type="search"] { flex: 1; padding: 11px 16px; border: 1.5px solid #eadcf0; border-radius: 999px; font: inherit; }
.search-form input[type="submit"], .ds-btn-link {
	display: inline-block; padding: 11px 26px; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
	background: linear-gradient(135deg, #5b1d78, #c4167a); color: #fff; font: inherit; font-weight: 800;
}
.nav-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.nav-links .page-numbers { padding: 6px 14px; border-radius: 999px; background: #fbf3fb; text-decoration: none; }
.nav-links .current { background: #c4167a; color: #fff; }
.ds-fallback-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; border-bottom: 1px solid #eadcf0; }
.ds-fallback-header .site-title { font-weight: 900; font-size: 24px; color: #5b1d78; text-decoration: none; }
.ds-fallback-footer { padding: 24px 20px; text-align: center; background: #2a0a3d; color: #e9d9f0; }
