/* جوهرة روعة: ألوان الملصق */
:root{--gold:#C68F2B;--gold-deep:#855D15;--ink:#28282A;--mist:#F4F3F1;--line:#E2DFD8;--soft:#5E5C5A;--cut:polygon(12% 0,88% 0,100% 12%,100% 88%,88% 100%,12% 100%,0 88%,0 12%)}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:80px}
body{font-family:"Source Sans 3",Almarai,sans-serif;color:var(--ink);background:#fff;font-size:16px;line-height:1.8;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}
a{color:inherit}
h1,h2,h3{font-weight:800;line-height:1.45}
h2{font-size:clamp(26px,4vw,36px);margin-bottom:16px}
h3{font-size:19px}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer;background:none;border:0}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.wrap{max-width:1120px;margin-inline:auto;padding-inline:20px}
section{padding-block:56px}
.mist{background:var(--mist)}
.center{text-align:center}
.narrow{max-width:760px}
.sub{color:var(--soft);margin-bottom:24px}
.wait{display:inline-block;border:1px dashed var(--gold);color:var(--gold-deep);padding:0 8px;font-size:13px;font-weight:700;line-height:1.9;white-space:nowrap}

.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 20px;font-weight:700;text-decoration:none;border:2px solid transparent;border-radius:4px;transition:background .2s,color .2s}
.btn.big{min-height:52px;padding:0 32px;font-size:17px}
.btn.gold{background:var(--gold);color:#1b1b1d}
.btn.gold:hover{background:var(--ink);color:#fff}
.btn.dark{background:var(--ink);color:#fff}
.btn.dark:hover{background:var(--gold);color:#1b1b1d}
.btn.line{border-color:currentColor}
.btn.line:hover{background:var(--ink);border-color:var(--ink);color:#fff}

.preview{background:var(--ink);color:#EBCB8C;font-size:12.5px;text-align:center;padding:6px 16px;line-height:1.7}
header{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid var(--line)}
header .wrap{display:flex;align-items:center;gap:16px;height:68px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none}
.mark{width:40px;height:32px;flex:none}
.word{display:flex;flex-direction:column;line-height:1.35}
.word b{font-weight:800;font-size:15px;white-space:nowrap}
.word small{color:var(--gold-deep);font-size:13px;font-weight:700;text-align:right}
header nav{display:none;margin-inline:auto;gap:18px;font-size:14px;font-weight:700}
header nav a{text-decoration:none;padding-block:10px;border-bottom:2px solid transparent}
header nav a:hover{border-color:var(--gold)}
header .btn{margin-inline-start:auto;padding:0 14px;font-size:14px}
.menu{position:relative}
.menu summary{list-style:none;width:44px;height:44px;display:grid;place-items:center;cursor:pointer}
.menu summary::-webkit-details-marker{display:none}
.menu summary span,.menu summary span::before,.menu summary span::after{content:"";display:block;width:22px;height:2px;background:var(--ink)}
.menu summary span{position:relative}
.menu summary span::before{position:absolute;top:-7px}
.menu summary span::after{position:absolute;top:7px}
.menu div{position:absolute;left:0;top:56px;background:#fff;border:1px solid var(--line);min-width:200px;display:flex;flex-direction:column;box-shadow:0 18px 40px #0002}
.menu div a{text-decoration:none;padding:12px 18px;font-weight:700;border-bottom:1px solid var(--line)}

/* الواجهة */
.hero{padding-block:24px 48px;overflow:hidden}
.hero .wrap{display:flex;flex-direction:column;gap:16px}
.hero .copy{display:contents}
.hero h1{order:1;font-size:clamp(30px,8.4vw,54px);line-height:1.4}
.hero .lead{order:2;color:var(--soft);max-width:30em}
.hero .stage{order:3}
.hero .actions{order:4;display:flex;gap:12px}
.hero .actions .btn{flex:1}
.hero .ask{order:5;background:var(--mist);padding:16px;margin-top:8px}
.ask h2{font-size:17px;margin-bottom:10px}
.ask p{font-size:13px;color:var(--soft);margin-top:8px}
.stage{position:relative;width:100%;max-width:300px;aspect-ratio:1/1.12;margin-inline:auto}
.stage .gem{position:absolute;inset:0 0 auto;width:100%}
.stage img{position:absolute;bottom:0;left:16%;width:68%;filter:drop-shadow(0 22px 18px #0005)}
.rise polygon{animation:facet .6s ease both;animation-delay:calc(var(--i)*70ms)}
@keyframes facet{from{opacity:0;transform:translateY(-24px)}}

.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips button{min-height:44px;padding:0 16px;border:1px solid var(--line);background:#fff;border-radius:4px;font-weight:700;font-size:14px}
.chips button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#fff}

/* الباقات: البلاطة بقصّة الجوهرة */
.pkgs{display:grid;gap:40px;margin-top:28px}
.pkg{display:flex;flex-direction:column;gap:10px;max-width:420px;width:100%;margin-inline:auto}
.pkg[hidden]{display:none}
.pkg .shot{background:radial-gradient(circle at 50% 40%,#55545a,var(--ink) 68%);aspect-ratio:1/.95;clip-path:polygon(0 0,100% 0,100% 78%,50% 100%,0 78%);display:grid;place-items:center;padding:6% 7% 18%}
.pkg .shot img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 18px 14px #0007)}
.pkg dl{border-block:1px solid var(--line);padding-block:8px}
.pkg dl div{display:flex;justify-content:space-between;gap:12px;font-size:14px;padding-block:3px}
.pkg dt{color:var(--soft)}
.pkg .price b{font-size:30px;font-weight:700}
.pkg .btn{margin-top:auto}

.night{background:var(--ink);color:#fff}
.occ{list-style:none;display:grid;column-gap:56px;margin-top:8px}
.occ li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:18px;border-bottom:1px solid #ffffff24}
.occ h3::before{content:"";display:inline-block;width:14px;height:12px;margin-inline-end:10px;background:var(--gold);clip-path:polygon(0 0,100% 0,50% 100%)}
.occ p{color:#ffffffb8;font-size:14px}
.night .btn.line{color:var(--gold);flex:none}
.night .btn.line:hover{background:var(--gold);border-color:var(--gold);color:#1b1b1d}

.trays{display:grid;gap:14px}
.tray{display:grid;grid-template-columns:120px 1fr;grid-template-rows:1fr 1fr;column-gap:16px;text-align:right;border:1px solid var(--line);padding:10px;border-radius:4px}
.tray:hover{border-color:var(--gold)}
.tray .shot{grid-row:1/3;background:var(--mist);clip-path:var(--cut);aspect-ratio:1;display:grid;place-items:center;padding:8px}
.tray .shot img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 8px 6px #0003)}
.tray b{align-self:end;font-weight:800}
.tray i{align-self:start;font-style:normal;color:var(--gold-deep);font-size:14px;font-weight:700}

.sweets{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:8px}
.sweets figure{text-align:center}
.sweets .shot{display:grid;place-items:center;aspect-ratio:1;background:#fff;clip-path:var(--cut);padding:12%}
.sweets img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 10px 8px #0003)}
.sweets figcaption{font-weight:700;margin-top:6px;font-size:15px}

.steps{list-style:none;counter-reset:s;display:grid;gap:18px;margin-bottom:24px}
.steps li{counter-increment:s;display:flex;align-items:center;gap:16px;font-weight:800}
.steps li::before{content:counter(s);flex:none;width:52px;height:46px;display:grid;place-items:center;padding-bottom:10px;background:var(--gold);color:#1b1b1d;font:700 20px "Source Sans 3";clip-path:polygon(22% 0,78% 0,100% 34%,50% 100%,0 34%)}

.faq details{border-bottom:1px solid var(--line)}
.faq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:16px;padding-block:16px;font-weight:700}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:22px;color:var(--gold-deep);line-height:1}
.faq details[open] summary::after{content:"−"}
.faq p{padding-bottom:16px;color:var(--soft)}
.about{margin-bottom:12px}

body>footer{background:var(--ink);color:#fff;padding-block:48px 96px;text-align:center}
body>footer .wrap{display:flex;flex-direction:column;align-items:center;gap:20px}
body>footer .brand{flex-direction:column;text-align:center}
body>footer .mark{width:96px;height:76px}
body>footer .word b{font-size:22px}
body>footer .word small{color:var(--gold);font-size:18px;text-align:center}
.tel{font:700 32px "Source Sans 3";text-decoration:none;letter-spacing:.5px}
.social{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.social a{display:flex;flex-direction:column;align-items:center;min-width:104px;padding:8px 14px;border:1px solid #ffffff2e;text-decoration:none;font-size:13px}
.social a:hover{border-color:var(--gold)}
.social bdi{color:var(--gold);font-size:16px;font-weight:700}

.float{position:fixed;left:16px;bottom:16px;z-index:15;width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:var(--gold);color:#fff;box-shadow:0 10px 26px #0004}
.float svg{width:32px;height:32px}

/* نافذة الطلب */
dialog{width:min(560px,100%);max-width:100%;max-height:92dvh;margin:auto auto 0;border:0;border-radius:14px 14px 0 0;padding:0;color:var(--ink);overflow:auto}
dialog::backdrop{background:#141416b3}
body:has(dialog[open]){overflow:hidden}
.dhead{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;background:var(--ink);color:#fff;padding:8px 18px}
.dhead h2{margin:0;font-size:20px}
.dhead button{width:44px;height:44px;font-size:28px;line-height:1}
#orderForm{padding:18px;display:flex;flex-direction:column;gap:22px}
fieldset{border:0;min-width:0}
legend{font-weight:800;margin-bottom:10px}
.pick{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.pick label{position:relative;cursor:pointer}
.pick input{position:absolute;opacity:0;inset:0}
.pick span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;height:100%;min-height:48px;padding:8px 4px;border:2px solid var(--line);border-radius:4px;text-align:center;font-size:13px;font-weight:700;line-height:1.6}
.pick input:checked+span{border-color:var(--gold);background:#C68F2B1a}
.pick input:focus-visible+span{outline:3px solid var(--gold)}
.shapes img{width:100%;aspect-ratio:4/3;object-fit:contain}
.fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.fields legend{float:right;grid-column:1/-1;width:100%;margin:0}
.fields label{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:700;min-width:0}
.fields .wide{grid-column:1/-1}
.fields input,.fields select,.fields textarea{width:100%;min-width:0;min-height:46px;border:1px solid #BDB9B1;border-radius:4px;padding:8px 10px;background:#fff;font-size:16px;font-weight:400}
.fields [aria-invalid=true]{border-color:#B3261E}
#formError{color:#B3261E;font-weight:700;font-size:14px}
.note{font-size:13px;color:var(--soft);text-align:center;margin-top:-12px}

@media (min-width:640px){
 .trays{grid-template-columns:repeat(3,1fr)}
 .tray{display:flex;flex-direction:column;text-align:center;padding:14px}
 .tray .shot{width:100%;margin-bottom:8px}
 .sweets{grid-template-columns:repeat(4,1fr)}
 .occ{grid-template-columns:1fr 1fr}
 .pkgs{grid-template-columns:repeat(3,1fr);gap:24px}
 .steps{grid-template-columns:repeat(4,1fr)}
 .steps li{flex-direction:column;text-align:center}
 dialog{margin:auto;border-radius:8px}
}
@media (min-width:900px){
 header nav{display:flex}
 header .btn{margin-inline-start:0}
 .menu{display:none}
 section{padding-block:88px}
 .hero{padding-block:56px 72px}
 .hero .wrap{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:48px}
 .hero .copy{display:flex;flex-direction:column;gap:20px}
 .hero .actions .btn{flex:0 0 auto}
 .hero .stage{max-width:500px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}

/* المتجر */
[hidden]{display:none!important}
.cartbtn{gap:8px}
.cartbtn b{min-width:24px;height:24px;display:inline-grid;place-items:center;border-radius:12px;background:var(--ink);color:#fff;font-size:13px}
.pkg .meta{color:var(--soft);font-size:14px}
.sweets figure{display:flex;flex-direction:column;align-items:center;gap:6px}
.sweets .shot{width:100%}
.sweets .btn{width:100%}
.tray[aria-pressed=true]{border:2px solid var(--gold)}
#lines{list-style:none;display:grid;gap:10px}
#lines li{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding-bottom:10px}
#lines img{width:64px;height:56px;object-fit:contain}
#lines li>div:first-of-type{flex:1;display:flex;flex-direction:column;min-width:0}
#lines span{font-size:13px;color:var(--soft)}
.qty{display:flex;align-items:center;gap:6px}
.qty button{width:40px;height:40px;border:1px solid var(--line);font-size:20px;line-height:1}
.qty output{min-width:22px;text-align:center;font-weight:700}
.total{display:flex;justify-content:space-between;font-weight:800;font-size:18px}
.done{padding:36px 20px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:14px}
#send:disabled{opacity:.6;cursor:wait}

/* جوالات 375 وأصغر: الهيدر ما يطلع عن الشاشة */
@media (max-width:389px){header .wrap{gap:8px}header .mark{width:32px;height:26px}header .word b{font-size:14px}header .word small{font-size:12px}header .btn{padding:0 10px}}
