@font-face{font-family:Noto Arabic;src:url('./assets/NotoSansArabic-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Noto Arabic;src:url('./assets/NotoSansArabic-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
:root{--ink:#251724;--muted:#675565;--plum:#231223;--gold:#ead19b;--paper:#f8f4ef;--line:#ded3cd;--frame:min(1440px,calc(100% - 112px));color:var(--ink);background:var(--paper);font-family:"Noto Arabic",Tahoma,Arial,sans-serif;font-size:16px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;line-height:1.65}
[hidden]{display:none!important}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
button{cursor:pointer}
img{display:block;max-width:100%}
:focus-visible{outline:3px solid #a96c29;outline-offset:4px}
.frame{width:var(--frame);margin-inline:auto}
.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus{position:fixed;z-index:9;background:white;padding:12px;inset:8px auto auto 8px}
.topbar{background:#201020;color:#fff3e1;border-bottom:1px solid #50374a}
.header-inner,.foot{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:73px}
.brand{display:inline-flex;align-items:center;gap:11px;direction:ltr;color:var(--gold)}
.brand img{object-fit:contain;border-radius:5px}
.brand span{font:1.2rem Georgia,serif;letter-spacing:.15em}
.brand small{font:600 .59rem Arial,sans-serif;letter-spacing:.28em;display:block;text-align:center;margin-top:3px}
nav{display:flex;gap:clamp(15px,4vw,42px);font-size:.94rem}
nav a:hover,.foot a:hover{text-decoration:underline;text-underline-offset:5px}
.hero{min-height:460px;display:grid;align-items:center;color:#fff6ea;background:#230f21 url('./assets/hero.webp') 50% 54%/cover no-repeat;position:relative;isolation:isolate}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(270deg,#221021 0%,#221021ed 26%,#22102180 51%,transparent 77%)}
.hero-content{padding-block:64px 74px}
.wordmark{color:var(--gold);font:600 .88rem Arial,sans-serif;letter-spacing:.24em;margin:0 0 16px;text-align:right}
h1,h2,h3,p{margin-top:0}
h1{font-size:clamp(3rem,7vw,6rem);letter-spacing:-.065em;line-height:1.17;margin-bottom:25px}
.hero p:not(.wordmark){max-width:390px;color:#f6e9e7;line-height:1.95;margin-bottom:27px}
.cta,.outline{padding:10px 22px;border-radius:6px;min-height:46px;display:inline-flex;align-items:center;justify-content:center;font-weight:700}
.cta{background:var(--gold);color:#261822}
.cta:hover{background:#fae3b4}
.catalog{padding-block:50px 74px;scroll-margin-top:12px}
.section-title{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;border-bottom:1px solid var(--line);padding-bottom:21px;margin-bottom:23px}
.section-title h2{font-size:clamp(1.8rem,4vw,2.8rem);line-height:1.3;margin-bottom:5px}
#result-count{margin:0;color:var(--muted);font-size:.95rem}
.controls{display:flex;gap:9px}
.search,.sort{display:flex;align-items:center;background:white;border:1px solid var(--line);border-radius:6px;min-height:47px;color:var(--muted)}
.search{gap:8px;padding-inline:12px}
.search input,.sort select{background:transparent;color:var(--ink);border:0;height:100%;min-height:45px}
.search input{width:clamp(126px,16vw,235px)}
.sort{position:relative}
.sort::after{content:"";position:absolute;left:13px;width:7px;height:7px;border:solid var(--ink);border-width:0 0 1px 1px;transform:rotate(-45deg);pointer-events:none;margin-top:-4px}
.sort select{appearance:none;padding-inline:12px 30px;cursor:pointer}
.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.card{min-width:0;background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden}
.photo{display:block;width:100%;background:#231222;padding:0;border:0;overflow:hidden}
.photo:focus-visible{outline-offset:-4px}
.photo img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;transition:transform .24s ease}
.photo:hover img{transform:scale(1.025)}
.card-meta{padding:12px 14px 15px}
h3{font-size:1rem;line-height:1.6;margin:0 0 4px;text-align:start;overflow-wrap:anywhere}
.price{color:#6d3445;font-weight:700;margin:0}
.outline{background:transparent;border:1px solid #a98e95;color:var(--plum)}
.outline:hover{background:#efe3e7}
.more{display:flex;margin:32px auto 0}
.empty{padding:38px 0;text-align:center}
footer{background:#211121;color:#f9eddc}
.foot span{font:1.15rem Georgia,serif;color:var(--gold)}
.foot a{font-size:.9rem}
dialog{border:1px solid var(--line);border-radius:12px;padding:0;background:var(--paper);color:var(--ink);width:min(760px,calc(100% - 28px));max-height:calc(100dvh - 30px)}
dialog::backdrop{background:#1c1020ce}
.detail-layout{position:relative;display:grid;grid-template-columns:1fr 1fr;align-items:center}
.detail-layout img{width:100%;height:auto}
.detail-meta{padding:26px}
.detail-meta h2{line-height:1.4;margin-bottom:12px}
.detail-meta .price{margin-bottom:20px}
.close{position:absolute;left:13px;top:13px;border-radius:50%;width:41px;height:41px;border:1px solid var(--line);background:white;color:var(--ink);font:1.7rem Arial}
@media(max-width:1000px){:root{--frame:calc(100% - 60px)}.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}
@media(max-width:670px){:root{--frame:calc(100% - 30px)}.header-inner{min-height:65px}.brand img{width:39px;height:38px}.brand{gap:6px}.brand span{font-size:1rem}nav{gap:13px}.hero{min-height:431px;background-position:39% center}.hero::before{background:linear-gradient(270deg,#221021f5 1%,#221021ad 56%,#22102130 100%)}.hero-content{padding-block:83px 67px}.hero p:not(.wordmark){max-width:245px}.catalog{padding-block:33px 50px}.section-title{display:block}.controls{margin-top:13px}.search{flex:1;min-width:0}.search input{width:100%;min-width:0}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.card-meta{padding:9px}.detail-layout{display:block}.detail-layout img{width:auto;height:min(54dvh,500px);margin:auto}.detail-meta{padding:15px 20px 21px}.foot{min-height:67px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

.card-actions{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:8px}
.order-trigger{min-height:44px;padding:4px 14px;border:1px solid #886170;border-radius:6px;background:#fff;color:var(--plum);font-weight:700}
.order-trigger:hover{background:#f3e6ea}
#detail-order,.order-layout .cta{border:0}
#order{max-width:500px}
.order-layout{position:relative;padding:26px}
.order-layout h2{line-height:1.4;margin:0 0 14px;padding-inline-end:54px}
.order-summary{background:#f0e6e8;border-radius:7px;padding:10px 13px;margin-bottom:14px}
.order-summary p{margin:0;overflow-wrap:anywhere}
#order-name{font-weight:700}
#order-form label{display:block;margin:10px 0 3px;font-size:.95rem;font-weight:700}
#order-form input:not([type="hidden"]),#order-form textarea{width:100%;padding:8px 11px;border:1px solid #b8a5b0;border-radius:6px;background:white;color:var(--ink);min-height:43px}
#order-form textarea{resize:vertical}
.order-note{margin:10px 0 15px;color:var(--muted);font-size:.88rem}
#order-form .cta{width:100%;background:var(--plum);color:#fff4e1}
#order-form .cta:hover{background:#442743}
#order-form .cta:disabled{opacity:.65;cursor:wait}
.confirmation{margin-block:12vh;max-width:540px;background:white;border:1px solid var(--line);border-radius:12px;padding:30px}
.confirmation img{border-radius:8px;margin-bottom:22px}
.confirmation h1{font-size:2rem;letter-spacing:normal;line-height:1.35;margin-bottom:14px}
.order-feedback{background:#fff5ed;border:1px solid #e5c6b3;border-radius:7px;padding:10px 13px;margin:0 0 12px;color:#723725;font-size:.9rem}
.order-feedback p{margin:0 0 3px}
.order-feedback a{font-weight:700;text-decoration:underline;text-underline-offset:3px}
.order-success{background:#edf6ee;border:1px solid #b9d5c0;border-radius:8px;padding:16px;color:#23472f}
.order-success h3{font-size:1.2rem}
.order-success p{margin:7px 0 12px}
.order-success .cta{margin-top:3px}
.order-submit.is-sending{gap:9px}
.order-submit.is-sending::before{content:"";width:14px;height:14px;border:2px solid #ffffff55;border-top-color:#fff;border-radius:50%;animation:order-spin .8s linear infinite}
@keyframes order-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.order-submit.is-sending::before{animation:none}}
