@import url('../fonts/fonts.css');

:root{
  --plum:#5C2340;
  --plum-deep:#3A1428;
  --gold:#C39A4E;
  --gold-soft:#E8CFA1;
  --cream:#FBF5EC;
  --paper:#FFFFFF;
  --ink:#2A1A22;
  --muted:#7A6B72;
  --line:#EADFD2;
  --rose:#F3E1DC;
  --radius:18px;
  --shadow:0 10px 30px rgba(58,20,40,.08);
  --maxw:1120px;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:'Cairo',system-ui,-apple-system,'Segoe UI',Tahoma,sans-serif;
  background:var(--cream);
  color:var(--ink);
  font-size:16px;
  line-height:1.85;
  direction:rtl;
  text-align:right;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit}
.wrap{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 18px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* ---------- header ---------- */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(251,245,236,.96);
  backdrop-filter:saturate(150%) blur(8px);
  border-bottom:1px solid var(--line);
}
.hdr{display:flex;align-items:center;gap:12px;min-height:64px}
.brand{display:flex;align-items:center;gap:10px;flex:1 1 auto;min-width:0}
.brand img{width:auto;height:40px}
.brand-txt{display:flex;flex-direction:column;line-height:1.1}
.brand-txt b{font-size:20px;font-weight:900;color:var(--plum);letter-spacing:.2px}
.brand-txt span{font-size:10.5px;color:var(--gold);letter-spacing:.6px;font-weight:600}
.hdr-actions{display:flex;align-items:center;gap:8px}
.icon-btn{
  display:inline-flex;align-items:center;justify-content:center;
  width:42px;height:42px;border-radius:12px;border:1px solid var(--line);
  background:var(--paper);color:var(--plum);cursor:pointer;
}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border:0;border-radius:999px;padding:12px 20px;
  font-size:15px;font-weight:700;cursor:pointer;transition:transform .15s ease,opacity .15s;
}
.btn:active{transform:scale(.98)}
.btn svg{width:18px;height:18px;flex:0 0 auto}
.btn-wa{background:#1FA855;color:#fff}
.btn-plum{background:var(--plum);color:#fff}
.btn-ghost{background:transparent;color:var(--plum);border:1.5px solid var(--plum)}
.btn-block{width:100%}
.btn-sm{padding:9px 14px;font-size:13.5px}

/* nav */
.nav{display:none}
.nav a{padding:8px 10px;font-size:14.5px;font-weight:600;color:var(--ink);opacity:.85;border-radius:8px}
.nav a:hover,.nav a[aria-current="page"]{opacity:1;color:var(--plum);background:var(--rose)}
@media(min-width:860px){
  .nav{display:flex;align-items:center;gap:2px}
  .hdr-wa{display:inline-flex}
}

/* mobile menu */
.menu-panel{
  display:none;position:fixed;inset:64px 0 0 0;background:var(--cream);z-index:45;
  padding:18px;overflow:auto;
}
.menu-panel.open{display:block}
.menu-panel a{
  display:flex;justify-content:space-between;align-items:center;
  padding:16px 6px;border-bottom:1px solid var(--line);font-weight:700;font-size:17px;
}
.menu-panel a span{color:var(--gold);font-size:13px;font-weight:600}

/* ---------- hero ---------- */
.hero{padding:22px 0 8px}
.hero-card{
  position:relative;overflow:hidden;border-radius:26px;
  background:linear-gradient(150deg,#5C2340 0%,#3A1428 60%,#2C0F1E 100%);
  color:#fff;padding:30px 22px 26px;
}
.hero-card:before{
  content:"";position:absolute;left:-70px;top:-80px;width:220px;height:220px;border-radius:50%;
  background:radial-gradient(circle at 35% 35%,rgba(195,154,78,.30),transparent 70%);
  pointer-events:none;
}
.hero-card:after{
  content:"";position:absolute;inset:0;opacity:.13;
  background-image:radial-gradient(rgba(255,255,255,.9) 1px,transparent 1px);
  background-size:18px 18px;
}
.hero-in{position:relative;z-index:1;max-width:560px}
.kicker{
  display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;
  color:var(--gold-soft);letter-spacing:.4px;border:1px solid rgba(232,207,161,.4);
  padding:5px 12px;border-radius:999px;margin-bottom:14px;
}
.hero h1{
  margin:0 0 10px;font-size:27px;line-height:1.35;font-weight:900;letter-spacing:-.2px;
}
@media(min-width:860px){.hero h1{font-size:36px}}
.hero h1 em{font-style:normal;color:var(--gold-soft)}
.hero p{margin:0 0 20px;font-size:15.5px;color:#F0E2E8;max-width:44ch}
.hero .hero-sub{margin:-4px 0 14px;font-size:19px;font-weight:700;color:var(--gold-soft)}
.hero .hero-sub em{font-style:normal}
.hero-btns{display:grid;grid-template-columns:1fr;gap:8px}
.hero-btns .btn{padding:14px 12px;font-size:14px;white-space:nowrap}
@media(min-width:560px){.hero-btns{display:flex;flex-wrap:wrap}
.hero-btns .btn{flex:0 1 auto}}
.hero h1 .nw{white-space:nowrap}
.hero-btns .btn-ghost{color:#fff;border-color:rgba(255,255,255,.55)}
.hero-trust{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.hero-trust span{
  font-size:12px;color:#F5E9EE;background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.14);padding:5px 11px;border-radius:999px;
}

/* ---------- sections ---------- */
.section{padding:26px 0}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:16px}
.section-head h2{margin:0;font-size:21px;font-weight:900;color:var(--plum-deep)}
.section-head p{margin:2px 0 0;font-size:13.5px;color:var(--muted)}
.section-head a{font-size:13.5px;font-weight:700;color:var(--gold);white-space:nowrap}

/* categories */
.cats{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
@media(min-width:560px){.cats{grid-template-columns:repeat(3,1fr)}}
@media(min-width:860px){.cats{grid-template-columns:repeat(4,1fr)}}
.cat{
  display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;
  background:var(--paper);border:1px solid var(--line);border-radius:14px;
  padding:14px 8px 12px;text-align:center;transition:border-color .15s,transform .15s;
}
.cat:hover{border-color:var(--gold);transform:translateY(-1px)}
.cat .ic{
  flex:0 0 auto;width:44px;height:44px;border-radius:13px;display:grid;place-items:center;
  background:var(--rose);color:var(--plum);
}
.cat .ic svg{width:22px;height:22px}
.cat b{font-size:12.5px;font-weight:700;line-height:1.4}
.cat small{display:block;font-size:10.5px;color:var(--muted);font-weight:500;margin-top:2px}
.cat.all .ic{background:var(--plum);color:var(--gold-soft)}

/* product grid */
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
@media(min-width:700px){.grid{grid-template-columns:repeat(3,1fr);gap:16px}}
@media(min-width:960px){.grid{grid-template-columns:repeat(4,1fr)}}

.card{
  background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .18s,transform .18s;
}
.card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.card-media{position:relative;display:block;aspect-ratio:1/1;background:var(--rose)}
.card-media img{width:100%;height:100%;object-fit:cover}
.badge{
  position:absolute;top:8px;inset-inline-start:8px;z-index:2;
  background:var(--plum);color:#fff;font-size:10.5px;font-weight:700;
  padding:4px 9px;border-radius:999px;
}
.card-body{padding:10px 12px 12px;display:flex;flex-direction:column;gap:4px;flex:1}
.card-body h3{margin:0;font-size:14px;font-weight:700;line-height:1.45;min-height:2.6em}
.card-body h3 a{display:block}
.price{font-size:15px;font-weight:900;color:var(--plum)}
.price small{font-size:11px;font-weight:600;color:var(--muted)}
.card-foot{margin-top:auto;padding-top:8px;display:flex;gap:6px}
.card-foot .btn{font-size:12px;padding:9px 6px;white-space:nowrap}

/* placeholder tile */
.ph{
  position:relative;width:100%;height:100%;display:grid;place-content:center;justify-items:center;
  gap:8px;padding:12px;text-align:center;color:#fff;
  background:
    linear-gradient(140deg,var(--ph1,#6B2B45),var(--ph2,#3A1428));
}
.ph:after{
  content:"";position:absolute;inset:6px;border:1px dashed rgba(255,255,255,.35);border-radius:12px;
}
.ph svg{width:26px;height:26px;opacity:.9}
.ph .ph-name{font-size:12px;font-weight:700;line-height:1.4;max-width:92%}
.ph .ph-note{font-size:9.5px;letter-spacing:.3px;opacity:.8;background:rgba(0,0,0,.18);padding:2px 8px;border-radius:999px}
.ph[data-cat="moroccan"]{--ph1:#8A5A2B;--ph2:#4A2C12}
.ph[data-cat="pajamas"]{--ph1:#7A3455;--ph2:#3E1830}
.ph[data-cat="accessories"]{--ph1:#A9793C;--ph2:#5A3A16}
.ph[data-cat="candles"]{--ph1:#8E5A47;--ph2:#43241A}
.ph[data-cat="care"]{--ph1:#4E6B5C;--ph2:#24382E}
.ph[data-cat="bags"]{--ph1:#5B4A6B;--ph2:#2C2338}
.ph[data-cat="boxes"]{--ph1:#8C3350;--ph2:#4A1428}

/* chips */
.chips{display:flex;gap:8px;overflow-x:auto;padding:2px 0 10px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{
  flex:0 0 auto;border:1px solid var(--line);background:var(--paper);color:var(--ink);
  padding:8px 14px;border-radius:999px;font-size:13.5px;font-weight:700;cursor:pointer;
}
.chip[aria-pressed="true"]{background:var(--plum);border-color:var(--plum);color:#fff}

/* trust row */
.trust{display:grid;grid-template-columns:1fr;gap:10px}
@media(min-width:700px){.trust{grid-template-columns:repeat(3,1fr)}}
.trust div{
  background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:14px 16px;
}
.trust b{display:block;font-size:14px;color:var(--plum-deep);margin-bottom:2px}
.trust p{margin:0;font-size:13px;color:var(--muted);line-height:1.7}

/* banner */
.band{
  border-radius:22px;padding:24px 20px;color:#fff;
  background:linear-gradient(120deg,#5C2340,#8A3355 55%,#C39A4E 160%);
  display:flex;flex-wrap:wrap;align-items:center;gap:14px;justify-content:space-between;
}
.band h2{margin:0;font-size:19px;font-weight:900}
.band p{margin:4px 0 0;font-size:13.5px;color:#F6E7EC;max-width:46ch}

/* product detail */
.pdp{display:grid;gap:18px;padding:16px 0 90px}
@media(min-width:820px){.pdp{grid-template-columns:1fr 1fr;gap:30px;padding-bottom:30px;align-items:start}}
.pdp-media{position:relative;border-radius:20px;overflow:hidden;aspect-ratio:1/1;border:1px solid var(--line)}
.pdp-info h1{margin:6px 0 6px;font-size:24px;line-height:1.4;font-weight:900;color:var(--plum-deep)}
.pdp-price{font-size:24px;font-weight:900;color:var(--plum)}
.pdp-price small{font-size:13px;color:var(--muted);font-weight:600}
.cat-tag{font-size:12px;color:var(--gold);font-weight:700}
.pdp-desc{font-size:15px;color:#3F3038;margin:12px 0}
.specs{list-style:none;padding:0;margin:14px 0;display:grid;gap:8px}
.specs li{display:flex;gap:8px;font-size:14px;color:#3F3038;background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:10px 12px}
.specs li:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--gold);margin-top:9px;flex:0 0 auto}
.note{
  background:#FFF8EC;border:1px solid var(--gold-soft);border-radius:14px;
  padding:12px 14px;font-size:13px;color:#5A4426;line-height:1.75;
}
.pdp-buy{display:none}
@media(min-width:820px){.pdp-buy{display:block;margin-top:16px}}
.sticky-buy{
  position:fixed;inset-inline:0;bottom:0;z-index:40;padding:10px 14px calc(10px + env(safe-area-inset-bottom));
  background:rgba(251,245,236,.97);border-top:1px solid var(--line);
  display:flex;gap:10px;align-items:center;
}
.sticky-buy .price{font-size:16px;white-space:nowrap}
@media(min-width:820px){.sticky-buy{display:none}}

/* tables */
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:14px;background:var(--paper)}
table{width:100%;border-collapse:collapse;font-size:14px}
th,td{padding:10px 12px;text-align:right;border-bottom:1px solid var(--line)}
@media(max-width:480px){th,td{padding:9px 7px;font-size:12.5px}}
th{background:var(--rose);color:var(--plum-deep);font-weight:700;font-size:13px}
tr:last-child td{border-bottom:0}

/* prose */
.prose h2{font-size:19px;color:var(--plum-deep);margin:26px 0 8px}
.prose h3{font-size:16px;color:var(--plum);margin:18px 0 6px}
.prose p{margin:0 0 10px;font-size:15px;color:#3F3038}
.prose ul{padding-inline-start:20px;margin:0 0 12px;font-size:15px;color:#3F3038}
.prose li{margin-bottom:6px}
.page-head{padding:24px 0 6px}
.page-head h1{margin:0;font-size:26px;font-weight:900;color:var(--plum-deep)}
.page-head p{margin:6px 0 0;color:var(--muted);font-size:14.5px}

/* box contents */
.contents{list-style:none;padding:0;margin:10px 0 0;display:grid;gap:6px}
.contents li{font-size:13.5px;display:flex;gap:8px;color:#3F3038}
.contents li:before{content:"✦";color:var(--gold);font-size:12px}

/* forms */
.form{display:grid;gap:12px;background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:18px}
label{font-size:13.5px;font-weight:700;display:block;margin-bottom:4px}
input,select,textarea{
  width:100%;font-family:inherit;font-size:15px;padding:12px 14px;border-radius:12px;
  border:1px solid var(--line);background:var(--cream);color:var(--ink);
}
input:focus,select:focus,textarea:focus{outline:2px solid var(--gold-soft);border-color:var(--gold)}
textarea{min-height:100px;resize:vertical}

/* footer */
.site-footer{background:var(--plum-deep);color:#F1E4E9;margin-top:36px;padding:28px 0 20px}
.foot-grid{display:grid;gap:22px}
@media(min-width:760px){.foot-grid{grid-template-columns:1.4fr 1fr 1fr}}
.site-footer h4{margin:0 0 10px;font-size:14px;color:var(--gold-soft);letter-spacing:.3px}
.site-footer a{display:block;font-size:14px;padding:4px 0;opacity:.85}
.site-footer a:hover{opacity:1;color:var(--gold-soft)}
.site-footer p{font-size:13px;opacity:.75;margin:0 0 8px;line-height:1.8}
.foot-brand{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.foot-brand img{height:34px;width:auto}
.foot-bottom{
  border-top:1px solid rgba(255,255,255,.12);margin-top:22px;padding-top:14px;
  display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;font-size:12px;opacity:.65;
}
