/* Engzco — WordPress / WooCommerce specific styles (on top of main.css) */

.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; top: -60px; inset-inline-start: 12px; z-index: 100; background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }

.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--flush { padding-top: 0; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.center-row { justify-content: center; }
.empty { text-align: center; color: var(--ink-3); padding: 40px 0; }
.head h2, .head h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); margin-top: 14px; }
.head--row { display: flex; justify-content: space-between; align-items: flex-end; max-width: none; gap: 16px; flex-wrap: wrap; }
.hide-md { }
@media (max-width: 900px) { .hide-md { display: none !important; } }

/* Logo */
/* "a.logo img" beats WooCommerce's ".woocommerce img { height: auto }" on shop pages. */
a.logo img.logo__img { height: 46px; width: auto; max-width: none; }
a.logo--dark img.logo__img { height: 52px; filter: brightness(0) invert(1); }
.footer .logo { margin-bottom: 16px; }

/* Primary nav from wp_nav_menu */
.nav { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__list > li { position: relative; }
.nav__list a { display: block; padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: 15px; color: var(--ink-2); transition: color .2s, background .2s; }
.nav__list a:hover { color: var(--blue-700); background: var(--blue-50); }
.nav__list .current-menu-item > a, .nav__list .current-menu-ancestor > a, .nav__list .current_page_item > a { color: var(--navy-800); font-weight: 700; }
.nav__list .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); margin-inline-start: 8px; vertical-align: 3px; }
.nav__list .sub-menu {
	position: absolute; top: calc(100% + 8px); inset-inline-start: 0; min-width: 240px;
	list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line);
	border-radius: var(--r); box-shadow: var(--sh-lg);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav__list .sub-menu a { border-radius: 10px; }
.nav__cta { display: none; }
.nav a.nav__cta { color: #fff; padding-inline: 26px; border-radius: 999px; }

@media (max-width: 900px) {
	.nav {
		position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); z-index: 60;
		flex-direction: column; align-items: stretch; gap: 16px; padding: 88px 20px 24px;
		background: #fff; box-shadow: var(--sh-lg); overflow-y: auto;
		transform: translateX(110%); transition: transform .35s var(--ease); margin: 0;
	}
	[dir="rtl"] .nav { inset: 0 0 0 auto; }
	.nav.is-open { transform: none; display: flex; }
	.nav__list { flex-direction: column; gap: 2px; }
	.nav__list a { padding: 12px 14px; border-radius: 12px; font-size: 16px; }
	.nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 12px 0 0; min-width: 0; }
	.nav__cta { display: inline-flex; }
	body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(7, 10, 36, .45); z-index: 55; }
	body.nav-open .burger { position: relative; z-index: 70; }
}

/* Topbar socials */
.socials--mini { margin: 0; gap: 2px; }
.socials--mini a { width: 30px; height: 30px; background: none; color: rgba(255, 255, 255, .7); }
.socials--mini svg { width: 15px; height: 15px; }

/* Hero tweaks */
.slide h1, .slide h2 { margin-top: 18px; }
.float-card--a { top: 14%; inset-inline-start: 0; }
.float-card--b { bottom: 12%; inset-inline-end: 2%; animation-delay: -3s; }
.float-card .ic svg { width: 20px; height: 20px; }
.marquee__track img { height: 44px; width: auto; filter: grayscale(1); opacity: .6; transition: filter .3s, opacity .3s; }
.marquee__track img:hover { filter: none; opacity: 1; }
.svc-grid[hidden] { display: none; }

/* Page hero */
.page-hero { text-align: center; }
.page-hero .wrap { position: relative; }
.page-hero .crumbs { color: rgba(255, 255, 255, .65); }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero .eyebrow { margin-top: 12px; }
.page-hero .meta { font-size: 14px; }
.page-hero--split { text-align: start; }
.page-hero--split .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.page-hero--split p { margin-inline: 0; }
.page-hero__media img { border-radius: var(--r-lg); box-shadow: var(--sh-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.page-hero__phone { display: flex; justify-content: center; }
.page-hero__phone .phone { width: 250px; }
.host { opacity: .75; }
@media (max-width: 900px) {
	.page-hero--split .wrap { grid-template-columns: 1fr; text-align: center; }
	.page-hero--split .slide__actions { justify-content: center; }
}

/* Long-form content */
.entry { font-size: 1.0625rem; line-height: 2; color: var(--ink); }
.entry > * + * { margin-top: 1.1em; }
.entry h2, .entry h3, .entry h4, .entry h5, .entry h6 { color: var(--navy-800); font-weight: 700; line-height: 1.5; margin-top: 1.8em; scroll-margin-top: 110px; }
.entry h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.875rem); }
.entry h3 { font-size: clamp(1.2rem, 1rem + .6vw, 1.45rem); }
.entry h4, .entry h5, .entry h6 { font-size: 1.15rem; }
.entry strong { font-weight: 600; }
.entry a { color: var(--blue-700); text-decoration: underline; text-decoration-color: rgba(48, 62, 153, .3); text-underline-offset: 4px; }
.entry a:hover { text-decoration-color: currentColor; }
.entry ul, .entry ol { padding-inline-start: 1.4em; }
.entry li + li { margin-top: .4em; }
.entry li::marker { color: var(--coral); }
.entry blockquote { margin-inline: 0; padding: 18px 22px; border-inline-start: 4px solid var(--orange); background: var(--blue-50); border-radius: var(--r-sm); }
.entry img { border-radius: var(--r); height: auto; }
.entry table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.entry th, .entry td { border: 1px solid var(--line); padding: 10px 14px; }
.entry th { background: var(--blue-50); }
.entry iframe { max-width: 100%; }
.article__cover { margin: 0 0 32px; }
.article__cover img { border-radius: var(--r-lg); width: 100%; height: auto; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px; }
.tags a { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); }
.article__cta { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px; border-radius: var(--r-lg); background: var(--blue-50); }
.article__cta b { display: block; font-size: 1.1rem; }
.article__cta span { color: var(--ink-2); }

