/* ==========================================================================
   Zayon Tech — main stylesheet (mobile first, RTL)
   ========================================================================== */

@font-face { font-family: Zain; font-weight: 400; font-display: swap; src: url(../fonts/zain-400-ar.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: Zain; font-weight: 400; font-display: swap; src: url(../fonts/zain-400-la.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: Zain; font-weight: 700; font-display: swap; src: url(../fonts/zain-700-ar.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: Zain; font-weight: 700; font-display: swap; src: url(../fonts/zain-700-la.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: Zain; font-weight: 800; font-display: swap; src: url(../fonts/zain-800-ar.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: Zain; font-weight: 800; font-display: swap; src: url(../fonts/zain-800-la.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
	--dark: #0E2329;          /* header / footer — the cover's teal navy */
	--dark-2: #0A1A1F;
	--dark-line: rgba(255, 255, 255, .1);
	--dark-tint: #E6EFF1;     /* soft background of the header colour */
	--gold: #D4AF5F;         /* brand only: logo area, top banner — never on buy UI */
	--blue: #105a6f;          /* accents: links, focus, secondary buttons (teal of the description template) */
	--blue-h: #0d4c5d;
	--green: #15803D;         /* order / confirm buttons */
	--green-h: #116A33;
	--navy: #0E2329;
	--bg: #F5F7FB;
	--card: #FFFFFF;
	--line: #E2E7EF;
	--text: #0F172A;
	--muted: #64748B;
	--slate: #52657C;         /* savings text */
	--tint: #F2F7F8;
	--chip: #E3EEF1;
	--ok: #15803D;
	--err: #DC2626;
	--r: 14px;
	--r-sm: 10px;
	--shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 16px rgba(15, 23, 42, .06);
	--wrap: 1200px;
	--header-h: 60px;
	--font: Zain, -apple-system, "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { line-height: 1.3; margin: 0; font-weight: 800; }
p { margin: 0; }
[hidden] { display: none !important; }
.zt-i { flex: none; }
.screen-reader-text, .zt-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.zt-skip { position: absolute; top: -40px; right: 8px; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.zt-skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.zt-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
.zt-main { min-height: 60vh; }

/* ---------- buttons ---------- */
.zt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 800; font-size: 17px; line-height: 1; transition: background .2s, transform .1s, box-shadow .2s; border: 1.5px solid transparent; text-align: center; }
.zt-btn:active { transform: scale(.98); }
.zt-btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(16, 90, 111, .26); }
.zt-btn--primary:hover { background: var(--blue-h); }
.zt-btn--outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.zt-btn--outline:hover { background: var(--tint); }
.zt-btn--ghost { background: var(--tint); color: var(--blue); }
.zt-btn--light { background: #fff; color: var(--dark); box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }
.zt-btn--light:hover { background: var(--dark-tint); }
.zt-btn--glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); }
.zt-btn--xl { min-height: 56px; font-size: 19px; width: 100%; }
.zt-btn.is-loading { pointer-events: none; opacity: .75; }
.zt-btn.is-loading::after { content: ""; width: 18px; height: 18px; border: 2.5px solid currentColor; border-left-color: transparent; border-radius: 50%; animation: zt-spin .7s linear infinite; }
@keyframes zt-spin { to { transform: rotate(360deg); } }
.zt-link { color: var(--blue); font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.zt-iconbtn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 12px; position: relative; }

/* ---------- top banner (white, black text, continuous) ---------- */
.zt-banner { background: var(--dark); color: var(--gold); border-bottom: 1px solid var(--dark-line); overflow: hidden; font: 700 13px/1 var(--font); letter-spacing: .4px; }
.zt-banner__track { display: flex; width: max-content; animation: zt-marquee 40s linear infinite; }
.zt-banner:hover .zt-banner__track { animation-play-state: paused; }
.zt-banner__group { display: flex; align-items: center; flex: none; }
.zt-banner__item { padding: 10px 0; white-space: nowrap; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.zt-banner__sep { margin: 0 18px; color: #4FA3B5; font-size: 11px; }
.zt-pill { display: inline-block; background: var(--gold); color: var(--dark-2); border-radius: 20px; padding: 4px 10px; font-weight: 800; }
@keyframes zt-marquee { to { transform: translateX(-50%); } }

/* ---------- header ---------- */
.zt-header { position: sticky; top: 0; z-index: 40; background: var(--dark); color: #fff; box-shadow: 0 1px 0 var(--dark-line); }
.zt-header__in { height: var(--header-h); display: flex; align-items: center; gap: 8px; }
.zt-logo { margin-inline: auto; display: block; }
.zt-logo img { height: 34px; width: auto; }
.zt-nav { display: none; }
.zt-header__actions { display: flex; }
.zt-cartcount { position: absolute; top: 4px; left: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--green); color: #fff; font: 700 11px/18px var(--font); text-align: center; }

/* search */
.zt-search { position: fixed; inset: 0 0 auto; z-index: 60; background: var(--dark); padding: 10px 0; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.zt-search__form { display: flex; gap: 6px; align-items: center; color: #fff; }
.zt-search__form input { flex: 1; height: 46px; border-radius: 12px; border: 0; padding: 0 14px; background: #fff; color: var(--text); font-size: 16px; }

/* drawer */
.zt-drawer { position: fixed; inset: 0; z-index: 70; background: rgba(10, 26, 31, .55); }
.zt-drawer__panel { position: absolute; inset: 0 0 0 auto; width: min(340px, 88vw); background: #fff; display: flex; flex-direction: column; animation: zt-in-right .25s ease-out; }
@keyframes zt-in-right { from { transform: translateX(100%); } }
.zt-drawer__head { background: var(--dark); color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; }
.zt-drawer__head img { height: 28px; width: auto; }
.zt-drawer__nav { flex: 1; overflow-y: auto; padding: 8px 0; }
.zt-drawer__nav a { display: flex; align-items: center; gap: 10px; padding: 12px 18px; font-weight: 700; border-bottom: 1px solid #F1F4F8; }
.zt-drawer__nav a > .zt-i:last-child:not(:first-child) { margin-inline-start: auto; color: #94A3B8; transform: scaleX(-1); }
.zt-drawer__nav li { list-style: none; }
.zt-drawer__label { padding: 14px 18px 6px; color: var(--muted); font-size: 13px; }
.zt-drawer__wa { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 16px 16px; padding: 12px; border-radius: 12px; background: #E9F9EF; color: #128C4B; font-weight: 800; }
body.zt-lock { overflow: hidden; }

/* ---------- page basics ---------- */
.zt-page { padding-block: 24px 48px; }
.zt-page__title { font-size: 26px; margin-bottom: 16px; }
.zt-prose { line-height: 1.85; overflow-wrap: anywhere; }
.zt-prose > * + * { margin-top: 1em; }
.zt-prose h2 { font-size: 22px; margin-top: 1.4em; }
.zt-prose h3 { font-size: 19px; margin-top: 1.2em; }
.zt-prose img { border-radius: var(--r-sm); margin-inline: auto; }
.zt-prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.zt-prose td, .zt-prose th { border: 1px solid var(--line); padding: 8px 10px; }
.zt-prose iframe { max-width: 100%; }
.zt-prose p:empty { display: none; }
.zt-sec-title { font-size: 22px; }
.zt-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.zt-more { display: inline-flex; align-items: center; gap: 2px; color: var(--dark); background: var(--dark-tint); font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 20px; transition: background .2s, color .2s; }
.zt-more:hover { background: var(--dark); color: #fff; }
.zt-more .zt-i { transform: scaleX(-1); }
.zt-empty { text-align: center; padding: 48px 16px; color: var(--muted); display: grid; justify-items: center; gap: 14px; }
.zt-crumbs { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-size: 14px; color: var(--muted); padding-top: 12px; }
.zt-crumbs .zt-i { transform: scaleX(-1); opacity: .6; }

/* ---------- product card ---------- */
.zt-card { background: var(--card); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.zt-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.zt-card__img { position: relative; aspect-ratio: 1; background: #fff; display: block; overflow: hidden; }
.zt-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.zt-card__off { position: absolute; top: 8px; right: 8px; background: var(--navy); color: #fff; font: 800 12px/1 var(--font); padding: 5px 8px; border-radius: 8px; }
.zt-card__oos { position: absolute; inset: auto 8px 8px; background: rgba(15, 23, 42, .75); color: #fff; font-size: 13px; text-align: center; border-radius: 8px; padding: 4px; }
.zt-card__body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.zt-card__brand { font-size: 12px; color: var(--dark); font-weight: 700; letter-spacing: .3px; }
.zt-card__title { font-size: 15px; font-weight: 700; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.zt-card__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; }
.zt-card__price strong { display: block; font-size: 17px; font-weight: 800; }
.zt-card__price del { font-size: 13px; color: var(--muted); }
.zt-card__add { width: 38px; height: 38px; border-radius: 10px; background: var(--dark-tint); color: var(--dark); display: grid; place-items: center; flex: none; transition: background .2s, color .2s; }
.zt-card__add:hover { background: var(--dark); color: #fff; }
.zt-card__add.is-done { background: var(--ok); color: #fff; }

.zt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.zt-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.zt-rail::-webkit-scrollbar { display: none; }
.zt-rail > * { scroll-snap-align: start; }

/* ---------- archive ---------- */
.zt-archive { padding-block: 20px 48px; }
.zt-archive__desc { color: var(--muted); margin-top: -8px; margin-bottom: 12px; }
.zt-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 14px; }
.zt-chips::-webkit-scrollbar { display: none; }
.zt-chips a { flex: none; padding: 8px 14px; border-radius: 20px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.zt-chips a.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.zt-archive__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; color: var(--muted); font-size: 14px; }
.zt-sort select { height: 40px; padding: 0 12px 0 34px; border-radius: 10px; border: 1px solid var(--line); background: #fff; appearance: none; }
.zt-sort .zt-field--select { position: relative; display: block; }
.zt-sort .zt-i { position: absolute; left: 10px; top: 12px; pointer-events: none; color: var(--muted); }
.nav-links { display: flex; justify-content: center; gap: 6px; margin-top: 28px; flex-wrap: wrap; }
.nav-links .page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 700; }
.nav-links .current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- product page ---------- */
.zt-product__top { display: grid; gap: 18px; padding-top: 12px; }
.zt-gallery { position: relative; background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.zt-gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.zt-gallery__track::-webkit-scrollbar { display: none; }
.zt-gallery__slide { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: center; aspect-ratio: var(--zt-ratio, 1); overflow: hidden; }
.zt-gallery__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.zt-gallery__badge { position: absolute; top: 12px; right: 12px; max-width: calc(100% - 24px); background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: 10px; }
.zt-gallery__off { position: absolute; top: 12px; left: 12px; background: #105a6f; color: #fff; font-size: 13px; font-weight: 800; padding: 6px 10px; border-radius: 10px; }
.zt-gallery__badge + .zt-gallery__off { top: auto; bottom: 40px; }
.zt-gallery__dots { position: absolute; bottom: 12px; inset-inline: 0; display: flex; justify-content: center; gap: 6px; }
.zt-gallery__dots button { width: 8px; height: 8px; border-radius: 4px; background: #CBD5E1; transition: width .2s, background .2s; }
.zt-gallery__dots button.is-active { width: 22px; background: var(--blue); }
.zt-gallery__thumbs { display: none; }

.zt-buy { display: flex; flex-direction: column; gap: 12px; }
.zt-buy__brand { align-self: flex-start; font-size: 13px; font-weight: 800; color: var(--dark); background: var(--dark-tint); padding: 4px 10px; border-radius: 8px; letter-spacing: .4px; }
.zt-buy__title { font-size: 23px; font-weight: 800; line-height: 1.4; }
.zt-buy__subtitle { color: var(--dark); font-size: 19px; font-weight: 800; line-height: 1.5; }
.zt-buy__bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.zt-buy__bullets li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; }
.zt-buy__bullets .zt-i { margin-top: 3px; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--zt-check, var(--green)); color: #fff; stroke-width: 3; }
.zt-buy__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.zt-buy__price strong { font-size: 30px; font-weight: 800; }
.zt-buy__price del { color: var(--muted); font-size: 17px; }
.zt-save { color: var(--slate); font-weight: 700; font-size: 15px; background: #EEF2F7; padding: 3px 10px; border-radius: 8px; }
.zt-buy__actions { display: grid; gap: 10px; }
.zt-oos { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 10px; text-align: center; }

/* countdown: teal card, white number tiles, the seconds tile breathes */
.zt-countdown { position: relative; overflow: hidden; background: linear-gradient(135deg, #105a6f 0%, #0d4c5d 55%, #0E2329 100%); color: #fff; border-radius: 18px; padding: 14px 14px 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; box-shadow: 0 10px 26px rgba(13, 76, 93, .28); }
.zt-countdown::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .12) 45%, transparent 60%); transform: translateX(-100%); animation: zt-cd-shine 3.8s ease-in-out infinite; }
@keyframes zt-cd-shine { 60%, 100% { transform: translateX(100%); } }
.zt-countdown__label { position: relative; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 15px; }
.zt-countdown__label .zt-i { color: #FCD34D; }
.zt-countdown__units { position: relative; display: flex; gap: 8px; justify-content: center; }
.zt-countdown__units span { min-width: 58px; background: #fff; color: #0d4c5d; border-radius: 12px; padding: 8px 4px 6px; display: grid; justify-items: center; box-shadow: 0 4px 0 rgba(0, 0, 0, .18), inset 0 -2px 0 #E2ECEF; }
.zt-countdown__units span:last-child { background: #FEF3C7; color: #92400E; animation: zt-cd-beat 1s ease-in-out infinite; }
@keyframes zt-cd-beat { 50% { transform: translateY(-2px); } }
.zt-countdown__units b { font-size: 24px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.zt-countdown__units b.tick { animation: zt-tick .35s ease-out; }
.zt-countdown__units i { font-style: normal; font-size: 11px; font-weight: 700; opacity: .7; margin-top: 3px; }
@keyframes zt-tick { from { transform: translateY(-30%); opacity: .2; } }
.zt-stockleft { display: flex; align-items: center; gap: 6px; color: #B42318; font-weight: 700; font-size: 15px; }

/* offers (quantity breaks) */
.zt-offers { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.zt-offer { position: relative; display: block; cursor: pointer; }
.zt-offer input { position: absolute; opacity: 0; }
.zt-offer__box { display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); padding: 12px 14px; transition: border-color .2s, background .2s, box-shadow .2s; }
.zt-offer input:checked + .zt-offer__box { border: 2px solid var(--green); background: #F0FDF4; box-shadow: 0 4px 14px rgba(21, 128, 61, .14); padding: 11.5px 13.5px; }
.zt-offer input:focus-visible + .zt-offer__box { outline: 2px solid var(--green); outline-offset: 2px; }
.zt-offer__radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #94A3B8; flex: none; transition: border .15s; }
.zt-offer input:checked + .zt-offer__box .zt-offer__radio { border: 6px solid var(--green); }
.zt-offer__main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.zt-offer__chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 2px; }
.zt-chip { font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 6px; line-height: 1.2; }
.zt-chip--dark { background: var(--green); color: #fff; }
.zt-chip--soft { background: #DCFCE7; color: #166534; }
.zt-offer__label { font-weight: 800; font-size: 17px; }
.zt-offer__note { color: var(--green); font-size: 14px; font-weight: 700; }
.zt-offer__price { text-align: left; display: grid; justify-items: end; }
.zt-offer__price strong { font-size: 19px; font-weight: 800; }
.zt-offer__price del { color: var(--muted); font-size: 14px; }

/* order form */
.zt-order { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 16px; display: grid; gap: 18px; box-shadow: var(--shadow); }
.zt-order__head h2 { font-size: 22px; }
.zt-order__head p { color: var(--muted); font-size: 15px; margin-top: 2px; }
.zt-fields { display: grid; gap: 14px; }
.zt-field { display: grid; gap: 6px; position: relative; }
.zt-field > span { font-weight: 800; font-size: 15px; }
.zt-field small { color: var(--muted); font-weight: 400; }
.zt-field input, .zt-field select, .zt-field textarea { width: 100%; min-height: 52px; border: 1.5px solid #D5DCE6; border-radius: 12px; background: #F8FAFD; padding: 12px 14px; font-size: 16px; transition: border-color .2s, background .2s, box-shadow .2s; }
.zt-field textarea { min-height: 80px; resize: vertical; }
.zt-field input::placeholder, .zt-field textarea::placeholder { color: #94A3B8; }
.zt-field input:focus, .zt-field select:focus, .zt-field textarea:focus { outline: 0; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(16, 90, 111, .14); }
.zt-field input[dir=ltr] { text-align: right; }
.zt-field--select select { appearance: none; padding-left: 40px; cursor: pointer; }
.zt-field--select select:invalid, .zt-field--select select.is-empty { color: #94A3B8; }
.zt-field--select > .zt-i { position: absolute; left: 14px; bottom: 17px; color: var(--muted); pointer-events: none; }
.zt-field__err { font-style: normal; color: var(--err); font-size: 14px; font-weight: 700; display: none; }
.zt-field.has-error input, .zt-field.has-error select, .zt-field.has-error textarea { border-color: var(--err); background: #FEF6F6; }
.zt-field.has-error .zt-field__err { display: block; }
.zt-field.has-error > .zt-i { bottom: 41px; }
.zt-fields > .zt-link { justify-self: start; }

.zt-summary { background: #F8FAFD; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: grid; gap: 12px; }
.zt-summary h3 { font-size: 18px; }
.zt-summary__items { display: grid; gap: 10px; }
.zt-summary__item { display: flex; align-items: center; gap: 10px; }
.zt-summary__item img { width: 56px; height: 56px; object-fit: contain; background: #fff; border-radius: 10px; border: 1px solid var(--line); flex: none; }
.zt-summary__name { flex: 1; font-weight: 700; font-size: 15px; line-height: 1.45; }
.zt-summary__qty { color: var(--muted); font-weight: 700; }
.zt-summary__line { display: block; color: var(--dark); font-weight: 800; font-size: 14px; margin-top: 2px; }
.zt-stepper { flex: none; display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.zt-stepper button { width: 34px; height: 34px; font-size: 20px; font-weight: 700; color: var(--dark); line-height: 1; }
.zt-stepper button:active { background: #F2F7F8; }
.zt-stepper span { min-width: 30px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.zt-summary__rows { margin: 0; display: grid; gap: 8px; border-top: 1px dashed #CBD5E1; padding-top: 12px; }
.zt-summary__rows > div { display: flex; justify-content: space-between; gap: 10px; }
.zt-summary__rows dt { color: var(--muted); }
.zt-summary__rows dd { margin: 0; font-weight: 700; text-align: left; }
.zt-summary__rows dd.is-free { color: var(--ok); }
.zt-summary > .zt-link { justify-self: start; font-size: 14px; }
.zt-coupon { display: flex; gap: 8px; flex-wrap: wrap; }
.zt-coupon input { flex: 1; min-width: 0; height: 46px; border: 1.5px solid #D5DCE6; border-radius: 12px; padding: 0 12px; background: #fff; }
.zt-coupon .zt-btn { min-height: 46px; }
.zt-coupon__msg { width: 100%; font-style: normal; font-size: 14px; font-weight: 700; }
.zt-coupon__msg.ok { color: var(--ok); }
.zt-coupon__msg.err { color: var(--err); }

.zt-pay { display: grid; gap: 8px; }
.zt-pay h3 { font-size: 16px; }
.zt-pay__opt { position: relative; display: block; cursor: pointer; }
.zt-pay__opt input { position: absolute; opacity: 0; }
.zt-pay__box { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; font-weight: 800; transition: border-color .2s, background .2s; }
.zt-pay__box small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.zt-pay__box::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #94A3B8; flex: none; order: -1; }
.zt-pay__opt input:checked + .zt-pay__box { border-color: var(--dark); background: #F2F7F8; }
.zt-pay__opt input:checked + .zt-pay__box::before { border: 5px solid var(--dark); }
.zt-pay__opt .zt-i { color: var(--dark); }
.zt-order .zt-link { color: var(--dark); }
/* Order buttons (buy / confirm / sticky bar): green */
.zt-btn--order { background: var(--green); box-shadow: 0 6px 18px rgba(21, 128, 61, .28); }
.zt-btn--order:hover { background: var(--green-h); }
.zt-pay__msg { background: #FFF7E6; color: #8A5300; border-radius: 10px; padding: 10px 12px; font-size: 14px; font-weight: 700; }

.zt-summary__total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 12px; font-weight: 800; }
.zt-summary__total strong { font-size: 26px; color: var(--navy); }
.zt-order__err { color: var(--err); font-weight: 700; text-align: center; font-size: 15px; }
.zt-order__err:empty { display: none; }
.zt-transfer { background: #fff; border: 1.5px dashed #CBD5E1; border-radius: 12px; padding: 12px 14px; display: grid; gap: 6px; font-size: 15px; }
.zt-transfer b { color: var(--navy); font-size: 17px; }
.zt-transfer .zt-link { font-size: 13px; margin-inline-start: 6px; }
.zt-transfer__note { color: var(--muted); font-size: 14px; }
.zt-transfer input[type=file] { min-height: auto; padding: 10px; background: #F8FAFD; }
.zt-downloads { display: grid; gap: 8px; text-align: right; }
.zt-downloads a { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--tint); border-radius: 12px; padding: 12px 14px; font-weight: 800; color: var(--blue); }

/* sticky buy bar */
.zt-sticky { position: fixed; inset: auto 0 0; z-index: 30; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 14px; transform: translateY(110%); transition: transform .3s ease; }
.zt-sticky.is-on { transform: none; }
.zt-sticky__price { display: grid; line-height: 1.2; }
.zt-sticky__price small { color: var(--muted); font-size: 12px; }
.zt-sticky__price strong { font-size: 19px; font-weight: 800; color: var(--navy); }
.zt-sticky .zt-btn { flex: 1; min-height: 52px; font-size: 18px; }
body.has-sticky .zt-wa-float { bottom: 86px; }

.zt-desc { padding-block: 28px 8px; }
.zt-desc .zt-sec-title { margin-bottom: 12px; }
.zt-desc .zt-prose { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 16px; }
/* Descriptions written as layout tables (cards side by side): stack the cards on phones. */
@media (max-width: 600px) {
	.zt-desc .zt-prose { padding: 14px 12px; }
	.zt-desc table:has(td h4), .zt-desc table:has(td h4) > tbody, .zt-desc table:has(td h4) > tbody > tr, .zt-desc table:has(td h4) > tbody > tr > td { display: block; width: auto !important; }
	.zt-desc table:has(td h4) > tbody > tr > td { margin-bottom: 8px; }
	.zt-desc table:has(td h4) { overflow: visible; }
}
.zt-desc .zt-prose table[cellspacing] td, .zt-desc .zt-prose table[cellspacing] th { border: 0; }

/* Description template (the "قالب الوصف" button in the product builder) */
.zt-d-intro { background: linear-gradient(180deg, #F2F7F8, #fff); border: 1px solid #DCE7EA; border-radius: 18px; padding: 24px 18px; text-align: center; }
.zt-d-kicker { display: inline-block; background: var(--dark); color: #fff; font-size: 13px; font-weight: 800; padding: 5px 14px; border-radius: 30px; }
.zt-prose .zt-d-intro h2 { margin-top: 10px; color: var(--dark); font-size: 24px; line-height: 1.5; }
.zt-d-intro p { color: #3B4B52; max-width: 640px; margin-inline: auto; }
.zt-d-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.zt-prose .zt-d-stats > * { margin: 0; background: #fff; border: 1px solid #DCE7EA; border-radius: 14px; padding: 14px 10px; text-align: center; display: grid; gap: 2px; }
.zt-d-stats strong { font-size: 22px; color: var(--dark); line-height: 1.3; }
.zt-d-stats small { font-size: 13px; color: var(--muted); }
.zt-prose ul.zt-d-checks { list-style: none; padding: 0; display: grid; gap: 8px; }
.zt-d-checks li { position: relative; padding-inline-start: 30px; }
.zt-d-checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: 20px; height: 20px; border-radius: 50%; background: var(--dark) 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'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.zt-prose table.zt-d-specs { display: table; border: 1px solid #DCE7EA; border-radius: 12px; overflow: hidden; border-collapse: separate; border-spacing: 0; }
.zt-prose .zt-d-specs th, .zt-prose .zt-d-specs td { border: 0; border-bottom: 1px solid #E6EEF0; padding: 10px 12px; text-align: start; vertical-align: top; }
.zt-prose .zt-d-specs th { background: #F2F7F8; color: var(--dark); width: 38%; font-weight: 800; }
.zt-prose .zt-d-specs tr:last-child > * { border-bottom: 0; }
.zt-prose .zt-d-specs tr:nth-child(even) td { background: #fff; }
.zt-d-end { background: var(--dark); color: #DCE7EA; border-radius: 18px; padding: 20px 18px; text-align: center; }
.zt-d-end strong { display: block; color: #fff; font-size: 19px; margin-bottom: 4px; }
.zt-d-end p { margin: 0; }
/* Description template v2 (structured sections from the builder). Colors: "ألوان قالب الوصف". */
:root { --d-main: #105a6f; --d-head: #0d4c5d; --d-soft: #f2f7f8; --d-line: #d6e2e5; --d-muted: #596366; --d-text: #1f2729; }
.zt-dt { display: grid; gap: 16px; color: #1f2729; line-height: 1.85; }
.zt-prose .zt-dt h2, .zt-prose .zt-dt h3 { margin: 0; color: var(--d-head); line-height: 1.5; }
.zt-prose .zt-dt p, .zt-prose .zt-dt ul, .zt-prose .zt-dt ol { margin: 0; }
.zt-dt-pill { justify-self: center; display: inline-block; background: var(--d-main); color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .4px; padding: 5px 14px; border-radius: 30px; line-height: 1.5; }
.zt-dt-hero { display: grid; gap: 10px; justify-items: center; text-align: center; background: var(--d-soft); border: 1px solid var(--d-line); border-radius: 18px; padding: 24px 16px; }
.zt-prose .zt-dt-hero h2 { font-size: 24px; }
.zt-dt-hero p { color: #2f383b; font-size: 16px; max-width: 680px; }
.zt-dt-idea { display: grid; gap: 6px; background: var(--d-soft); border: 1px solid var(--d-line); border-radius: 16px; padding: 18px 16px; }
.zt-dt-label { font-size: 13px; font-weight: 800; color: var(--d-main); }
.zt-prose .zt-dt-idea h3 { font-size: 20px; }
.zt-dt-idea p { color: var(--d-muted); font-size: 15px; }
.zt-dt-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.zt-dt-stats > div { display: grid; gap: 4px; align-content: center; text-align: center; background: var(--d-soft); border: 1px solid var(--d-line); border-radius: 14px; padding: 16px 10px; word-break: break-word; }
.zt-dt-stats > div:nth-child(4n+1), .zt-dt-stats > div:nth-child(4n) { background: var(--d-main); border-color: var(--d-main); color: #fff; }
.zt-dt-stats strong { font-size: 22px; line-height: 1.3; color: var(--d-head); }
.zt-dt-stats span { font-size: 13.5px; color: var(--d-muted); line-height: 1.5; }
.zt-dt-stats > div:nth-child(4n+1) strong, .zt-dt-stats > div:nth-child(4n) strong, .zt-dt-stats > div:nth-child(4n+1) span, .zt-dt-stats > div:nth-child(4n) span { color: #fff; }
.zt-dt-sec { display: grid; gap: 8px; background: var(--d-soft); border: 1px solid var(--d-line); border-radius: 18px; padding: 20px 14px 14px; }
.zt-dt-sec > .zt-dt-pill { justify-self: start; }
.zt-prose .zt-dt-sec h3 { font-size: 21px; }
.zt-dt-sub { color: var(--d-muted); font-size: 14.5px; }
.zt-dt-sec > :is(.zt-dt-cards, .zt-dt-chips, .zt-dt-inbox, .zt-dt-steps, .zt-dt-specs, .zt-dt-faq) { margin-top: 6px; }
.zt-dt-cards { display: grid; gap: 8px; }
.zt-dt-card { display: grid; gap: 4px; background: var(--d-main); color: #fff; border-radius: 14px; padding: 15px 14px; }
.zt-dt-card small { font-size: 11px; font-weight: 800; letter-spacing: .6px; opacity: .8; }
.zt-dt-card strong { font-size: 17px; line-height: 1.5; }
.zt-dt-card span { font-size: 14px; line-height: 1.8; opacity: .92; }
.zt-prose ul.zt-dt-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.zt-dt-chips li { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--d-line); border-radius: 30px; padding: 6px 14px 6px 12px; font-weight: 700; font-size: 14.5px; color: var(--d-head); }
.zt-dt-chips li::before, .zt-dt-inbox li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--d-main) 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'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; }
.zt-prose ol.zt-dt-steps { list-style: none; padding: 0; counter-reset: zt-step; display: grid; gap: 8px; }
.zt-dt-steps li { counter-increment: zt-step; position: relative; display: grid; gap: 2px; background: #fff; border: 1px solid var(--d-line); border-radius: 14px; padding: 12px 14px; padding-inline-start: 54px; }
.zt-dt-steps li::before { content: counter(zt-step); position: absolute; inset-inline-start: 12px; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: var(--d-main); color: #fff; font-weight: 800; display: grid; place-items: center; line-height: 1; }
.zt-dt-steps strong { color: var(--d-head); }
.zt-dt-steps span { color: var(--d-muted); font-size: 14.5px; }
.zt-prose table.zt-dt-specs { display: table; width: 100%; background: #fff; border: 1px solid var(--d-line); border-radius: 14px; overflow: hidden; border-collapse: separate; border-spacing: 0; }
.zt-prose .zt-dt-specs th, .zt-prose .zt-dt-specs td { border: 0; border-bottom: 1px solid var(--d-line); padding: 11px 12px; text-align: start; vertical-align: top; line-height: 1.6; }
.zt-prose .zt-dt-specs th { background: var(--d-soft); color: var(--d-head); width: 40%; font-weight: 800; }
.zt-prose table.zt-dt-specs td { background: #fff; }
.zt-prose .zt-dt-specs tr.zt-dt-group th { background: var(--d-main); color: #fff; width: auto; font-size: 14px; letter-spacing: .3px; }
.zt-prose .zt-dt-specs tr:last-child > * { border-bottom: 0; }
.zt-prose ul.zt-dt-inbox { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.zt-dt-inbox li { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--d-line); border-radius: 12px; padding: 10px 12px; font-weight: 700; font-size: 14.5px; color: var(--d-head); line-height: 1.5; }
.zt-dt-faq { display: grid; gap: 8px; }
.zt-dt-faq details { background: #fff; border: 1px solid var(--d-line); border-radius: 12px; padding: 0 14px; }
.zt-dt-faq summary { list-style: none; cursor: pointer; padding: 12px 0; font-weight: 800; color: var(--d-head); display: flex; justify-content: space-between; gap: 10px; }
.zt-dt-faq summary::-webkit-details-marker { display: none; }
.zt-dt-faq summary::after { content: "+"; color: var(--d-main); font-size: 20px; line-height: 1; transition: transform .2s; }
.zt-dt-faq details[open] summary::after { transform: rotate(45deg); }
.zt-dt-faq details p { color: var(--d-muted); font-size: 15px; padding-bottom: 12px; }
.zt-dt-video { border-radius: 18px; overflow: hidden; background: #000; border: 1px solid var(--d-line); }
.zt-dt-video video { display: block; width: 100%; max-height: 640px; object-fit: contain; background: #000; }
.zt-dt-panels { display: grid; gap: 10px; margin-top: 6px; }
.zt-dt-panel { display: grid; gap: 8px; align-content: start; background: #fff; border: 1px solid var(--d-line); border-top: 4px solid var(--d-main); border-radius: 14px; padding: 14px; }
.zt-dt-panel > small { justify-self: start; font-size: 11px; font-weight: 800; letter-spacing: .6px; color: var(--d-main); background: var(--d-soft); border-radius: 20px; padding: 2px 10px; }
.zt-prose .zt-dt-panel h4 { margin: 0; font-size: 18px; color: var(--d-head); }
.zt-dt-panel > p { color: var(--d-muted); font-size: 14.5px; line-height: 1.8; margin: 0; }
.zt-prose ul.zt-dt-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.zt-dt-checks li { position: relative; padding-inline-start: 26px; color: var(--d-text); font-size: 14.5px; line-height: 1.7; }
.zt-dt-checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--d-main) 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'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; }
.zt-prose ul.zt-dt-tags { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.zt-dt-tags li { display: grid; gap: 2px; justify-items: center; text-align: center; background: var(--d-soft); border: 1px solid var(--d-line); border-radius: 12px; padding: 8px 4px; }
.zt-dt-tags b { font-size: 19px; line-height: 1.2; color: var(--d-main); direction: ltr; letter-spacing: 1px; }
.zt-dt-tags span { font-size: 12.5px; font-weight: 700; color: var(--d-head); direction: ltr; }
.zt-dt-note { background: var(--d-soft); border-inline-start: 4px solid var(--d-main); border-radius: 10px; padding: 10px 12px; color: var(--d-head); font-size: 14.5px; font-weight: 600; line-height: 1.8; }
.zt-dt-end { display: grid; gap: 4px; text-align: center; background: linear-gradient(135deg, var(--d-main), var(--d-head)); color: #E6F1F4; border-radius: 18px; padding: 20px 16px; }
.zt-dt-end strong { color: #fff; font-size: 19px; }
@media (min-width: 560px) {
	.zt-dt-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.zt-prose ul.zt-dt-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
	.zt-prose ul.zt-dt-tags { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.zt-dt-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.zt-dt-stats > div:nth-child(4n+1), .zt-dt-stats > div:nth-child(4n) { background: var(--d-soft); border-color: var(--d-line); color: inherit; }
	.zt-dt-stats > div:nth-child(odd) { background: var(--d-main); border-color: var(--d-main); }
	.zt-dt-stats > div:nth-child(4n+1) strong, .zt-dt-stats > div:nth-child(4n) strong { color: var(--d-head); }
	.zt-dt-stats > div:nth-child(4n+1) span, .zt-dt-stats > div:nth-child(4n) span { color: var(--d-muted); }
	.zt-dt-stats > div:nth-child(odd) strong, .zt-dt-stats > div:nth-child(odd) span { color: #fff; }
	.zt-prose .zt-dt-hero h2 { font-size: 28px; }
	.zt-dt-sec { padding: 22px 18px 18px; }
}
/* warranty box takes the template colors too */
.zt-warranty { display: flex; gap: 12px; align-items: flex-start; background: var(--d-soft); border: 1px solid var(--d-line); border-inline-start: 4px solid var(--d-main); border-radius: 14px; padding: 14px 16px; margin-top: 14px; }
.zt-warranty .zt-i { flex: none; color: var(--d-main); margin-top: 2px; }
.zt-warranty strong { display: block; color: var(--d-head); }
.zt-warranty p { margin: 0; color: #3B4B52; font-size: 15px; line-height: 1.7; }
@media (min-width: 700px) { .zt-d-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.zt-form-after { padding-top: 20px; }
.zt-related, .zt-reviews { padding-block: 28px 8px; }
.zt-related .zt-sec-title { margin-bottom: 14px; }

/* reviews */
.zt-reviews__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.zt-reviews__avg { display: flex; align-items: center; gap: 8px; }
.zt-reviews__avg strong { font-size: 22px; }
.zt-reviews__avg span:last-child { color: var(--muted); font-size: 14px; }
.zt-stars { display: inline-flex; gap: 1px; color: #CBD5E1; }
.zt-stars .on { color: #F5B301; }
.zt-stars .on svg { fill: currentColor; }
.zt-reviews__list { display: grid; gap: 12px; }
.zt-review { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: grid; gap: 8px; }
.zt-review footer { color: var(--muted); font-size: 14px; font-weight: 700; }
.zt-review__imgs { display: flex; gap: 8px; flex-wrap: wrap; }
.zt-review__imgs img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }

/* cart & checkout & thanks */
.zt-cartlist { display: grid; gap: 10px; }
.zt-cartline { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.zt-cartline img { width: 76px; height: 76px; object-fit: contain; border-radius: 10px; }
.zt-cartline__info { flex: 1; display: grid; gap: 6px; }
.zt-cartline__name { font-weight: 700; line-height: 1.45; }
.zt-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; width: max-content; }
.zt-qty button { width: 38px; height: 36px; display: grid; place-items: center; }
.zt-qty span { min-width: 28px; text-align: center; font-weight: 800; }
.zt-cartfoot { margin-top: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 12px; justify-items: center; }
.zt-cartfoot > div { display: flex; justify-content: space-between; width: 100%; font-weight: 800; font-size: 18px; }
.zt-checkoutpage .zt-order { max-width: 640px; margin-inline: auto; }

.zt-thanks { padding-block: 28px 56px; }
.zt-thanks__card { max-width: 640px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 18px; display: grid; gap: 14px; text-align: center; box-shadow: var(--shadow); }
.zt-thanks__check { width: 76px; height: 76px; margin-inline: auto; }
.zt-thanks__check svg { width: 100%; height: 100%; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.zt-thanks__check circle { stroke: var(--green); stroke-dasharray: 151; stroke-dashoffset: 151; animation: zt-draw .6s ease-out forwards; }
.zt-thanks__check path { stroke: var(--green); stroke-dasharray: 36; stroke-dashoffset: 36; animation: zt-draw .4s .5s ease-out forwards; }
@keyframes zt-draw { to { stroke-dashoffset: 0; } }
.zt-thanks h1 { font-size: 24px; }
.zt-thanks__status { display: inline-block; justify-self: center; background: #E8F7EE; color: var(--ok); font-weight: 800; padding: 6px 16px; border-radius: 20px; margin-top: -4px; }
.zt-thanks__no { font-size: 17px; color: var(--muted); }
.zt-thanks__no strong { color: var(--navy); font-size: 22px; }
.zt-thanks__msg { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--tint); color: var(--navy); font-weight: 700; border-radius: 12px; padding: 12px; }
.zt-thanks .zt-summary { text-align: right; }
.zt-thanks__actions { display: grid; gap: 10px; }

/* business pages — the hero repeats the title, so the H1 stays for Google but is visually hidden */
.zt-page:has(.zt-biz-hero) > .zt-page__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.zt-biz-hero { background: radial-gradient(90% 120% at 80% 0%, #17414B 0%, var(--dark) 55%, var(--dark-2) 100%); color: #fff; border-radius: 18px; padding: 28px 20px; margin-bottom: 20px; }
.zt-biz-hero h2 { color: #fff; font-size: 26px; margin: 0 0 8px; }
.zt-biz-hero p { color: #C3D2D8; margin: 0; }
.zt-feats { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 10px; }
.zt-feats li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-weight: 700; display: flex; gap: 10px; align-items: flex-start; }
.zt-feats li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--dark); color: #fff; display: grid; place-items: center; font-size: 13px; }
.zt-cards3 { display: grid; gap: 12px; margin: 16px 0; }
.zt-cards3 > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.zt-cards3 h3 { margin: 0 0 6px; font-size: 18px; color: var(--dark); }
.zt-cards3 p { margin: 0; color: var(--muted); font-size: 15px; }
.zt-quote { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 16px; box-shadow: var(--shadow); margin-top: 16px; }
.zt-quote form { display: grid; gap: 14px; }
.zt-quote__grid { display: grid; gap: 14px; }
.zt-quote__ok { background: #E8F7EE; color: var(--ok); font-weight: 800; padding: 16px; border-radius: 12px; text-align: center; }
.zt-contact { display: grid; gap: 12px; margin: 16px 0; }
.zt-contact__card { display: grid; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; text-decoration: none !important; color: var(--text) !important; transition: box-shadow .2s; }
.zt-contact__card:hover { box-shadow: var(--shadow); }
.zt-contact__card b { color: var(--dark); font-size: 17px; }
.zt-contact__card em { font-style: normal; color: var(--muted); font-size: 14px; }
@media (min-width: 700px) {
	.zt-cards3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.zt-quote__grid, .zt-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.zt-biz-hero { padding: 40px 36px; }
}

/* posts */
.zt-posts { display: grid; gap: 12px; }
.zt-post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.zt-post-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.zt-post-card__body { padding: 12px 14px 16px; display: grid; gap: 6px; }
.zt-post-card h2, .zt-post-card h3 { font-size: 17px; line-height: 1.5; }
.zt-post-card p { color: var(--muted); font-size: 15px; }
.zt-article { max-width: 820px; }
.zt-article__meta { color: var(--muted); font-size: 14px; }
.zt-article__cover { border-radius: var(--r); margin-bottom: 16px; }

/* ---------- footer ---------- */
.zt-footer { background: var(--dark); color: #C9D5DA; margin-top: 48px; }
.zt-footer__brand { display: grid; justify-items: center; text-align: center; gap: 12px; padding-block: 36px 24px; }
.zt-footer__brand img { height: 46px; width: auto; }
.zt-footer__brand p { font-size: 15px; line-height: 1.8; max-width: 460px; }
.zt-footer__acc { display: grid; border-top: 1px solid var(--dark-line); margin-bottom: 24px; }
.zt-acc { border-bottom: 1px solid var(--dark-line); }
.zt-acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; color: #fff; font-weight: 800; font-size: 17px; }
.zt-acc summary::-webkit-details-marker { display: none; }
.zt-acc summary .zt-i { color: var(--gold); transition: transform .25s; }
.zt-acc[open] summary .zt-i { transform: rotate(180deg); }
.zt-acc__body { display: grid; gap: 10px; padding: 0 4px 18px; animation: zt-fade .25s ease-out; }
.zt-acc__body a { font-size: 15px; }
.zt-acc__body a:hover { color: #fff; }
@keyframes zt-fade { from { opacity: 0; transform: translateY(-4px); } }
.zt-footer__contact p { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; }
.zt-footer__contact .zt-i { margin-top: 3px; color: #8FB3BF; }
.zt-social { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
.zt-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--dark-line); color: #fff; }
.zt-social a:hover { background: rgba(255, 255, 255, .08); }
.zt-footer__bottom { border-top: 1px solid var(--dark-line); padding-block: 14px calc(14px + env(safe-area-inset-bottom)); font-size: 13px; text-align: center; color: #8FA5AD; }

.zt-toast { position: fixed; z-index: 80; left: 50%; bottom: 96px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700; box-shadow: 0 10px 30px rgba(14, 35, 41, .3); transition: opacity .25s, transform .25s; white-space: nowrap; }
.zt-toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.zt-toast a { color: #9CC3FF; text-decoration: underline; margin-inline-start: 8px; }
.zt-wa-float { position: fixed; left: 16px; bottom: 18px; z-index: 29; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(37, 211, 102, .4); transition: bottom .3s; }

/* ---------- homepage ---------- */
.zt-intro { position: fixed; inset: 0; z-index: 100; background: radial-gradient(120% 80% at 50% 40%, #12313A 0%, var(--dark-2) 70%); display: grid; place-items: center; animation: zt-intro-out .5s 2.6s ease-in forwards; }
html.zt-seen .zt-intro { display: none; }
.zt-intro__stage { position: relative; display: grid; justify-items: center; gap: 20px; }
.zt-intro__z { position: relative; width: 150px; animation: zt-z-in 1.1s cubic-bezier(.2, .9, .2, 1) both; filter: drop-shadow(0 18px 40px rgba(201, 162, 75, .35)); }
.zt-intro__z img { width: 100%; }
.zt-intro__z::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .85) 50%, transparent 65%) no-repeat; background-size: 250% 100%; background-position: 150% 0; -webkit-mask: var(--z) center / contain no-repeat; mask: var(--z) center / contain no-repeat; animation: zt-shine 1s .9s ease-in-out both; mix-blend-mode: overlay; }
.zt-intro__word { width: 240px; clip-path: inset(0 100% 0 0); animation: zt-word 0.8s 1.3s cubic-bezier(.6, 0, .2, 1) forwards; }
.zt-intro__skip { position: absolute; bottom: calc(28px + env(safe-area-inset-bottom)); color: rgba(255, 255, 255, .6); font-size: 14px; padding: 8px 16px; }
@keyframes zt-z-in { from { opacity: 0; transform: perspective(600px) rotateY(-70deg) scale(.6); filter: blur(8px); } 60% { opacity: 1; filter: blur(0); } to { transform: none; } }
@keyframes zt-shine { from { background-position: 150% 0; } to { background-position: -60% 0; } }
@keyframes zt-word { to { clip-path: inset(0 0 0 0); } }
@keyframes zt-intro-out { to { opacity: 0; visibility: hidden; } }

.zt-hero { position: relative; overflow: hidden; background: radial-gradient(90% 120% at 80% 0%, #17414B 0%, var(--dark) 55%, var(--dark-2) 100%); color: #fff; }
.zt-hero__circuit { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.zt-hero__circuit path { stroke: #2B6F80; stroke-dasharray: 6 10; animation: zt-flow 18s linear infinite; }
.zt-hero__circuit path:nth-child(2n) { animation-duration: 26s; animation-direction: reverse; }
.zt-hero__nodes circle { fill: #5AA7FF; animation: zt-pulse 2.6s ease-in-out infinite; }
.zt-hero__nodes circle:nth-child(2n) { animation-delay: 1.3s; }
@keyframes zt-flow { to { stroke-dashoffset: -320; } }
@keyframes zt-pulse { 50% { opacity: .2; } }
.zt-hero__in { position: relative; padding-block: 44px 40px; display: grid; gap: 14px; justify-items: center; text-align: center; }
.zt-hero__kicker { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3); padding: 6px 12px; border-radius: 20px; }
.zt-hero__title { font-size: 34px; line-height: 1.25; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.zt-hero__title span { color: #fff; }
.zt-hero__sub { color: #C3D2D8; max-width: 560px; font-size: 17px; }
.zt-hero__cta { display: grid; gap: 10px; width: 100%; max-width: 420px; margin-top: 6px; }
.zt-hero__trust { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; color: #C3D2D8; font-size: 14px; }
.zt-hero__trust li { display: inline-flex; align-items: center; gap: 6px; }
.zt-hero__trust .zt-i { color: #8FB4FF; }

.zt-home-sec { padding-top: 32px; }
.zt-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.zt-cat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 10px 10px 14px; display: grid; justify-items: center; gap: 2px; text-align: center; transition: box-shadow .2s, transform .2s; }
.zt-cat:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.zt-cat__img { position: relative; width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #fff, #F1F4F9); display: block; }
.zt-cat__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.zt-cat__name { font-weight: 800; font-size: 16px; margin-top: 6px; }
.zt-cat__count { color: var(--muted); font-size: 13px; }

.zt-why { margin-top: 40px; background: #fff; border-block: 1px solid var(--line); padding-block: 32px; }
.zt-why .zt-sec-title { text-align: center; margin-bottom: 20px; }
.zt-why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.zt-why__grid > div { background: var(--bg); border-radius: var(--r); padding: 16px 12px; display: grid; justify-items: center; text-align: center; gap: 6px; }
.zt-why__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--dark); color: #fff; margin-bottom: 4px; box-shadow: 0 6px 16px rgba(14, 35, 41, .2); }
.zt-why__grid h3 { font-size: 16px; }
.zt-why__grid p { color: var(--muted); font-size: 14px; line-height: 1.6; }

.zt-brands { padding-top: 36px; }
.zt-brands .zt-sec-title { margin-bottom: 14px; }
.zt-brands__rail { direction: ltr; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.zt-brands__track { display: flex; gap: 14px; width: max-content; animation: zt-marquee 45s linear infinite; direction: ltr; }
.zt-brands__rail:hover .zt-brands__track { animation-play-state: paused; }
.zt-brand { flex: none; width: 140px; height: 76px; background: #fff; border: 1px solid var(--line); border-radius: 14px; display: grid; place-items: center; padding: 12px 18px; }
.zt-brand img { max-height: 44px; max-width: 100%; width: auto; object-fit: contain; transition: transform .25s; }
.zt-brand:hover img { transform: scale(1.06); }
/* Logos whose file has lots of empty space around them */
.zt-brand img[alt="FLUKE"] { transform: scale(2.3); }
.zt-brand:hover img[alt="FLUKE"] { transform: scale(2.45); }

/* product photos inside articles */
.zt-figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-block: 16px; }
.zt-fig { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; text-align: center; }
.zt-fig img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 0; margin: 0; }
.zt-fig figcaption { font-size: 13px; font-weight: 700; line-height: 1.5; margin-top: 6px; }
.zt-fig figcaption a { color: var(--dark); }

/* product boxes and helpers inside articles */
.zt-pbox { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; box-shadow: 0 4px 16px rgba(14, 35, 41, .06); }
.zt-pbox__img { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #fff, #F1F4F9); }
.zt-prose .zt-pbox__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border-radius: 0; mix-blend-mode: multiply; }
.zt-pbox__body { display: grid; gap: 6px; justify-items: start; min-width: 0; }
.zt-pbox__name { font-weight: 800; font-size: 16px; line-height: 1.5; color: var(--dark); }
.zt-pbox__note { color: var(--muted); font-size: 14px; line-height: 1.6; }
.zt-pbox__price strong { color: var(--dark); font-size: 18px; }
.zt-pbox__price del { color: var(--muted); font-size: 14px; }
.zt-pbox__btn { min-height: 42px; font-size: 15px; padding: 0 18px; }
.zt-pgrid__title { font-weight: 800; font-size: 18px; margin-bottom: 10px; }
.zt-prose .zt-pgrid .zt-grid > * + *, .zt-prose .zt-pbox__body > * + * { margin-top: 0; }
.zt-prose .zt-card__img img { border-radius: 0; }
.zt-tldr { background: var(--tint); border: 1px solid rgba(16, 90, 111, .18); border-radius: var(--r); padding: 14px 16px; }
.zt-tldr > strong:first-child { display: block; color: var(--blue); margin-bottom: 6px; }
.zt-tldr ul { margin: 0; padding-inline-start: 20px; }
.zt-prose th { background: var(--dark); color: #fff; }
.zt-prose tr:nth-child(even) td { background: #F6F8FB; }
@media (min-width: 700px) {
	.zt-pbox { grid-template-columns: 170px 1fr; padding: 16px; gap: 20px; }
	.zt-article .zt-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* video hero */
.zt-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s; }
.zt-hero__video.is-playing { opacity: 1; }
.zt-hero.has-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 26, 31, .55) 0%, rgba(10, 26, 31, .35) 45%, rgba(10, 26, 31, .8) 100%); pointer-events: none; }
.zt-hero.has-video .zt-hero__in { z-index: 1; }
.zt-hero__in { min-height: 340px; align-content: center; }
.zt-hero__btn { max-width: 320px; margin-top: 10px; }

/* banner hero */
.zt-hero-banner a, .zt-hero-banner picture, .zt-hero-banner img { display: block; width: 100%; }
.zt-hero-banner img { height: auto; }

/* mobile spotlight */
.zt-spot { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 8px; overflow: hidden; border-radius: 18px; background: radial-gradient(90% 120% at 80% 0%, #17414B 0%, var(--dark) 55%, var(--dark-2) 100%); color: #fff; padding: 18px 16px; min-height: 220px; }
.zt-spot::before { content: ""; position: absolute; width: 220px; height: 220px; left: -40px; top: -40px; border-radius: 50%; background: radial-gradient(circle, rgba(79, 163, 181, .35), transparent 70%); }
.zt-spot__text { position: relative; display: grid; gap: 6px; align-content: center; }
.zt-spot__kicker { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; color: #8FC9D6; }
.zt-spot__title { font-size: 22px; line-height: 1.3; }
.zt-spot__desc { font-size: 14px; color: #C3D2D8; line-height: 1.6; }
.zt-spot__price { font-weight: 800; font-size: 18px; }
.zt-spot__btn { min-height: 42px; font-size: 15px; padding: 0 16px; justify-self: start; margin-top: 4px; }
.zt-spot__price del { font-size: 14px; font-weight: 700; opacity: .6; margin-inline-start: 4px; }
.zt-spot__img { position: relative; align-self: stretch; display: grid; place-items: center; }
/* The photo fills the whole tilted card; --zoom (from the homepage settings) fits each product. */
.zt-spot__frame { display: block; width: 100%; max-width: 190px; aspect-ratio: 1; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 14px 34px rgba(0, 0, 0, .35); transform: rotate(-4deg); }
.zt-spot__frame img { width: 100%; height: 100%; object-fit: contain; transform: scale(var(--zoom, 1)); }

/* second spotlight: light card, photo on the right */
.zt-spot--light { grid-template-columns: .95fr 1.05fr; background: linear-gradient(135deg, #F2F7F8 0%, #fff 55%, #EAF4F1 100%); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow); }
.zt-spot--light::before { left: auto; right: -50px; top: auto; bottom: -60px; width: 240px; height: 240px; background: radial-gradient(circle, rgba(16, 90, 111, .12), transparent 70%); }
.zt-spot--light .zt-spot__kicker { justify-self: start; letter-spacing: 0; color: var(--blue); background: var(--chip); padding: 4px 10px; border-radius: 20px; }
.zt-spot--light .zt-spot__title { color: var(--dark); }
.zt-spot--light .zt-spot__desc { color: var(--muted); }
.zt-spot--light .zt-spot__price { color: var(--dark); }
.zt-spot--light .zt-spot__frame { transform: rotate(4deg); border-radius: 22px; box-shadow: 0 18px 36px rgba(14, 35, 41, .18), 0 0 0 6px rgba(255, 255, 255, .9); }

/* compact guides list */
.zt-guides { display: grid; gap: 10px; }
.zt-guide { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.zt-guide img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; flex: none; }
.zt-guide span { font-weight: 700; font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.zt-only-desktop { display: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.zt-banner__track, .zt-brands__track { animation: none; }
}

/* ---------- tablet & desktop ---------- */
@media (min-width: 700px) {
	.zt-only-desktop { display: block; }
	.zt-only-mobile { display: none; }
	.zt-spot { padding: 28px 40px; min-height: 300px; }
	.zt-spot__title { font-size: 30px; }
	.zt-spot__frame { max-width: 280px; }
	.zt-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.zt-hero__in { min-height: 460px; }
	.zt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
	.zt-rail { grid-auto-columns: 31%; }
	.zt-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.zt-why__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.zt-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.zt-footer__acc { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; border-top: 0; }
	.zt-acc { border-top: 1px solid var(--dark-line); align-self: start; }
	.zt-hero__cta { grid-template-columns: 1fr 1fr; }
	.zt-hero__title { font-size: 46px; }
	.zt-hero__in { padding-block: 72px 64px; }
	.zt-thanks__actions { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
	:root { --header-h: 72px; }
	body { font-size: 17px; }
	.zt-logo { margin-inline: 0 20px; }
	.zt-logo img { height: 40px; }
	.zt-header__in > [data-zt-open="drawer"] { order: 0; }
	.zt-nav { display: flex; gap: 4px; flex: 1; overflow: hidden; }
	.zt-nav a { padding: 8px 12px; border-radius: 10px; font-weight: 700; font-size: 15px; white-space: nowrap; color: #D6E2E6; }
	.zt-nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
	@media (max-width: 1180px) { .zt-nav a:nth-child(n+4) { display: none; } }
	.zt-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.zt-rail { grid-auto-columns: calc((100% - 36px) / 4); }
	.zt-cats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.zt-product__top { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; align-items: start; padding-top: 20px; }
	.zt-gallery { position: sticky; top: calc(var(--header-h) + 16px); }
	.zt-gallery__dots { display: none; }
	.zt-gallery__thumbs { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); overflow-x: auto; }
	.zt-gallery__thumbs button { width: 68px; height: 68px; border-radius: 10px; border: 2px solid transparent; overflow: hidden; flex: none; background: #fff; }
	.zt-gallery__thumbs button.is-active { border-color: var(--blue); }
	.zt-gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
	.zt-buy__title { font-size: 28px; }
	.zt-desc .zt-prose { padding: 28px 32px; }
	.zt-form-after .zt-order { max-width: 680px; margin-inline: auto; }
	.zt-sticky { display: none; }
	.zt-reviews__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	/* Desktop: text on the plain animated background — the portrait video is mobile only. */
	.zt-hero.has-video::after, .zt-hero__video { display: none; }
	.zt-intro__z { width: 190px; }
	.zt-intro__word { width: 320px; }
}
