/* Egypt pages (2026-11-30): /ar/*, /web-design/egypt/. Loaded after article.css (Arabic font) and site.css (price sheet, .px-*).
   Direction (unslop): a shop's printed price list. Bone paper on espresso is the one bright thing on each first screen; dotted
   lines run from what you buy to what it costs. Logical properties only, 4px grid, weights 400 and 500. */
.eg { overflow-x: clip; }
html[lang^="ar"] .eg, html[lang^="ar"] .eg *, html[lang^="ar"] .nav * { letter-spacing: 0; }
html[lang^="ar"] .eg h1, html[lang^="ar"] .eg h2, html[lang^="ar"] .eg h3 { font-weight: 500; }
.eg-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.eg bdi { unicode-bidi: isolate; }
.eg .btn bdi, .nav__cta bdi { font-variant-numeric: tabular-nums; }

/* first screen */
.eg-hero { padding: 136px 0 48px; }
.eg-hero .crumbs { font-size: 14px; line-height: 20px; margin-bottom: 24px; }
.eg-hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.eg-hero h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -.02em; font-weight: 400; color: var(--px-txt); text-wrap: balance; }
html[lang^="ar"] .eg-hero h1 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.4; }
.eg-lead { margin: 20px 0 0; max-width: 560px; font-size: 18px; line-height: 28px; color: var(--px-mut); }
html[lang^="ar"] .eg-lead { line-height: 34px; }
.eg-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.eg-cta .btn { min-height: 48px; padding: 12px 20px; }

/* the paper list beside the headline */
.eg-paper { padding: 28px 32px 24px; }
.eg-paper__h { margin: 0 0 12px; font-family: var(--font-display); font-size: 20px; line-height: 32px; color: var(--px-txt); font-weight: 500; }
.eg-paper ul { list-style: none; margin: 0; padding: 0; }
.eg-paper li > a, .eg-paper ul li:not(:has(a)) { display: flex; align-items: baseline; gap: 8px; padding: 8px 0; font-size: 16px; line-height: 24px; color: var(--px-txt); }
.eg-paper li span { min-width: 0; }
.eg-paper li b { font-weight: 500; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.eg-paper li small { font-weight: 400; font-size: 13px; color: var(--px-mut); }
.eg-paper a { transition: color var(--px-ease); }
.eg-paper a:hover { color: var(--px-tt); }
.eg-paper__f { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--px-line); font-size: 14px; line-height: 24px; color: var(--px-mut); }
.eg .px-dots { align-self: center; margin-top: 4px; }

