/*
Theme Name: كوبون فعّال (Coupon Faal v3.4.0)
Theme URI: https://couponfaal.com/
Author: Coupon Faal Team
Author URI: https://couponfaal.com/
Description: قالب ووردبريس متكامل لموقع كوبون فعّال (couponfaal.com) — يحافظ على تصميم Gemini الأصلي الكامل (RTL، الوضع الليلي، الألوان الخضراء والذهبية) مع إدارة كاملة للكوبونات والعروض والمتاجر والتصنيفات والدول والمقالات من لوحة تحكم ووردبريس وصفحات مقالات مستقلة بالكامل.
Version: 3.4.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: coupon-faal
Update Date: 2026-11-04
Domain Path: /languages
Tags: rtl-language-support, blog, e-commerce, custom-colors, custom-menu, featured-images
*/

body {
  font-family: 'Cairo', sans-serif;
  scroll-behavior: smooth;
}

.gold-gradient {
  background: linear-gradient(135deg, #10b981 0%, #059669 55%, #d97706 100%);
}

.amber-gold-gradient {
  background: linear-gradient(135deg, #f59e0b 0%, #d4af37 50%, #b48a1e 100%);
}

.royal-gradient {
  background: linear-gradient(135deg, #090d16 0%, #064e3b 55%, #0f172a 100%);
}

.gold-text-gradient {
  background: linear-gradient(90deg, #6ee7b7, #34d399, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.coupon-dashed {
  background-image: repeating-linear-gradient(90deg, #10b981 0, #10b981 8px, transparent 8px, transparent 14px);
  background-position: top;
  background-size: 100% 2px;
  background-repeat: no-repeat;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45); }
  50% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
}

.pulse-gold {
  animation: pulseGlow 2.2s infinite;
}

/* تنسيقات محتوى المقال المفرد (single.php) */
.faal-entry-content {
  line-height: 1.95;
  font-size: 1.05rem;
}

.faal-entry-content h2,
.faal-entry-content h3,
.faal-entry-content h4 {
  font-weight: 900;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: inherit;
}

.faal-entry-content h2 {
  font-size: 1.45rem;
}

.faal-entry-content h3 {
  font-size: 1.2rem;
}

.faal-entry-content p {
  margin-bottom: 1.25rem;
}

.faal-entry-content ul,
.faal-entry-content ol {
  margin-bottom: 1.25rem;
  padding-right: 1.5rem;
}

.faal-entry-content ul {
  list-style-type: disc;
}

.faal-entry-content ol {
  list-style-type: decimal;
}

.faal-entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  margin: 1.25rem 0;
}

.faal-entry-content blockquote {
  border-right: 4px solid #10b981;
  padding: 1rem 1.25rem;
  background: rgba(16, 185, 129, 0.08);
  border-radius: 0.75rem;
  font-weight: 700;
  margin: 1.5rem 0;
}

/* ترقيم الصفحات (Pagination) */
.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.85rem;
  border-radius: 0.75rem;
  font-weight: 800;
  font-size: 0.875rem;
  background-color: #ffffff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
  text-decoration: none;
}

.dark .nav-links .page-numbers {
  background-color: #0f172a;
  color: #f1f5f9;
  border-color: #1e293b;
}

.nav-links .page-numbers.current,
.nav-links .page-numbers:hover {
  background: linear-gradient(135deg, #10b981 0%, #059669 55%, #d97706 100%);
  color: #ffffff;
  border-color: transparent;
}

/* WordPress Custom Menus Styling (Header & Footer) */
.faal-header-nav > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  font-weight: 700;
  transition: all 0.2s ease;
}
.faal-header-nav > li > a:hover,
.faal-header-nav > li.current-menu-item > a {
  background-color: rgba(16, 185, 129, 0.12);
  color: #059669;
}
.dark .faal-header-nav > li > a:hover,
.dark .faal-header-nav > li.current-menu-item > a {
  background-color: rgba(6, 78, 59, 0.6);
  color: #34d399;
}
.faal-mobile-nav {
  direction: rtl;
  text-align: right;
}
.faal-mobile-nav > li > a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: right;
  direction: rtl;
  padding: 0.625rem 0.875rem;
  border-radius: 0.75rem;
  background-color: #f1f5f9;
  color: #1e293b;
  font-weight: 700;
  transition: all 0.2s ease;
}
.faal-mobile-nav > li.current-menu-item > a,
.faal-mobile-nav > li > a:hover {
  background-color: #ecfdf5;
  color: #047857;
  font-weight: 800;
}
.dark .faal-mobile-nav > li > a {
  background-color: #1e293b;
  color: #e2e8f0;
}
.dark .faal-mobile-nav > li.current-menu-item > a,
.dark .faal-mobile-nav > li > a:hover {
  background-color: rgba(6, 78, 59, 0.7);
  color: #34d399;
}
.faal-footer-menu > li > a {
  transition: color 0.2s ease;
}
.faal-footer-menu > li > a:hover {
  color: #34d399;
}
.faal-footer-pills > li > a {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}
.faal-footer-pills > li > a:hover {
  background-color: #10b981;
  color: #090d16;
}
