/* ===== Nova Shop - CSS كامل ===== */
:root {
  --primary: #0a0a0f;
  --accent: #ff6b35;
  --accent2: #ffd23f;
  --white: #f8f6f1;
  --card-bg: #111118;
  --border: rgba(255,107,53,0.2);
  --text-muted: #888;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', sans-serif;
  background: var(--primary);
  color: var(--white);
  overflow-x: hidden;
  direction: rtl;
}

/* إزالة padding ووردبريس الافتراضي */
.nova-full-width { padding: 0 !important; margin: 0 !important; }
#nova-main { min-height: 60vh; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 10%, rgba(255,107,53,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(255,210,63,0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ===== NAV ===== */
.nova-nav {
  position: sticky;
  top: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.logo, .logo a {
  font-family: 'Tajawal', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
}
.logo span, .logo a span { color: var(--accent); }
.logo em, .logo a em { color: var(--accent2); font-style: normal; }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--white); }

/* ووردبريس nav menu */
.nav-links .menu { display: flex; gap: 2rem; list-style: none; padding: 0; margin: 0; }
.nav-links .menu li a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.3s; }
.nav-links .menu li a:hover { color: var(--white); }

.nav-actions { display: flex; gap: 1rem; align-items: center; }

.btn-cart {
  background: var(--accent);
  color: white !important;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}
.btn-cart:hover { background: #ff8555; transform: translateY(-1px); }

.cart-count {
  background: var(--accent2);
  color: #000;
  border-radius: 50%;
  width: 18px; height: 18px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  z-index: 1;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 4rem 3rem;
  overflow: hidden;
}
.hero-content { max-width: 600px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,107,53,0.12);
  border: 1px solid rgba(255,107,53,0.3);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s ease;
}
.hero-badge::before { content: '🔥'; }
.hero h1 {
  font-family: 'Tajawal', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.1s both;
}
.hero h1 .line-accent { color: transparent; -webkit-text-stroke: 1px var(--accent); display: block; }
.hero h1 .line-solid { color: var(--white); display: block; }
.hero p { font-size: 1.1rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 2.5rem; animation: fadeInUp 0.8s ease 0.2s both; }
.hero-btns { display: flex; gap: 1rem; animation: fadeInUp 0.8s ease 0.3s both; }

.btn-primary {
  background: var(--accent);
  color: white !important;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(255,107,53,0.35); }

.btn-outline {
  background: transparent;
  color: var(--white) !important;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-family: 'Cairo', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent) !important; }

.hero-visual {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem;
  justify-content: center;
}
.float-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem;
  width: calc(50% - 0.5rem);
  animation: float 4s ease-in-out infinite;
  transition: transform 0.3s;
}
.float-card:nth-child(2) { animation-delay: 0.5s; }
.float-card:nth-child(3) { animation-delay: 1s; }
.float-card:nth-child(4) { animation-delay: 1.5s; }
.float-card:hover { transform: translateY(-5px) scale(1.02); }
.float-card .emoji { font-size: 2rem; margin-bottom: 0.5rem; }
.float-card h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 0.2rem; }
.float-card p { font-size: 0.75rem; color: var(--text-muted); }
.float-card .price { font-size: 1.1rem; font-weight: 900; color: var(--accent); margin-top: 0.5rem; }

/* ===== STATS ===== */
.stats {
  position: relative; z-index: 1;
  display: flex;
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 3rem;
}
.stat { text-align: center; flex: 1; padding: 1rem 2rem; border-left: 1px solid var(--border); }
.stat:last-child { border-left: none; }
.stat-num { font-family: 'Tajawal', sans-serif; font-size: 2.5rem; font-weight: 800; color: var(--accent); display: block; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 0.8rem; }
.section-header h2 { font-family: 'Tajawal', sans-serif; font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 800; }
.section-header p { color: var(--text-muted); margin-top: 0.5rem; font-size: 1rem; }

/* ===== CATEGORIES ===== */
.categories { position: relative; z-index: 1; padding: 5rem 3rem; }
.cats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.cat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  color: var(--white);
}
.cat-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(255,107,53,0.15); }
.cat-icon { font-size: 2.5rem; display: block; margin-bottom: 0.8rem; }
.cat-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.3rem; }
.cat-card span { font-size: 0.75rem; color: var(--text-muted); }

