
/*
Theme Name: Rania WhatsApp Beauty Store
Author: ChatGPT
Version: 3.0
Description: قالب متجر تجميل عربي بتصميم احترافي وسلة طلب واتساب بدون دفع أونلاين.
*/

:root{
  --purple:#7c3a8e; --purple2:#a65bb2; --dark:#40204f; --pink:#f3d9ec;
  --soft:#fff6fd; --line:#ead7ee; --text:#31133e;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Tajawal','Cairo',Arial,sans-serif;direction:rtl;color:var(--text);background:#fff}
a{text-decoration:none;color:inherit}
button{font-family:inherit;cursor:pointer;border:0}
.topbar{background:linear-gradient(90deg,#51215f,#9d50a8);color:#fff;padding:9px 5%;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:14px}
.header{background:#fff;padding:16px 5%;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;border-bottom:1px solid #f0dff2}
.search{border:1px solid #e6cce9;border-radius:999px;padding:13px 18px;color:#9d78a6;background:#fff}
.logo{font-size:38px;font-weight:900;color:var(--purple);text-align:center;line-height:1}
.logo small{display:block;font-size:12px;letter-spacing:3px;color:#b06b9d;margin-top:3px}
.head-actions{justify-self:start;display:flex;align-items:center;gap:12px}
.cart-open,.whatsapp-head{background:#fbf3fb;border:1px solid #ead7ee;border-radius:999px;padding:10px 14px;color:var(--purple);font-weight:900}
.whatsapp-head{display:flex;align-items:center;gap:8px}
.nav{background:linear-gradient(90deg,#69327a,#9b55a6);padding:0 5%;display:flex;justify-content:center;flex-wrap:wrap;color:white}
.nav a{padding:15px 22px;font-weight:800}
.nav a:hover,.nav .active{background:rgba(255,255,255,.15)}
.hero{min-height:560px;background:radial-gradient(circle at 24% 25%,rgba(255,255,255,.9),transparent 26%),linear-gradient(120deg,#fde6f2,#e9d7f7 48%,#fff1fb);overflow:hidden;position:relative}
.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(130deg,rgba(255,255,255,.55),rgba(255,255,255,0) 45%)}
.hero-inner{position:relative;z-index:1;width:min(1180px,92%);margin:auto;padding:50px 0;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:30px}
.hero h1{font-size:56px;line-height:1.18;margin:0 0 15px;color:#542064}
.hero p{font-size:22px;margin:0 0 22px}
.hero img{width:100%;max-height:520px;object-fit:contain;border-radius:24px;filter:drop-shadow(0 22px 30px rgba(80,32,100,.22))}
.features{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:25px 0}
.feature{text-align:center;padding:10px;border-left:1px solid rgba(84,32,100,.18)}
.ico{width:55px;height:55px;border:1.5px solid var(--purple);border-radius:50%;display:grid;place-items:center;margin:auto auto 8px;font-size:25px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(90deg,var(--purple),#b45db8);color:#fff;border-radius:13px;padding:13px 26px;font-weight:900;box-shadow:0 9px 22px rgba(124,58,142,.18)}
.btn.secondary{background:#fff;color:var(--purple);border:1px solid #dcc4e3;box-shadow:none}
.service-bar{width:min(1120px,92%);margin:24px auto;background:#fff7fd;border-radius:24px;display:grid;grid-template-columns:repeat(4,1fr);box-shadow:0 10px 30px rgba(85,30,100,.08);overflow:hidden}
.service{padding:21px;text-align:center;border-left:1px solid #ead4ec;font-weight:900;color:#6a2f78}
.section{width:min(1180px,92%);margin:44px auto}
.section-title{text-align:center;color:var(--purple);font-size:34px;margin:0 0 27px}
.categories{display:grid;grid-template-columns:repeat(5,1fr);gap:20px}
.cat{background:linear-gradient(180deg,#ffe8f3,#eee0ff);border-radius:18px;padding:16px;text-align:center;min-height:190px}
.cat img{width:100%;height:118px;object-fit:cover;object-position:top;border-radius:14px;background:white}
.cat h3{margin:10px 0;color:#5a276a}
.products{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.product-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:18px;padding:15px;text-align:center;box-shadow:0 8px 24px rgba(70,20,80,.06)}
.product-card img{width:100%;height:255px;object-fit:cover;object-position:top;border-radius:14px;background:#faf4fb}
.product-card h3{font-size:18px;margin:14px 0 8px}
.price{font-size:21px;font-weight:900;color:var(--purple);margin:0 0 12px}
.badge{position:absolute;top:14px;left:14px;background:var(--purple);color:white;border-radius:999px;padding:5px 10px;font-size:13px}
.add-box{border:2px dashed #b77ac4;background:#fff8ff;border-radius:20px;padding:26px;text-align:center;color:#6a2f78;margin-top:25px}
.banner{background:linear-gradient(90deg,#f0d8ef,#fff);border-radius:24px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:24px;padding:24px;overflow:hidden}
.banner img{width:100%;max-height:270px;object-fit:cover;object-position:top;border-radius:18px}
.footer{margin-top:55px;background:#4b235f;color:white;text-align:center;padding:35px 5%}
.float-whatsapp{position:fixed;bottom:22px;left:22px;width:62px;height:62px;border-radius:50%;background:#25d366;color:white;display:grid;place-items:center;z-index:99;font-size:30px;box-shadow:0 10px 28px rgba(0,0,0,.22)}
.cart-panel{position:fixed;inset:0;background:rgba(30,10,40,.45);z-index:999;display:none;align-items:stretch;justify-content:flex-start}
.cart-panel.active{display:flex}
.cart-box{width:min(420px,92%);background:#fff;height:100%;padding:22px;overflow:auto;box-shadow:-10px 0 30px rgba(0,0,0,.2)}
.cart-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eee;padding-bottom:12px;margin-bottom:15px}
.close-cart{background:#f5e7f7;color:var(--purple);border-radius:50%;width:38px;height:38px;font-size:22px}
.cart-item{display:grid;grid-template-columns:72px 1fr auto;gap:10px;align-items:center;border-bottom:1px solid #f0e2f2;padding:12px 0}
.cart-item img{width:72px;height:72px;object-fit:cover;border-radius:10px}
.qty{display:flex;gap:7px;align-items:center;margin-top:7px}
.qty button{width:26px;height:26px;border-radius:7px;background:#f2e3f5;color:var(--purple);font-weight:900}
.remove{background:#fff0f0;color:#a33;border-radius:8px;padding:6px}
.total{font-size:22px;font-weight:900;color:var(--purple);margin:20px 0}
.form-row{margin:10px 0}
.form-row input,.form-row textarea{width:100%;border:1px solid #e5cde9;border-radius:12px;padding:12px;font-family:inherit}
.empty{text-align:center;padding:25px;color:#8b6a93}
@media(max-width:920px){.header{grid-template-columns:1fr;text-align:center}.head-actions{justify-self:center;flex-wrap:wrap;justify-content:center}.hero-inner{grid-template-columns:1fr;text-align:center}.features,.service-bar,.categories,.products{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.hero h1{font-size:38px}.features,.service-bar,.categories,.products,.banner{grid-template-columns:1fr}.product-card img{height:330px}}
