/* ==========================================================
   كوزمتك علي الدايني — بكج العناية والنضارة
   صفحة هبوط عالية التحويل — RTL / عربي
   ========================================================== */
:root{
  --gold:#c9a227;
  --gold-dark:#a8841a;
  --gold-light:#f5e7bd;
  --ink:#2b2118;
  --cream:#fffaf1;
  --green:#1e6b52;
  --rose:#b76e79;
  --white:#ffffff;
  --shadow:0 10px 30px rgba(43,33,24,.12);
  --radius:18px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:'Tajawal',system-ui,sans-serif;
  color:var(--ink);
  background:var(--cream);
  line-height:1.7;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
.container{max-width:1100px;margin:0 auto;padding:0 20px}
.center{text-align:center}

/* ---------- الشريط العلوي ---------- */
.topbar{
  background:linear-gradient(90deg,var(--gold-dark),var(--gold),var(--gold-dark));
  color:#fff;font-weight:700;text-align:center;
  padding:9px 12px;font-size:.95rem;letter-spacing:.2px;
}

/* ---------- الهيرو ---------- */
.hero{
  background:
    radial-gradient(1200px 500px at 85% -10%,rgba(201,162,39,.25),transparent 60%),
    linear-gradient(180deg,#fffdf7,var(--cream));
  padding:48px 0 56px;
}
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:44px;align-items:center}
.store-name{
  display:inline-block;background:#fff;border:1.5px solid var(--gold);
  color:var(--gold-dark);font-weight:800;border-radius:999px;
  padding:6px 18px;font-size:1rem;box-shadow:var(--shadow);
}
.hero h1{
  font-size:clamp(1.7rem,4.2vw,2.7rem);font-weight:900;line-height:1.5;margin:16px 0 10px;
}
.hl{color:var(--gold-dark);background:linear-gradient(transparent 62%,var(--gold-light) 62%);padding:0 4px}
.hero-sub{font-size:1.08rem;color:#5b4c3c;max-width:520px}
.hero-points{list-style:none;margin:14px 0 18px;display:grid;gap:6px;font-weight:700}
.hero-price{margin-bottom:18px}
.price-box{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.old-price{color:#9a8a76;text-decoration:line-through;font-size:1.1rem}
.new-price{font-size:2rem;font-weight:900;color:var(--green)}
.save-badge{background:#e8f6ef;color:var(--green);border:1px solid #bfe6d2;border-radius:999px;padding:3px 12px;font-weight:800;font-size:.85rem}
.stock-note{margin-top:12px;color:#8a5a1e;font-size:.95rem}
.stock-note strong{color:#c0392b}

.hero-media{position:relative}
.hero-media img{
  border-radius:24px;box-shadow:0 24px 60px rgba(43,33,24,.22);
  border:6px solid #fff;
}
.hero-tag{
  position:absolute;top:16px;inset-inline-start:16px;
  background:linear-gradient(135deg,var(--gold),var(--gold-dark));
  color:#fff;font-weight:900;text-align:center;line-height:1.3;
  border-radius:14px;padding:10px 16px;box-shadow:var(--shadow);
  transform:rotate(-4deg);
}

/* ---------- أزرار CTA ---------- */
.cta-btn{
  display:inline-block;background:linear-gradient(135deg,var(--green),#14503c);
  color:#fff;font-weight:900;font-size:1.15rem;text-decoration:none;
  padding:15px 34px;border-radius:999px;border:none;cursor:pointer;
  box-shadow:0 12px 26px rgba(30,107,82,.35);
  transition:transform .15s ease,box-shadow .15s ease;
  font-family:inherit;
}
.cta-btn:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(30,107,82,.45)}
.cta-btn.big{width:100%;font-size:1.25rem;padding:17px 20px}
.pulse{animation:pulse 1.8s infinite}
@keyframes pulse{
  0%{box-shadow:0 12px 26px rgba(30,107,82,.35),0 0 0 0 rgba(30,107,82,.35)}
  70%{box-shadow:0 12px 26px rgba(30,107,82,.35),0 0 0 16px rgba(30,107,82,0)}
  100%{box-shadow:0 12px 26px rgba(30,107,82,.35),0 0 0 0 rgba(30,107,82,0)}
}

/* ---------- شريط الثقة ---------- */
.trust-strip{background:#fff;border-block:1px solid #eee3cd;padding:20px 0}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;text-align:center}
.trust-item{display:grid;gap:2px;justify-items:center}
.t-icon{font-size:1.7rem}
.trust-item strong{font-size:1rem}
.trust-item small{color:#8a7a63}

/* ---------- الأقسام ---------- */
.section{padding:64px 0}
.section-title{
  text-align:center;font-size:clamp(1.5rem,3.4vw,2.1rem);font-weight:900;margin-bottom:8px;
}
.section-sub{text-align:center;color:#7a6a55;margin-bottom:36px}
.section-foot{text-align:center;font-size:1.15rem;font-weight:800;color:var(--gold-dark);margin-top:34px}

/* ---------- بطاقات المنتجات ---------- */
.products-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.product-card{
  background:#fff;border-radius:var(--radius);padding:18px;position:relative;
  box-shadow:var(--shadow);border:1px solid #f1e7d2;
  transition:transform .2s ease,box-shadow .2s ease;
  display:flex;flex-direction:column;
}
.product-card:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(43,33,24,.18)}
.p-num{position:absolute;top:10px;inset-inline-start:12px;font-size:1.3rem;z-index:2}
.p-img{border-radius:12px;overflow:hidden;margin-bottom:14px;background:#f6f0e3}
.p-img img{transition:transform .35s ease;width:100%}
.product-card:hover .p-img img{transform:scale(1.06)}
.product-card h3{font-size:1.1rem;font-weight:800;margin-bottom:8px;color:var(--green)}
.product-card ul{list-style:none;display:grid;gap:6px;font-size:.93rem;color:#5b4c3c}
.product-card li{padding-inline-start:4px}

/* ---------- لماذا نحن ---------- */
.why{background:linear-gradient(180deg,#fff,#fdf6e7)}
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:30px}
.why-card{background:var(--cream);border:1px solid #f1e7d2;border-radius:var(--radius);padding:24px 18px;text-align:center}
.why-card span{font-size:2.2rem;display:block;margin-bottom:8px}
.why-card h3{font-size:1.05rem;margin-bottom:6px}
.why-card p{font-size:.92rem;color:#6b5b47}

/* ---------- آراء الزبائن ---------- */
.reviews-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:30px}
.review-card{
  background:#fff;border-radius:var(--radius);padding:22px;box-shadow:var(--shadow);
  border:1px solid #f1e7d2;display:flex;flex-direction:column;gap:10px;
}
.stars{color:var(--gold);font-size:1.2rem;letter-spacing:2px}
.review-card blockquote{font-size:.98rem;color:#4c3f30}
.review-card figcaption{font-weight:800;color:var(--rose);font-size:.92rem}

/* ---------- الأسئلة الشائعة ---------- */
.faq{background:#fff}
.faq-item{
  background:var(--cream);border:1px solid #f1e7d2;border-radius:14px;
  margin:12px auto;max-width:760px;padding:4px 18px;
}
.faq-item summary{
  cursor:pointer;font-weight:800;padding:14px 0;font-size:1.05rem;list-style:none;
  display:flex;justify-content:space-between;align-items:center;
}
.faq-item summary::after{content:'＋';color:var(--gold-dark);font-size:1.2rem}
.faq-item[open] summary::after{content:'－'}
.faq-item p{padding:0 0 14px;color:#5b4c3c}

/* ---------- فورم الطلب ---------- */
.order-section{
  background:
    radial-gradient(900px 400px at 10% 0%,rgba(201,162,39,.18),transparent 60%),
    linear-gradient(180deg,#fdf6e7,var(--cream));
}
.order-wrap{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:start}
.order-info h2{font-size:1.7rem;font-weight:900;margin-bottom:8px}
.order-lead{color:#5b4c3c;margin-bottom:18px}
.order-summary{
  background:#fff;border:1px solid #f1e7d2;border-radius:var(--radius);
  padding:18px 20px;box-shadow:var(--shadow);margin-bottom:18px;
}
.os-row{display:flex;justify-content:space-between;align-items:center;padding:6px 0;font-weight:700}
.os-row strong{color:var(--green);font-size:1.15rem}
.os-row.muted{color:#9a8a76;font-weight:400;font-size:.92rem}
.order-points{list-style:none;display:grid;gap:6px;font-weight:700}

.order-form{
  background:#fff;border-radius:22px;padding:28px 24px;
  box-shadow:0 20px 50px rgba(43,33,24,.18);border:2px solid var(--gold-light);
}
.order-form h3{font-size:1.25rem;margin-bottom:16px;text-align:center}
.order-form label{display:block;font-weight:800;margin-bottom:14px;font-size:.98rem}
.req{color:#c0392b}
.order-form input,.order-form select,.order-form textarea{
  width:100%;margin-top:6px;padding:12px 14px;border-radius:12px;
  border:1.5px solid #e3d6bd;font-family:inherit;font-size:1rem;background:#fffdf8;
  transition:border-color .15s ease,box-shadow .15s ease;
}
.order-form input:focus,.order-form select:focus,.order-form textarea:focus{
  outline:none;border-color:var(--gold);box-shadow:0 0 0 4px rgba(201,162,39,.18);
}
.order-form input.invalid,.order-form select.invalid{border-color:#c0392b;box-shadow:0 0 0 4px rgba(192,57,43,.12)}
.form-total{
  display:flex;justify-content:space-between;align-items:center;
  background:var(--gold-light);border-radius:12px;padding:10px 16px;
  font-weight:800;margin-bottom:16px;
}
.form-total strong{color:var(--green);font-size:1.3rem}
.form-note{text-align:center;font-size:.85rem;color:#8a7a63;margin-top:10px}
.form-error{
  background:#fdecea;color:#c0392b;border:1px solid #f5c6c0;border-radius:12px;
  padding:10px 14px;margin-top:12px;font-weight:700;text-align:center;
}

/* ---------- شاشة النجاح ---------- */
.success-overlay{
  position:fixed;inset:0;background:rgba(43,33,24,.6);backdrop-filter:blur(4px);
  display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px;
}
.success-overlay[hidden]{display:none}
.success-box{
  background:#fff;border-radius:24px;padding:36px 30px;text-align:center;
  max-width:420px;width:100%;box-shadow:0 30px 80px rgba(0,0,0,.3);
  animation:pop .35s ease;
}
@keyframes pop{from{transform:scale(.85);opacity:0}to{transform:scale(1);opacity:1}}
.success-icon{font-size:3rem}
.success-box h2{margin:10px 0 8px;color:var(--green)}
.order-code{background:var(--gold-light);border-radius:10px;padding:8px;margin:12px 0 18px;font-weight:700}

/* ---------- زر عائم ---------- */
.floating-cta{
  position:fixed;bottom:14px;inset-inline:14px;z-index:900;
  background:linear-gradient(135deg,var(--green),#14503c);color:#fff;
  text-align:center;font-weight:900;font-size:1.05rem;text-decoration:none;
  padding:14px;border-radius:999px;box-shadow:0 14px 30px rgba(30,107,82,.45);
  display:none;
}

/* ---------- الفوتر ---------- */
.footer{background:var(--ink);color:#e9ddc8;text-align:center;padding:34px 0 90px}
.f-brand{font-size:1.3rem;font-weight:900;color:var(--gold-light)}
.f-small{font-size:.85rem;color:#a99b82;margin-top:8px}

/* ---------- استجابة ---------- */
@media (max-width:960px){
  .products-grid{grid-template-columns:repeat(2,1fr)}
  .why-grid{grid-template-columns:repeat(2,1fr)}
  .reviews-grid{grid-template-columns:1fr;max-width:560px;margin-inline:auto}
  .hero-grid{grid-template-columns:1fr;gap:30px}
  .hero-media{order:-1}
  .order-wrap{grid-template-columns:1fr}
}
@media (max-width:640px){
  .trust-grid{grid-template-columns:repeat(2,1fr);gap:18px}
  .section{padding:48px 0}
  .floating-cta{display:block}
  .footer{padding-bottom:110px}
}
@media (max-width:420px){
  .products-grid{grid-template-columns:1fr}
  .why-grid{grid-template-columns:1fr}
  .new-price{font-size:1.7rem}
}
