/**
 * DigiMart — core design system & components.
 *
 * Everything is driven by CSS custom properties declared in :root so the
 * Customizer can override colors/spacing via a small inline <style> block.
 *
 * Sections:
 *   1. Design tokens (:root)
 *   2. Reset & base
 *   3. Layout helpers (container, sections)
 *   4. Buttons, badges, pills
 *   5. Forms & inputs
 *   6. Top bar
 *   7. Header (brand + search + account)
 *   8. Category mega-menu (sticky)
 *   9. Mobile drawer + bottom bar
 *  10. Hero
 *  11. Trust badges
 *  12. Category cards
 *  13. Product cards & grids
 *  14. Section headers (grouped products)
 *  15. Blog / guides
 *  16. Newsletter
 *  17. Footer
 *  18. Breadcrumbs, pagination, misc
 *  19. Blog single / page content
 *  20. Accessibility & utilities
 *  21. Responsive
 */

/* ============================================================
 * 1. DESIGN TOKENS
 * ========================================================== */
:root {
	--dz-navy: #16243d;
	--dz-navy-700: #1e3155;
	--dz-navy-900: #101a2e;
	--dz-accent: #e5842b;
	--dz-accent-600: #d9741c;
	--dz-accent-050: #fdf1e6;

	--dz-bg: #eef1f5;
	--dz-card: #ffffff;
	--dz-border: #e3e7ec;
	--dz-border-strong: #d3d9e0;

	--dz-text: #1b2430;
	--dz-muted: #6b7280;
	--dz-heading: #14203a;

	--dz-success: #1f9d63;
	--dz-success-bg: #e6f6ee;
	--dz-danger: #d64545;
	--dz-star: #f5a623;

	--dz-radius: 12px;
	--dz-radius-sm: 8px;
	--dz-radius-lg: 18px;
	--dz-radius-pill: 999px;

	--dz-shadow: 0 2px 10px rgba(20, 30, 50, 0.06);
	--dz-shadow-md: 0 8px 24px rgba(20, 30, 50, 0.10);
	--dz-shadow-lg: 0 16px 40px rgba(20, 30, 50, 0.14);

	--dz-container: 1240px;
	--dz-gap: 24px;
	--dz-header-h: 72px;

	--dz-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--dz-transition: 0.2s ease;
}

/* ============================================================
 * 2. RESET & BASE
 * ========================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--dz-font);
	font-size: 15px;
	line-height: 1.6;
	color: var(--dz-text);
	background: var(--dz-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.6em;
	color: var(--dz-heading);
	font-weight: 700;
	line-height: 1.25;
}

h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a {
	color: var(--dz-accent-600);
	text-decoration: none;
	transition: color var(--dz-transition);
}
a:hover { color: var(--dz-accent); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

hr { border: 0; border-top: 1px solid var(--dz-border); margin: 2rem 0; }

:focus-visible {
	outline: 3px solid var(--dz-accent);
	outline-offset: 2px;
	border-radius: 4px;
}

/* ============================================================
 * 3. LAYOUT HELPERS
 * ========================================================== */
.dz-container {
	width: 100%;
	max-width: var(--dz-container);
	margin-inline: auto;
	padding-inline: 20px;
}

.dz-section { padding-block: clamp(40px, 6vw, 72px); }
.dz-section--tight { padding-block: clamp(28px, 4vw, 44px); }

.dz-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
	flex-wrap: wrap;
}
.dz-section-head h2 {
	margin: 0;
	position: relative;
	padding-bottom: 12px;
}
.dz-section-head h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 56px;
	height: 4px;
	border-radius: var(--dz-radius-pill);
	background: var(--dz-accent);
}
.dz-section-head .dz-sub { color: var(--dz-muted); margin: 6px 0 0; max-width: 60ch; }
.dz-section-head .dz-link { font-weight: 600; white-space: nowrap; }

.dz-grid { display: grid; gap: var(--dz-gap); }

/* ============================================================
 * 4. BUTTONS, BADGES, PILLS
 * ========================================================== */
