@font-face {
	font-family: "Amazon Ember";
	src: url("fonts/AmazonEmber.woff") format("woff");
	font-weight: 100 900;
	font-display: swap;
}

:root {
	--zz-navy: #0e2839;
	--zz-teal: #009f7f;
	--zz-teal-dark: #00866b;
	--zz-ink: #212529;
	--zz-muted: #6c757d;
	--zz-line: #a6acac;
	--zz-soft: #f4f6f7;
	--zz-white: #ffffff;
	--zz-font: "Amazon Ember", Roboto, "Open Sans", Helvetica, Arial, sans-serif;
	--zz-wrap: 1296px;
	--zz-gutter: 16px;
	--zz-header: 98px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--zz-white);
	color: var(--zz-ink);
	font-family: var(--zz-font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

:where(h1, h2, h3, h4, p, ul, figure) { margin: 0; }
:where(ul) { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
svg { width: 1em; height: 1em; flex: none; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.zz-wrap {
	width: 100%;
	max-width: calc(var(--zz-wrap) + var(--zz-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--zz-gutter);
}

.zz-center { display: flex; justify-content: center; }

/* ---------- Header ---------- */
.zz-header {
	position: sticky;
	top: 0;
	z-index: 50;
	box-shadow: 0 2px 6px rgba(14, 40, 57, .12);
}
.admin-bar .zz-header { top: 32px; }

.zz-topbar { background: var(--zz-navy); color: var(--zz-white); }
.zz-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 62px;
	padding-inline: calc(var(--zz-gutter) + 40px);
}
.zz-logo img { width: 44px; height: auto; }

.zz-topbar__actions { display: flex; align-items: center; gap: 22px; }
.zz-login { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.zz-login svg { width: 26px; height: 26px; stroke-width: 2.2; }
.zz-iconlink svg { width: 22px; height: 22px; }
.zz-login:hover, .zz-iconlink:hover { color: #9fe6d6; }

.zz-burger {
	display: none;
	background: none;
	border: 0;
	color: var(--zz-white);
	padding: 4px;
}
.zz-burger svg { width: 26px; height: 26px; }

.zz-subnav { background: var(--zz-white); border-bottom: 1px solid #cfd6da; }
.zz-subnav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	padding-inline: 24px;
}
.zz-subnav a {
	display: block;
	padding: 8px 6px;
	font-size: 15px;
	font-weight: 700;
	color: var(--zz-navy);
	line-height: 1.2;
}
.zz-subnav a:hover { color: var(--zz-teal); }

/* ---------- Search ---------- */
.zz-search-wrap { padding-top: 48px; padding-bottom: 48px; }
.zz-search {
	display: flex;
	align-items: stretch;
	background: var(--zz-navy);
	border-radius: 8px;
	padding: 24px 48px;
	margin-inline: 48px;
	box-shadow: 0 6px 18px rgba(14, 40, 57, .25);
}
.zz-search button {
	width: 110px;
	border: 0;
	background: var(--zz-teal);
	color: var(--zz-white);
	border-radius: 6px 0 0 6px;
	display: grid;
	place-items: center;
}
.zz-search button:hover { background: var(--zz-teal-dark); }
.zz-search button svg { width: 22px; height: 22px; }
.zz-search input {
	flex: 1;
	min-width: 0;
	height: 47px;
	border: 0;
	border-radius: 0 6px 6px 0;
	padding: 0 12px;
	font: inherit;
	font-size: 13px;
	color: var(--zz-ink);
	outline: none;
}
.zz-search input:focus-visible { box-shadow: inset 0 0 0 2px var(--zz-teal); }

/* ---------- Sliders ---------- */
.zz-slider { position: relative; overflow: hidden; }
.zz-slider__track {
	display: flex;
	transition: transform .6s ease;
	will-change: transform;
}
.zz-slide { flex: 0 0 100%; min-width: 0; }
.zz-slide img { width: 100%; height: 100%; object-fit: cover; }

.zz-hero { background: var(--zz-soft); }
.zz-hero .zz-slide { aspect-ratio: 1900 / 650; max-height: 400px; }

.zz-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	padding: 40px 0 8px;
	background: var(--zz-white);
}
.zz-dots button {
	width: 7px; height: 7px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #c9ced2;
}
.zz-dots button[aria-selected="true"] { background: #1a73e8; }

/* ---------- Departments ---------- */
.zz-depts {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 24px;
	padding-top: 40px;
	padding-bottom: 40px;
}
.zz-dept {
	width: 152px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	color: var(--zz-navy);
}
.zz-dept__pic {
	position: relative;
	padding: 16px 16px 12px;
}
.zz-dept__pic img {
	width: 120px;
	height: 122px;
	object-fit: cover;
	border: 2px solid var(--zz-line);
	border-radius: 80px 80px 20px 20px;
	background: var(--zz-white);
	transition: transform .25s ease, border-color .25s ease;
}
.zz-dept:hover .zz-dept__pic img { transform: translateY(-4px); border-color: var(--zz-teal); }
.zz-dept__name { font-size: 13px; font-weight: 700; line-height: 1.3; }
.zz-dept__desc { font-size: 11px; color: var(--zz-muted); margin-top: 2px; }

.zz-badge {
	position: absolute;
	top: 2px;
	right: 6px;
	z-index: 1;
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	background: var(--zz-teal) center / contain no-repeat;
	border-radius: 50%;
	color: var(--zz-navy);
	font-size: 11px;
	font-weight: 700;
}
.zz-badge[style] { background-color: transparent; border-radius: 0; }
.zz-badge svg { width: 20px; height: 20px; color: var(--zz-navy); stroke-width: 2; }

.zz-depts--services .zz-dept__pic img { object-fit: contain; padding: 6px; }

/* ---------- Product carousel ---------- */
.zz-products {
	position: relative;
	margin: 16px 0 72px;
	padding: 18px 20px 44px;
	border-radius: 22px;
	background: linear-gradient(100deg, #24363f 0%, #3f4c53 55%, #6e7479 100%);
	color: var(--zz-white);
	box-shadow: 0 12px 28px rgba(14, 40, 57, .22);
}
.zz-products__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}
.zz-products__head h2 {
	font-size: 14px;
	font-weight: 700;
	padding: 4px 10px;
	border-bottom: 2px solid var(--zz-teal);
}
.zz-pill {
	padding: 4px 14px;
	background: var(--zz-navy);
	color: var(--zz-white);
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
}
.zz-pill:hover { background: var(--zz-teal); }

.zz-products__body { display: flex; gap: 20px; align-items: stretch; }
.zz-rail {
	flex: 1;
	min-width: 0;
	display: flex;
	gap: 14px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding: 4px 2px 8px;
}
.zz-rail::-webkit-scrollbar { display: none; }
.zz-rail:focus-visible { outline: 2px solid var(--zz-teal); outline-offset: 4px; border-radius: 8px; }

.zz-product {
	position: relative;
	flex: 0 0 150px;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	background: var(--zz-white);
	color: var(--zz-ink);
	border-radius: 10px;
	padding: 10px 10px 12px;
	transition: transform .2s ease, box-shadow .2s ease;
}
.zz-product:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0, 0, 0, .25); }
.zz-product__pic { height: 130px; display: grid; place-items: center; margin-bottom: 10px; }
.zz-product__pic img { max-height: 130px; width: auto; object-fit: contain; }
.zz-product__name {
	font-size: 11px;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.7em;
}
.zz-product__price { margin-top: 10px; font-size: 11px; font-weight: 700; color: var(--zz-navy); }
.zz-badge--sm { top: -6px; left: -6px; right: auto; width: 40px; height: 40px; font-size: 10px; }

.zz-products__side {
	flex: 0 0 260px;
	border-radius: 14px;
	background: #d9dcdc;
	align-self: stretch;
}
.zz-products__side { overflow: hidden; }
.zz-products__side .zz-slider__track { height: 100%; }
.zz-products__side .zz-slide img { object-fit: cover; }

.zz-products__nav {
	position: absolute;
	left: 50%;
	bottom: -18px;
	display: flex;
	gap: 8px;
	transform: translateX(-50%);
	padding: 6px 12px;
	background: var(--zz-white);
	border-radius: 0 0 18px 18px;
}
.zz-arrow {
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 50%;
	background: #4a5961;
	color: var(--zz-white);
	display: grid;
	place-items: center;
}
.zz-arrow:hover { background: var(--zz-teal); }
.zz-arrow svg { width: 16px; height: 16px; stroke-width: 2.4; }

/* ---------- Home boxes ---------- */
.zz-boxes {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 48px;
	padding-inline: calc(var(--zz-gutter) + 80px);
	margin-bottom: 8px;
}
.zz-box img { width: 100%; height: auto; transition: transform .3s ease; }
.zz-box:hover img { transform: scale(1.02); }

/* ---------- Service banner ---------- */
.zz-banner .zz-slide img { height: auto; }

/* ---------- ZinZan services ---------- */
.zz-features { padding-top: 24px; padding-bottom: 56px; }
.zz-title {
	text-align: center;
	font-size: 32px;
	font-weight: 500;
	color: var(--zz-navy);
	margin-bottom: 40px;
}
.zz-title--plain { font-size: 22px; font-weight: 400; color: var(--zz-ink); margin-bottom: 36px; }
.zz-features__grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 48px 24px;
	max-width: 1060px;
	margin-inline: auto;
}
.zz-features__grid li {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 12px;
	font-size: 13px;
	font-weight: 600;
	color: var(--zz-navy);
	line-height: 1.3;
}
.zz-features__icon {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--zz-white);
	color: var(--zz-teal);
	box-shadow: 0 0 18px 6px rgba(0, 159, 127, .14);
}
.zz-features__icon svg { width: 22px; height: 22px; }

/* ---------- Blogs ---------- */
.zz-blogs { padding-top: 40px; padding-bottom: 56px; }
.zz-blogs__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	max-width: 1160px;
	margin-inline: auto;
}
.zz-post {
	display: flex;
	flex-direction: column;
	background: var(--zz-white);
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(14, 40, 57, .12);
}
.zz-post__pic img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.zz-post__body { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.zz-post h3 { font-size: 16px; font-weight: 600; color: var(--zz-navy); line-height: 1.35; }
.zz-post h3 a:hover { color: var(--zz-teal); }
.zz-post p { font-size: 13px; color: #555e66; line-height: 1.55; }
.zz-post__more { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--zz-navy); }
.zz-post__more:hover { color: var(--zz-teal); }

.zz-btn {
	display: inline-block;
	margin-top: 36px;
	padding: 12px 26px;
	background: var(--zz-teal);
	color: var(--zz-white);
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	box-shadow: 0 4px 12px rgba(0, 159, 127, .3);
}
.zz-btn:hover { background: var(--zz-teal-dark); }

/* ---------- Footer ---------- */
.zz-footer {
	background: var(--zz-navy);
	color: var(--zz-white);
	padding-top: 48px;
	font-size: 13px;
}
.zz-footer__cols {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 2fr;
	gap: 32px;
	padding-bottom: 48px;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.zz-footer__contact { display: flex; flex-direction: column; gap: 6px; }
.zz-footer__email { font-size: 18px; font-weight: 700; }
.zz-footer__phone { font-size: 13px; opacity: .9; }
.zz-footer__social { display: flex; gap: 10px; margin-top: 8px; color: var(--zz-teal); }
.zz-footer__social svg { width: 20px; height: 20px; }
.zz-footer h3 { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.zz-footer__col ul { display: grid; gap: 8px; }
.zz-footer a:hover { color: #9fe6d6; }
.zz-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-top: 22px;
	padding-bottom: 26px;
	font-size: 12px;
}
.zz-footer__legal { display: flex; gap: 14px; }

.zz-tabbar { display: none; }

/* ---------- Generic pages ---------- */
.zz-content { padding-top: 48px; padding-bottom: 72px; max-width: 880px; }
.zz-entry + .zz-entry { margin-top: 36px; padding-top: 36px; border-top: 1px solid #e3e7ea; }
.zz-entry__title { font-size: 28px; color: var(--zz-navy); margin-bottom: 16px; line-height: 1.25; }
.zz-entry__pic { margin-bottom: 24px; border-radius: 10px; overflow: hidden; }
.zz-entry__content { line-height: 1.7; }
.zz-entry__content > * + * { margin-top: 1em; }
.zz-entry__content a { color: var(--zz-teal); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.zz-features__grid { grid-template-columns: repeat(4, 1fr); }
	.zz-products__side { flex-basis: 200px; }
	.zz-boxes { padding-inline: var(--zz-gutter); gap: 24px; }
}

@media (max-width: 782px) {
	.admin-bar .zz-header { top: 46px; }
}

@media (max-width: 767px) {
	.zz-topbar__inner { padding-inline: var(--zz-gutter); height: 56px; }
	.zz-burger { display: inline-flex; }
	.zz-login span, .zz-hide-sm { display: none; }
	.zz-subnav { display: none; }
	.zz-subnav.is-open { display: block; }
	.zz-subnav ul { flex-direction: column; padding: 8px 0; }
	.zz-subnav a { padding: 10px 4px; }

	.zz-search-wrap { padding-top: 20px; padding-bottom: 20px; }
	.zz-search { margin-inline: 0; padding: 14px; }
	.zz-search button { width: 56px; }

	.zz-hero .zz-slide { aspect-ratio: 16 / 9; }
	.zz-dots { padding-top: 16px; }

	.zz-depts { gap: 4px 6px; padding-top: 20px; padding-bottom: 20px; }
	.zz-dept { width: calc(25% - 6px); min-width: 80px; }
	.zz-dept__pic { padding: 12px 6px 8px; }
	.zz-dept__pic img { width: 64px; height: 66px; border-radius: 40px 40px 12px 12px; }
	.zz-badge { width: 32px; height: 32px; font-size: 8px; right: 0; top: 0; }
	.zz-badge svg { width: 14px; height: 14px; }
	.zz-dept__name { font-size: 11px; }

	.zz-products { padding: 14px 12px 40px; margin-bottom: 56px; }
	.zz-products__side { display: none; }
	.zz-product { flex-basis: 132px; }

	.zz-boxes { grid-template-columns: 1fr; }

	.zz-features__grid { grid-template-columns: repeat(3, 1fr); gap: 32px 12px; }
	.zz-title { font-size: 24px; margin-bottom: 24px; }
	.zz-blogs__grid { grid-template-columns: 1fr; }

	.zz-footer__cols { grid-template-columns: 1fr 1fr; }
	.zz-footer__contact { grid-column: 1 / -1; }
	.zz-footer { padding-bottom: 64px; }

	.zz-tabbar {
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 60;
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		background: var(--zz-navy);
		padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
	}
	.zz-tabbar a {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 3px;
		color: var(--zz-teal);
		font-size: 10px;
		font-weight: 600;
	}
	.zz-tabbar a:last-child { color: var(--zz-white); }
	.zz-tabbar svg { width: 20px; height: 20px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.zz-slider__track, .zz-rail { transition: none; scroll-behavior: auto; }
	.zz-dept__pic img, .zz-product, .zz-box img { transition: none; }
}
