/* =========================================================
   GASHILA — نظام التصميم الأساسي
   خمري فاخر + لمسات ذهبية = هوية سودانية-سعودية راقية
   ========================================================= */

:root {
	/* الألوان الأساسية */
	--burgundy:        #5a2942;
	--burgundy-dark:   #3d1a2c;
	--burgundy-light:  #7a3a58;
	--burgundy-tint:   #f7eef3;

	/* الذهبي — لمسة الحياة في التصميم */
	--gold:            #c9a24b;
	--gold-light:      #e8d4a0;
	--gold-dark:       #a9822f;

	/* محايدات */
	--cream:           #faf6f0;
	--white:           #ffffff;
	--ink:             #2b1a20;
	--ink-soft:        #6b5560;
	--border:          #ecdfe6;

	/* الخطوط */
	--font-heading: 'Cairo', system-ui, sans-serif;
	--font-body:    'Tajawal', system-ui, sans-serif;

	/* ظلال وحركة */
	--shadow-soft: 0 10px 30px rgba(90, 41, 66, 0.08);
	--shadow-lift: 0 20px 45px rgba(90, 41, 66, 0.16);
	--radius: 18px;
	--transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- إعادة ضبط أساسية ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--cream);
	direction: rtl;
	text-align: right;
	margin: 0;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 800;
	color: var(--burgundy-dark);
	line-height: 1.35;
	margin: 0 0 .5em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
.container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
}
section { padding: 90px 0; }
@media (max-width: 782px) {
	section { padding: 56px 0; }
}