.dz-btn {
	--_bg: var(--dz-accent);
	--_fg: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 20px;
	font-family: inherit;
	font-size: 0.94rem;
	font-weight: 600;
	line-height: 1;
	color: var(--_fg);
	background: var(--_bg);
	border: 1px solid transparent;
	border-radius: var(--dz-radius-sm);
	cursor: pointer;
	transition: transform var(--dz-transition), background var(--dz-transition), box-shadow var(--dz-transition);
	text-align: center;
}
.dz-btn:hover { color: var(--_fg); background: var(--dz-accent-600); transform: translateY(-1px); box-shadow: var(--dz-shadow-md); }
.dz-btn:active { transform: translateY(0); }
.dz-btn--block { width: 100%; }
.dz-btn--sm { padding: 8px 14px; font-size: 0.85rem; }
.dz-btn--lg { padding: 14px 26px; font-size: 1.02rem; }

.dz-btn--outline {
	--_bg: transparent;
	--_fg: var(--dz-navy);
	border-color: var(--dz-border-strong);
	background: #fff;
}
.dz-btn--outline:hover { --_fg: var(--dz-navy); background: var(--dz-bg); border-color: var(--dz-navy); box-shadow: none; }

.dz-btn--navy { --_bg: var(--dz-navy); --_fg: #fff; }
.dz-btn--navy:hover { background: var(--dz-navy-700); }

.dz-btn--ghost { --_bg: transparent; --_fg: #fff; border-color: rgba(255,255,255,.4); }
.dz-btn--ghost:hover { background: rgba(255,255,255,.12); box-shadow: none; }

.dz-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 10px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	border-radius: var(--dz-radius-pill);
	background: var(--dz-accent-050);
	color: var(--dz-accent-600);
	line-height: 1;
}
.dz-badge--sale { background: #fdeaea; color: var(--dz-danger); }
.dz-badge--new { background: #e8f0ff; color: #2f6bd6; }

.dz-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	font-size: 0.76rem;
	font-weight: 600;
	border-radius: var(--dz-radius-pill);
	background: var(--dz-success-bg);
	color: var(--dz-success);
	line-height: 1.2;
}
.dz-pill--out { background: #fdeaea; color: var(--dz-danger); }
.dz-pill .dz-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ============================================================
 * 5. FORMS & INPUTS
 * ========================================================== */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
	width: 100%;
	padding: 11px 14px;
	font-family: inherit;
	font-size: 0.94rem;
	color: var(--dz-text);
	background: #fff;
	border: 1px solid var(--dz-border-strong);
	border-radius: var(--dz-radius-sm);
	transition: border-color var(--dz-transition), box-shadow var(--dz-transition);
}
input:focus, textarea:focus, select:focus {
	outline: none;
	border-color: var(--dz-accent);
	box-shadow: 0 0 0 3px var(--dz-accent-050);
}
label { font-weight: 600; font-size: 0.9rem; }

/* ============================================================
 * 6. TOP BAR
 * ========================================================== */
.dz-topbar {
	background: var(--dz-navy);
	color: #cdd6e4;
	font-size: 0.82rem;
}
.dz-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 40px;
	flex-wrap: wrap;
}
.dz-topbar a { color: #cdd6e4; }
.dz-topbar a:hover { color: #fff; }
.dz-topbar__left,
.dz-topbar__right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.dz-topbar__left a { display: inline-flex; align-items: center; gap: 6px; }
.dz-topbar .is-highlight,
.dz-topbar .is-highlight a { color: var(--dz-accent); font-weight: 600; }
.dz-topbar__menu { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
.dz-topbar__menu a { font-weight: 500; }

/* ============================================================
 * 7. HEADER
 * ========================================================== */
.dz-header { background: #fff; border-bottom: 1px solid var(--dz-border); }
.dz-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--dz-header-h);
	padding-block: 12px;
}
.dz-brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.dz-brand img { max-height: 46px; width: auto; }
.dz-brand__text { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--dz-navy); }
.dz-brand__text b { color: var(--dz-accent); font-weight: 800; }

.dz-search { flex: 1 1 auto; max-width: 560px; }
.dz-search form { display: flex; position: relative; }
.dz-search input[type="search"] {
	padding-right: 54px;
	border-radius: var(--dz-radius-sm);
	background: var(--dz-bg);
	border-color: transparent;
}
.dz-search input[type="search"]:focus { background: #fff; }
.dz-search button {
	position: absolute;
	right: 4px;
	top: 4px;
	bottom: 4px;
	width: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: var(--dz-radius-sm);
	background: var(--dz-accent);
	color: #fff;
	cursor: pointer;
	transition: background var(--dz-transition);
}
.dz-search button:hover { background: var(--dz-accent-600); }

.dz-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }
.dz-header__actions .dz-btn { white-space: nowrap; }

.dz-icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--dz-radius-sm);
	background: var(--dz-bg);
	color: var(--dz-navy);
	border: 1px solid transparent;
	cursor: pointer;
}
.dz-icon-btn:hover { color: var(--dz-navy); border-color: var(--dz-border-strong); }
.dz-icon-btn .dz-count {
	position: absolute;
	top: -6px;
	right: -6px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	font-size: 0.68rem;
	font-weight: 700;
	color: #fff;
	background: var(--dz-accent);
	border-radius: var(--dz-radius-pill);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.dz-burger { display: none; }

/* Sticky condensed header */
body.has-sticky-header .dz-nav-wrap { position: sticky; top: 0; z-index: 90; }
.dz-nav-wrap { background: #fff; transition: box-shadow var(--dz-transition); }
.dz-nav-wrap.is-stuck { box-shadow: var(--dz-shadow-md); }

/* ============================================================
 * 8. CATEGORY MEGA-MENU
 * ========================================================== */
.dz-catnav { border-bottom: 1px solid var(--dz-border); }
.dz-catnav__inner { display: flex; align-items: stretch; gap: 12px; min-height: 56px; }

.dz-catnav__toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 0 20px;
	font-weight: 700;
	color: #fff;
	background: var(--dz-accent);
	border: none;
	border-radius: var(--dz-radius-sm);
	margin-block: 8px;
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
}
.dz-catnav__toggle:hover { background: var(--dz-accent-600); }

.dz-catnav__scroller {
	position: relative;
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	min-width: 0;
}
.dz-catnav__list {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
	flex: 1 1 auto;
}
.dz-catnav__list::-webkit-scrollbar { display: none; }
.dz-catnav__list > li > a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--dz-navy);
	white-space: nowrap;
	border-radius: var(--dz-radius-sm);
}
.dz-catnav__list > li > a:hover,
.dz-catnav__list > li.current-menu-item > a { color: var(--dz-accent-600); background: var(--dz-accent-050); }
.dz-catnav__list img,
.dz-catnav__list .dz-cat-ico { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; }

