@font-face{font-family:Montserrat;font-weight:400;src:url(../fonts/montserrat-latin-400-normal.woff2) format("woff2");font-display:swap}
@font-face{font-family:Montserrat;font-weight:600;src:url(../fonts/montserrat-latin-600-normal.woff2) format("woff2");font-display:swap}
@font-face{font-family:Montserrat;font-weight:800;src:url(../fonts/montserrat-latin-800-normal.woff2) format("woff2");font-display:swap}
@font-face{font-family:Cairo;font-weight:400;src:url(../fonts/cairo-arabic-400-normal.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F,U+2010-2011,U+25CC;font-display:swap}
@font-face{font-family:Cairo;font-weight:600;src:url(../fonts/cairo-arabic-600-normal.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F,U+2010-2011,U+25CC;font-display:swap}
@font-face{font-family:Cairo;font-weight:800;src:url(../fonts/cairo-arabic-800-normal.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F,U+2010-2011,U+25CC;font-display:swap}
/* ===== Part 3: shared design (header, footer, colors, mobile) ===== */
:root{--font:Montserrat,Cairo,system-ui,-apple-system,"Segoe UI",Tahoma,sans-serif;
 --bg:#f8efe1;--bg2:#f1e4cc;--card:#fffaf1;--ink:#17170f;--muted:#6b6a56;--line:rgba(74,94,34,.25);
 --olive:#4a5e22;--olive-d:#3b4a1a;--olive-t:#4a5e22;--gold:#d9953a;--price:#d4611f;--red:#b4432f;--chip:#f3e6cf;--shadow:0 10px 30px rgba(74,60,30,.12)}
html[data-theme=dark]{--bg:#12170d;--bg2:#1a2113;--card:#1d2515;--ink:#f3ecdc;--muted:#aaac95;--line:rgba(243,236,220,.16);
 --olive-t:#a9c26a;--price:#f0a35e;--red:#ff9a8a;--chip:#1f2918;--shadow:0 10px 30px rgba(0,0,0,.35)}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--font);background:var(--bg);color:var(--ink);line-height:1.55;overflow-x:hidden;transition:background .3s,color .3s;
 background-image:radial-gradient(circle at 8% 12%,rgba(190,160,120,.25),transparent 32%),radial-gradient(circle at 95% 40%,rgba(120,140,80,.14),transparent 30%)}
html[data-theme=dark] body{background-image:radial-gradient(circle at 8% 12%,rgba(120,140,80,.14),transparent 32%)}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{width:min(1120px,92%);margin:0 auto;position:relative;z-index:1}
/* floating glass header (always dark glass) */
.header{position:sticky;top:14px;z-index:20;width:min(1120px,94%);margin:14px auto 0}
.header .container{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 10px 8px 16px;border:1px solid rgba(232,200,138,.55);border-radius:999px;background:linear-gradient(135deg,rgba(38,44,28,.9),rgba(20,25,15,.9));backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 10px 40px rgba(40,30,10,.3);color:#f3ecdc}
html[dir=rtl] .header .container{padding:8px 16px 8px 10px}
.brand img{height:30px;width:auto}
.nav{display:flex;gap:6px;font-size:14px;font-weight:600;color:#c9c6b2}
.nav a{padding:7px 14px;border-radius:999px;transition:background .2s,color .2s}
.nav a:hover{color:#fff}
.nav a.active{background:rgba(232,200,138,.16);color:#e8c88a}
.cart-link{display:inline-flex;align-items:center;gap:8px;font-weight:800;background:var(--gold);color:#17170f;padding:7px 7px 7px 16px;border-radius:999px;font-size:14px}
html[dir=rtl] .cart-link{padding:7px 16px 7px 7px}
.cart-count{background:#17170f;color:#e8c88a;border-radius:999px;min-width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;font-size:12px}
/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--olive);color:#fff;border:0;padding:13px 26px;border-radius:12px;font-family:inherit;font-weight:800;font-size:15px;cursor:pointer;box-shadow:0 6px 18px rgba(74,94,34,.28);transition:background .2s,transform .2s}
.btn:hover{background:var(--olive-d)}
.btn.ghost{background:transparent;color:var(--olive-t);border:1.5px solid var(--olive-t);box-shadow:none}
.btn.small{padding:10px 18px;font-size:14px}
/* section heads, banner style: pill with lines */
.sec-head{display:flex;align-items:center;gap:18px;margin:64px 0 30px}
.sec-head::before,.sec-head::after{content:"";flex:1;height:2px;background:var(--olive-t);opacity:.8}
.sec-head h2{font-weight:800;font-size:clamp(18px,3vw,28px);color:var(--olive-t);text-transform:uppercase;letter-spacing:.06em;padding:6px 26px;border-radius:999px;background:var(--chip);border:1.5px solid var(--line);white-space:nowrap}
/* ===== Part 1: home ===== */
.hero{padding-top:28px}
.hero-panel{position:relative;overflow:hidden;border-radius:26px;background:#d8bd9a;min-height:440px;display:flex;align-items:center;box-shadow:var(--shadow);color:#17170f}
.hero-img{position:absolute;inset:0 0 0 auto;width:64%;height:100%;object-fit:cover;object-position:75% 20%;-webkit-mask-image:linear-gradient(90deg,transparent,#000 30%);mask-image:linear-gradient(90deg,transparent,#000 30%)}
html[dir=rtl] .hero-img{inset:0 auto 0 0;-webkit-mask-image:linear-gradient(270deg,transparent,#000 30%);mask-image:linear-gradient(270deg,transparent,#000 30%);transform:scaleX(-1)}
.hero-copy{position:relative;z-index:1;padding:50px 56px;max-width:55%}
.hero-copy h1{font-size:clamp(34px,5.4vw,66px);font-weight:800;line-height:1.08;letter-spacing:-.01em;margin-bottom:14px}
.hero-copy p{font-size:clamp(15px,1.8vw,20px);font-weight:600;margin-bottom:26px}
.hero-tag{position:absolute;z-index:2;top:0;inset-inline-end:7%;width:34px}
.hero-tag svg{display:block;width:34px;height:auto}
.cats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.cat{background:var(--card);border:1px solid var(--line);border-radius:18px;overflow:hidden;text-align:center;font-weight:800;box-shadow:var(--shadow);transition:transform .25s}
.cat:hover{transform:translateY(-4px)}
.cat img{aspect-ratio:4/5;object-fit:cover;width:100%}
.cat span{display:block;padding:12px}
/* shopping journey */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;text-align:center}
.step{position:relative}
.step .circ{width:84px;height:84px;margin:0 auto 12px;border-radius:50%;background:var(--chip);border:1.5px solid var(--line);display:flex;align-items:center;justify-content:center;color:var(--olive-t)}
.step .circ svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.step b{font-size:clamp(14px,2vw,20px);font-weight:800}
.step:not(:last-child)::after{content:"\2192";position:absolute;top:26px;inset-inline-end:-14px;font-size:22px;color:var(--olive-t)}
html[dir=rtl] .step:not(:last-child)::after{content:"\2190"}
/* university: cards in the banner style */
.edu{max-width:680px;margin:0 auto;position:relative}
.edu::before{content:"";position:absolute;inset-inline-start:26px;top:30px;bottom:30px;width:2px;background:var(--line)}
.edu-row{display:grid;grid-template-columns:54px 1fr;gap:16px;align-items:center;margin-bottom:22px;position:relative}
.edu-ico{width:54px;height:54px;border-radius:50%;border:1.5px solid var(--line);background:var(--card);display:flex;align-items:center;justify-content:center;color:var(--olive-t);position:relative;z-index:1}
.edu-ico svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.edu-card{display:flex;align-items:center;gap:16px;background:var(--card);border:1px solid var(--line);border-inline-start:6px solid var(--olive);border-radius:16px;padding:16px 18px;box-shadow:var(--shadow)}
.edu-card img{width:60px;height:60px;border-radius:50%;flex:none;object-fit:cover;background:#fff}
.edu-card .t{flex:1;min-width:0}
.edu-card small{display:block;letter-spacing:.18em;font-size:11px;font-weight:800;color:var(--gold);text-transform:uppercase}
.edu-card strong{display:block;font-size:clamp(17px,2.4vw,22px);font-weight:800;line-height:1.3}
.edu-card em{display:block;font-style:normal;font-size:13px;color:var(--muted);margin-top:2px}
.edu-card .arr{font-size:22px;color:var(--olive-t);flex:none}
/* ===== Part 2: products ===== */
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.card{background:var(--card);border:1px solid var(--line);border-radius:18px;overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--shadow);transition:transform .25s}
.card:hover{transform:translateY(-4px)}
.card img{aspect-ratio:4/5;object-fit:cover;width:100%}
.card .info{padding:16px;display:flex;flex-direction:column;gap:10px;flex:1}
.card h3{font-size:17px;font-weight:800}
.price{color:var(--price);font-weight:800;font-size:19px}
.sizes{display:flex;gap:7px}
.sizes button{width:40px;height:36px;border:1.5px solid var(--line);background:transparent;color:var(--ink);border-radius:999px;cursor:pointer;font-family:inherit;font-weight:800;font-size:13px;transition:background .2s,color .2s,border-color .2s}
.sizes button:hover{border-color:var(--olive-t)}
.sizes button.sel{background:var(--olive);color:#fff;border-color:var(--olive)}
.card .btn{margin-top:auto;width:100%}
/* ===== Part 5: cart ===== */
.cart-wrap{display:grid;grid-template-columns:2fr 1fr;gap:24px;align-items:start}
.cart-item{display:grid;grid-template-columns:84px 1fr auto;gap:16px;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:14px;margin-bottom:14px;box-shadow:var(--shadow)}
.cart-item img{width:84px;height:104px;object-fit:cover;border-radius:10px}
.cart-item .end{text-align:end}
.qty{display:inline-flex;align-items:center;border:1.5px solid var(--line);border-radius:999px;overflow:hidden;margin-top:8px}
.qty button{width:34px;height:34px;border:0;background:transparent;color:var(--ink);cursor:pointer;font-size:17px;font-weight:800}
.qty button:hover{background:rgba(74,94,34,.12)}
.qty span{width:34px;text-align:center;font-weight:800}
.remove{background:none;border:0;color:var(--red);cursor:pointer;font-weight:800;font-size:13px;font-family:inherit}
.summary{background:var(--card);border:1px solid var(--line);border-top:8px solid var(--olive);border-radius:16px;padding:22px;position:sticky;top:96px;box-shadow:var(--shadow)}
.summary h3{font-weight:800;font-size:16px;text-transform:uppercase;letter-spacing:.06em;color:var(--olive-t);margin-bottom:10px}
.summary .row{display:flex;justify-content:space-between;padding:6px 0;color:var(--muted);font-weight:600}
.summary .total{border-top:1px solid var(--line);margin-top:10px;padding-top:14px;font-size:20px;font-weight:800;color:var(--ink)}
.summary input{width:100%;padding:12px 14px;border:1.5px solid var(--line);border-radius:12px;margin:12px 0 8px;background:transparent;color:var(--ink);font-family:inherit}
.summary input::placeholder{color:var(--muted)}
.summary .btn{width:100%;margin-top:8px}
.msg{padding:10px 14px;border-radius:12px;margin:10px 0;font-size:14px;display:none}
.msg.err{display:block;background:rgba(180,67,47,.12);color:var(--red);border:1px solid rgba(180,67,47,.4)}
.msg.ok{display:block;background:rgba(74,94,34,.14);color:var(--olive-t);border:1px solid rgba(74,94,34,.4)}
.mode{font-size:12px;color:var(--muted);margin-top:12px;text-align:center}
.empty{text-align:center;padding:60px 0;color:var(--muted)}
.empty .btn{margin-top:6px}
/* footer + toast + progress */
.footer{margin-top:90px;padding:30px 0;background:var(--olive-d);color:#efe6d0;font-size:14px;font-weight:600;position:relative;z-index:1}
.footer .container{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}
.foot-logo{height:26px;width:auto}
.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%) translateY(80px);background:var(--olive);color:#fff;font-weight:800;padding:12px 24px;border-radius:12px;opacity:0;transition:.3s;z-index:50;white-space:nowrap}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
.progress{position:fixed;top:0;left:0;height:3px;width:100%;background:var(--gold);transform:scaleX(0);transform-origin:left;z-index:60}
html[dir=rtl] .progress{transform-origin:right;left:auto;right:0}
@media(max-width:800px){
 .nav{display:none}.brand img{height:24px}.cart-link{padding:6px 6px 6px 12px;font-size:13px}
 .hero-panel{flex-direction:column;align-items:stretch;min-height:0}
 .hero-copy{max-width:none;padding:30px 24px 0}
 .hero-img{position:relative;inset:auto;width:100%;height:290px;margin-top:6px;object-position:70% 18%;-webkit-mask-image:linear-gradient(180deg,transparent,#000 22%);mask-image:linear-gradient(180deg,transparent,#000 22%)}
 html[dir=rtl] .hero-img{-webkit-mask-image:linear-gradient(180deg,transparent,#000 22%);mask-image:linear-gradient(180deg,transparent,#000 22%)}
 .hero-copy p{margin-bottom:18px}
 .grid{grid-template-columns:repeat(2,1fr);gap:12px}.cats{gap:8px}.cat span{padding:10px 4px;font-size:13px}
 .steps{grid-template-columns:repeat(2,1fr);row-gap:22px}.step:not(:last-child)::after{display:none}
 .cart-wrap{grid-template-columns:1fr}.summary{position:static}
 .sec-head{gap:10px}.sec-head h2{padding:5px 16px}
 .edu::before{inset-inline-start:20px}.edu-row{grid-template-columns:42px 1fr;gap:10px}.edu-ico{width:42px;height:42px}.edu-ico svg{width:20px;height:20px}.edu-card{padding:12px;gap:10px}.edu-card img{width:46px;height:46px}
}
@media(max-width:480px){.header .container{padding:6px 8px 6px 12px}.hero-copy h1{font-size:34px}}
/* ===== slide-out menu ===== */
.hd-r{display:flex;align-items:center;gap:10px}
.menu-btn{width:40px;height:40px;border-radius:50%;border:1px solid rgba(243,236,220,.3);background:rgba(255,255,255,.05);color:#f3ecdc;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.menu-btn svg,.m-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.menu-btn:hover{border-color:#e8c88a}
.m-ov{position:fixed;inset:0;z-index:90;background:rgba(5,8,5,.55);backdrop-filter:blur(3px);opacity:0;pointer-events:none;transition:opacity .3s}
.m-ov.open{opacity:1;pointer-events:auto}
.m-panel{position:fixed;z-index:100;top:14px;bottom:14px;right:14px;width:min(380px,calc(100% - 28px));display:flex;flex-direction:column;padding:22px 20px 18px;border:1px solid rgba(232,200,138,.35);border-radius:34px;background:radial-gradient(circle at 20% 60%,rgba(120,110,60,.35),transparent 55%),linear-gradient(160deg,#2a2d1f,#141a13 55%,#1a211a);color:#f3ecdc;box-shadow:0 20px 70px rgba(0,0,0,.55);transform:translateX(115%);transition:transform .45s cubic-bezier(.22,.9,.3,1);overflow:auto}
.m-panel.open{transform:none}
.m-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.m-top img{height:40px;width:auto}
.m-close{width:46px;height:46px;border-radius:50%;border:1px solid rgba(243,236,220,.25);background:transparent;color:inherit;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.m-list{list-style:none;display:flex;flex-direction:column;gap:10px;flex:1}
.m-list a{display:flex;align-items:center;gap:16px;padding:4px 2px;font-weight:800;font-size:20px}
.m-list .tile{width:62px;height:62px;flex:none;border-radius:20px;display:flex;align-items:center;justify-content:center;border:1.5px solid;box-shadow:0 0 18px var(--tg)}
.m-list .tile svg{width:28px;height:28px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.m-list li:nth-child(3n+1) .tile{background:#8e7f4a;border-color:#ecd68a;--tg:rgba(236,214,138,.35)}
.m-list li:nth-child(3n+2) .tile{background:#4f8a76;border-color:#8fd9bd;--tg:rgba(143,217,189,.3)}
.m-list li:nth-child(3n) .tile{background:#8e6652;border-color:#eba78c;--tg:rgba(235,167,140,.3)}
.m-list .num{margin-inline-start:auto;font-size:15px;opacity:.65;font-weight:700}
.m-list a:hover .tile{transform:scale(1.06)}
.m-list .tile{transition:transform .2s}
.m-foot{display:flex;gap:12px;margin-top:16px}
.m-foot button{flex:1;display:flex;align-items:center;justify-content:center;gap:10px;height:54px;border-radius:999px;border:1px solid rgba(243,236,220,.25);background:rgba(0,0,0,.25);color:inherit;font:800 16px var(--font);cursor:pointer}
.m-foot svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.m-foot button:hover{border-color:#e8c88a}
html[dir=rtl] .m-panel{right:auto;left:14px;transform:translateX(-115%)}
html[dir=rtl] .m-panel.open{transform:none}
/* light theme: ORVEN banner colors (cream, olive green, gold) */
html[data-theme=light] .m-panel{background:linear-gradient(160deg,#fffaf0,#f3e6cc);border-color:rgba(217,149,58,.6);color:#1d2410;box-shadow:0 20px 70px rgba(77,94,39,.25)}
html[data-theme=light] .m-foot button{background:rgba(77,94,39,.07)}
html[data-theme=light] .m-list li:nth-child(3n+1) .tile{background:#4d5e27;border-color:#7d8f43;--tg:rgba(77,94,39,.3)}
html[data-theme=light] .m-list li:nth-child(3n+2) .tile{background:#d9953a;border-color:#f0c070;--tg:rgba(217,149,58,.35)}
html[data-theme=light] .m-list li:nth-child(3n) .tile{background:#6b7a35;border-color:#a2b25f;--tg:rgba(107,122,53,.3)}