/* ---------- عنصر التسمية الذهبية (Section Label) ---------- */
.section-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--gold-dark);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: .5px;
	margin-bottom: 14px;
}
.section-label::before {
	content: '';
	width: 28px;
	height: 2px;
	background: var(--gold);
	display: inline-block;
}
.section-title {
	font-size: clamp(28px, 3.6vw, 42px);
	position: relative;
	display: inline-block;
	margin-bottom: 18px;
}
/* تسطير ذهبي متحرك تحت العناوين */
.section-title.gold-underline::after {
	content: '';
	position: absolute;
	bottom: -10px;
	right: 0;
	width: 64px;
	height: 3px;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.section-intro {
	color: var(--ink-soft);
	max-width: 620px;
	font-size: 17px;
}
.text-center { text-align: center; margin-inline: auto; }

/* ---------- الأزرار ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 15px 32px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	border: 2px solid transparent;
	transition: var(--transition);
	white-space: nowrap;
}
.btn-primary {
	background: var(--burgundy);
	color: var(--white);
	box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
	background: var(--burgundy-dark);
	transform: translateY(-3px);
	box-shadow: var(--shadow-lift);
}
.btn-gold {
	background: linear-gradient(135deg, var(--gold), var(--gold-dark));
	color: var(--white);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.btn-outline {
	background: transparent;
	border-color: var(--burgundy);
	color: var(--burgundy);
}
.btn-outline:hover { background: var(--burgundy); color: var(--white); }

/* =========================================================
   الهيدر
   ========================================================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: rgba(250, 246, 240, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border);
}
.top-bar {
	background: var(--burgundy-dark);
	color: var(--gold-light);
	font-size: 13px;
	text-align: center;
	padding: 8px 12px;
	letter-spacing: .3px;
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 24px;
	max-width: 1240px;
	margin: 0 auto;
}
.site-logo,
.site-logo .custom-logo-link {
	display: inline-flex;
	align-items: center;
	max-height: 56px;
}
.site-logo img,
.site-logo .custom-logo {
	max-height: 56px !important;
	width: auto !important;
	height: auto !important;
}
@media (max-width: 480px) {
	.site-logo,
	.site-logo .custom-logo-link,
	.site-logo img,
	.site-logo .custom-logo {
		max-height: 42px !important;
	}
}
.site-logo-text {
	font-family: var(--font-heading);
	font-weight: 900;
	font-size: 26px;
	color: var(--burgundy);
}
.site-logo-text span {
	display: block;
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 11px;
	color: var(--gold-dark);
	letter-spacing: 1px;
}
.primary-nav ul {
	display: flex;
	gap: 34px;
}
.primary-nav a {
	font-weight: 600;
	color: var(--burgundy-dark);
	position: relative;
	padding: 4px 0;
}
.primary-nav a::after {
	content: '';
	position: absolute;
	bottom: -2px;
	right: 0;
	width: 0%;
	height: 2px;
	background: var(--gold);
	transition: var(--transition);
}
.primary-nav a:hover::after,
.primary-nav a.current::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 20px; }
.header-icon-link {
	position: relative;
	font-size: 20px;
	color: var(--burgundy-dark);
	transition: var(--transition);
}
.header-icon-link:hover { color: var(--gold-dark); }
.cart-count {
	position: absolute;
	top: -8px;
	left: -10px;
	background: var(--gold);
	color: var(--white);
	font-size: 11px;
	font-weight: 700;
	border-radius: 50%;
	width: 18px;
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.menu-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 26px;
	color: var(--burgundy);
	cursor: pointer;
}
@media (max-width: 900px) {
	.primary-nav { display: none; }
	.menu-toggle { display: block; }
	.primary-nav.mobile-open {
		display: flex;
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		background: var(--white);
		flex-direction: column;
		padding: 20px 24px;
		box-shadow: var(--shadow-soft);
	}
	.primary-nav.mobile-open ul { flex-direction: column; gap: 18px; }
}

/* =========================================================
   الهيرو
   ========================================================= */
.hero {
	position: relative;
	background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
	overflow: hidden;
	padding: 100px 0 60px;
}
.hero::before {
	/* نقش زخرفي خفيف بالذهبي */
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle at 15% 20%, rgba(201,162,75,0.15), transparent 40%),
	                   radial-gradient(circle at 85% 80%, rgba(201,162,75,0.12), transparent 45%);
	pointer-events: none;
}
.hero-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 50px;
	align-items: center;
	position: relative;
	z-index: 2;
}
@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; text-align: center; }
}
.hero-eyebrow {
	display: inline-block;
	color: var(--gold-light);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: .5px;
	margin-bottom: 18px;
	border: 1px solid rgba(232,212,160,0.4);
	padding: 6px 18px;
	border-radius: 999px;
}
.hero h1 {
	color: var(--white);
	font-size: clamp(34px, 5vw, 58px);
	margin-bottom: 20px;
}
.hero h1 em {
	font-style: normal;
	color: var(--gold-light);
}
.hero p {
	color: rgba(255,255,255,0.82);
	font-size: 18px;
	max-width: 480px;
	margin-bottom: 34px;
}
@media (max-width: 900px) { .hero p { margin-inline: auto; } }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 900px) { .hero-actions { justify-content: center; } }

.hero-media { position: relative; }
.hero-media img {
	border-radius: var(--radius);
	box-shadow: var(--shadow-lift);
	width: 100%;
	aspect-ratio: 4/5;
	object-fit: cover;
}

/* البادجات العائمة */
.floating-badge {
	position: absolute;
	background: var(--white);
	border-radius: 16px;
	padding: 14px 20px;
	box-shadow: var(--shadow-lift);
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 14px;
	color: var(--burgundy-dark);
	animation: gashila-float 4.5s ease-in-out infinite;
	z-index: 3;
}
.floating-badge .badge-icon { font-size: 22px; }
.badge-natural { top: 8%; right: -6%; animation-delay: 0s; }
.badge-delivery { bottom: 8%; left: -6%; animation-delay: 1.4s; }
@media (max-width: 900px) {
	.badge-natural { top: -18px; right: 4%; }
	.badge-delivery { bottom: -18px; left: 4%; }
}
@keyframes gashila-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-14px); }
}

