/* Ironloom for WordPress site (layout taken from the Ironloom POS site). Colours come from the Ironloom theme (theme.json presets), so style variations keep working. */
.ilwp {
	--il-bg: var(--wp--preset--color--base, #0B1220);
	--il-bg2: var(--wp--preset--color--base-2, #0E1729);
	--il-surface: var(--wp--preset--color--surface, #111C31);
	--il-surface2: var(--wp--preset--color--surface-2, #16233D);
	--il-line: var(--wp--preset--color--line, #1F2D47);
	--il-text: var(--wp--preset--color--contrast, #E8EEF6);
	--il-muted: var(--wp--preset--color--muted, #8A97AB);
	--il-accent: var(--wp--preset--color--accent, #3DA5FF);
	--il-on-accent: var(--wp--preset--color--on-accent, #04101F);
	--il-ok: var(--wp--preset--color--success, #34D399);
	color: var(--il-text);
}
.ilwp-wide { margin-block: 0 !important; }
.ilwp-wrap { max-width: 1180px; margin-inline: auto; padding-inline: 24px; }
.ilwp h1, .ilwp h2, .ilwp h3 { text-wrap: balance; }
.ilwp p, .ilwp li { text-wrap: pretty; }

/* Hero */
.ilwp-hero { padding-block: 72px 56px; border-block-end: 1px solid var(--il-line); background:
	radial-gradient(900px 420px at 85% -10%, color-mix(in srgb, var(--il-accent) 16%, transparent), transparent 70%), var(--il-bg); }
.ilwp-hero h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.02em; max-width: 18ch; }
.ilwp-hero-home h1 { max-width: 14ch; }
.ilwp-hero:not(.ilwp-hero-home) h1 { max-width: 22ch; }
.ilwp-lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--il-muted); max-width: 62ch; margin: 0 0 22px; }
.ilwp-label { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--il-accent); font-weight: 600; margin: 0 0 14px; }
.ilwp-note { font-size: 14px; color: var(--il-muted); line-height: 1.6; }
.ilwp-hash { font-family: ui-monospace, Consolas, monospace; font-size: 12px; overflow-wrap: anywhere; }
.ilwp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 14px; }
.ilwp-center { text-align: center; color: var(--il-muted); margin-block-start: 20px; }

/* Buttons */
.ilwp-btn { display: inline-block; box-sizing: border-box; max-width: 100%; padding: 13px 22px; border-radius: 10px; background: var(--il-accent); color: var(--il-on-accent) !important; font-weight: 650; text-decoration: none !important; border: 1px solid var(--il-accent); transition: transform .12s ease, filter .12s ease; }
.ilwp-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.ilwp-btn:focus-visible { outline: 2px solid var(--il-text); outline-offset: 3px; }
.ilwp-btn-ghost { background: transparent; color: var(--il-text) !important; border-color: var(--il-line); }
.ilwp-btn-ghost:hover { border-color: var(--il-accent); }
.ilwp-more { color: var(--il-accent); font-weight: 600; text-decoration: none; }
.ilwp-more::after { content: " \2192"; }
[dir="rtl"] .ilwp-more::after { content: " \2190"; }

/* Sections */
.ilwp-sec { padding-block: 72px; border-block-end: 1px solid var(--il-line); }
.ilwp-sec.ilwp-alt { background: var(--il-bg2); }
.ilwp-sec h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.01em; }
.ilwp-sec h3 { font-size: 19px; margin: 0 0 8px; }
.ilwp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.ilwp-hero .ilwp-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.ilwp-split-rev > :first-child { order: 2; }
.ilwp-grid { display: grid; gap: 20px; margin-block-start: 28px; }
.ilwp-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ilwp-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ilwp-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ilwp-card { background: var(--il-surface); border: 1px solid var(--il-line); border-radius: 14px; padding: 24px; }
.ilwp-card p { color: var(--il-muted); line-height: 1.6; margin: 0 0 12px; }
.ilwp-card p:last-child { margin-block-end: 0; }

/* Screenshots */
.ilwp-shot { margin: 0; border: 1px solid var(--il-line); border-radius: 12px; overflow: hidden; background: var(--il-surface); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .7); }
.ilwp-shot img { display: block; width: 100%; height: auto; }
.ilwp-shot figcaption { font-size: 13px; color: var(--il-muted); padding: 10px 14px; border-block-start: 1px solid var(--il-line); }

/* Lists */
.ilwp-ticks { list-style: none; padding: 0; margin: 0 0 20px; }
.ilwp-ticks li { position: relative; padding-inline-start: 30px; margin-block-end: 12px; line-height: 1.6; color: var(--il-text); }
.ilwp-ticks li::before { content: ""; position: absolute; inset-inline-start: 4px; inset-block-start: 9px; width: 12px; height: 6px; border-inline-start: 2px solid var(--il-ok); border-block-end: 2px solid var(--il-ok); transform: rotate(-45deg); }
[dir="rtl"] .ilwp-ticks li::before { transform: rotate(45deg); }
.ilwp-steps { counter-reset: s; list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.ilwp-steps li { counter-increment: s; position: relative; padding: 18px 20px; padding-inline-start: 68px; background: var(--il-surface); border: 1px solid var(--il-line); border-radius: 12px; line-height: 1.6; color: var(--il-muted); }
.ilwp-steps li strong { color: var(--il-text); }
.ilwp-steps li::before { content: counter(s); position: absolute; inset-inline-start: 18px; inset-block-start: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--il-accent) 18%, transparent); color: var(--il-accent); font-weight: 700; }

/* Plans */
.ilwp-plans { align-items: stretch; }
.ilwp-plan { display: flex; flex-direction: column; position: relative; }
.ilwp-plan .ilwp-ticks { flex: 1; }
.ilwp-plan-main { border-color: var(--il-accent); box-shadow: 0 0 0 1px var(--il-accent); }
.ilwp-badge { position: absolute; inset-block-start: -12px; inset-inline-start: 22px; background: var(--il-accent); color: var(--il-on-accent) !important; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; margin: 0 !important; }
.ilwp-price { font-size: 40px; font-weight: 700; color: var(--il-text) !important; margin: 4px 0 16px !important; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ilwp-price span { font-size: 15px; font-weight: 400; color: var(--il-muted); letter-spacing: 0; }
.ilwp-price-sm { font-size: 28px; }

/* Table */
.ilwp-table-wrap { overflow-x: auto; border: 1px solid var(--il-line); border-radius: 14px; }
.ilwp-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.ilwp-table th, .ilwp-table td { text-align: start; padding: 16px 18px; border-block-end: 1px solid var(--il-line); vertical-align: top; line-height: 1.55; }
.ilwp-table tr:last-child th, .ilwp-table tr:last-child td { border-block-end: 0; }
.ilwp-table thead th { background: var(--il-surface2); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--il-muted); }
.ilwp-table tbody th { width: 18%; white-space: nowrap; color: var(--il-text); }
.ilwp-table td:last-child { color: var(--il-muted); font-style: italic; }
.ilwp-keys th { width: 12%; font-family: ui-monospace, Consolas, monospace; color: var(--il-accent); }
.ilwp-keys td:last-child { color: var(--il-text); font-style: normal; }

/* FAQ */
.ilwp-faq details { border: 1px solid var(--il-line); border-radius: 12px; background: var(--il-surface); margin-block-end: 10px; }
.ilwp-faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; position: relative; padding-inline-end: 48px; }
.ilwp-faq summary::-webkit-details-marker { display: none; }
.ilwp-faq summary::after { content: "+"; position: absolute; inset-inline-end: 20px; inset-block-start: 12px; font-size: 22px; color: var(--il-accent); }
.ilwp-faq details[open] summary::after { content: "\2212"; }
.ilwp-faq details p { padding: 0 20px 18px; margin: 0; color: var(--il-muted); line-height: 1.65; }

/* CTA band */
.ilwp-cta { text-align: center; background: radial-gradient(700px 300px at 50% 120%, color-mix(in srgb, var(--il-accent) 18%, transparent), transparent 70%), var(--il-bg2); border-block-end: 0; }
.ilwp-cta .ilwp-lead { margin-inline: auto; }
.ilwp-cta .ilwp-actions { justify-content: center; }
.ilwp-download { text-align: center; padding: 36px 28px; }
.ilwp-download h2 { font-size: 24px; }

/* Document pages (manual, guide, FAQ, legal) inside the theme's normal page template */
.ilwp-doc { line-height: 1.7; font-size: 17px; }
.ilwp-doc h2 { font-size: 26px; margin: 44px 0 12px; padding-block-start: 12px; border-block-start: 1px solid var(--il-line); scroll-margin-top: 90px; }
.ilwp-doc h2:first-of-type { border-block-start: 0; }
.ilwp-doc h3 { font-size: 19px; margin: 26px 0 8px; }
.ilwp-doc ul, .ilwp-doc ol { padding-inline-start: 24px; }
.ilwp-doc li { margin-block-end: 8px; }
.ilwp-doc a { color: var(--il-accent); }
.ilwp-doc .ilwp-shot { margin-block: 20px 26px; }
.ilwp-doc .ilwp-faq { margin-block: 12px 28px; }
.ilwp-toc { background: var(--il-surface); border: 1px solid var(--il-line); border-radius: 12px; padding: 18px 22px; margin-block: 20px 8px; }
.ilwp-toc ol { columns: 2; column-gap: 32px; margin: 8px 0 0; }
.ilwp-toc a { text-decoration: none; }
.ilwp-pdf { margin: 0 0 18px; }

/* Footer */
.ilwp-footer { background: var(--wp--preset--color--base-2, #0E1729); border-block-start: 1px solid var(--wp--preset--color--line, #1F2D47); padding-block: 56px 26px; color: var(--wp--preset--color--muted, #8A97AB); font-size: 15px; }
.ilwp-footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.ilwp-footer h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--steel, #5B6B82); margin: 0 0 12px; }
.ilwp-footer ul { list-style: none; padding: 0; margin: 0; }
.ilwp-footer li { margin-block-end: 8px; }
.ilwp-footer a { color: var(--wp--preset--color--contrast, #E8EEF6); text-decoration: none; }
.ilwp-footer a:hover { color: var(--wp--preset--color--accent, #3DA5FF); }
.ilwp-footer-brand { font-weight: 800; font-size: 20px; color: var(--wp--preset--color--contrast, #E8EEF6); margin: 0 0 8px; letter-spacing: .02em; }
.ilwp-footer-brand span { color: var(--wp--preset--color--accent, #3DA5FF); font-size: 12px; }
.ilwp-footer-legal { margin: 36px 0 0; padding-block-start: 20px; border-block-start: 1px solid var(--wp--preset--color--line, #1F2D47); font-size: 13px; color: var(--wp--preset--color--steel, #5B6B82); }

/* Smaller screens */
@media (max-width: 960px) {
	.ilwp-split, .ilwp-hero .ilwp-split { grid-template-columns: 1fr; gap: 32px; }
	.ilwp-split-rev > :first-child { order: 0; }
	.ilwp-cols-3, .ilwp-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ilwp-footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
	.ilwp-wrap { padding-inline: 16px; }
	.ilwp-hero { padding-block: 48px 40px; }
	.ilwp-sec { padding-block: 48px; }
	.ilwp-cols-2, .ilwp-cols-3, .ilwp-cols-4 { grid-template-columns: 1fr; }
	.ilwp-toc ol { columns: 1; }
	.ilwp-table tbody th { white-space: normal; width: auto; }
	.ilwp-table:not(.ilwp-keys) thead { display: none; }
	.ilwp-table:not(.ilwp-keys), .ilwp-table:not(.ilwp-keys) tbody, .ilwp-table:not(.ilwp-keys) tr, .ilwp-table:not(.ilwp-keys) th, .ilwp-table:not(.ilwp-keys) td { display: block; width: auto; }
	.ilwp-table:not(.ilwp-keys) tr { padding: 16px 18px; border-block-end: 1px solid var(--il-line); }
	.ilwp-table:not(.ilwp-keys) tr:last-child { border-block-end: 0; }
	.ilwp-table:not(.ilwp-keys) th, .ilwp-table:not(.ilwp-keys) td { padding: 0 0 10px; border: 0; }
	.ilwp-table:not(.ilwp-keys) tbody th { font-size: 18px; }
	.ilwp-table:not(.ilwp-keys) td:last-child { padding-block-end: 0; }
	.ilwp-table:not(.ilwp-keys) td::before { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-style: normal; color: var(--il-accent); content: "Ironloom POS"; }
	.ilwp-table:not(.ilwp-keys) td:last-child::before { color: var(--il-muted); content: "Ask any other system"; }
	.ilwp-footer-cols { grid-template-columns: 1fr; }
	.ilwp-btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .ilwp-btn { transition: none; } .ilwp-btn:hover { transform: none; } }

/* Arabic (right to left) */
[dir="rtl"] .ilwp-hero h1, [dir="rtl"] .ilwp-sec h2, [dir="rtl"] .ilwp-price { letter-spacing: 0; }
[dir="rtl"] .ilwp-hero h1 { line-height: 1.3; }
[dir="rtl"] .ilwp-label, [dir="rtl"] .ilwp-table thead th, [dir="rtl"] .ilwp-footer h3 { letter-spacing: 0; font-size: 16px; }
[dir="rtl"] .ilwp-hero { background: radial-gradient(900px 420px at 15% -10%, color-mix(in srgb, var(--il-accent) 16%, transparent), transparent 70%), var(--il-bg); }
[dir="rtl"] .ilwp-table td:last-child { font-style: normal; }
[dir="rtl"] .ilwp-hash, [dir="rtl"] .ilwp-keys th { direction: ltr; unicode-bidi: isolate; }
.ilwp-ltr { direction: ltr; text-align: left; }
.ilwp-footer-lang { font-weight: 600; }
@media (max-width: 620px) {
	[dir="rtl"] .ilwp-table:not(.ilwp-keys) td::before { content: "Ironloom POS"; letter-spacing: 0; }
	[dir="rtl"] .ilwp-table:not(.ilwp-keys) td:last-child::before { content: "اسأل أي نظام آخر"; }
}

.ilwp-footer-langs { display: flex; gap: 14px; flex-wrap: wrap; }
.ilwp-footer ul.ilwp-social { display: flex; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.ilwp-footer ul.ilwp-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); color: inherit; opacity: .85; text-decoration: none; transition: opacity .2s, border-color .2s; }
.ilwp-footer ul.ilwp-social a:hover, .ilwp-footer ul.ilwp-social a:focus-visible { opacity: 1; border-color: var(--il-accent, #3DA5FF); }
.wp-block-navigation .ilwp-lang .wp-block-navigation-item__label { font-size: 13px; opacity: .8; }

/* Shortcut table on phones: let it shrink and wrap instead of pushing the page wide */
@media (max-width: 620px) {
	.ilwp-keys { table-layout: fixed; font-size: 14px; }
	.ilwp-keys th, .ilwp-keys td { padding: 10px 8px; overflow-wrap: anywhere; }
	.ilwp-keys th { width: 16%; }
}

/* The Ironloom shield beside the site name in the header, as on the company site (1.3.21). The pair reads left to right in
   every language: shield, then "Ironloom POS". */
.ilt-header .wp-block-site-title a { display: inline-flex; align-items: center; gap: 10px; direction: ltr; white-space: nowrap; }
.ilt-header .wp-block-site-title a::before { content: ""; flex: none; width: 32px; height: 32px; background: url(ironloom-shield.svg) center / contain no-repeat; }
@media (max-width: 599px) { .ilt-header .wp-block-site-title a { gap: 8px; } .ilt-header .wp-block-site-title a::before { width: 28px; height: 28px; } }

/* The Ironloom shield beside the name in the footer too (1.3.22): shield, then "IRONLOOM POS", left to right in every
   language; in Arabic the pair sits at the right, where the column starts. */
.ilwp-footer-brand { display: flex; align-items: center; gap: 10px; direction: ltr; }
.ilwp-footer-brand::before { content: ""; flex: none; width: 34px; height: 34px; background: url(ironloom-shield.svg) center / contain no-repeat; }
.ilwp-footer-brand span { margin-inline-start: -4px; }
[dir="rtl"] .ilwp-footer-brand { justify-content: flex-end; }


/* Phone menu: the theme (0.4.0+) draws the panel; here only the language names in full and the "Buy AI credit" button. */
.ilwp-lang-full, .wp-block-navigation .ilwp-menu-cta { display: none; }
@media (max-width: 599px) {
	.ilt-header .is-menu-open .ilwp-lang { border-top: 1px solid var(--wp--preset--color--line, #1E2A40); margin-top: 8px; padding-top: 8px; }
	.ilt-header .is-menu-open .ilwp-lang + .ilwp-lang { border-top: 0; margin-top: 0; padding-top: 0; }
	.ilt-header .is-menu-open .ilwp-lang-short { display: none; }
	.ilt-header .is-menu-open .ilwp-lang-full { display: inline; }
	.ilt-header .is-menu-open .ilwp-lang .wp-block-navigation-item__label { font-size: 16px; opacity: 1; color: var(--wp--preset--color--muted, #8A97AB); }
	.ilt-header .is-menu-open .ilwp-menu-cta { display: block; margin-top: 12px; }
	.ilt-header .is-menu-open .ilwp-menu-cta .wp-block-navigation-item__content { background: var(--wp--preset--color--accent, #3DA5FF); color: var(--wp--preset--color--on-accent, #04101F) !important; font-weight: 650; text-align: center; border-radius: 10px; }
}

/* Price table of the AI levels */
.ilwp-levels { width: 100%; border-collapse: collapse; margin: 8px 0 6px; }
.ilwp-levels th, .ilwp-levels td { padding: 12px 14px; border-bottom: 1px solid var(--il-line); text-align: start; vertical-align: top; }
.ilwp-levels th { color: var(--il-muted); font-weight: 600; font-size: 14px; }
.ilwp-levels td strong { color: var(--il-text); }
@media (max-width: 620px) { .ilwp-levels th, .ilwp-levels td { padding: 10px 8px; font-size: 14px; } }
.ilwp-note { color: var(--il-muted); font-size: 14px; }

/* About page: company details */
.ilwp-dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 18px 0; }
.ilwp-dl dt { color: var(--il-muted, #8A97AB); }
.ilwp-dl dd { margin: 0; }
@media (max-width: 520px) { .ilwp-dl { grid-template-columns: 1fr; } .ilwp-dl dd { margin-bottom: 8px; } }

/* AI Builder examples (real sites built by the AI Builder) */
.ilwp-ex-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-block-start: 28px; }
.ilwp-ex-three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ilwp-ex { background: var(--il-surface); border: 1px solid var(--il-line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.ilwp-ex-shots { position: relative; padding: 14px 14px 0; background: linear-gradient(180deg, var(--il-surface2), var(--il-surface)); }
.ilwp-ex-desk { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 10px 10px 0 0; border: 1px solid var(--il-line); border-block-end: 0; }
.ilwp-ex-phone { position: absolute; inset-inline-end: 22px; inset-block-end: -18px; width: 22%; height: auto; aspect-ratio: 1 / 2; object-fit: cover; object-position: top; border-radius: 14px; border: 4px solid #0B1220; box-shadow: 0 12px 30px rgba(0, 0, 0, .45); background: #fff; }
.ilwp-ex-body { padding: 26px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.ilwp-ex-body h3 { margin: 0; font-size: 21px; }
.ilwp-ex-body p { margin: 0; color: var(--il-muted); line-height: 1.6; max-width: 46ch; }
.ilwp-ex-facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ilwp-ex-facts li { font-size: 13px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--il-line); color: var(--il-text); background: var(--il-bg2); }
.ilwp-ex-facts li:first-child { border-color: var(--il-accent); color: var(--il-accent); }
.ilwp-ex-logos { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 6px; }
.ilwp-ex-logo { width: 58px; height: 58px; padding: 6px; box-sizing: border-box; background: #fff; border-radius: 10px; display: grid; place-items: center; }
.ilwp-ex-logo.is-wide { width: 124px; }
.ilwp-ex-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; }
.ilwp-ex-three .ilwp-ex-logo { width: 48px; height: 48px; }
.ilwp-ex-three .ilwp-ex-logo.is-wide { width: 104px; }
.ilwp-ex-langs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 28px 0 0; }
.ilwp-ex-langs figure { margin: 0; }
.ilwp-ex-langs img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--il-line); }
.ilwp-ex-langs figcaption { margin-block-start: 8px; text-align: center; color: var(--il-muted); font-size: 14px; }
@media (max-width: 1000px) { .ilwp-ex-three { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .ilwp-ex-grid { grid-template-columns: 1fr; } .ilwp-ex-langs { grid-template-columns: 1fr; } }