/* twelve instalments */
.eg-12 ol { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.eg-12 ol li { border: 1px solid var(--px-line2); border-radius: 8px; padding: 12px 0; text-align: center; font-size: 16px; line-height: 24px; }
.eg-12 ol b { font-weight: 400; font-variant-numeric: tabular-nums; }
.eg-12 ol .is-last { background: var(--px-tt); border-color: var(--px-tt); color: #FFF8EF; }
.eg-12 ol .is-last b { font-weight: 500; }

/* sections */
.eg .px-h2 { font-size: clamp(26px, 2.8vw, 34px); }
html[lang^="ar"] .eg .px-h2 { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.5; }
html[lang^="ar"] .eg .px-line { font-size: 16px; line-height: 28px; max-width: 680px; }
.eg-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 64px; }
.eg-ticks { list-style: none; margin: 0; padding: 0; }
.eg-ticks li { position: relative; padding: 12px 0; padding-inline-start: 28px; border-bottom: 1px solid var(--px-line); font-size: 17px; line-height: 28px; color: var(--px-txt); }
.eg-ticks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 20px; width: 12px; height: 6px; border: solid var(--px-tt); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.eg-p h3 { font-size: 20px; line-height: 32px; color: var(--px-txt); margin: 24px 0 4px; font-family: var(--font-display); }
.eg-p h3 { text-wrap: balance; }
.eg-p h3:first-child { margin-top: 0; }
.eg-p p { margin: 0 0 12px; font-size: 17px; line-height: 28px; color: var(--px-mut); }
html[lang^="ar"] .eg-p p, html[lang^="ar"] .eg-ticks li { font-size: 16px; line-height: 30px; }
.eg-p--w { max-width: 760px; }
.eg-p a, .eg-note a, .eg-c a:not(.btn), .eg-faq a, .eg-list a, .eg-pay__n a { color: var(--px-tt); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(222,125,88,.5); }
.eg-note { margin: 20px 0 0; max-width: 760px; font-size: 15px; line-height: 26px; color: var(--px-faint); }

.eg-ticks--no li::before { top: 22px; width: 12px; height: 12px; border: 0; transform: none; background: linear-gradient(45deg, transparent 45%, var(--px-tt) 45% 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, var(--px-tt) 45% 55%, transparent 55%); }

/* price table */
.eg-t { width: 100%; border-collapse: collapse; table-layout: fixed; margin-top: 8px; }
.eg-t th, .eg-t td { text-align: start; vertical-align: top; padding: 20px 0; padding-inline-end: 20px; border-top: 1px solid var(--px-line); font-weight: 400; }
.eg-t thead th { border-top: 0; padding-block: 0 12px; font-size: 14px; line-height: 20px; color: var(--px-mut); }
.eg-t thead th:nth-child(1) { width: 24%; }
.eg-t thead th:nth-child(2) { width: 14%; }
.eg-t tbody tr { scroll-margin-top: 112px; }
.eg-t tbody th strong { display: block; font-family: var(--font-display); font-size: 22px; line-height: 32px; font-weight: 500; }
.eg-t tbody th span { display: block; font-size: 14px; line-height: 22px; color: var(--px-mut); }
.eg-t td { font-size: 15px; line-height: 24px; }
.eg-t td:nth-child(2) { padding-top: 24px; }
.eg-t td b { display: block; font-family: var(--font-display); font-size: 22px; line-height: 32px; font-weight: 500; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.eg-t .eg-fr { font-style: normal; font-size: 15px; font-weight: 400; color: var(--px-mut); }
.eg-t td span { color: var(--px-mut); font-size: 14px; }
.eg-t td small { display: block; color: var(--px-mut); font-size: 14px; line-height: 22px; min-height: 22px; }
.eg .btn--sm { min-height: 40px; padding: 8px 14px; font-size: 14px; line-height: 20px; }
.eg-t .btn--sm { margin-top: 12px; width: 100%; max-width: 168px; }
.eg-sheet .btn--ghost { color: var(--px-txt); border-color: var(--px-line2); }
.eg-sheet .eg-m .btn--ghost { border-color: var(--px-tt); color: var(--px-tt); }

/* add-ons: dotted price lines */
.eg-add > h3 { font-family: var(--font-display); font-size: 18px; line-height: 28px; color: var(--px-mut); margin: 0 0 8px; }
.eg-add > h3:not(:first-child) { margin-top: 24px; }
.eg-list { list-style: none; margin: 0; padding: 0; }
.eg-list li { padding: 12px 0; border-top: 1px solid var(--px-line); }
.eg-ln { display: flex; align-items: baseline; gap: 8px; font-size: 18px; line-height: 28px; }
.eg-ln span { color: var(--px-txt); }
.eg-ln b { font-weight: 500; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; color: var(--px-txt); }
.eg-ln small { font-size: 14px; color: var(--px-mut); white-space: nowrap; }
.eg-list p { margin: 4px 0 0; font-size: 15px; line-height: 24px; color: var(--px-mut); }

/* comparison tables */
.eg-c { width: 100%; border-collapse: collapse; }
.eg-c th, .eg-c td { text-align: start; vertical-align: top; padding: 14px 0; padding-inline-end: 24px; border-top: 1px solid var(--px-line); font-size: 16px; line-height: 26px; font-weight: 400; color: var(--px-txt); font-variant-numeric: lining-nums tabular-nums; }
.eg-c thead th { border-top: 0; padding-top: 0; font-size: 14px; line-height: 20px; color: var(--px-faint); }
.eg-c tbody th { color: var(--px-mut); }
.eg-c small { display: block; font-size: 14px; line-height: 20px; color: var(--px-faint); }
.eg-c--2 tbody th { width: 26%; }
.eg-c--pay td, .eg-c--pay tbody th { vertical-align: middle; }
.eg-c--pay tbody th { color: var(--px-txt); font-size: 18px; }
.eg-c--pay td:last-child, .eg-c--pay th:last-child { padding-inline-end: 0; text-align: end; }

/* steps */
.eg-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 32px; }
.eg-steps b { display: block; font-family: var(--font-display); font-size: 28px; line-height: 40px; font-weight: 400; color: var(--px-tt); }
.eg-steps h3 { margin: 4px 0; font-family: var(--font-display); font-size: 19px; line-height: 30px; color: var(--px-txt); }
.eg-steps p { margin: 0; font-size: 16px; line-height: 28px; color: var(--px-mut); }

/* our sites, links, questions, call */
.eg-works { gap: 24px; }
.eg-work { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--px-line2); border-radius: 16px; overflow: hidden; transition: border-color var(--px-ease); }
.eg-work:hover { border-color: var(--px-tt); }
.eg-work img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.eg-work__b { display: grid; gap: 4px; align-content: start; padding: 20px 24px 24px; font-size: 16px; line-height: 28px; color: var(--px-mut); }
.eg-work__b strong { font-family: var(--font-display); font-size: 22px; line-height: 32px; font-weight: 500; color: var(--px-txt); }
.eg-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
.eg-links a { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--px-line); transition: color var(--px-ease); }
.eg-links .lt { font-family: var(--font-display); font-size: 19px; line-height: 30px; color: var(--px-txt); }
.eg-links .lb { font-size: 15px; line-height: 24px; color: var(--px-mut); }
.eg-links a:hover .lt { color: var(--px-tt); }
.eg-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px 64px; }
.eg-faq details { border-bottom: 1px solid var(--px-line); }
.eg-faq summary { position: relative; cursor: pointer; list-style: none; padding: 16px 0; padding-inline-end: 40px; font-size: 18px; line-height: 28px; color: var(--px-txt); }
.eg-faq summary::-webkit-details-marker { display: none; }
.eg-faq summary::after { content: ""; position: absolute; inset-inline-end: 6px; top: 26px; width: 8px; height: 8px; border: solid var(--px-tt); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-4px); transition: transform var(--px-ease); }
.eg-faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.eg-faq p { margin: 0 0 20px; font-size: 16px; line-height: 28px; color: var(--px-mut); max-width: 680px; }
html[lang^="ar"] .eg-faq p { line-height: 30px; }
.eg-band { display: flex; justify-content: space-between; align-items: center; gap: 24px 48px; flex-wrap: wrap; }
.eg-band .eg-cta { margin-top: 0; }

