:root {
  --ink: #141414; --cream: #FFF3D6; --yellow: #FFD21F; --red: #C21F17; --green: #1E6E3A; --white: #FFFFFF;
  --display: 'Marhey', 'Cairo', sans-serif; --text: 'Cairo', sans-serif;
  --w: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--text); color: var(--ink); background: var(--cream); line-height: 1.5; }
a { color: var(--red); }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 4px solid var(--ink); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: var(--w); margin: 0 auto; padding-inline: 24px; width: 100%; }
button { font: inherit; cursor: pointer; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 10px; border: 3px solid var(--ink); font-weight: 900; font-size: 17px; text-decoration: none; cursor: pointer; color: var(--ink); background: var(--white); }
.btn-wa { background: var(--green); color: #fff; }
.btn-wa:hover { color: #fff; filter: brightness(1.1); }
.btn-red { background: var(--red); color: #fff; box-shadow: 6px 6px 0 var(--ink); }
.btn-red:hover { color: #fff; }
.btn-yellow { background: var(--yellow); box-shadow: 6px 6px 0 var(--ink); }
.btn-yellow:hover { color: var(--ink); }
.btn-lg { min-height: 60px; padding: 0 28px; font-size: 19px; border-radius: 12px; }
.btn:active { transform: translate(2px, 2px); }

/* ticker + header */
.ticker { background: var(--ink); color: var(--yellow); font-weight: 800; font-size: 15px; text-align: center; padding: 8px 16px; }
.site-head { background: var(--yellow); border-bottom: 4px solid var(--ink); }
.head-in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo { font-family: var(--display); font-weight: 700; font-size: 34px; background: var(--red); color: #fff; padding: 2px 16px 6px; border: 3px solid var(--ink); transform: rotate(-3deg); display: inline-block; box-shadow: 4px 4px 0 var(--ink); line-height: 1.3; }
.brand small { font-weight: 900; font-size: 14px; line-height: 1.2; }
.search { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; background: #fff; border: 3px solid var(--ink); border-radius: 10px; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: inherit; font-size: 17px; font-weight: 600; color: var(--ink); outline: none; }
.search:focus-within { outline: 4px solid var(--ink); outline-offset: 3px; }
.head-actions { display: flex; gap: 10px; align-items: center; }
.icon-btn { width: 52px; padding: 0; }
.btn-wa.head-wa { box-shadow: 4px 4px 0 var(--ink); }

/* bunting */
.bunting { height: 54px; border-top: 2px solid var(--ink); margin-top: 12px; display: flex; justify-content: space-around; overflow: hidden; }
.bunting span { width: 44px; height: 50px; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.bunting span:nth-child(4n+1) { background: var(--red); } .bunting span:nth-child(4n+2) { background: var(--yellow); }
.bunting span:nth-child(4n+3) { background: var(--green); } .bunting span:nth-child(4n) { background: var(--ink); }

/* hero */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 40px; align-items: center; padding-block: 32px 72px; }
.hero-text { display: flex; flex-direction: column; gap: 20px; }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(64px, 9vw, 100px); line-height: 1.05; color: var(--red); }
.tagline { margin: 0; align-self: flex-start; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 3vw, 34px); line-height: 1.3; background: var(--ink); color: var(--yellow); padding: 6px 18px 10px; transform: rotate(-1.5deg); }
.lead { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.8; max-width: 500px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.collage { position: relative; height: 500px; }
.collage > * { position: absolute; }
.c-card { background: #fff; border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); display: flex; flex-direction: column; padding: 14px; gap: 10px; }
.c-card .pic { flex: 1; display: flex; align-items: center; justify-content: center; }
.c-card b { font-family: var(--display); font-size: 22px; }
.c1 { top: 10px; right: 30px; width: 270px; height: 300px; transform: rotate(5deg); }
.c2 { bottom: 20px; left: 10px; width: 280px; height: 260px; transform: rotate(-6deg); }
.c-price { top: 220px; right: 170px; width: 170px; height: 104px; background: var(--yellow); border: 3px solid var(--ink); border-radius: 10px 10px 10px 50px; transform: rotate(-12deg); display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 5px 5px 0 var(--ink); }
.c-price span { font-size: 15px; font-weight: 900; } .c-price strong { font-family: var(--display); font-size: 36px; line-height: 1; }
.c-new { top: 0; left: 40px; width: 130px; height: 130px; border-radius: 50%; background: var(--red); color: #fff; border: 3px solid var(--ink); display: flex; align-items: center; justify-content: center; text-align: center; transform: rotate(14deg); font-family: var(--display); font-size: 26px; line-height: 1.1; }
.c-ball { bottom: 0; right: 0; width: 120px; height: 120px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); display: flex; align-items: center; justify-content: center; }

/* sections */
.sec-cats { background: var(--ink); color: #fff; }
.sec-cats .wrap { padding-block: 56px; display: flex; flex-direction: column; gap: 28px; }
h2.big { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(36px, 5vw, 52px); }
.sec-cats h2 { color: var(--yellow); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.cat { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 88px; padding: 0 22px; border: 3px solid #fff; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 26px; cursor: pointer; text-align: start; }
.cat small { font-family: var(--text); font-size: 15px; font-weight: 700; display: block; }
.cat[aria-pressed="true"] { outline: 4px solid var(--yellow); outline-offset: 3px; }
.cat-other { background: transparent; color: var(--yellow); border: 3px dashed var(--yellow); }

.sec-offers { background: var(--red); color: #fff; }
.sec-offers .wrap { padding-block: 56px 72px; display: flex; flex-direction: column; gap: 32px; }
.offers-title { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.offers-title h2 { margin: 0; font-family: var(--display); font-size: clamp(40px, 6vw, 60px); line-height: 1; }
.stamp { background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); font-weight: 900; font-size: 18px; padding: 6px 16px; transform: rotate(-3deg); display: inline-block; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.offer { position: relative; background: var(--cream); color: var(--ink); border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.offer:nth-child(3n+1) { transform: rotate(-1deg); } .offer:nth-child(3n+2) { transform: rotate(1deg); } .offer:nth-child(3n) { transform: rotate(-.6deg); }
.pct { position: absolute; top: -22px; left: -16px; width: 84px; height: 84px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 22px; transform: rotate(-12deg); direction: ltr; z-index: 2; color: var(--ink); }
.offer .pic { height: 170px; }
.pic { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.offer h3 { margin: 0; font-family: var(--display); font-size: 26px; }
.prices { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.price { font-family: var(--display); font-weight: 700; font-size: 40px; color: var(--red); line-height: 1.2; }
.old { font-size: 20px; font-weight: 700; text-decoration-thickness: 3px; }

.sec-products .wrap { padding-block: 64px; display: flex; flex-direction: column; gap: 28px; }
.prod-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.filter-note { font-weight: 800; font-size: 17px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.chip { background: var(--ink); color: var(--yellow); border: 0; padding: 6px 14px; font-weight: 900; border-radius: 6px; }
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.card .pic { aspect-ratio: 1; border-bottom: 3px solid var(--ink); position: relative; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { margin: 0; font-size: 19px; font-weight: 900; }
.desc { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.6; color: #3A3530; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.offer .desc { font-size: 15px; }
.card .price { font-size: 30px; color: var(--ink); }
.card.offer-card { border-color: var(--red); box-shadow: 6px 6px 0 var(--red); }
.card.offer-card .pic { border-bottom-color: var(--red); }
.card.offer-card .price { color: var(--red); }
.card .btn { min-height: 50px; font-size: 16px; }
.tag { position: absolute; top: -14px; right: 14px; z-index: 1; border: 3px solid var(--ink); font-weight: 900; font-size: 15px; padding: 2px 12px; transform: rotate(-4deg); }
.tag-new { background: var(--green); color: #fff; } .tag-best { background: var(--yellow); color: var(--ink); transform: rotate(3deg); } .tag-offer { background: var(--red); color: #fff; }
.card .pct { width: 66px; height: 66px; font-size: 18px; top: -18px; background: var(--red); color: #fff; }
.card.sold { background: #EDE6D6; border: 3px dashed #5A5348; box-shadow: none; }
.card.sold .pic { border-bottom: 3px dashed #5A5348; }
.card.sold h3, .card.sold .price { color: #4A443A; }
.sold-band { position: absolute; top: 44%; right: -20px; left: -20px; background: var(--ink); color: var(--yellow); font-family: var(--display); font-weight: 700; font-size: 24px; text-align: center; padding: 6px; transform: rotate(-12deg); }
.empty { grid-column: 1 / -1; text-align: center; padding: 40px 16px; font-family: var(--display); font-size: 28px; border: 3px dashed var(--ink); background: #fff; }

.why { background: var(--yellow); border-block: 4px solid var(--ink); }
.why .wrap { padding-block: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.why div { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 700; }
.why b { font-family: var(--display); font-size: 30px; padding: 0 14px 4px; color: #fff; white-space: nowrap; }

.sec-contact { padding-block: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.where { background: #fff; border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.where h2 { margin: 0; font-family: var(--display); font-size: clamp(34px, 4vw, 46px); color: var(--red); }
.where p { margin: 0; font-size: 17px; } .where .addr { font-size: 20px; font-weight: 900; }
.where-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.where-btns .btn { flex: 1 1 160px; min-height: 56px; }
.map { position: relative; min-height: 380px; background: #fff; border: 3px solid var(--ink); overflow: hidden;
  background-image: repeating-linear-gradient(0deg, transparent 0 38px, #EFE6CF 38px 40px), repeating-linear-gradient(90deg, transparent 0 38px, #EFE6CF 38px 40px); }
.map .nile { position: absolute; top: 0; bottom: 0; left: 18%; width: 100px; background: #9CC7D6; border-inline: 3px solid var(--ink); transform: skewX(-8deg); }
.map .here { position: absolute; top: 36%; right: 36%; background: var(--red); color: #fff; border: 3px solid var(--ink); font-family: var(--display); font-size: 20px; padding: 4px 14px; transform: rotate(-4deg); }

.site-foot { background: var(--ink); color: var(--cream); }
.foot-in { padding-block: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.foot-in .logo-t { font-family: var(--display); font-size: 34px; color: var(--yellow); }
.foot-in nav { display: flex; gap: 20px; font-weight: 800; } .foot-in a { color: var(--cream); display: inline-flex; align-items: center; min-height: 44px; padding-inline: 6px; }
.foot-in a:hover { color: var(--yellow); }
.foot-in small { font-size: 14px; }

.float-wa { display: none; }
@media (max-width: 720px) {
  .wrap { padding-inline: 16px; }
  .collage { height: 440px; transform: scale(.82); transform-origin: top center; margin-bottom: -60px; }
  .head-actions { width: 100%; }
  .head-actions .head-wa { flex: 1; }
  .float-wa { display: flex; position: fixed; z-index: 20; bottom: 14px; inset-inline: 14px; box-shadow: 4px 4px 0 var(--ink); }
  body { padding-bottom: 84px; }
  .price { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