.dz-catnav__arrow {
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1px solid var(--dz-border);
	border-radius: 50%;
	color: var(--dz-navy);
	cursor: pointer;
	box-shadow: var(--dz-shadow);
}
.dz-catnav__arrow:hover { background: var(--dz-bg); }

/* Mega dropdown (all categories) */
.dz-megamenu {
	position: absolute;
	z-index: 95;
	left: 0;
	right: 0;
	margin-top: 8px;
	background: #fff;
	border: 1px solid var(--dz-border);
	border-radius: var(--dz-radius);
	box-shadow: var(--dz-shadow-lg);
	padding: 22px;
	display: none;
}
.dz-megamenu.is-open { display: block; }
.dz-megamenu__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 8px 22px;
}
.dz-megamenu a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	color: var(--dz-text);
	border-radius: var(--dz-radius-sm);
	font-size: 0.9rem;
}
.dz-megamenu a:hover { background: var(--dz-bg); color: var(--dz-accent-600); }
.dz-megamenu .dz-count { color: var(--dz-muted); font-size: 0.78rem; margin-left: auto; }

/* ============================================================
 * 9. MOBILE DRAWER + BOTTOM BAR
 * ========================================================== */
.dz-drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	width: min(88vw, 340px);
	background: #fff;
	z-index: 210;
	transform: translateX(-100%);
	transition: transform 0.28s ease;
	overflow-y: auto;
	box-shadow: var(--dz-shadow-lg);
	display: flex;
	flex-direction: column;
}
.dz-drawer.is-open { transform: translateX(0); }
.dz-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 18px;
	background: var(--dz-navy);
	color: #fff;
}
.dz-drawer__head .dz-close { background: transparent; border: none; color: #fff; cursor: pointer; padding: 6px; }
.dz-drawer__body { padding: 12px 10px; }
.dz-drawer__body a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; color: var(--dz-text); border-radius: var(--dz-radius-sm); font-weight: 500; }
.dz-drawer__body a:hover { background: var(--dz-bg); }
.dz-drawer__section-title { padding: 14px 12px 6px; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dz-muted); font-weight: 700; }