/* =========================================================
   شريط الثقة (المميزات الثلاثة)
   ========================================================= */
.trust-bar {
	background: var(--white);
	border-bottom: 1px solid var(--border);
	padding: 40px 0;
}
.trust-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	text-align: center;
}
@media (max-width: 700px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-item .trust-icon {
	color: var(--gold);
	font-size: 26px;
	margin-bottom: 10px;
	display: block;
}
.trust-item h4 { font-size: 16px; margin-bottom: 4px; }
.trust-item p { color: var(--ink-soft); font-size: 14px; margin: 0; }

/* =========================================================
   قسم الحكاية
   ========================================================= */
.story-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 60px;
	align-items: center;
}
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } }
.story-media { position: relative; }
.story-media img {
	border-radius: var(--radius);
	box-shadow: var(--shadow-soft);
	width: 100%;
	aspect-ratio: 1/1;
	object-fit: cover;
}
.story-media::after {
	content: '';
	position: absolute;
	inset: -18px -18px auto auto;
	width: 90%;
	height: 90%;
	border: 2px solid var(--gold);
	border-radius: var(--radius);
	z-index: -1;
}
.story-text p { color: var(--ink-soft); font-size: 17px; margin-bottom: 20px; }

/* شريط الإحصائيات */
.stats-row {
	margin-top: 60px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	background: var(--burgundy-tint);
	border-radius: var(--radius);
	padding: 40px 20px;
}
@media (max-width: 700px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.stat-item { text-align: center; }
.stat-number {
	font-family: var(--font-heading);
	font-weight: 900;
	font-size: clamp(24px, 3vw, 34px);
	color: var(--burgundy);
	display: block;
}
.stat-label { color: var(--ink-soft); font-size: 14px; margin-top: 4px; }

/* =========================================================
   بطاقات الفئات
   ========================================================= */
.category-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	margin-top: 40px;
}
@media (max-width: 900px) { .category-grid { grid-template-columns: 1fr; } }
.category-card {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 3/4;
	box-shadow: var(--shadow-soft);
	transition: var(--transition);
}
.category-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.category-card:hover img { transform: scale(1.06); }
.category-card::before {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(61,26,44,0.85), rgba(61,26,44,0.1) 60%);
}
.category-card-content {
	position: absolute; bottom: 24px; right: 24px; left: 24px;
	color: var(--white);
}
.category-card-content .section-label { color: var(--gold-light); }
.category-card-content h3 { color: var(--white); margin-bottom: 4px; font-size: 22px; }
.category-card-content p { color: rgba(255,255,255,0.8); font-size: 14px; margin: 0; }

/* =========================================================
   المنتجات (تكامل ووكومرس)
   ========================================================= */
