:root{
  --bg:#070709;
  --card:#0d0d10;
  --text:#f2f2f2;
  --muted:#b8b8bf;
  --gold1:#c9a75f;
  --gold2:#8b6f2b;
  --line:rgba(255,255,255,.08);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:'Tajawal', system-ui, Arial, sans-serif;
  background: radial-gradient(60% 40% at 50% 0%, rgba(201,167,95,.18), transparent 60%),
              radial-gradient(40% 40% at 0% 30%, rgba(255,255,255,.06), transparent 60%),
              var(--bg);
  color:var(--text);
}

a{color:inherit;text-decoration:none}
.container{width:min(1100px, 92%); margin:0 auto}

.header{
  position:sticky; top:0; z-index:10;
  backdrop-filter: blur(10px);
  background: rgba(7,7,9,.55);
  border-bottom:1px solid var(--line);
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{font-weight:800; letter-spacing:.3px}
.nav{display:flex; gap:18px; font-weight:600; color:var(--muted)}
.nav a:hover{color:var(--text)}

.section{padding:46px 0}
.hero{padding:42px 0 20px}
.hero__grid{
  display:grid; gap:22px;
  grid-template-columns: 1.1fr .9fr;
  align-items:center;
}
@media (max-width: 900px){
  .hero__grid{grid-template-columns:1fr}
}
.pill{
  display:inline-flex;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(201,167,95,.35);
  background: rgba(201,167,95,.10);
  color: #f5e7c6;
  font-weight:600;
}
h1{margin:14px 0 8px; font-size:52px; line-height:1.05}
@media (max-width: 520px){ h1{font-size:40px} }
.muted{color:var(--muted)}
.hero__actions{display:flex; gap:12px; margin-top:18px; flex-wrap:wrap}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.hero__card{padding:14px}
.hero__img{
  width:100%; height:auto;
  border-radius: 14px;
  border:1px solid var(--line);
  display:block;
}
.hero__thumbs{
  margin-top:12px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:10px;
}
.hero__thumbs img{
  width:100%; height:76px; object-fit:cover;
  border-radius:12px;
  border:1px solid var(--line);
  opacity:.95;
}

.btn{
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color:var(--text);
  padding:12px 16px;
  border-radius: 14px;
  font-weight:800;
  cursor:pointer;
  transition: transform .08s ease, filter .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover{filter:brightness(1.08)}
.btn:active{transform: translateY(1px)}
.btn--gold{
  border-color: rgba(201,167,95,.55);
  background: linear-gradient(180deg, rgba(201,167,95,.34), rgba(139,111,43,.22));
}
.btn--ghost{
  background: transparent;
}
.btn--disabled{
  opacity:.55;
  cursor:not-allowed;
}

.section--order .order__grid{
  display:grid; gap:18px;
  grid-template-columns: .8fr 1.2fr;
  align-items:start;
}
@media (max-width: 900px){
  .section--order .order__grid{grid-template-columns:1fr}
}

.kv{display:grid; grid-template-columns: 1fr auto; gap:10px; margin-top:10px}
.kv > div:nth-child(odd){color:var(--muted)}
.mini{
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid var(--line);
  display:flex; align-items:baseline; justify-content:space-between;
}
.big{font-size:34px; font-weight:800; color:#f5e7c6}

.form label span{display:block; margin-bottom:8px; color:var(--muted); font-weight:600}
input{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.28);
  color:var(--text);
  outline:none;
}
input:focus{
  border-color: rgba(201,167,95,.55);
  box-shadow: 0 0 0 3px rgba(201,167,95,.14);
}

.grid2{display:grid; grid-template-columns: 1fr 1fr; gap:12px; margin-top:10px}
@media (max-width: 560px){ .grid2{grid-template-columns:1fr} }

.qty{display:flex; align-items:center; gap:10px}
.qty__btn{
  width:44px; height:44px; border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color:var(--text);
  font-weight:800;
  cursor:pointer;
}
.qty input{flex:1; text-align:center}

.prices{
  display:flex; gap:14px;
  margin-top:14px;
  padding:12px;
  border-radius: 14px;
  border:1px dashed rgba(255,255,255,.14);
}
.prices > div{flex:1}
.price{font-size:22px; font-weight:800}

.note{display:block; margin-top:10px}

.section--gallery .gallery{
  margin-top:14px;
  column-count: 3;
  column-gap: 14px;
}
@media (max-width: 900px){ .section--gallery .gallery{column-count:2} }
@media (max-width: 520px){ .section--gallery .gallery{column-count:1} }
.section--gallery .gallery img{
  width:100%;
  margin: 0 0 14px;
  border-radius: 16px;
  border:1px solid var(--line);
  break-inside: avoid;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.footer{
  padding: 24px 0 40px;
  border-top:1px solid var(--line);
  background: rgba(0,0,0,.12);
}
.footer__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; flex-wrap:wrap;
}

/* Modal */
.dialog::backdrop{background: rgba(0,0,0,.72)}
.dialog{
  border:none;
  padding:0;
  background: transparent;
}
.dialog__box{
  width: min(520px, 92vw);
  border-radius: 18px;
  background: rgba(10,10,14,.96);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  padding: 18px;
  color: #fff; /* نص أبيض */
}
.dialog__box h3{margin:0 0 8px}
.dialog__p{margin:0 0 10px; color:#fff}
.dialog__details{
  white-space:pre-wrap;
  font-family:'Tajawal', system-ui, Arial, sans-serif;
  color:#fff;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 12px;
  margin: 0 0 12px;
}