.dz-overlay {
	position: fixed;
	inset: 0;
	background: rgba(16, 26, 46, 0.5);
	z-index: 200;
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--dz-transition);
}
.dz-overlay.is-open { opacity: 1; visibility: visible; }

/* Mobile sticky bottom bar */
.dz-bottombar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 120;
	display: none;
	grid-template-columns: repeat(4, 1fr);
	background: #fff;
	border-top: 1px solid var(--dz-border);
	box-shadow: 0 -4px 16px rgba(20, 30, 50, 0.08);
	padding-bottom: env(safe-area-inset-bottom);
}
.dz-bottombar a {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	padding: 9px 4px;
	font-size: 0.68rem;
	font-weight: 600;
	color: var(--dz-navy);
}
.dz-bottombar a .dz-count {
	position: absolute;
	top: 4px;
	right: calc(50% - 22px);
	min-width: 16px;
	height: 16px;
	font-size: 0.62rem;
	color: #fff;
	background: var(--dz-accent);
	border-radius: var(--dz-radius-pill);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 4px;
}

/* ============================================================
 * 10. HERO
 * ========================================================== */
.dz-hero {
	background: linear-gradient(120deg, var(--dz-navy) 0%, var(--dz-navy-700) 100%);
	color: #fff;
	position: relative;
	overflow: hidden;
}
.dz-hero::after {
	content: "";
	position: absolute;
	right: -120px;
	top: -120px;
	width: 420px;
	height: 420px;
	background: radial-gradient(circle, rgba(229, 132, 43, 0.35), transparent 70%);
	pointer-events: none;
}
.dz-hero__inner { position: relative; padding-block: clamp(44px, 7vw, 84px); max-width: 760px; }
.dz-hero h1 { color: #fff; margin-bottom: 14px; }
.dz-hero h1 span { color: var(--dz-accent); }
.dz-hero p { color: #c9d3e4; font-size: 1.08rem; margin-bottom: 26px; max-width: 60ch; }
.dz-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.dz-hero__stats { display: flex; gap: 32px; margin-top: 34px; flex-wrap: wrap; }
.dz-hero__stat b { display: block; font-size: 1.7rem; color: #fff; }
.dz-hero__stat span { color: #9fb0cb; font-size: 0.85rem; }

/* ============================================================
 * 11. TRUST BADGES
 * ========================================================== */
.dz-trust {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.dz-trust__item {
	display: flex;
	align-items: center;
	gap: 14px;
	background: var(--dz-card);
	border: 1px solid var(--dz-border);
	border-radius: var(--dz-radius);
	padding: 18px;
	box-shadow: var(--dz-shadow);
}
.dz-trust__ico {
	flex-shrink: 0;
	width: 46px;
	height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--dz-radius-sm);
	background: var(--dz-accent-050);
	color: var(--dz-accent-600);
}
.dz-trust__item b { display: block; font-size: 0.96rem; color: var(--dz-heading); }
.dz-trust__item span { font-size: 0.82rem; color: var(--dz-muted); }

/* ============================================================
 * 12. CATEGORY CARDS
 * ========================================================== */
.dz-catcards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 16px;
}
.dz-catcard {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 12px;
	padding: 22px 14px;
	background: var(--dz-card);
	border: 1px solid var(--dz-border);
	border-radius: var(--dz-radius);
	color: var(--dz-heading);
	transition: transform var(--dz-transition), box-shadow var(--dz-transition), border-color var(--dz-transition);
}
.dz-catcard:hover { transform: translateY(-4px); box-shadow: var(--dz-shadow-md); border-color: var(--dz-accent); color: var(--dz-heading); }
.dz-catcard__ico {
	width: 56px;
	height: 56px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--dz-accent-050);
	color: var(--dz-accent-600);
}
.dz-catcard__ico img { width: 30px; height: 30px; object-fit: contain; }
.dz-catcard b { font-size: 0.92rem; }
.dz-catcard span { font-size: 0.78rem; color: var(--dz-muted); }

/* ============================================================
 * 13. PRODUCT CARDS & GRIDS
 * ========================================================== */
.dz-products {
	display: grid;
	grid-template-columns: repeat(var(--dz-cols, 4), 1fr);
	gap: var(--dz-gap);
}

.dz-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--dz-card);
	border: 1px solid var(--dz-border);
	border-radius: var(--dz-radius);
	overflow: hidden;
	transition: transform var(--dz-transition), box-shadow var(--dz-transition), border-color var(--dz-transition);
}
.dz-card:hover { transform: translateY(-4px); box-shadow: var(--dz-shadow-md); border-color: var(--dz-border-strong); }