.section-head-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 20px;
}
ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 28px !important;
	margin-top: 40px !important;
}
@media (max-width: 900px) { ul.products { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 560px) { ul.products { grid-template-columns: 1fr !important; } }

ul.products li.product,
.gashila-product-card {
	background: var(--white);
	border-radius: var(--radius);
	padding: 18px;
	text-align: center;
	box-shadow: var(--shadow-soft);
	border: 1px solid var(--border);
	transition: var(--transition);
	list-style: none;
}
ul.products li.product:hover,
.gashila-product-card:hover {
	transform: translateY(-6px);
	border-color: var(--gold);
	box-shadow: var(--shadow-lift);
}
ul.products li.product img {
	border-radius: 12px;
	aspect-ratio: 1/1;
	object-fit: cover;
	margin-bottom: 14px;
}
ul.products li.product .woocommerce-loop-product__title,
.gashila-product-card h3 {
	font-family: var(--font-heading);
	font-size: 17px;
	color: var(--burgundy-dark);
	margin: 8px 0 4px;
}
ul.products li.product .price,
.gashila-product-card .price {
	color: var(--gold-dark) !important;
	font-weight: 800;
	font-size: 16px;
}
ul.products li.product .price del { color: var(--ink-soft); opacity: .6; font-weight: 400; }
ul.products li.product .price ins { text-decoration: none; }
ul.products li.product .star-rating { color: var(--gold); margin: 0 auto 6px; }
ul.products li.product .button,
.gashila-product-card .button {
	display: inline-block;
	margin-top: 12px;
	background: var(--burgundy);
	color: var(--white) !important;
	border-radius: 999px;
	padding: 10px 26px;
	font-weight: 700;
	font-size: 14px;
	transition: var(--transition);
	border: none;
}
ul.products li.product .button:hover { background: var(--gold-dark); }
ul.products li.product .onsale {
	background: var(--gold) !important;
	color: var(--white) !important;
	font-weight: 700;
	border-radius: 999px !important;
	top: 10px; right: 10px; left: auto;
}

/* =========================================================
   التستيمونيالز
   ========================================================= */
.testimonial-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
	margin-top: 40px;
}
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial-card {
	background: var(--white);
	border-radius: var(--radius);
	padding: 30px;
	box-shadow: var(--shadow-soft);
	border-top: 3px solid var(--gold);
}
.gashila-stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; }
.testimonial-card p { color: var(--ink-soft); margin: 14px 0; font-size: 15px; }
.testimonial-name { font-weight: 700; color: var(--burgundy-dark); }

/* =========================================================
   النشرة البريدية
   ========================================================= */
.newsletter {
	background: linear-gradient(135deg, var(--burgundy-dark), var(--burgundy));
	border-radius: var(--radius);
	padding: 60px 40px;
	text-align: center;
	color: var(--white);
	position: relative;
	overflow: hidden;
}
.newsletter h2 { color: var(--white); }
.newsletter p { color: rgba(255,255,255,0.8); max-width: 480px; margin: 0 auto 26px; }
.newsletter-form { display: flex; gap: 10px; justify-content: center; max-width: 440px; margin: 0 auto; flex-wrap: wrap; }
.newsletter-form input[type="email"] {
	flex: 1;
	min-width: 220px;
	padding: 14px 20px;
	border-radius: 999px;
	border: none;
	font-family: var(--font-body);
}

/* =========================================================
   الفوتر
   ========================================================= */
.site-footer {
	background: var(--burgundy-dark);
	color: rgba(255,255,255,0.75);
	padding: 70px 0 0;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 50px;
	border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-widget-title,
.footer-col h4 {
	color: var(--gold-light);
	font-size: 16px;
	margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--gold-light); }
.footer-logo { color: var(--white); font-family: var(--font-heading); font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-social a {
	width: 38px; height: 38px;
	border: 1px solid rgba(255,255,255,0.25);
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); }
.footer-bottom {
	text-align: center;
	padding: 22px 0;
	font-size: 13px;
	color: rgba(255,255,255,0.5);
}

/* واتساب عائم */
.whatsapp-float {
	position: fixed;
	bottom: 24px;
	left: 24px;
	background: #25D366;
	width: 56px; height: 56px;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	color: var(--white);
	font-size: 26px;
	box-shadow: var(--shadow-lift);
	z-index: 998;
	transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); }

/* =========================================================
   الظهور عند التمرير (Fade + Rise)
   ========================================================= */
.fade-up {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity .8s ease, transform .8s ease;
}
.fade-up.is-visible {
	opacity: 1;
	transform: translateY(0);
}
.fade-up.delay-1 { transition-delay: .12s; }
.fade-up.delay-2 { transition-delay: .24s; }
.fade-up.delay-3 { transition-delay: .36s; }
.fade-up.delay-4 { transition-delay: .48s; }

/* =========================================================
   صفحات عامة (مقالات/صفحات ثابتة)
   ========================================================= */
.page-header {
	background: var(--burgundy-tint);
	padding: 50px 0;
	text-align: center;
}
.entry-content { max-width: 760px; margin: 60px auto; }
.entry-content img { border-radius: var(--radius); margin: 20px 0; }