/* Service layout */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.aside__box { padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.aside__box h2 { font-size: 1.05rem; margin-bottom: 12px; }
.aside__box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.aside__box li a { display: block; padding: 8px 10px; border-radius: 10px; color: var(--ink-2); font-size: 15px; }
.aside__box li a:hover { background: var(--blue-50); color: var(--navy-800); }
.aside__box--dark { background: var(--grad-deep); color: #fff; border: 0; display: grid; gap: 10px; }
.aside__box--dark p { color: rgba(255, 255, 255, .75); font-size: 15px; }
@media (max-width: 1000px) { .with-aside { grid-template-columns: 1fr; } .aside { position: static; } }

.countries { margin-top: 64px; text-align: center; }
.countries__title { font-size: 1.4rem; margin-bottom: 24px; }
.countries__list { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.country { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 22px; border-radius: var(--r-lg); border: 1px solid var(--line); min-width: 140px; transition: box-shadow .3s, transform .3s var(--ease); }
.country:hover { box-shadow: var(--sh); transform: translateY(-4px); }
.country img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.filters { justify-content: flex-start; }
.filter:hover { border-color: var(--blue-700); color: var(--blue-700); }
.filter.is-active:hover { color: #fff; }

/* Work */
.work__title { font-size: 1rem; }
.work__title a:hover { color: var(--blue-700); }
.work__live svg { width: 14px; height: 14px; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Cards */
.post__ph { display: block; aspect-ratio: 16 / 9; background: var(--grad-deep); }
.quote blockquote { margin: 0; color: var(--ink-2); }
.who img, .avatar-ph { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.p-card__title { margin: 0; }
.p-card__media img { aspect-ratio: 1 / 1; }
.p-card__sale { position: absolute; top: 10px; inset-inline-end: 10px; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--coral); color: #fff; }
.price .woocommerce-Price-amount { font-weight: 700; }
.price del { opacity: .5; font-size: 12px; }

/* About */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 260px)); gap: 20px; justify-content: center; }
.member { margin: 0; text-align: center; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.member img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.member figcaption { padding: 16px; }
.member b { display: block; }
.member span { color: var(--ink-3); font-size: 14px; }
.stats--flush { margin-top: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; }
.contact__info { display: grid; gap: 12px; }
.contact__item { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r-lg); border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.contact__item:hover { box-shadow: var(--sh); border-color: transparent; }
.contact__item .ic { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-700); }
.contact__item .ic svg { width: 22px; height: 22px; }
.contact__item b { display: block; }
.contact__item span span { color: var(--ink-2); font-size: 15px; }
.contact__info .socials a { color: var(--navy-800); background: var(--bg-soft); }
.contact__form { padding: 28px; border-radius: var(--r-lg); background: var(--bg-soft); }
.contact__form h2 { font-size: 1.4rem; margin-bottom: 16px; }
.contact__form .form { padding: 0; background: none; }
.map { width: 100%; height: 380px; border: 0; border-radius: var(--r-lg); margin-top: 32px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* Forms */
.form__msg { padding: 12px 16px; border-radius: 12px; font-size: 15px; }
.form__msg--ok { background: #e7f8ef; color: #136c3b; }
.form__msg--err { background: #fdecec; color: #a12727; }
.search { display: flex; gap: 8px; max-width: 520px; margin: 0 auto 24px; }
.search input { flex: 1; height: 46px; border-radius: 12px; border: 1px solid var(--line); padding-inline: 14px; font: inherit; }

/* Footer */
.footer__title { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer .menu, .contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--orange); }
.footer__bottom a:hover { color: #fff; }
.wa-float { position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(37, 211, 102, .7); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.06); }
/* ---- «من نحن»: verified company card ---- */
.ez-trust { display: flex; justify-content: center; margin: 22px 0 14px; }
.ez-trust__card { position: relative; overflow: hidden; width: min(100%, 580px); padding: 30px 30px 22px; border-radius: 30px; background: #fff; border: 8px solid #fff; outline: 1px solid var(--line); box-shadow: 0 30px 60px -34px rgba(13, 18, 56, .45), 0 0 0 1px rgba(13, 18, 56, .03); }
.ez-trust__card::before { content: ""; position: absolute; inset: 8px; border: 1.5px dashed #e3e6f3; border-radius: 22px; pointer-events: none; }
.ez-trust__card::after { content: ""; position: absolute; top: -90px; inset-inline-start: -90px; width: 230px; height: 230px; border-radius: 50%; background: linear-gradient(135deg, #fff1e7, #eef0ff); pointer-events: none; }
.ez-trust__top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.ez-trust__shield { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), #e8505b); color: #fff; box-shadow: 0 0 0 8px rgba(248, 157, 97, .18), 0 14px 26px -12px rgba(232, 80, 91, .8); }
.ez-trust__shield svg { width: 28px; height: 28px; }
.ez-trust__logo { width: 170px; height: auto; border-radius: 0 !important; }
.ez-trust__rows { position: relative; z-index: 1; margin: 0; }
.ez-trust__rows > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 2px; border-bottom: 1px solid var(--line); }
.ez-trust__rows > div:last-child { border-bottom: 0; }
.ez-trust__rows dt { flex: none; font-size: 14px; color: var(--ink-3); font-weight: 500; }
.ez-trust__rows dd { margin: 0; text-align: end; font-size: 16.5px; font-weight: 800; color: var(--navy-800); line-height: 1.6; }
.ez-trust__rows dd bdi { letter-spacing: .6px; }
.ez-trust__rows dd a { color: inherit; }
.ez-trust__note { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 6px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: #15803d; font-weight: 700; }
.ez-trust__note::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #15803d; color: #fff; font-size: 12px; }
@media (max-width: 640px) {
	.ez-trust__card { padding: 22px 18px 16px; border-width: 6px; border-radius: 24px; }
	.ez-trust__card::before { inset: 6px; border-radius: 18px; }
	.ez-trust__card::after { width: 170px; height: 170px; top: -70px; inset-inline-start: -70px; }
	.ez-trust__shield { width: 52px; height: 52px; }
	.ez-trust__shield svg { width: 23px; height: 23px; }
	.ez-trust__logo { width: 130px; }
	.ez-trust__rows > div { padding: 13px 0; align-items: flex-start; }
	.ez-trust__rows dt { font-size: 13px; padding-top: 2px; }
	.ez-trust__rows dd { font-size: 14.5px; }
}

/* ---- Contact map with directions card ---- */
.map-wrap { position: relative; }
.map-card { position: absolute; bottom: 18px; inset-inline-start: 18px; display: grid; gap: 6px; max-width: 300px; padding: 16px; border-radius: 16px; background: #fff; box-shadow: var(--sh-lg); }
.map-card b { color: var(--navy-800); }
.map-card span { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.map-card .btn { justify-self: start; gap: 6px; margin-top: 4px; }
.map-card .btn svg { width: 16px; height: 16px; }
@media (max-width: 640px) {
	.map { height: 300px; }
	.map-card { position: static; max-width: none; margin-top: 10px; box-shadow: none; border: 1px solid var(--line); }
	.map-card .btn { justify-self: stretch; justify-content: center; }
}

/* ---- Home print section: top products with badges ---- */
.p-card__media { position: relative; }
.p-card__hot { position: absolute; z-index: 2; bottom: 10px; inset-inline-start: 10px; padding: 4px 10px; border-radius: 999px; background: linear-gradient(135deg, #e8505b, var(--orange)); color: #fff; font-size: 11.5px; font-weight: 700; box-shadow: 0 8px 18px -8px rgba(232, 80, 91, .9); pointer-events: none; }
.p-card__hot--new { background: linear-gradient(135deg, var(--blue-700, #3442b5), #4a5bd4); box-shadow: 0 8px 18px -8px rgba(52, 66, 181, .9); }
.p-grid--home .p-card { transition: transform .25s var(--ease), box-shadow .25s; }
.p-grid--home .p-card:hover { transform: translateY(-4px); box-shadow: var(--sh); }
@media (max-width: 640px) {
	.p-grid--home > :nth-child(n+9) { display: none; }
	.p-card__hot { bottom: 8px; inset-inline-start: 8px; padding: 3px 8px; font-size: 10.5px; }
}

/* ---- Careers page ---- */
.wrap--careers .entry > p:first-child { max-width: 760px; margin-inline: auto; text-align: center; font-size: 17px; color: var(--ink-2); }
.ez-perks { list-style: none; padding: 0; margin: 26px 0 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ez-perks li { margin: 0; padding: 16px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); line-height: 1.7; }
.ez-perks b { display: block; color: var(--navy-800); margin-bottom: 4px; }
.ez-perks span { font-size: 14px; color: var(--ink-2); }
.ez-careers__title { display: flex; align-items: center; gap: 10px; font-size: 1.6rem; color: var(--navy-800); margin: 0 0 18px; }
.ez-careers__title span { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 16px; }
.ez-jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 48px; }
.ez-job { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 34px -28px rgba(13, 18, 56, .45); transition: transform .25s var(--ease), box-shadow .25s; }
.ez-job:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -26px rgba(13, 18, 56, .5); }
.ez-job__head { display: flex; align-items: center; gap: 14px; }
.ez-job__icon { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, #eef0ff, #fff3ea); font-size: 26px; }
.ez-job__title { margin: 0; font-size: 1.2rem; color: var(--navy-800); line-height: 1.5; }
.ez-job__place { margin: 2px 0 0; font-size: 13px; color: var(--ink-3); }
.ez-job__chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ez-job__chips li { margin: 0; padding: 4px 11px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--navy-800); }
.ez-job__chips li:first-child { background: #e8f8ee; border-color: #c7eed6; color: #15803d; }
.ez-job__sum { margin: 0; color: var(--ink-2); line-height: 1.8; }
.ez-job__more { border-top: 1px dashed var(--line); padding-top: 10px; }
.ez-job__more summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--blue-700); display: inline-flex; align-items: center; gap: 6px; }
.ez-job__more summary::-webkit-details-marker { display: none; }
.ez-job__more summary::after { content: "+"; font-size: 18px; line-height: 1; color: var(--orange); }
.ez-job__more[open] summary::after { content: "–"; }
.ez-job__body { margin-top: 10px; font-size: 15px; line-height: 1.85; }
.ez-job__body h4 { margin: 14px 0 6px; font-size: 15px; color: var(--navy-800); }
.ez-job__body ul { margin: 0 0 8px; padding-inline-start: 20px; }
.ez-job__apply { align-self: flex-start; margin-top: auto; }
.ez-apply { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: start; padding: clamp(22px, 4vw, 40px); border-radius: 28px; background: var(--grad-deep); color: #fff; scroll-margin-top: 90px; }
.ez-apply h2 { color: #fff; margin: 8px 0 16px; }
.ez-apply__steps { list-style: none; counter-reset: st; padding: 0; margin: 0; display: grid; gap: 12px; }
.ez-apply__steps li { counter-increment: st; position: relative; margin: 0; padding: 14px 16px; padding-inline-start: 58px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); line-height: 1.7; }
.ez-apply__steps li::before { content: counter(st); position: absolute; inset-inline-start: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; font-weight: 700; }
.ez-apply__steps b { display: block; }
.ez-apply__steps span { font-size: 14px; color: rgba(255, 255, 255, .78); }
.ez-apply__form { background: #fff; color: var(--ink); padding: 20px; border-radius: 20px; }
.ez-apply__form select { height: 50px; border-radius: 12px; border: 1px solid var(--line); padding-inline: 14px; font: inherit; background: var(--bg-soft); width: 100%; }
@media (max-width: 900px) {
	.ez-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ez-jobs, .ez-apply { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
	.ez-perks { gap: 8px; margin: 18px 0 28px; }
	.ez-perks li { padding: 12px; }
	.ez-perks span { font-size: 12.5px; }
	.ez-careers__title { font-size: 1.3rem; }
	.ez-job { padding: 16px; border-radius: 18px; }
	.ez-job__icon { width: 46px; height: 46px; font-size: 22px; }
	.ez-job__title { font-size: 1.05rem; }
	.ez-job__apply { align-self: stretch; justify-content: center; }
	.ez-apply { border-radius: 22px; }
	.ez-apply__form { padding: 14px; }
}

/* Keep the floating WhatsApp button clear of the footer's last line (terms / copyright) */
.wa-float { bottom: 28px; }
.footer__bottom { padding-inline-end: 84px; }
@media (max-width: 640px) {
	.wa-float { bottom: 24px; inset-inline-end: 16px; width: 52px; height: 52px; }
	.footer__bottom { padding-inline-end: 0; padding-bottom: 88px; }
}
.wa-float svg { width: 28px; height: 28px; }

/* Pagination */
.pagination, .woocommerce-pagination { margin-top: 40px; display: flex; justify-content: center; }
.nav-links, .woocommerce-pagination ul { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; border: 0 !important; }
.page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding-inline: 12px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink-2); }
.page-numbers.current { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.woocommerce-pagination ul li { border: 0 !important; }

/* ---------- WooCommerce ---------- */
.shop-hero .crumbs { color: rgba(255, 255, 255, .65); font-size: 13px; }
.shop-hero .wrap { grid-template-columns: 1fr; }
.shop-side__title { font-size: 14px; color: var(--ink-3); margin-bottom: 6px; font-weight: 600; }
.shop-main { min-width: 0; }
.shop-bar .woocommerce-result-count { margin: 0; color: var(--ink-3); font-size: 14px; }
.shop-bar .woocommerce-ordering { margin: 0; }
.shop-bar select { height: 40px; border-radius: 10px; border: 1px solid var(--line); padding-inline: 12px; font: inherit; font-size: 14px; background: #fff; }

.woocommerce ul.products, ul.products {
	display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 16px;
	list-style: none; margin: 0 !important; padding: 0;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { content: none !important; }
.woocommerce ul.products li.product, ul.products li.product { width: auto !important; margin: 0 !important; padding: 0 !important; float: none !important; }
.woocommerce ul.products li.product .p-card { height: 100%; }
@media (max-width: 1100px) { .woocommerce ul.products, ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .woocommerce ul.products, ul.products { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* Single product */
.product-page .crumbs { color: var(--ink-3); font-size: 13px; margin-bottom: 20px; }
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images img { border-radius: var(--r-lg); }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .up-sells { grid-column: 1 / -1; }
.woocommerce div.product .product_title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); font-weight: 800; color: var(--navy-800); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--blue-700) !important; font-size: 1.5rem !important; font-weight: 700; margin: 12px 0 !important; }
.woocommerce div.product form.cart { display: grid; gap: 14px; margin-top: 20px; }
.woocommerce div.product form.cart .variations { border: 0; margin: 0; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0 0 6px; text-align: start; }
.woocommerce div.product form.cart .variations select { width: 100%; height: 48px; border-radius: 12px; border: 1px solid var(--line); padding-inline: 12px; font: inherit; background: #fff; }
.woocommerce .quantity .qty { height: 48px; width: 80px; border-radius: 12px; border: 1px solid var(--line); font: inherit; }
.woocommerce div.product form.cart .button, .woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce button.button.alt, .woocommerce a.button.alt {
	background: var(--grad) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important;
	height: 50px; padding: 0 26px !important; font-weight: 600 !important; font-family: inherit; line-height: 50px;
}
.woocommerce .woocommerce-tabs ul.tabs { padding: 0 !important; margin: 32px 0 16px !important; display: flex; gap: 6px; }
.woocommerce .woocommerce-tabs ul.tabs::before, .woocommerce .woocommerce-tabs ul.tabs li::before, .woocommerce .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce .woocommerce-tabs ul.tabs li { border: 1px solid var(--line) !important; background: #fff !important; border-radius: 999px !important; margin: 0 !important; }
.woocommerce .woocommerce-tabs ul.tabs li.active { background: var(--navy-800) !important; }
.woocommerce .woocommerce-tabs ul.tabs li.active a { color: #fff !important; }
.woocommerce .woocommerce-tabs .panel { line-height: 2; }
.woocommerce .related > h2, .woocommerce .up-sells > h2 { font-size: 1.5rem; margin: 32px 0 18px; }
.woocommerce .product_meta { font-size: 14px; color: var(--ink-3); margin-top: 18px; }
@media (max-width: 900px) { .woocommerce div.product { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
/* The image slider sets pixel widths on its slides; never let it widen the page. */
.woocommerce div.product div.images { min-width: 0; max-width: 100%; overflow: hidden; }
.woocommerce div.product div.images .flex-viewport { max-width: 100%; }
.woocommerce div.product div.images .woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #f4f5fb; }
.woocommerce div.product div.images .flex-control-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px !important; }
.woocommerce div.product div.images .flex-control-thumbs li { width: calc(20% - 7px) !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images .flex-control-thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; opacity: .6; }
.woocommerce div.product div.images .flex-control-thumbs img.flex-active, .woocommerce div.product div.images .flex-control-thumbs img:hover { opacity: 1; }
.woocommerce div.product .product_meta { overflow-wrap: anywhere; }

/* Grid cards may shrink below their text width (stops related products widening the page) */
ul.products > li, .p-grid > *, .posts > *, .work-grid > *, .svc-grid > * { min-width: 0; }
.post img { height: auto; }

/* Product description: specs table + FAQ accordion */
.woocommerce-Tabs-panel table { width: 100%; border-collapse: collapse; margin: 12px 0 22px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.woocommerce-Tabs-panel th, .woocommerce-Tabs-panel td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; line-height: 1.7; }
.woocommerce-Tabs-panel th { width: 34%; background: var(--bg-soft); color: var(--navy-800); font-weight: 700; }
.woocommerce-Tabs-panel tr:last-child th, .woocommerce-Tabs-panel tr:last-child td { border-bottom: 0; }
.woocommerce-Tabs-panel .ez-faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin: 0 0 10px; }
.woocommerce-Tabs-panel .ez-faq summary { cursor: pointer; list-style: none; padding: 14px 16px; font-weight: 700; color: var(--navy-800); display: flex; justify-content: space-between; gap: 12px; }
.woocommerce-Tabs-panel .ez-faq summary::-webkit-details-marker { display: none; }
.woocommerce-Tabs-panel .ez-faq summary::after { content: "+"; flex: none; font-size: 20px; line-height: 1; color: var(--orange); }
.woocommerce-Tabs-panel .ez-faq details[open] summary::after { content: "–"; }
.woocommerce-Tabs-panel .ez-faq details p { margin: 0; padding: 0 16px 14px; }
@media (max-width: 640px) { .woocommerce-Tabs-panel th { width: 40%; } .woocommerce-Tabs-panel th, .woocommerce-Tabs-panel td { padding: 10px; font-size: 14px; } }

/* Related / up-sell cards: same compact look as the shop grid (the big product-price rule leaked into them) */
.woocommerce div.product ul.products .price, .woocommerce div.product ul.products span.price { font-size: 15px !important; line-height: 1.45; margin: 0 !important; color: var(--navy-800) !important; }
.woocommerce div.product ul.products .price--quote, .woocommerce div.product ul.products .price .price--quote { font-size: 13px !important; color: var(--blue-700) !important; font-weight: 600; }
.woocommerce div.product .related > h2, .woocommerce div.product .up-sells > h2 { font-size: 1.35rem; margin: 8px 0 16px; color: var(--navy-800); }
.woocommerce .woocommerce-tabs .panel h2 { font-size: 1.3rem; margin: 24px 0 10px; color: var(--navy-800); }
@media (max-width: 640px) {
	.woocommerce div.product .product_title { font-size: 1.35rem; line-height: 1.5; }
	.woocommerce div.product .summary p.price, .woocommerce div.product .summary span.price { font-size: 1.15rem !important; margin: 8px 0 !important; }
	.woocommerce div.product .woocommerce-product-details__short-description { font-size: 14.5px; line-height: 1.85; }
	.woocommerce .woocommerce-tabs ul.tabs { margin: 24px 0 12px !important; }
	.woocommerce .woocommerce-tabs ul.tabs li a { font-size: 14px; padding: 7px 14px !important; }
	.woocommerce .woocommerce-tabs .panel { font-size: 14.5px; line-height: 1.85; }
	.woocommerce .woocommerce-tabs .panel h2 { font-size: 1.08rem; margin: 20px 0 8px; }
	.woocommerce .woocommerce-tabs .panel ul, .woocommerce .woocommerce-tabs .panel ol { padding-inline-start: 18px; }
	.woocommerce-Tabs-panel .ez-faq summary { padding: 12px 14px; font-size: 14px; }
	.woocommerce div.product .related > h2, .woocommerce div.product .up-sells > h2 { font-size: 1.1rem; margin-bottom: 12px; }
	.woocommerce div.product ul.products .price, .woocommerce div.product ul.products span.price { font-size: 13px !important; }
	.woocommerce div.product ul.products .price--quote, .woocommerce div.product ul.products .price .price--quote { font-size: 11.5px !important; }
	.woocommerce div.product ul.products .p-card__title { font-size: 13px; line-height: 1.5; }
}

/* Blog on phones: two compact cards per row */
@media (max-width: 640px) {
	.posts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.post { border-radius: 16px; }
	.post img, .post__ph { aspect-ratio: 4 / 3; height: auto; }
	.post div { padding: 10px 11px 13px; }
	.post time { font-size: 11px; }
	.post h3 { font-size: 13.5px; line-height: 1.55; margin-top: 4px; -webkit-line-clamp: 3; }
}

/* Cart / checkout / account */
.woo-page { max-width: 1100px; }
.woocommerce table.shop_table { border-radius: var(--r) !important; border-color: var(--line) !important; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .select2-container .select2-selection--single {
	min-height: 48px; border-radius: 12px !important; border: 1px solid var(--line) !important; padding-inline: 12px; font: inherit; background: #fff;
}
.select2-container .select2-selection--single .select2-selection__rendered { line-height: 46px !important; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-radius: var(--r-sm); border-top-color: var(--blue-700) !important; background: var(--blue-50) !important; }
#add_payment_method #payment, .woocommerce-checkout #payment { background: var(--bg-soft) !important; border-radius: var(--r) !important; }

/* ---- Print shop: product options + quote form ---- */
.ez-po { display: grid; gap: 16px; margin: 6px 0 4px; }
.ez-po__group { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.ez-po__group legend, .ez-po__legend { font-weight: 600; font-size: 15px; color: var(--ink); padding: 0; margin-bottom: 8px; }
.ez-po__legend small { color: var(--ink-3); font-weight: 400; }
.ez-po__tiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.ez-po__tier, .ez-po__choice { position: relative; cursor: pointer; }
.ez-po__tier input, .ez-po__choice input { position: absolute; opacity: 0; pointer-events: none; }
.ez-po__tier > span { display: grid; gap: 2px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; text-align: center; transition: border-color .2s, box-shadow .2s, background .2s; }
.ez-po__tier b { font-size: 17px; }
.ez-po__tier small { font-size: 14px; color: var(--ink); font-weight: 600; }
.ez-po__tier em { font-style: normal; font-size: 12px; color: var(--ink-3); }
.ez-po__choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ez-po__choice > span { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; min-height: 48px; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-size: 14px; font-weight: 500; text-align: center; transition: border-color .2s, background .2s; }
.ez-po__choice small { font-size: 12px; color: var(--ink-3); width: 100%; }
.ez-po__choice svg { width: 18px; height: 18px; }
.ez-po__tier input:checked + span, .ez-po__choice input:checked + span { border-color: var(--blue-500); background: var(--blue-50); box-shadow: 0 0 0 3px rgba(74, 91, 212, .12); }
.ez-po__tier input:focus-visible + span, .ez-po__choice input:focus-visible + span { outline: 2px solid var(--blue-500); outline-offset: 2px; }
.ez-po__file { position: relative; display: block; cursor: pointer; }
.ez-po__file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.ez-po__drop { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; padding: 16px; border: 1.5px dashed #c9cfee; border-radius: 12px; background: var(--bg-soft); text-align: center; color: var(--ink-2); font-size: 14px; }
.ez-po__drop b { color: var(--blue-700); word-break: break-all; }
.ez-po__drop small { width: 100%; color: var(--ink-3); font-size: 12px; }
.ez-po__drop svg { width: 20px; height: 20px; color: var(--blue-500); }
.ez-po__file:hover .ez-po__drop { border-color: var(--blue-500); }
.ez-po__hint { margin: 0; padding: 10px 12px; border-radius: 10px; background: #effaf3; color: #1d6b3a; font-size: 14px; }
.ez-po__notes textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 14px; resize: vertical; }
.ez-po__total { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-radius: 12px; background: var(--navy-900); color: #fff; }
.ez-po__total b { font-size: 20px; }
.ez-po [hidden] { display: none !important; }

.ez-quote { margin-top: 18px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-soft); }
.ez-quote__title { font-size: 20px; margin: 0 0 6px; }
.ez-quote__lead { margin: 0 0 14px; color: var(--ink-2); font-size: 14px; }
.ez-quote .form { gap: 10px; }
.ez-quote select { height: 48px; border-radius: 12px; border: 1px solid var(--line); padding-inline: 12px; font: inherit; background: #fff; width: 100%; }

@media (max-width: 560px) {
	.ez-po__choices { grid-template-columns: 1fr; }
	.ez-po__choice > span { justify-content: flex-start; }
	.ez-po__choice small { width: auto; }
	.ez-quote { padding: 16px; }
}.ez-po__file input { height: 100% !important; padding: 0 !important; }
.ez-quote .form { padding: 0; background: transparent; }
.ez-quote .form input, .ez-quote .form select, .ez-quote .form textarea { background: #fff; }
/* ---- Shop: categories carousel ---- */
.cat-rail { position: relative; margin-bottom: 26px; }
.cat-rail__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cat-rail__title { font-size: 20px; margin: 0; }
.cat-rail__nav { display: flex; gap: 8px; }
.cat-rail__btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy-800); cursor: pointer; box-shadow: var(--sh-sm); transition: background .2s, color .2s, opacity .2s, transform .2s; }
.cat-rail__btn svg { width: 18px; height: 18px; }
.cat-rail__btn[data-dir="prev"] svg { transform: scaleX(-1); }
.cat-rail__btn:hover { background: var(--navy-800); color: #fff; }
.cat-rail.is-start .cat-rail__btn[data-dir="prev"], .cat-rail.is-end .cat-rail__btn[data-dir="next"] { opacity: .35; pointer-events: none; }
.cat-rail.no-scroll .cat-rail__nav { display: none; }
.cat-rail__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.cat-rail__track::-webkit-scrollbar { display: none; }
.cat-rail::after { content: ""; position: absolute; inset-inline-end: 0; bottom: 14px; top: 54px; width: 48px; pointer-events: none; background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0)); transition: opacity .2s; }
[dir="rtl"] .cat-rail::after, .rtl .cat-rail::after { background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0)); }
.cat-rail.is-end::after, .cat-rail.no-scroll::after { opacity: 0; }
.cat-card { flex: 0 0 140px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 10px 12px; border-radius: 18px; border: 1px solid var(--line); background: #fff; text-align: center; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--sh); border-color: transparent; }
.cat-card__img { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--bg-soft); margin-bottom: 6px; }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.cat-card:hover .cat-card__img img { transform: scale(1.06); }
.cat-card__ph { font-size: 34px; font-weight: 700; color: var(--blue-500); }
.cat-card__name { font-size: 14px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.cat-card__count { font-size: 12px; color: var(--ink-3); }
.cat-card--all .cat-card__img { background: var(--grad-deep); color: #fff; }
.cat-card--all .cat-card__img svg { width: 42%; height: 42%; }
.cat-card.is-active { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(74, 91, 212, .14); }
.cat-card.is-active .cat-card__name { color: var(--blue-700); }

/* Full-width product grid under the carousel: 5 compact columns. */
.shop-main ul.products { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .shop-main ul.products { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 860px) { .shop-main ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
	.shop-main ul.products { grid-template-columns: repeat(2, 1fr); }
	.cat-rail__nav { display: none; }
	.cat-rail__title { font-size: 17px; }
	.cat-card { flex-basis: calc((100% - 30px) / 3.35); padding: 8px 8px 10px; border-radius: 16px; }
	.cat-card__name { font-size: 13px; }
}
/* "There is more" cues: swipe hint, progress bar, peeking card (phones/tablets) */
.cat-rail__hint, .cat-rail__bar { display: none; }
@media (max-width: 900px) {
	.cat-rail__head { flex-wrap: wrap; }
	.cat-rail__hint { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--navy-800); color: #fff; font-size: 12px; font-weight: 600; transition: opacity .3s; }
	.cat-rail__hint b { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--orange); font-size: 11px; }
	.cat-rail__hint i { width: 14px; height: 10px; position: relative; animation: rail-nudge 1.3s ease-in-out infinite; }
	.cat-rail__hint i::before { content: ""; position: absolute; inset: 4px 0 auto 2px; height: 2px; background: currentColor; border-radius: 2px; }
	.cat-rail__hint i::after { content: ""; position: absolute; left: 0; top: 1px; width: 6px; height: 6px; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(45deg); }
	.cat-rail.was-scrolled .cat-rail__hint, .cat-rail.no-scroll .cat-rail__hint { opacity: 0; pointer-events: none; }
	.cat-rail__bar { display: block; position: relative; height: 4px; margin: 2px auto 0; width: 120px; border-radius: 4px; background: var(--line); overflow: hidden; }
	.cat-rail__bar i { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: 30%; border-radius: 4px; background: var(--orange); transition: inset-inline-start .15s linear; }
	.cat-rail.no-scroll .cat-rail__bar { display: none; }
}
@keyframes rail-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-5px); } }
@media (prefers-reduced-motion: reduce) { .cat-rail__hint i { animation: none; } }
/* ---- Live phones: full-page site scroll inside the screen ---- */
.phone--live .phone__screen img.is-full { height: auto; object-fit: initial; transform: translateY(0); transition: transform 1.1s cubic-bezier(.65, 0, .35, 1); will-change: transform; }
.phone--live:hover img.is-full, .work:hover .phone--live img.is-full, .phone--live.is-playing img.is-full { transform: translateY(var(--shift, 0px)); transition-duration: var(--dur, 6s); transition-timing-function: cubic-bezier(.45, .05, .55, .95); }
.phone__bar { position: absolute; top: 56px; bottom: 56px; inset-inline-end: 6px; width: 3px; border-radius: 3px; background: rgba(13, 18, 56, .12); z-index: 3; opacity: 0; transition: opacity .3s; pointer-events: none; }
.phone__bar i { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--grad); transform: scaleY(0); transform-origin: top; transition: transform 1.1s cubic-bezier(.65, 0, .35, 1); }
.phone--live:hover .phone__bar, .work:hover .phone--live .phone__bar, .phone--live.is-playing .phone__bar { opacity: 1; }
.phone--live:hover .phone__bar i, .work:hover .phone--live .phone__bar i, .phone--live.is-playing .phone__bar i { transform: scaleY(1); transition-duration: var(--dur, 6s); transition-timing-function: cubic-bezier(.45, .05, .55, .95); }
.phone__hint { position: absolute; bottom: 62px; left: 50%; transform: translate(-50%, 0); z-index: 3; padding: 6px 12px; border-radius: 999px; background: rgba(7, 10, 36, .78); color: #fff; font-size: 12px; font-weight: 500; white-space: nowrap; pointer-events: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: opacity .3s, transform .3s; }
.phone__hint::before { content: "↓"; display: inline-block; margin-inline-end: 6px; animation: hint-bob 1.4s ease-in-out infinite; }
@keyframes hint-bob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(2px); } }
.phone--live:hover .phone__hint, .work:hover .phone--live .phone__hint, .phone--live.is-playing .phone__hint { opacity: 0; transform: translate(-50%, 8px); }
.hero-phones .phone__hint, .phone--live.is-static .phone__hint, .phone--live.is-static .phone__bar { display: none; }
.phone--live.is-static img.is-full { transform: none !important; }
.phone--live .phone__screen { cursor: ns-resize; }
/* ---- SEO: keyword line inside the home H1, decorative marquee copy ---- */
.hero-h1 .eyebrow { display: inline-flex; margin-bottom: 18px; font-size: 13px; font-weight: 600; line-height: 1.4; letter-spacing: .02em; vertical-align: top; }
.hero-h1__main { display: block; }
.marquee__dup { display: contents; }
/* ---- Mobile header: working drawer + burger & cart on the far right ---- */
@media (max-width: 900px) {
	/* backdrop-filter traps position:fixed children (the drawer) inside the header */
	.header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
	.header .wrap { justify-content: space-between; }
	.header__cta { order: -1; gap: 8px; }
	.header__cta .burger { order: -1; }
	.header .logo { margin-inline-start: auto; }
	body.nav-open .header__cta .icon-btn:not(.burger) { visibility: hidden; }
}
@media (max-width: 900px) {
	/* Header above the dark overlay (so the drawer isn't dimmed) and above the admin bar's hidden items */
	.admin-bar .header, body.nav-open .header { z-index: 100000; }
}
/* ---- Menu dropdown polish ---- */
.nav__list a { white-space: nowrap; }
.nav__list .menu-item-has-children > a { display: inline-flex; align-items: center; gap: 6px; }
.nav__list .menu-item-has-children > a::after { margin-inline-start: 2px; vertical-align: 0; transition: transform .2s; }
.nav__list .sub-menu { top: 100%; margin-top: 10px; min-width: 250px; }
.nav__list .sub-menu::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; } /* hover bridge over the gap */
.nav__list .sub-menu a { padding: 10px 14px; font-size: 14.5px; }
.nav__list .sub-menu a:hover { background: var(--blue-50); color: var(--blue-700); }
@media (min-width: 901px) {
	.nav__list li:hover > a::after, .nav__list li:focus-within > a::after { transform: rotate(-135deg) translate(-2px, -2px); }
}
@media (min-width: 901px) and (max-width: 1180px) {
	.header .wrap { gap: 14px; }
	.nav__list a { padding: 8px 10px; font-size: 14px; }
	.header__cta .hide-md { display: none; }
}
@media (max-width: 900px) {
	.nav__list .menu-item-has-children > a { display: flex; justify-content: space-between; }
	.nav__list .sub-menu { display: none; margin: 2px 0 6px; padding: 4px 14px 4px 0; border-inline-start: 2px solid var(--blue-100); }
	.nav__list li.is-open > .sub-menu { display: block; }
	.nav__list li.is-open > a::after { transform: rotate(-135deg); }
	.nav__list .sub-menu a { font-size: 15px; padding: 10px 12px; }
	/* Separate arrow button (added by main.js) so closing never navigates */
	.nav__list > li.menu-item-has-children { position: relative; }
	.nav__list > li.menu-item-has-children > a { padding-inline-end: 56px; }
	.nav__list > li.menu-item-has-children > a::after { display: none; }
	.sub-toggle { position: absolute; top: 2px; inset-inline-end: 2px; width: 46px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 10px; background: var(--bg-soft); color: var(--navy-800); cursor: pointer; }
	.sub-toggle::before { content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
	li.is-open > .sub-toggle::before { transform: translateY(2px) rotate(-135deg); }
}
.sub-toggle { display: none; }

/* Thank-you page: next-step buttons */
.ez-ty-actions { margin: 28px 0 8px; padding: 22px; border-radius: var(--r-lg); background: var(--bg-soft); border: 1px solid var(--line); text-align: center; }
.ez-ty-actions__lead { margin: 0 0 16px; color: var(--ink-2); }
.ez-ty-actions__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ez-ty-actions__btns .btn { gap: 8px; }
.ez-ty-actions__btns svg { width: 18px; height: 18px; }
.btn--wa { background: #25d366; color: #fff; }
.btn--wa:hover { background: #1ebe5b; color: #fff; }
@media (max-width: 640px) { .ez-ty-actions__btns .btn { flex: 1 1 100%; justify-content: center; } }

/* Form messages: solid colours so they stay readable on light and dark sections (the .cta p rule made them white) */
.form__msg.form__msg--ok, .form__msg.form__msg--err, .cta p.form__msg { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 14px 16px; border-radius: 14px; font-size: 15px; font-weight: 700; line-height: 1.6; color: #fff; }
.form__msg.form__msg--ok, .cta p.form__msg--ok { background: #15803d; box-shadow: 0 10px 24px -14px rgba(21, 128, 61, .9); }
.form__msg.form__msg--err, .cta p.form__msg--err { background: #b91c1c; }
.form__msg--ok::before, .form__msg--err::before { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .22); font-size: 15px; }
.form__msg--ok::before { content: "✓"; }
.form__msg--err::before { content: "!"; }
@media (max-width: 900px) { .nav__list .sub-toggle { display: grid; } }
/* ---- Mobile: no sideways scroll (closed drawer sat off-screen) ---- */
html { overflow-x: clip; }
@supports not (overflow-x: clip) { html { overflow-x: hidden; } }
@media (max-width: 900px) {
	.nav { visibility: hidden; transition: transform .35s var(--ease), visibility 0s linear .35s; }
	.nav.is-open { visibility: visible; transition: transform .35s var(--ease); }
}

/* ---- Home services tabs: one colour per section ---- */
.tabs .tab { --tc: #4a5bd4; color: var(--tc); background: rgba(74, 91, 212, .08); transition: background .2s, color .2s, box-shadow .2s; }
.tabs .tab:nth-child(2) { --tc: #0d9488; background: rgba(13, 148, 136, .09); }
.tabs .tab:nth-child(3) { --tc: #e8505b; background: rgba(232, 80, 91, .09); }
.tabs .tab::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--tc); margin-inline-end: 8px; vertical-align: 1px; }
.tabs .tab:hover { box-shadow: inset 0 0 0 1.5px var(--tc); }
.tabs .tab.is-active { background: var(--tc); color: #fff; box-shadow: 0 10px 22px -12px var(--tc); }
.tabs .tab.is-active::before { background: #fff; }
@media (max-width: 640px) {
	.tabs { display: flex; width: 100%; flex-wrap: nowrap; padding: 5px; gap: 4px; }
	.tabs .tab { flex: 1 1 0; padding: 10px 6px; font-size: 13px; white-space: nowrap; text-align: center; }
	.tabs .tab::before { display: none; }
}

/* ---- Footer: social icons wrap instead of pushing the first column off-screen ---- */
.footer__grid > * { min-width: 0; }
.socials { flex-wrap: wrap; }
@media (max-width: 640px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- Home "أعمالنا" on phones: one big phone at a time (like the project page), swipe for the next ---- */
.work-dots { display: none; }
@media (max-width: 640px) {
	.work-grid--home { display: flex; gap: 0; margin-inline: -16px; padding-block: 6px 4px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
	.work-grid--home::-webkit-scrollbar { display: none; }
	.work-grid--home .work { flex: 0 0 100%; scroll-snap-align: center; gap: 16px; opacity: 1; transform: none; }
	.work-grid--home .work .phone { width: 250px; max-width: 70vw; }
	.work-grid--home .work h3 { font-size: 1.1rem; }
	.work-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
	.work-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: #d5d9ea; cursor: pointer; transition: width .25s, background .25s; }
	.work-dots button.is-active { width: 24px; background: var(--orange); }
}

/* ---- «أعمالنا»: filter (all / websites / stores) + compact phones, two per row on mobile ---- */
.work-filter { display: flex; justify-content: center; gap: 6px; width: fit-content; max-width: 100%; margin: 0 auto 40px; padding: 6px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); }
.work-filter__btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: 15px; font-weight: 600; color: var(--navy-800); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.work-filter__btn svg { width: 18px; height: 18px; }
.work-filter__btn b { min-width: 24px; padding: 1px 7px; border-radius: 999px; background: rgba(13, 18, 56, .07); font-size: 12px; font-weight: 700; text-align: center; }
.work-filter__btn:hover { background: #fff; }
.work-filter__btn.is-active { background: var(--navy-800); color: #fff; box-shadow: 0 10px 22px -12px rgba(13, 18, 56, .6); }
.work-filter__btn.is-active b { background: var(--orange); color: #fff; }
.work-grid--page { transition: opacity .18s; }
.work-grid--page.is-filtering { opacity: 0; }
.work[hidden] { display: none !important; }
@media (max-width: 640px) {
	.work-filter { width: 100%; gap: 4px; padding: 5px; margin-bottom: 28px; }
	.work-filter__btn { flex: 1 1 0; justify-content: center; gap: 5px; padding: 9px 4px; font-size: 12.5px; white-space: nowrap; }
	.work-filter__btn svg { display: none; }
	.work-filter__btn b { min-width: 0; padding: 0 6px; font-size: 11px; }
	.work-grid:not(.work-grid--home) { gap: 30px 12px; }
	.work-grid:not(.work-grid--home) .work { gap: 10px; }
	.work-grid:not(.work-grid--home) .phone { width: 100%; max-width: 134px; border-radius: 24px; padding: 6px; }
	.work-grid:not(.work-grid--home) .phone::before { top: 10px; width: 40px; height: 12px; border-radius: 7px; }
	.work-grid:not(.work-grid--home) .phone__screen { border-radius: 19px; }
	.work-grid:not(.work-grid--home) .phone__bar { top: 36px; bottom: 36px; inset-inline-end: 3px; }
	.work-grid:not(.work-grid--home) .phone__hint { bottom: 42px; padding: 4px 9px; font-size: 10px; }
	.work-grid:not(.work-grid--home) .work__live { bottom: 8px; height: 28px; padding-inline: 10px; font-size: 11px; }
	.work-grid:not(.work-grid--home) .work__live svg { width: 11px; height: 11px; }
	.work-grid:not(.work-grid--home) .work__title, .work-grid:not(.work-grid--home) h3 { font-size: 14px; line-height: 1.45; }
	.work-grid:not(.work-grid--home) .muted { font-size: 11px; }
}

/* ---- «من نحن»: legal details with a verified badge ---- */
.ez-legal { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 18px 0 10px; }
.ez-legal__item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 12px 28px -24px rgba(13, 18, 56, .5); }
.ez-legal__item b { display: block; margin-bottom: 2px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.ez-legal__item bdi { font-size: 17px; font-weight: 700; color: var(--navy-800); letter-spacing: .5px; }
.ez-verified { flex: none; position: relative; width: 30px; height: 30px; border-radius: 50%; background: #1d9bf0; box-shadow: 0 0 0 5px rgba(29, 155, 240, .14); }
.ez-verified::after { content: ""; position: absolute; left: 11px; top: 7px; width: 6px; height: 12px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.ez-legal-note { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); }
.ez-legal-note .ez-verified { width: 18px; height: 18px; box-shadow: none; }
.ez-legal-note .ez-verified::after { left: 6.5px; top: 3.5px; width: 4px; height: 8px; border-width: 0 2px 2px 0; }
/* Founders: CEO sits in the middle on wide screens, first when the cards stack on phones. */
@media (max-width: 560px) { .team .member:nth-child(2) { order: -1; } }

/* ---- Service pages: designed hero visual (desktop) instead of a stretched stock photo ---- */
.svc-visual { position: relative; display: grid; place-items: center; min-height: 340px; }
.svc-visual__ring { position: absolute; width: 330px; height: 330px; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .22); animation: svc-spin 40s linear infinite; }
.svc-visual__ring--b { width: 250px; height: 250px; border-style: solid; border-color: rgba(248, 157, 97, .35); animation-direction: reverse; animation-duration: 28s; }
@keyframes svc-spin { to { transform: rotate(360deg); } }
.svc-visual__card { position: relative; z-index: 1; width: min(100%, 340px); padding: 26px 24px 20px; border-radius: 22px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); text-align: start; color: #fff; }
.svc-visual__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(135deg, var(--orange), #e8505b); color: #fff; box-shadow: 0 14px 30px -14px rgba(232, 80, 91, .9); margin-bottom: 16px; }
.svc-visual__icon svg { width: 32px; height: 32px; }
.svc-visual__title { display: block; font-size: 20px; line-height: 1.5; margin-bottom: 14px; }
.svc-visual__chips { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.svc-visual__chips li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .1); font-size: 14px; }
.svc-visual__chips li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: #22c55e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.svc-visual__brand { display: block; font-size: 12px; opacity: .6; letter-spacing: .5px; }
@media (max-width: 900px) { .svc-visual { display: none; } }
@media (prefers-reduced-motion: reduce) { .svc-visual__ring { animation: none; } }

/* ---- Service content: tidy sections, steps and FAQ accordion ---- */
.entry .svc-points { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 16px 0 26px; }
.entry .svc-points li { margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; line-height: 1.8; }
.entry .svc-points li strong { display: block; color: var(--navy-800); margin-bottom: 2px; }
.entry .svc-steps { list-style: none; counter-reset: s; padding: 0; margin: 16px 0 26px; display: grid; gap: 10px; }
.entry .svc-steps li { counter-increment: s; position: relative; margin: 0; padding: 14px 16px; padding-inline-start: 58px; border-radius: 14px; background: var(--bg-soft); line-height: 1.8; }
.entry .svc-steps li::before { content: counter(s); position: absolute; inset-inline-start: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); color: #fff; font-weight: 700; font-size: 14px; }
.entry .ez-faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin: 0 0 10px; }
.entry .ez-faq summary { cursor: pointer; list-style: none; padding: 14px 16px; font-weight: 700; color: var(--navy-800); display: flex; justify-content: space-between; gap: 12px; }
.entry .ez-faq summary::-webkit-details-marker { display: none; }
.entry .ez-faq summary::after { content: "+"; flex: none; font-size: 20px; line-height: 1; color: var(--orange); }
.entry .ez-faq details[open] summary::after { content: "–"; }
.entry .ez-faq details p { margin: 0; padding: 0 16px 14px; }
.entry img { max-width: 100%; }

/* Hosting partner (Brmgina) + plans on the hosting service page. */
.entry .ez-partner { position: relative; overflow: hidden; margin: 26px 0 30px; padding: 26px 26px 22px; border-radius: 26px; background: linear-gradient(135deg, #fff 0%, #fff7f1 55%, #f2f3ff 100%); border: 1px solid var(--line); box-shadow: 0 26px 50px -34px rgba(13, 18, 56, .45); }
.entry .ez-partner::after { content: ""; position: absolute; top: -80px; inset-inline-end: -80px; width: 210px; height: 210px; border-radius: 50%; background: radial-gradient(circle, rgba(248, 157, 97, .22), transparent 70%); pointer-events: none; }
.entry .ez-partner > * { position: relative; z-index: 1; }
.ez-partner__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.ez-partner__badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 13.5px; font-weight: 800; box-shadow: 0 10px 22px -12px rgba(241, 96, 105, .9); }
.ez-partner__badge::before { content: "★"; font-size: 13px; }
.entry .ez-partner__logo { width: 150px; height: auto; border-radius: 0; }
.entry .ez-partner h2 { margin: 16px 0 8px; }
.entry .ez-partner p { margin: 0 0 14px; }
.entry .ez-partner__feats { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.entry .ez-partner__feats li { margin: 0; display: flex; align-items: flex-start; gap: 9px; padding: 11px 13px; border-radius: 14px; background: rgba(255, 255, 255, .85); border: 1px solid var(--line); font-size: 14.5px; line-height: 1.6; }
.entry .ez-partner__feats li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 21px; height: 21px; margin-top: 2px; border-radius: 50%; background: #15803d; color: #fff; font-size: 12px; }
.entry .ez-partner .btn { text-decoration: none; }
.with-aside > .entry { min-width: 0; }
.entry .ez-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 18px 0 14px; }
.ez-plan { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 20px 14px 14px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 36px -30px rgba(13, 18, 56, .5); }
.ez-plan--hot { border: 2px solid var(--orange); box-shadow: 0 22px 40px -26px rgba(241, 96, 105, .6); }
.ez-plan__tag { position: absolute; top: -12px; inset-inline-start: 50%; transform: translateX(50%); white-space: nowrap; padding: 4px 12px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; }
.entry .ez-plan h3 { margin: 0 0 4px; font-size: 1.1rem; }
.ez-plan__en { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.entry .ez-plan__price { margin: 12px 0 2px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.ez-plan__price b { font-size: 25px; font-weight: 800; color: var(--navy-800); line-height: 1.1; }
.ez-plan__price span { font-size: 13px; color: var(--ink-3); }
.entry .ez-plan__multi { margin: 0 0 10px; font-size: 12.5px; color: #15803d; font-weight: 700; line-height: 1.7; }
.ez-plan__multi span { display: block; white-space: nowrap; }
.entry .ez-plan ul { list-style: none; padding: 12px 0 0; margin: 0 0 14px; border-top: 1px dashed var(--line); flex: 1; }
.entry .ez-plan li { margin: 0; padding: 4px 0; font-size: 14px; line-height: 1.55; }
.entry .ez-plan li + li { margin: 0; }
.entry .ez-plan .btn { width: 100%; justify-content: center; text-decoration: none; }
.entry .ez-plans__note { padding: 14px 16px; border-radius: 16px; background: var(--blue-50); font-size: 14.5px; }
@media (max-width: 640px) {
	.entry .ez-partner { padding: 20px 16px 16px; border-radius: 20px; }
	.entry .ez-partner__logo { width: 118px; }
	.ez-partner__badge { font-size: 12.5px; padding: 6px 12px; }
	.entry .ez-plans { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding: 14px 2px 12px; margin-inline: -2px; scrollbar-width: none; -webkit-mask-image: linear-gradient(to left, transparent 0, #000 28px); mask-image: linear-gradient(to left, transparent 0, #000 28px); }
	.entry .ez-plans::-webkit-scrollbar { display: none; }
	.ez-plan { flex: 0 0 56%; max-width: 210px; scroll-snap-align: start; padding: 16px 12px 12px; border-radius: 16px; box-shadow: 0 12px 26px -20px rgba(13, 18, 56, .45); }
	.ez-plan--hot { background: linear-gradient(180deg, #fff6ef 0, #fff 42%); }
	.ez-plan__tag { top: -10px; padding: 3px 10px; font-size: 10.5px; }
	.entry .ez-plan h3 { font-size: 15px; margin: 0 0 1px; }
	.ez-plan__en { font-size: 10.5px; letter-spacing: .3px; text-transform: uppercase; }
	.entry .ez-plan__price { margin: 9px 0 1px; }
	.ez-plan__price b { font-size: 21px; }
	.ez-plan__price span { font-size: 11.5px; }
	.entry .ez-plan__multi { margin: 0 0 8px; font-size: 10.5px; line-height: 1.6; }
	.entry .ez-plan ul { padding-top: 8px; margin-bottom: 11px; }
	.entry .ez-plan li { display: flex; align-items: center; gap: 6px; padding: 2.5px 0; font-size: 12.5px; line-height: 1.45; }
	.entry .ez-plan li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: #fff1e7; color: var(--orange); font-size: 9.5px; font-weight: 800; }
	.entry .ez-plan .btn { height: 34px; font-size: 13px; border-radius: 10px; }
}

/* PageSpeed accessibility: readable section eyebrows, larger tap targets. */
.section:not(.section--dark) .head .eyebrow { color: #c4323c; }
.dots { gap: 14px; }
.dot { position: relative; }
.dot::after { content: ""; position: absolute; inset: -7px; }
.footer ul a { display: inline-block; padding-block: 3px; }

/* Variation option buttons (all variable products). */
.variations select.ez-sw__select { display: none !important; }
.ez-sw { display: flex; flex-wrap: wrap; gap: 8px; }
.ez-sw__opt { min-height: 44px; padding: 8px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--navy-800); font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.ez-sw__opt:hover { border-color: var(--orange); }
.ez-sw__opt[aria-pressed="true"] { border-color: var(--orange); background: #fff6ef; box-shadow: 0 0 0 3px rgba(248, 157, 97, .2); }
.ez-sw__opt:disabled { opacity: .4; cursor: not-allowed; }

/* Live total + minimum / wholesale hints. */
.ez-qty { flex-basis: 100%; width: 100%; margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: var(--blue-50); border: 1px solid var(--line); }
.ez-qty__total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.ez-qty__total span { font-size: 14px; color: var(--ink-3); }
.ez-qty__sum { font-size: 24px; font-weight: 800; color: var(--navy-800); }
.ez-qty__calc { font-size: 13px; color: var(--ink-3); }
.ez-qty__facts { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2, #3b4060); }
.ez-qty__facts li::before { content: "✓"; color: #15803d; font-weight: 800; margin-inline-end: 6px; }
.ez-qty__facts a { color: var(--coral); font-weight: 700; }
.ez-qty__bulk { display: grid; gap: 6px; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: #fff6ef; border: 1.5px dashed var(--orange); font-size: 14px; }
.ez-qty__bulk[hidden] { display: none; }
.ez-qty__bulk .btn { justify-self: start; text-decoration: none; }
.ez-bulk-quote { margin: 28px 0 8px; }

/* Price cards in a product short description (e.g. mugs). */
.ez-mp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0 12px; }
.ez-mp__card { position: relative; padding: 16px 14px 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 30px -26px rgba(13, 18, 56, .5); }
.ez-mp__card--hot { border: 2px solid var(--orange); background: linear-gradient(180deg, #fff6ef, #fff 60%); }
.ez-mp__tag { position: absolute; top: -11px; inset-inline-start: 12px; padding: 2px 10px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 11px; font-weight: 800; white-space: nowrap; }
.ez-mp__card h3 { margin: 0 0 8px !important; font-size: 15px !important; color: var(--navy-800); }
.ez-mp__row { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; margin: 0 !important; padding: 3px 0; font-size: 13px; color: var(--ink-3); }
.ez-mp__row b { font-size: 19px; color: var(--navy-800); font-weight: 800; white-space: nowrap; }
.ez-mp__row--muted b { font-size: 15px; color: var(--ink-3); }
.ez-mp__note { margin: 8px 0 0 !important; font-size: 12px; color: var(--ink-3); line-height: 1.5; }
.ez-mp-facts { list-style: none; padding: 0 !important; margin: 0 0 14px !important; display: flex; flex-wrap: wrap; gap: 6px; }
.ez-mp-facts li { margin: 0 !important; padding: 5px 11px; border-radius: 999px; background: var(--blue-50); font-size: 12.5px; font-weight: 700; color: var(--navy-800); }
.ez-mp-facts li::marker { content: ""; }
@media (max-width: 380px) {
	.ez-mp { gap: 8px; }
	.ez-mp__card { padding: 14px 10px 10px; }
	.ez-mp__row b { font-size: 16px; }
}

/* Quantity price-break table (shortcode [ez_qty_table]) and the order-panel ladder. */
.ez-qt { margin: 14px 0 8px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 14px 30px -26px rgba(13, 18, 56, .5); }
.ez-qt table { width: 100%; border-collapse: collapse; margin: 0; font-size: 14px; }
.ez-qt th, .ez-qt td { padding: 9px 10px; text-align: center; border: 0; border-bottom: 1px solid var(--line); }
.ez-qt thead th { background: var(--navy-800); color: #fff; font-size: 13px; font-weight: 700; }
.ez-qt tbody th { text-align: start; font-weight: 600; color: var(--ink-3); font-size: 13px; white-space: nowrap; }
.ez-qt td { font-weight: 800; color: var(--navy-800); white-space: nowrap; }
.ez-qt tbody tr:nth-child(even) { background: #fafbff; }
.ez-qt tr.is-best { background: #fff6ef !important; }
.ez-qt tr.is-best th::after { content: "أفضل سعر"; display: inline-block; margin-inline-start: 6px; padding: 1px 7px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 10.5px; font-weight: 800; }
.ez-qt tr:last-child th, .ez-qt tr:last-child td { border-bottom: 0; }
.ez-qt__note { margin: 6px 0 12px !important; font-size: 13px; color: var(--ink-3); }
.ez-per { font-size: .72em; color: var(--ink-3); font-weight: 600; }
.ez-qty__nudge { margin: 10px 0 0; padding: 8px 12px; border-radius: 12px; background: #ecfdf3; color: #15803d; font-size: 13.5px; font-weight: 700; line-height: 1.6; }
.ez-qty__nudge[hidden], .ez-qty__ladder[hidden] { display: none; }
.ez-qty__ladder { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ez-qty__ladder li { margin: 0; padding: 6px 4px; border-radius: 10px; background: #fff; border: 1px solid var(--line); text-align: center; font-size: 12px; color: var(--ink-3); line-height: 1.4; }
.ez-qty__ladder li b { display: block; font-size: 14px; color: var(--navy-800); }
.ez-qty__ladder li.is-on { border-color: var(--orange); background: #fff6ef; box-shadow: 0 0 0 2px rgba(248, 157, 97, .2); }
@media (max-width: 380px) {
	.ez-qt th, .ez-qt td { padding: 8px 6px; font-size: 12.5px; }
}

/* Product gallery: show the main photo straight away (faster LCP) and keep the layout still while the slider starts. */
.woocommerce-product-gallery { opacity: 1 !important; }
.woocommerce-product-gallery > .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:nth-child(n+2) { display: none; }
@media (max-width: 640px) {
	.woocommerce-product-gallery:not(:has(.flex-control-thumbs)):has(.woocommerce-product-gallery__image:nth-child(2))::after { content: ""; display: block; height: 72px; }
}