.dz-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--dz-bg);
	overflow: hidden;
}
.dz-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.dz-card:hover .dz-card__media img { transform: scale(1.05); }
.dz-card__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.dz-card__wish {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.92);
	border: none;
	border-radius: 50%;
	color: var(--dz-navy);
	cursor: pointer;
	box-shadow: var(--dz-shadow);
	transition: color var(--dz-transition), transform var(--dz-transition);
}
.dz-card__wish:hover { color: var(--dz-danger); transform: scale(1.08); }

.dz-card__body { display: flex; flex-direction: column; gap: 10px; padding: 16px; flex: 1 1 auto; }
.dz-card__cat { font-size: 0.74rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; color: var(--dz-accent-600); }
.dz-card__title { margin: 0; font-size: 0.98rem; font-weight: 600; line-height: 1.4; }
.dz-card__title a { color: var(--dz-heading); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dz-card__title a:hover { color: var(--dz-accent-600); }
.dz-card__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.dz-card__rating { display: inline-flex; align-items: center; gap: 3px; font-size: 0.8rem; color: var(--dz-muted); }
.dz-card__rating .dz-star { color: var(--dz-star); }

.dz-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 14px 16px;
	border-top: 1px solid var(--dz-border);
}
.dz-price { display: flex; flex-direction: column; line-height: 1.2; }
.dz-price .dz-price__label { font-size: 0.7rem; color: var(--dz-muted); }
.dz-price .dz-price__amount { font-size: 1.15rem; font-weight: 800; color: var(--dz-heading); }
.dz-price del { color: var(--dz-muted); font-weight: 500; font-size: 0.85rem; }
.dz-price ins { text-decoration: none; }

/* ============================================================
 * 14. SECTION HEADERS (grouped products, demo-style dark bar)
 * ========================================================== */
