/*
Theme Name: Arabic PLR Firesale AR V2
Author: Converted for WordPress
Description: نسخة WordPress عربية مطوّرة لصفحة Ultimate PLR Firesale، متجاوبة وقابلة للتخصيص والرفع مباشرة.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: arabic-plr-firesale-ar-v2
*/

:root {
  --uplr-slate-950: #020617;
  --uplr-slate-900: #0f172a;
  --uplr-slate-800: #1e293b;
  --uplr-slate-700: #334155;
  --uplr-slate-400: #94a3b8;
  --uplr-slate-300: #cbd5e1;
  --uplr-slate-200: #e2e8f0;
  --uplr-slate-100: #f1f5f9;
  --uplr-slate-50: #f8fafc;
  --uplr-red-700: #b91c1c;
  --uplr-red-600: #dc2626;
  --uplr-green-700: #15803d;
  --uplr-blue-700: #1d4ed8;
  --uplr-yellow-600: #ca8a04;
  --uplr-yellow-500: #eab308;
  --uplr-yellow-200: #fef08a;
  --uplr-yellow-100: #fef9c3;
  --uplr-yellow-50: #fefce8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--uplr-slate-800);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}
img { height: auto; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.uplr-page {
  direction: rtl;
  min-height: 100vh;
  overflow-wrap: anywhere;
  background: #fff;
}
.uplr-container { width: min(100% - 32px, 896px); margin-inline: auto; }
.uplr-container-wide { width: min(100% - 32px, 1024px); margin-inline: auto; }
.uplr-arabic { line-height: 1.9; }
.uplr-center { text-align: center; }

.uplr-gold-gradient {
  background: linear-gradient(135deg, #fff7cc 0%, #ffee99 50%, #ffe066 100%);
}
.uplr-hero {
  padding: 32px 16px;
  text-align: center;
  border-bottom: 4px solid var(--uplr-yellow-500);
}
.uplr-portrait {
  display: block;
  width: 153px;
  height: 153px;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 4px solid #fff;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, .18);
}
.uplr-hero p { margin: 4px 0; font-size: 18px; font-weight: 700; color: var(--uplr-slate-900); }
.uplr-hero .uplr-subject { margin-top: 10px; color: var(--uplr-red-700); font-size: 20px; }

.uplr-intro { padding: 32px 0; font-size: 18px; }
.uplr-intro p { margin: 0 0 16px; }
.uplr-intro ul { margin: 0 0 24px; padding-right: 28px; }
.uplr-intro li { margin: 8px 0; }
.uplr-intro li::marker { color: var(--uplr-yellow-600); }
.uplr-intro-strong { text-align: center; color: var(--uplr-red-700); font-size: 20px; font-weight: 700; }

.uplr-testimonials { padding: 32px 0; background: var(--uplr-yellow-50); }
.uplr-section-title { margin: 0 0 30px; text-align: center; color: var(--uplr-slate-900); font-size: clamp(26px, 4vw, 32px); line-height: 1.35; }
.uplr-card-stack { display: grid; gap: 24px; }
.uplr-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--uplr-yellow-200);
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(15, 23, 42, .07);
}
.uplr-testimonial-row { display: flex; align-items: center; gap: 16px; }
.uplr-avatar { width: 100px; height: 100px; flex: 0 0 100px; object-fit: cover; border-radius: 999px; }
.uplr-card p { margin: 0; font-size: 18px; }
.uplr-attribution { margin-top: 14px !important; font-weight: 700; color: var(--uplr-slate-900); }

.uplr-products-intro { padding: 24px 0; text-align: center; background: #fff; }
.uplr-products-intro p { margin: 0; color: var(--uplr-slate-900); font-size: 20px; font-weight: 700; }
.uplr-product {
  padding: 40px 16px;
  text-align: center;
  background: #fff;
  border-bottom: 1px solid var(--uplr-yellow-200);
}
.uplr-product:last-child { border-bottom: 0; }
.uplr-hot-label { margin: 0 0 8px; color: var(--uplr-red-600); font-size: 14px; font-weight: 800; letter-spacing: .08em; }
.uplr-product h3 { margin: 0 0 8px; color: var(--uplr-slate-900); font-size: 24px; line-height: 1.4; }
.uplr-license { margin: 0 0 16px; color: var(--uplr-green-700); font-size: 18px; font-weight: 700; }
.uplr-product-image {
  display: block;
  margin: 24px auto;
  border: 1px solid var(--uplr-slate-200);
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .13);
}
.uplr-product-description { margin: 0; color: var(--uplr-slate-800); font-size: 18px; line-height: 1.9; }

.uplr-bonuses { background: var(--uplr-yellow-50); }
.uplr-bonus-intro { padding: 40px 0 24px; text-align: center; }
.uplr-bonus-intro h2 { margin: 0 0 16px; color: var(--uplr-red-700); font-size: 30px; line-height: 1.35; }
.uplr-bonus-intro p { margin: 0; font-size: 18px; }
.uplr-bonuses .uplr-product { background: transparent; }

.uplr-profit { padding: 40px 0; background: #fff; }
.uplr-profit h2 { margin: 0 0 8px; text-align: center; color: var(--uplr-slate-900); font-size: 24px; }
.uplr-profit-subtitle { margin: 0 0 30px; text-align: center; color: var(--uplr-slate-700); font-size: 18px; font-weight: 700; }
.uplr-accordion { display: grid; gap: 12px; }
.uplr-accordion-item { overflow: hidden; border: 1px solid var(--uplr-slate-200); border-radius: 10px; background: var(--uplr-slate-50); }
.uplr-accordion-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border: 0;
  color: var(--uplr-slate-900);
  background: transparent;
  text-align: right;
  font-weight: 800;
  cursor: pointer;
}
.uplr-accordion-button:hover { background: var(--uplr-slate-100); }
.uplr-accordion-button:focus-visible { outline: 3px solid rgba(29, 78, 216, .35); outline-offset: -3px; }
.uplr-accordion-icon { color: var(--uplr-yellow-600); font-size: 28px; line-height: 1; }
.uplr-accordion-panel { padding: 16px 20px; border-top: 1px solid var(--uplr-slate-200); color: var(--uplr-slate-700); line-height: 1.9; }
.uplr-accordion-panel[hidden] { display: none; }
.uplr-accordion-panel p { margin: 0; }

.uplr-value { padding: 40px 0; background: #fff; }
.uplr-value h2 { margin: 0 0 24px; text-align: center; color: var(--uplr-slate-900); font-size: 24px; }
.uplr-value > .uplr-container > p { margin: 0 0 24px; text-align: center; font-size: 18px; }
.uplr-table-wrap { overflow-x: auto; border: 1px solid var(--uplr-slate-300); border-radius: 10px; box-shadow: 0 3px 10px rgba(15,23,42,.07); }
.uplr-table { width: 100%; min-width: 620px; border-collapse: collapse; text-align: right; }
.uplr-table th { background: var(--uplr-slate-100); color: var(--uplr-slate-900); }
.uplr-table th, .uplr-table td { padding: 11px 16px; border-bottom: 1px solid var(--uplr-slate-200); }
.uplr-table tbody tr:nth-child(even) { background: var(--uplr-slate-50); }
.uplr-table .uplr-total { background: var(--uplr-yellow-100) !important; font-weight: 800; }
.uplr-table td:last-child { white-space: nowrap; direction: ltr; text-align: right; font-weight: 700; color: var(--uplr-slate-900); }

.uplr-order { padding: 48px 0; text-align: center; }
.uplr-order-copy { margin: 0 0 24px; font-size: 18px; }
.uplr-price-stack { margin: 0 0 24px; color: var(--uplr-slate-900); font-size: 30px; font-weight: 800; }
.uplr-price-stack p { margin: 2px 0; }
.uplr-price-strike { position: relative; display: inline-block; }
.uplr-price-strike::after { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 2px; background: var(--uplr-red-600); transform: rotate(-5deg); }
.uplr-old-price { color: var(--uplr-red-600); }
.uplr-sale-price { color: var(--uplr-green-700); font-size: clamp(38px, 7vw, 52px); }
.uplr-wow { margin: 0 0 24px; color: var(--uplr-red-700); font-size: 24px; font-weight: 800; text-decoration: underline; }
.uplr-buy-heading { margin: 0 0 24px; color: var(--uplr-slate-900); font-size: 24px; font-weight: 800; }
.uplr-important { margin: 0 0 24px; padding: 16px; border: 2px solid var(--uplr-red-600); border-radius: 10px; background: #fff; color: var(--uplr-red-700); font-size: 18px; font-weight: 800; }
.uplr-important a { color: var(--uplr-blue-700); text-decoration: underline; }
.uplr-price-box { width: fit-content; max-width: 100%; margin: 0 auto 24px; display: flex; flex-wrap: wrap; background: #fff; border: 1px solid var(--uplr-slate-400); }
.uplr-price-box span { padding: 12px 24px; border-inline-end: 1px solid var(--uplr-slate-400); color: var(--uplr-slate-900); font-size: 18px; font-weight: 800; }
.uplr-price-box span:last-child { border-inline-end: 0; color: var(--uplr-green-700); }
.uplr-buy-link { display: inline-block; transition: transform .2s ease; }
.uplr-buy-link:hover { transform: scale(1.03); }
.uplr-buy-image { display: block; margin: auto; border-radius: 10px; box-shadow: 0 15px 35px rgba(15,23,42,.22); }
.uplr-delivery { margin: 14px 0 0; color: var(--uplr-slate-900); font-weight: 800; }

.uplr-footer { padding: 40px 0; text-align: center; background: var(--uplr-slate-900); color: #fff; }
.uplr-footer p { margin: 0 0 16px; font-size: 18px; }
.uplr-footer a { color: #facc15; font-weight: 800; text-decoration: underline; }
.uplr-copyright { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--uplr-slate-700); color: var(--uplr-slate-400); font-size: 14px !important; }

.uplr-wp-header { padding: 20px 16px; background: var(--uplr-slate-900); color: #fff; }
.uplr-wp-header a { text-decoration: none; }
.uplr-wp-content { width: min(100% - 32px, 900px); margin: 40px auto; line-height: 1.8; }

@media (max-width: 640px) {
  .uplr-testimonial-row { flex-direction: column; text-align: center; }
  .uplr-attribution { text-align: center; }
  .uplr-card { padding: 20px; }
  .uplr-product { padding-inline: 0; }
  .uplr-price-box { display: grid; width: 100%; }
  .uplr-price-box span { border-inline-end: 0; border-bottom: 1px solid var(--uplr-slate-400); }
  .uplr-price-box span:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .uplr-buy-link { transition: none; }
}


/* Limited-offer banner added in the second supplied version. */
.uplr-top-banner {
  position: relative;
  overflow: hidden;
  padding: 40px 16px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #b91c1c 0%, #dc2626 55%, #eab308 100%);
}
.uplr-top-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .11;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}
.uplr-top-banner-inner { position: relative; z-index: 1; }
.uplr-offer-kicker { margin: 0 0 8px; color: #fef08a; font-size: 18px; font-weight: 800; letter-spacing: .12em; }
.uplr-top-banner h1 { margin: 0 0 14px; font-size: clamp(38px, 7vw, 64px); line-height: 1.15; font-weight: 900; }
.uplr-top-banner-subtitle { margin: 0; color: #fef9c3; font-size: clamp(20px, 3vw, 26px); font-weight: 700; }
.uplr-stat-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 24px; }
.uplr-stat-pills span { padding: 10px 20px; border-radius: 999px; background: #fff; color: #b91c1c; font-size: 18px; font-weight: 800; box-shadow: 0 8px 20px rgba(15,23,42,.18); }

.uplr-buy-link {
  max-width: 100%;
  padding: 24px;
  border: 4px solid #fff;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fafc 0%, #e5e7eb 100%);
  box-shadow: 0 20px 40px rgba(15,23,42,.25);
  text-decoration: none;
}
.uplr-buy-price-en { margin: 0 0 16px; color: var(--uplr-red-700); font-size: clamp(34px, 7vw, 52px); font-weight: 900; line-height: 1; }
.uplr-buy-button {
  position: relative;
  display: inline-block;
  margin: 0 0 18px;
  padding: 18px clamp(42px, 10vw, 72px);
  border-radius: 16px;
  color: #000;
  background: linear-gradient(180deg, #fde047 0%, #eab308 55%, #f97316 100%);
  box-shadow: 0 7px 0 #b45309;
  font-size: clamp(34px, 7vw, 52px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .06em;
}
.uplr-guarantee-badge {
  position: absolute;
  inset-inline-end: -24px;
  top: -24px;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 2px solid #fef08a;
  border-radius: 50%;
  color: #713f12;
  background: linear-gradient(135deg, #fde047, #ca8a04);
  box-shadow: 0 8px 18px rgba(15,23,42,.22);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.15;
}
.uplr-payment-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.uplr-payment-badges span { padding: 5px 10px; border: 1px solid var(--uplr-slate-300); border-radius: 5px; background: #fff; box-shadow: 0 2px 5px rgba(15,23,42,.08); font-size: 12px; font-weight: 800; }
.uplr-payment-badges span:nth-child(1), .uplr-payment-badges span:nth-child(2), .uplr-payment-badges span:nth-child(4) { color: #1d4ed8; }
.uplr-payment-badges span:nth-child(3) { color: #b91c1c; }

@media (max-width: 520px) {
  .uplr-top-banner { padding-block: 32px; }
  .uplr-stat-pills { gap: 10px; }
  .uplr-stat-pills span { width: 100%; font-size: 16px; }
  .uplr-buy-link { width: 100%; padding: 18px 12px; }
  .uplr-buy-button { width: min(100%, 330px); padding-inline: 28px; }
  .uplr-guarantee-badge { inset-inline-end: -8px; top: -30px; width: 72px; height: 72px; font-size: 9px; }
}