.eg-fig { padding: 16px 0 24px; }
.eg-fig img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; object-position: center 35%; border-radius: 16px; }
.eg-c tbody th a { white-space: nowrap; }

/* guides */
.eg--post .art-hero h1 { text-wrap: balance; }
.eg--post .art-hero__img { aspect-ratio: 16 / 10; object-fit: cover; }
.eg-art .eg-steps { grid-auto-flow: row; gap: 0; margin: 0 0 20px; }
.eg-art .eg-steps li { display: grid; grid-template-columns: 48px 1fr; padding: 16px 0; border-top: 1px solid rgba(242,235,223,.14); }
.eg-art .eg-steps b { grid-row: span 2; }
.eg-art .eg-c { margin: 0 0 20px; }
.eg-art .eg-ticks { margin: 0 0 20px; }
.eg-art > h2:first-of-type { margin-top: 40px; }

/* the order: list on one side, the InstaPay sheet on the other */
.eg-pay__a { display: flex; align-items: baseline; gap: 8px; font-size: 18px; line-height: 32px; margin-bottom: 8px; }
.eg-pay__a b { font-family: var(--font-display); font-size: 28px; font-weight: 500; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.eg-insta .btn { border-radius: 10px; font-weight: 500; }
.eg-insta .btn--ghost { color: var(--px-txt); border-color: var(--px-line2); background: transparent; }
.eg-pay__g { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; margin: 20px 0; }
.eg-insta ol { margin: 0; padding-inline-start: 20px; font-size: 16px; line-height: 28px; }
.eg-insta figure { margin: 0; width: 132px; }
.eg-insta figcaption { margin-top: 8px; font-size: 13px; line-height: 20px; color: var(--px-mut); text-align: center; }
.eg-pay__b { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.eg-pay__b .btn { text-align: center; min-height: 48px; padding: 12px; font-size: 15px; }
.eg-pay__n { margin: 16px 0 0; font-size: 14px; line-height: 24px; color: var(--px-mut); }
.eg-pay__n a { color: var(--px-tt); }

.eg-insta { padding: 32px; }
.eg-insta[hidden] { display: none; }
.eg-insta .eg-pay__a { margin: 12px 0 0; }
.eg-insta__m { margin: 0 0 8px; min-height: 24px; font-size: 15px; line-height: 24px; color: var(--px-mut); }
.eg-ok { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; margin: 0 0 16px; font-size: 15px; line-height: 24px; color: var(--px-txt); cursor: pointer; }
.eg-ok input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: #9E4627; }
.eg-ok a { color: var(--px-tt); text-decoration: underline; text-underline-offset: 4px; }
.eg-insta.need-ok .eg-ok input:not(:checked) { outline: 2px solid #9E4627; outline-offset: 3px; border-radius: 4px; }
.eg-insta .btn.is-off { opacity: .55; }
.eg-cart { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px 64px; align-items: start; margin-top: 40px; }
.eg-cart [data-empty] .eg-lead { margin-top: 0; }
.eg-cart__m { margin-top: 40px !important; }
.eg-cart .eg-list { margin-top: 12px; }
.eg-cart__c { display: flex; align-items: center; gap: 16px; margin-top: 4px; }
.eg-qty { display: inline-flex; align-items: center; gap: 4px; }
.eg-qty button { width: 40px; height: 40px; border: 1px solid var(--px-line2); border-radius: 10px; background: none; color: var(--px-txt); font-size: 18px; cursor: pointer; }
.eg-qty b { min-width: 32px; text-align: center; font-weight: 500; font-variant-numeric: tabular-nums; }
.eg-rm { padding: 8px 0; border: 0; background: none; color: var(--px-mut); font: inherit; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--px-line2); cursor: pointer; }
.eg-rm:hover { color: var(--px-txt); }
.eg-ln .btn--sm { min-height: 36px; padding: 4px 12px; margin-inline-start: 8px; }
.eg-nav-order { padding: 8px 13px; font-size: 14px; color: rgba(242,235,223,.72); white-space: nowrap; }
.eg-nav-order:hover { color: var(--bone); }
.eg-inorder { margin: 24px 0 32px; overflow: visible; }
.eg-inorder .eg-insta { border-radius: 12px; }
.eg-askbox { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--px-line2); }
.eg-askbox[hidden] { display: none; }
.eg-askbox .px-h2 { margin: 0; font-size: 22px; }
.eg-askbox p { margin: 8px 0 12px; font-size: 16px; line-height: 26px; color: var(--px-mut); }
.eg-askbox ul { margin: 0; padding-inline-start: 20px; font-size: 16px; line-height: 28px; color: var(--px-txt); }
.eg-askbox .eg-cta { margin-top: 16px; }
.eg-insta[hidden] + .eg-askbox { margin-top: 0; padding-top: 0; border-top: 0; }
.eg-inorder .px-h2 { color: var(--px-txt) !important; margin: 0; max-width: none; }
.eg-inorder .eg-ok { font-weight: 400; text-transform: none; letter-spacing: 0; }
.eg-insta { scroll-margin-top: 104px; }
.eg-insta .eg-pay__a span { white-space: nowrap; }

/* phone bar */
.eg-bar { display: none; }
html[lang^="ar"] .nav__links { margin: 0; margin-inline-start: 12px; }

@media (max-width: 1060px) {
  .eg-hero__in, .eg-cart { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .eg-hero__in > div:first-child { max-width: 680px; }
}
@media (max-width: 860px) {
  .eg-hero { padding-top: 112px; }
  .eg-two, .eg-links, .eg-faq { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .eg-links { gap: 0; }
  .eg-two .eg-ticks:nth-child(2) { margin-top: -24px; }
  .eg-steps { grid-auto-flow: row; gap: 20px; }
  .eg-steps li { display: grid; grid-template-columns: 44px 1fr; }
  .eg-steps b { grid-row: span 2; }
  .eg-t, .eg-t tbody, .eg-t td, .eg-t tbody th { display: block; width: 100%; }
  .eg-t thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .eg-t tbody tr { padding: 20px 0; border-top: 1px solid var(--px-line2); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 20px; }
  .eg-t tbody tr:first-child { border-top: 0; padding-top: 4px; }
  .eg-t th, .eg-t td, .eg-t td:nth-child(2) { border: 0; padding: 0; }
  .eg-t tbody th, .eg-t td:nth-child(2), .eg-t td.eg-m { grid-column: 1 / -1; }
  .eg-t td:nth-child(2) { margin-top: -8px; color: var(--px-mut); }
  .eg-t td:not(:nth-child(2))::before { content: attr(data-l); display: block; font-size: 14px; line-height: 20px; color: var(--px-mut); }
  .eg-t td b { font-size: 20px; }
  .eg-t .eg-fr { display: inline; font-size: 14px; }
  .eg-t .btn--sm { max-width: none; min-height: 44px; padding-inline: 8px; }
  .eg-c thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .eg-c, .eg-c tbody, .eg-c tr, .eg-c th, .eg-c td { display: block; width: 100%; }
  .eg-c tr { padding: 14px 0; border-top: 1px solid var(--px-line); }
  .eg-c th, .eg-c td { border: 0; padding: 2px 0; }
  .eg-c--2 tbody th { width: 100%; }
  .eg-c tbody th { color: var(--px-txt); font-weight: 500; }
  .eg-c:not(.eg-c--2) td { display: grid; grid-template-columns: 40% 1fr; gap: 12px; }
  .eg-c:not(.eg-c--2) td::before { content: attr(data-l); color: var(--px-faint); font-size: 14px; }
  .eg-c--pay td:last-child { display: block; padding-top: 8px; }
  .eg-c--pay td:last-child::before { display: none; }
  .eg-c--pay .btn { width: 100%; min-height: 44px; }
}
@media (max-width: 620px) {
  .eg-cta .btn { flex: 1 1 100%; }
  .eg-paper { margin: 0 -8px; padding: 24px 20px 20px; }
  .eg-paper li > a, .eg-paper ul li:not(:has(a)) { font-size: 15px; }
  .eg-ln { flex-wrap: wrap; gap: 0 8px; }
  .eg-insta { padding: 24px 20px; }
  .eg-insta .eg-pay__a b { font-size: 24px; }
  .eg-paper .px-dots { min-width: 0; flex-basis: 0; }
  .eg-paper li > a, .eg-paper ul li:not(:has(a)) { gap: 6px; }
  .eg-insta figure { display: none; }
  .eg-pay__g, .eg-pay__b { grid-template-columns: 1fr; }
  .eg-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #1A1410; border-top: 1px solid rgba(242,235,223,.16); }
  .eg-nav-order { display: none; }
  .eg-bar a[hidden] { display: none; }
  .eg-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 10px; border: 1px solid rgba(242,235,223,.2); color: #F2EBDF; font-size: 16px; }
  .eg-bar .eg-bar__c { background: var(--terracotta-dark); border-color: var(--terracotta-dark); color: #FFF8EF; }
  body:has(.eg-bar) { padding-bottom: 72px; }
  body:has(.eg-bar) .chatfab { display: none; }
}