.dz-catblock { margin-bottom: 36px; }
.dz-catblock__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 14px 20px;
	background: var(--dz-navy);
	color: #fff;
	border-radius: var(--dz-radius) var(--dz-radius) 0 0;
}
.dz-catblock__bar h3 { margin: 0; color: #fff; font-size: 1.05rem; display: inline-flex; align-items: center; gap: 10px; }
.dz-catblock__bar img { width: 22px; height: 22px; object-fit: contain; }
.dz-catblock__bar a { color: #cdd6e4; font-size: 0.86rem; font-weight: 600; white-space: nowrap; }
.dz-catblock__bar a:hover { color: #fff; }
.dz-catblock__body {
	background: var(--dz-card);
	border: 1px solid var(--dz-border);
	border-top: none;
	border-radius: 0 0 var(--dz-radius) var(--dz-radius);
	padding: 20px;
}
.dz-catblock__body .dz-products { --dz-cols: 4; }

/* ============================================================
 * 15. BLOG / GUIDES
 * ========================================================== */
.dz-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--dz-gap); }
.dz-post {
	display: flex;
	flex-direction: column;
	background: var(--dz-card);
	border: 1px solid var(--dz-border);
	border-radius: var(--dz-radius);
	overflow: hidden;
	transition: transform var(--dz-transition), box-shadow var(--dz-transition);
}
.dz-post:hover { transform: translateY(-4px); box-shadow: var(--dz-shadow-md); }
.dz-post__media { aspect-ratio: 16 / 9; background: var(--dz-bg); overflow: hidden; }
.dz-post__media img { width: 100%; height: 100%; object-fit: cover; }
.dz-post__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.dz-post__meta { font-size: 0.78rem; color: var(--dz-muted); }
.dz-post__title { margin: 0; font-size: 1.05rem; }
.dz-post__title a { color: var(--dz-heading); }
.dz-post__title a:hover { color: var(--dz-accent-600); }
.dz-post__excerpt { font-size: 0.88rem; color: var(--dz-muted); margin: 0; }
.dz-post__more { margin-top: auto; font-weight: 600; font-size: 0.86rem; }

/* ============================================================
 * 16. NEWSLETTER
 * ========================================================== */
.dz-newsletter {
	background: linear-gradient(120deg, var(--dz-navy-700), var(--dz-navy));
	color: #fff;
	border-radius: var(--dz-radius-lg);
	padding: clamp(28px, 5vw, 48px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	flex-wrap: wrap;
}
.dz-newsletter h2 { color: #fff; margin-bottom: 6px; }
.dz-newsletter p { color: #c9d3e4; margin: 0; }
.dz-newsletter form { display: flex; gap: 10px; flex: 1 1 340px; max-width: 480px; }
.dz-newsletter input { border: none; }
.dz-newsletter .dz-btn { flex-shrink: 0; }

/* ============================================================
 * 17. FOOTER
 * ========================================================== */
.dz-footer { background: var(--dz-navy); color: #aeb9cc; margin-top: 48px; }
.dz-footer a { color: #aeb9cc; }
.dz-footer a:hover { color: #fff; }
.dz-footer__top {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 32px;
	padding-block: 52px;
}
.dz-footer__col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.04em; }
.dz-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dz-footer__col ul a { font-size: 0.88rem; }
.dz-footer__about p { font-size: 0.88rem; color: #93a1b8; }
.dz-footer__social { display: flex; gap: 10px; margin-top: 16px; }
.dz-footer__social a {
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #cdd6e4;
	transition: background var(--dz-transition);
}
.dz-footer__social a:hover { background: var(--dz-accent); color: #fff; }
.dz-footer__pay { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.dz-footer__pay span {
	height: 30px;
	padding: 0 10px;
	display: inline-flex;
	align-items: center;
	font-size: 0.72rem;
	font-weight: 600;
	color: #cdd6e4;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 6px;
}
.dz-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-block: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	font-size: 0.84rem;
}

/* ============================================================
 * 18. BREADCRUMBS, PAGINATION, MISC
 * ========================================================== */
.dz-breadcrumb { padding-block: 16px; font-size: 0.85rem; color: var(--dz-muted); }
.dz-breadcrumb a { color: var(--dz-muted); }
.dz-breadcrumb a:hover { color: var(--dz-accent-600); }
.dz-breadcrumb .sep { margin: 0 8px; opacity: 0.6; }

.dz-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 36px; }
.dz-pagination a, .dz-pagination span {
	min-width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 12px;
	border-radius: var(--dz-radius-sm);
	background: #fff;
	border: 1px solid var(--dz-border);
	color: var(--dz-navy);
	font-weight: 600;
}
.dz-pagination a:hover { border-color: var(--dz-accent); color: var(--dz-accent-600); }
.dz-pagination .current { background: var(--dz-accent); border-color: var(--dz-accent); color: #fff; }

.dz-back-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 130;
	width: 46px;
	height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--dz-accent);
	color: #fff;
	border: none;
	border-radius: var(--dz-radius-sm);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all var(--dz-transition);
	box-shadow: var(--dz-shadow-md);
}
.dz-back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.dz-back-top:hover { background: var(--dz-accent-600); color: #fff; }

/* ============================================================
 * 19. BLOG SINGLE / PAGE CONTENT
 * ========================================================== */
.dz-main { padding-block: 40px; }
.dz-main--fluid { padding-block: 0; }
.dz-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
body.no-sidebar .dz-layout { grid-template-columns: minmax(0, 1fr); }

.dz-article {
	background: var(--dz-card);
	border: 1px solid var(--dz-border);
	border-radius: var(--dz-radius);
	padding: clamp(20px, 4vw, 40px);
}
.dz-article__thumb { border-radius: var(--dz-radius); overflow: hidden; margin-bottom: 24px; }
.dz-article .entry-content { font-size: 1rem; line-height: 1.75; }
.dz-article .entry-content h2 { margin-top: 1.6em; }
.dz-article .entry-content img { border-radius: var(--dz-radius-sm); margin: 1em 0; }
.dz-article blockquote {
	margin: 1.5em 0;
	padding: 4px 20px;
	border-left: 4px solid var(--dz-accent);
	color: var(--dz-muted);
	font-style: italic;
}

.dz-widget {
	background: var(--dz-card);
	border: 1px solid var(--dz-border);
	border-radius: var(--dz-radius);
	padding: 22px;
	margin-bottom: 24px;
}
.dz-widget .widget-title, .dz-widget h3 { font-size: 1rem; margin-bottom: 16px; }
.dz-widget ul { list-style: none; margin: 0; padding: 0; }
.dz-widget ul li { padding: 8px 0; border-bottom: 1px solid var(--dz-border); }
.dz-widget ul li:last-child { border-bottom: none; }

.dz-page-head { padding-block: 34px; background: #fff; border-bottom: 1px solid var(--dz-border); }
.dz-page-head h1 { margin: 0; }

/* ============================================================
 * 19b. SUB-MENUS (dropdown desktop / accordion mobile)
 * ========================================================== */
.dz-topbar__menu li { position: relative; }
.dz-topbar__menu .menu-item-has-children > a::after { content: "▾"; margin-left: 5px; font-size: 0.8em; opacity: 0.8; }
.dz-topbar__menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 210px;
	list-style: none;
	margin: 6px 0 0;
	padding: 6px;
	background: #fff;
	border: 1px solid var(--dz-border);
	border-radius: var(--dz-radius-sm);
	box-shadow: var(--dz-shadow-lg);
	display: none;
	z-index: 130;
}
.dz-topbar__menu li:hover > .sub-menu,
.dz-topbar__menu li:focus-within > .sub-menu { display: block; }
.dz-topbar__menu .sub-menu li { position: relative; }
.dz-topbar__menu .sub-menu a { display: block; padding: 9px 12px; color: var(--dz-text); border-radius: 6px; white-space: nowrap; font-weight: 500; }
.dz-topbar__menu .sub-menu a:hover { background: var(--dz-bg); color: var(--dz-accent-600); }
/* second level flyout */
.dz-topbar__menu .sub-menu .sub-menu { top: -7px; left: 100%; margin: 0; }

/* Drawer accordion */
.dz-drawer__menu, .dz-drawer__menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.dz-drawer__menu li { display: block; }
.dz-drawer__menu .menu-parent { display: flex; align-items: center; }
.dz-drawer__menu .menu-parent > a { flex: 1 1 auto; }
.dz-drawer__menu .dz-submenu-toggle {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	background: transparent;
	border: none;
	cursor: pointer;
	color: var(--dz-muted);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform var(--dz-transition);
}
.dz-drawer__menu li.is-open > .menu-parent .dz-submenu-toggle { transform: rotate(180deg); }
.dz-drawer__menu .sub-menu { display: none; padding-left: 14px; border-left: 2px solid var(--dz-border); margin-left: 12px; }
.dz-drawer__menu li.is-open > .sub-menu { display: block; }

/* ============================================================
 * 19c. NOTICES (contact form etc.)
 * ========================================================== */
.dz-notice {
	padding: 14px 18px;
	margin-bottom: 18px;
	font-size: 0.94rem;
	background: #fff;
	border: 1px solid var(--dz-border);
	border-left: 4px solid var(--dz-accent);
	border-radius: var(--dz-radius-sm);
	box-shadow: var(--dz-shadow);
}
.dz-notice--success { border-left-color: var(--dz-success); }
.dz-notice--error { border-left-color: var(--dz-danger); }

/* ============================================================
 * 19d. CONTACT PAGE
 * ========================================================== */
.dz-contact { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 32px; align-items: start; }
.dz-contact__info,
.dz-contact__form-wrap {
	background: var(--dz-card);
	border: 1px solid var(--dz-border);
	border-radius: var(--dz-radius);
	padding: clamp(20px, 3vw, 28px);
}
.dz-contact__info h2 { margin-top: 0; }
.dz-contact__list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.dz-contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.dz-contact__ico {
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	border-radius: var(--dz-radius-sm);
	background: var(--dz-accent-050);
	color: var(--dz-accent-600);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.dz-contact__list b { display: block; color: var(--dz-heading); font-size: 0.9rem; }
.dz-contact__list a,
.dz-contact__list span { color: var(--dz-muted); font-size: 0.9rem; }
.dz-contact__map { margin-top: 18px; border-radius: var(--dz-radius-sm); overflow: hidden; }
.dz-contact__map iframe { width: 100%; height: 220px; border: 0; display: block; }
.dz-contact__form label { display: block; margin: 14px 0 6px; }
.dz-contact__form .dz-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dz-contact__form .dz-form-row label { margin-top: 0; }
.dz-contact__form button { margin-top: 18px; }

/* ============================================================
 * 20. ACCESSIBILITY & UTILITIES
 * ========================================================== */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	word-wrap: normal !important;
}
.skip-link {
	position: absolute;
	left: -9999px;
	top: 8px;
	z-index: 300;
	padding: 10px 18px;
	background: var(--dz-navy);
	color: #fff;
	border-radius: var(--dz-radius-sm);
}
.skip-link:focus { left: 12px; color: #fff; }

.dz-hide { display: none !important; }
.dz-only-mobile { display: none; }
.dz-text-center { text-align: center; }
.dz-mt-0 { margin-top: 0; }

/* ============================================================
 * 21. RESPONSIVE
 * ========================================================== */
@media (max-width: 1024px) {
	.dz-footer__top { grid-template-columns: 1fr 1fr; }
	.dz-trust { grid-template-columns: 1fr 1fr; }
	.dz-products { --dz-cols: 3; }
	.dz-catblock__body .dz-products { --dz-cols: 3; }
}

@media (max-width: 860px) {
	.dz-header__actions .dz-btn span.dz-btn__label { display: none; }
	.dz-search { order: 3; flex-basis: 100%; max-width: none; margin-top: 10px; }
	.dz-header__inner { flex-wrap: wrap; }
	.dz-topbar__left .dz-topbar__contact-extra { display: none; }
	.dz-posts { grid-template-columns: 1fr 1fr; }
	.dz-layout { grid-template-columns: 1fr; }
	.dz-catnav__toggle span { display: none; }
	.dz-contact { grid-template-columns: 1fr; }
	.dz-contact__form .dz-form-row { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
	.dz-burger { display: inline-flex; }
	.dz-header__actions .dz-desktop-only { display: none; }
	.dz-catnav { display: none; }
	.dz-topbar { display: none; }
	.dz-bottombar { display: grid; }
	body { padding-bottom: 64px; }
	.dz-products { --dz-cols: 2; }
	.dz-catblock__body .dz-products { --dz-cols: 2; }
	.dz-catblock__body { padding: 12px; }
	.dz-trust { grid-template-columns: 1fr 1fr; }
	.dz-posts { grid-template-columns: 1fr; }
	.dz-footer__top { grid-template-columns: 1fr; gap: 26px; padding-block: 36px; }
	.dz-newsletter { text-align: center; justify-content: center; }
	.dz-newsletter form { flex-basis: 100%; }
	.dz-catcards { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
	.dz-only-mobile { display: block; }
}

@media (max-width: 420px) {
	.dz-products { --dz-cols: 1; }
	.dz-catblock__body .dz-products { --dz-cols: 1; }
	.dz-hero__stats { gap: 20px; }
}

/* ============================================================
 * Reduced motion
 * ========================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