/* ===== PRODUCTS ===== */
.products { position: relative; z-index: 1; padding: 5rem 3rem; background: rgba(255,255,255,0.01); }
.products-filter { display: flex; gap: 0.7rem; justify-content: center; margin-bottom: 3rem; flex-wrap: wrap; }
.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.5rem 1.3rem;
  border-radius: 50px;
  font-family: 'Cairo', sans-serif;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
}
.filter-btn.active, .filter-btn:hover { background: var(--accent); border-color: var(--accent); color: white; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}
.product-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 25px 50px rgba(0,0,0,0.4); }
.product-img { width: 100%; height: 220px; background: linear-gradient(135deg, #1a1a2e, #16213e); display: flex; align-items: center; justify-content: center; font-size: 5rem; position: relative; }
.product-badge { position: absolute; top: 1rem; right: 1rem; background: var(--accent); color: white; font-size: 0.7rem; font-weight: 700; padding: 0.3rem 0.7rem; border-radius: 50px; }
.product-badge.hot { background: #e63946; }
.product-badge.new { background: #2ec4b6; }
.product-wishlist { position: absolute; top: 1rem; left: 1rem; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: none; color: white; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 1rem; transition: all 0.3s; display: flex; align-items: center; justify-content: center; }
.product-wishlist:hover { background: rgba(255,107,53,0.8); }
.product-info { padding: 1.2rem; }
.product-cat { font-size: 0.7rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.4rem; }
.product-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.5rem; line-height: 1.4; }
.product-rating { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.8rem; }
.stars { color: var(--accent2); font-size: 0.8rem; }
.reviews { font-size: 0.75rem; color: var(--text-muted); }
.product-pricing { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.price-main { font-family: 'Tajawal', sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--accent); }
.price-old { font-size: 0.85rem; color: var(--text-muted); text-decoration: line-through; }
.discount-badge { background: rgba(255,107,53,0.15); color: var(--accent); font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 6px; }
.btn-add { width: 100%; background: rgba(255,107,53,0.1); border: 1px solid var(--accent); color: var(--accent); padding: 0.7rem; border-radius: 10px; font-family: 'Cairo', sans-serif; font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: all 0.3s; }
.btn-add:hover { background: var(--accent); color: white; }

/* ===== PROMO BANNER ===== */
.promo-banner {
  position: relative; z-index: 1;
  margin: 0 3rem;
  border-radius: 24px;
  background: linear-gradient(135deg, #ff6b35 0%, #ff4500 50%, #c9323c 100%);
  padding: 4rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}
.promo-content { position: relative; }
.promo-tag { font-size: 0.8rem; font-weight: 700; letter-spacing: 3px; opacity: 0.8; text-transform: uppercase; margin-bottom: 0.5rem; }
.promo-banner h2 { font-family: 'Tajawal', sans-serif; font-size: 2.5rem; font-weight: 900; margin-bottom: 0.5rem; }
.promo-banner p { font-size: 1rem; opacity: 0.85; margin-bottom: 1.5rem; }
.btn-promo { background: white; color: var(--accent); border: none; padding: 0.8rem 2rem; border-radius: 50px; font-family: 'Cairo', sans-serif; font-weight: 800; font-size: 0.95rem; cursor: pointer; transition: all 0.3s; }
.btn-promo:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.promo-timer { display: flex; gap: 1rem; }
.timer-unit { text-align: center; background: rgba(0,0,0,0.2); border-radius: 12px; padding: 1rem 1.2rem; }
.timer-num { font-family: 'Tajawal', sans-serif; font-size: 2.5rem; font-weight: 900; display: block; line-height: 1; }
.timer-label { font-size: 0.65rem; opacity: 0.7; margin-top: 0.3rem; display: block; }

/* ===== FEATURES ===== */
.features { position: relative; z-index: 1; padding: 5rem 3rem; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.feature-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 20px; padding: 2rem; transition: all 0.3s; }
.feature-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.feature-icon { width: 56px; height: 56px; background: rgba(255,107,53,0.12); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.2rem; border: 1px solid rgba(255,107,53,0.2); }
.feature-card h3 { font-weight: 700; margin-bottom: 0.5rem; font-size: 1rem; }
.feature-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

/* ===== TESTIMONIALS ===== */
.testimonials { position: relative; z-index: 1; padding: 5rem 3rem; background: rgba(255,255,255,0.01); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testi-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 20px; padding: 2rem; position: relative; }
.testi-card::before { content: '"'; font-size: 6rem; color: var(--accent); opacity: 0.15; position: absolute; top: -1rem; right: 1.5rem; line-height: 1; font-family: serif; }
.testi-text { font-size: 0.9rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 1.5rem; }
.testi-author { display: flex; align-items: center; gap: 0.8rem; }
.testi-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; }
.testi-name { font-weight: 700; font-size: 0.9rem; }
.testi-role { font-size: 0.75rem; color: var(--text-muted); }

/* ===== NEWSLETTER ===== */
.newsletter { position: relative; z-index: 1; padding: 5rem 3rem; text-align: center; }
.newsletter-box { max-width: 500px; margin: 0 auto; background: var(--card-bg); border: 1px solid var(--border); border-radius: 24px; padding: 3rem; }
.newsletter-box h2 { font-family: 'Tajawal', sans-serif; font-size: 1.8rem; font-weight: 800; margin-bottom: 0.5rem; }
.newsletter-box p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.9rem; }
.input-group { display: flex; gap: 0.5rem; }
.input-group input { flex: 1; background: rgba(255,255,255,0.06); border: 1px solid var(--border); color: white; padding: 0.8rem 1.2rem; border-radius: 50px; font-family: 'Cairo', sans-serif; font-size: 0.9rem; outline: none; }
.input-group input::placeholder { color: var(--text-muted); }
.input-group input:focus { border-color: var(--accent); }

/* ===== FOOTER ===== */
.nova-footer { position: relative; z-index: 1; background: #050507; border-top: 1px solid var(--border); padding: 3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-brand .logo { font-size: 1.5rem; margin-bottom: 1rem; display: block; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1.5rem; }
.social-links { display: flex; gap: 0.7rem; }
.social-link { width: 38px; height: 38px; background: rgba(255,255,255,0.06); border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; cursor: pointer; transition: all 0.3s; text-decoration: none; }
.social-link:hover { background: var(--accent); border-color: var(--accent); }
.footer-col h4 { font-weight: 700; margin-bottom: 1.2rem; font-size: 0.9rem; color: var(--white); }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.payment-icons { display: flex; gap: 0.5rem; }
.pay-icon { background: rgba(255,255,255,0.08); border: 1px solid var(--border); border-radius: 6px; padding: 0.3rem 0.7rem; font-size: 0.7rem; font-weight: 700; color: var(--text-muted); }

/* ===== CART DRAWER ===== */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 9998; display: none; backdrop-filter: blur(5px); }
.cart-overlay.open { display: block; }
.cart-drawer { position: fixed; right: -420px; top: 0; bottom: 0; width: 380px; background: #0d0d15; border-left: 1px solid var(--border); z-index: 9999; transition: right 0.4s cubic-bezier(0.25,0.46,0.45,0.94); display: flex; flex-direction: column; padding: 2rem; }
.cart-drawer.open { right: 0; }
.cart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.cart-header h3 { font-weight: 700; }
.close-cart { background: none; border: 1px solid var(--border); color: var(--text-muted); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 1rem; }
.cart-items { flex: 1; overflow-y: auto; }
.cart-item { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.cart-item-img { width: 60px; height: 60px; background: var(--card-bg); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.cart-item-name { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.3rem; }
.cart-item-price { font-size: 0.9rem; color: var(--accent); font-weight: 700; }
.cart-footer { padding-top: 1.5rem; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 1rem; }
.cart-total span { font-weight: 700; }
.cart-total .total-price { font-family: 'Tajawal'; font-size: 1.3rem; color: var(--accent); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nova-nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hero { flex-direction: column; padding: 3rem 1.5rem; text-align: center; min-height: auto; }
  .hero-visual { position: relative; left: auto; top: auto; transform: none; width: 100%; padding: 0; margin-top: 2rem; }
  .hero-btns { justify-content: center; }
  .stats { flex-wrap: wrap; }
  .categories, .products, .features, .testimonials, .newsletter { padding: 3rem 1.5rem; }
  .promo-banner { margin: 0 1.5rem; flex-direction: column; gap: 2rem; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .nova-footer { padding: 2rem 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .cart-drawer { width: 100%; right: -100%; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--primary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ===== Elementor override - إزالة padding الافتراضية ===== */
.elementor-section-wrap, .elementor-inner, .elementor-container { max-width: 100% !important; }
body.elementor-page .nova-nav { z-index: 9999 !important; }
