/*
Theme Name: Zoom Electric
Theme URI: https://www.zoomelectric.pk
Author: Zoom Electric
Description: Lighting & electrical store theme built for WooCommerce. Hero slider, feature strip, shop-by-category grid, featured products, styled shop/cart/checkout, one-click demo setup (Appearance → Zoom Electric Setup) and full Customizer control.
Version: 1.0.4
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
WC requires at least: 8.0
WC tested up to: 11.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zoom-electric
Tags: e-commerce, two-columns, custom-logo, custom-menu, custom-colors, featured-images, theme-options, translation-ready
*/

/* ---------- Tokens ---------- */
:root {
	--ze-navy: #063a7c;
	--ze-navy-dark: #00306e;
	--ze-navy-light: #0e4f9c;
	--ze-blue: #0a4fa8;
	--ze-gold: #f5b82e;
	--ze-gold-text: #a8792c;
	--ze-ink: #0b1220;
	--ze-heading: #0c1d4b;
	--ze-text: #2b3444;
	--ze-muted: #5b6577;
	--ze-line: #e3e7ef;
	--ze-soft: #f7f8fb;
	--ze-card: #f4f5f9;
	--ze-radius: 8px;
	--ze-font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--ze-logo-font: "Montserrat", "Poppins", system-ui, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 20px; }
body {
	margin: 0;
	font-family: var(--ze-font);
	font-size: 15px;
	line-height: 1.6;
	color: var(--ze-text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--ze-navy); text-decoration: none; }
a:hover { color: var(--ze-blue); }
h1, h2, h3, h4, h5, h6 { color: var(--ze-ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ze-gold); outline-offset: 2px; }
.ze-icon { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: middle; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important;
	width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	left: 12px; top: 12px; z-index: 100000; padding: 10px 16px;
	background: #fff; color: var(--ze-navy); border-radius: 6px; box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text, figcaption { font-size: 13px; color: var(--ze-muted); }
.sticky, .bypostauthor, .gallery-caption { display: block; }

.ze-container { width: min(100% - 72px, 1128px); margin-inline: auto; }

/* ---------- Top bar ---------- */
.ze-topbar { background: var(--ze-navy-dark); color: #fff; font-size: 12.5px; font-weight: 500; }
.ze-topbar-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ze-topbar-left, .ze-topbar-right, .ze-topbar-right a { display: flex; align-items: center; gap: 8px; }
.ze-topbar .ze-icon { font-size: 17px; }
.ze-topbar-left { padding-left: 6px; }
.ze-topbar-right { gap: 10px; padding-right: 2px; }
.ze-topbar-right a { color: #fff; }
.ze-topbar-right a:hover { color: var(--ze-gold); }
.ze-topbar-sep { opacity: .6; }

/* ---------- Logo + search ---------- */
.ze-mainbar { background: #fff; }
.ze-mainbar-inner { min-height: 73px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ze-brand { flex: none; display: flex; align-items: center; }
.ze-brand .custom-logo-link img { max-height: 56px; width: auto; }
.ze-logo { display: inline-flex; align-items: center; gap: 1px; color: var(--ze-navy); line-height: 1; }
.ze-logo-mark { width: 58px; height: 58px; margin: 0 -2px 0 -6px; }
.ze-logo-text { display: flex; flex-direction: column; align-items: stretch; }
.ze-logo-title {
	font-family: var(--ze-logo-font); font-weight: 800; font-size: 31px; letter-spacing: -.012em;
	color: #0d3b82; white-space: nowrap; line-height: 1;
}
.ze-logo-tag {
	font-family: var(--ze-logo-font); font-weight: 600; font-size: 11.4px; letter-spacing: .47em;
	color: #3a4049; margin-top: 6px; white-space: nowrap; padding-left: 2px;
}
.ze-logo:hover .ze-logo-title { color: var(--ze-navy); }

.ze-search {
	display: flex; align-items: stretch; width: 278px; max-width: 100%; height: 36px;
	border: 1px solid #b9bec6; border-radius: 18px; background: #fff; overflow: hidden;
}
.ze-search input[type="search"] {
	flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
	padding: 0 14px 0 16px; font-size: 13px; color: var(--ze-ink);
}
.ze-search input::placeholder { color: #6b7280; }
.ze-search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.ze-search button {
	width: 44px; border: 0; background: var(--ze-navy); color: #fff; display: grid; place-items: center;
	border-radius: 0 18px 18px 0; margin: -1px -1px -1px 0;
}
.ze-search button .ze-icon { font-size: 17px; }
.ze-search button:hover { background: var(--ze-blue); }
.ze-search:focus-within { border-color: var(--ze-navy); box-shadow: 0 0 0 3px rgba(10, 79, 168, .12); }

/* ---------- Blue navigation bar ---------- */
.ze-navbar { background: var(--ze-navy); color: #fff; position: relative; z-index: 50; }
.ze-navbar-inner { min-height: 50px; display: flex; align-items: center; gap: 20px; }
.ze-cats { position: relative; flex: none; }
.ze-cats-btn {
	display: flex; align-items: center; gap: 12px; height: 37px; width: 172px; padding: 0 14px 0 16px;
	border: 0; border-radius: 5px; background: var(--ze-navy-light); color: #fff;
	font-size: 16px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}
.ze-cats-btn .ze-icon { font-size: 20px; }
.ze-cats-btn .ze-caret { font-size: 13px; margin-left: -4px; transition: transform .2s; }
.ze-cats-btn[aria-expanded="true"] .ze-caret { transform: rotate(180deg); }
.ze-cats-btn:hover { filter: brightness(1.08); }
.ze-cats-panel {
	position: absolute; top: calc(100% + 6px); left: 0; width: 260px; background: #fff; color: var(--ze-ink);
	border-radius: 8px; box-shadow: 0 18px 40px rgba(6, 30, 70, .18); padding: 8px; z-index: 60;
}
.ze-cats-panel[hidden] { display: none; }
.ze-cat-list { list-style: none; margin: 0; padding: 0; }
.ze-cat-list a {
	display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 6px;
	color: var(--ze-ink); font-size: 14px; font-weight: 500;
}
.ze-cat-list a .ze-icon { font-size: 12px; color: #9aa3b2; }
.ze-cat-list a:hover { background: var(--ze-card); color: var(--ze-navy); }
.ze-cat-list .ze-cat-all a { color: var(--ze-navy); font-weight: 600; border-top: 1px solid var(--ze-line); border-radius: 0 0 6px 6px; margin-top: 4px; }

.ze-primary { flex: 1; display: flex; justify-content: center; }
.ze-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(22px, 3.6vw, 51px); }
.ze-menu > li { position: relative; }
.ze-menu > li > a {
	display: flex; align-items: center; gap: 9px; color: #fff; font-size: 13.2px; font-weight: 500;
	padding: 14px 0; white-space: nowrap;
}
.ze-menu > li > a .ze-icon { font-size: 19px; }
.ze-menu > li > a:hover { color: var(--ze-gold); }
.ze-menu > li.current-menu-item > a,
.ze-menu > li.current_page_item > a,
.ze-menu > li.current-menu-ancestor > a { color: var(--ze-gold); font-weight: 600; }
.ze-menu > li.current-menu-item > a .ze-icon-home,
.ze-menu .ze-icon-home { color: var(--ze-gold); }
.ze-menu .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: -12px; min-width: 210px;
	background: #fff; border-radius: 8px; box-shadow: 0 18px 40px rgba(6, 30, 70, .18);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; z-index: 60;
}
.ze-menu li:hover > .sub-menu, .ze-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ze-menu .sub-menu a { display: block; padding: 8px 12px; color: var(--ze-ink); font-size: 14px; border-radius: 6px; }
.ze-menu .sub-menu a:hover { background: var(--ze-card); color: var(--ze-navy); }

.ze-cart { position: relative; flex: none; color: #fff; display: grid; place-items: center; width: 40px; height: 40px; margin-right: -6px; }
.ze-cart .ze-icon { font-size: 25px; }
.ze-cart:hover { color: var(--ze-gold); }
.ze-cart-count {
	position: absolute; top: 1px; right: 1px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 9px;
	background: var(--ze-gold); color: #2b1d02; font-size: 10px; font-weight: 700; line-height: 16px; text-align: center;
}
.ze-nav-toggle, .ze-nav-close { display: none; }

/* ---------- Hero ---------- */
.ze-hero-wrap { background: #fbfbfd; padding-top: 18px; }
.ze-hero-container { width: min(100% - 44px, 1158px); margin-inline: auto; }
.ze-hero {
	position: relative; height: clamp(250px, 22.6vw, 272px); border-radius: 12px; overflow: hidden;
	background: linear-gradient(90deg, #ebf2fa 0%, #e6eff8 11%, #e2ecf7 20%, #dce9f5 29%, #dbe8f5 34%, #dbe8f5 100%);
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.ze-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.ze-slide.is-active { opacity: 1; visibility: visible; }
.ze-slide-media { position: absolute; top: 0; right: 0; bottom: 0; width: 65.5%; }
.ze-slide-media img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; display: block; }
.ze-slide-media::before {
	content: ""; position: absolute; inset: 0 auto 0 -1px; width: 12%; z-index: 1;
	background: linear-gradient(90deg, #dbe8f5 0%, rgba(219, 232, 245, .6) 40%, rgba(219, 232, 245, 0) 100%);
}
.ze-slide-content {
	position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center;
	padding: 3px 0 0 76px; max-width: 520px;
}
.ze-eyebrow {
	margin: 0 0 7px; color: var(--ze-gold-text); font-size: 16.8px; font-weight: 600; line-height: 1.3;
	text-transform: uppercase; letter-spacing: .005em;
}
.ze-hero-title {
	margin: 0; color: var(--ze-heading); font-size: 45.5px; line-height: .99; font-weight: 700; letter-spacing: -.014em;
}
.ze-hero-text { margin: 18px 0 0; color: #27303d; font-size: 15.6px; line-height: 1.35; }
.ze-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 6px;
	font-weight: 600; transition: background .2s, transform .2s, box-shadow .2s;
}
.ze-btn-primary {
	align-self: flex-start; margin-top: 18px; height: 36px; padding: 0 22px; font-size: 14px;
	background: var(--ze-blue); color: #fff; border: 1.5px solid #083b83;
	box-shadow: 0 4px 10px rgba(10, 79, 168, .18);
}
.ze-btn-primary .ze-icon { font-size: 16px; }
.ze-btn-primary:hover { background: var(--ze-navy); color: #fff; transform: translateY(-1px); }

.ze-hero-arrow {
	position: absolute; top: 50%; z-index: 3; width: 34px; height: 34px; margin-top: -17px; border: 0; border-radius: 50%;
	display: grid; place-items: center; color: #0b1220; background: rgba(255, 255, 255, .55);
	box-shadow: 0 2px 8px rgba(15, 23, 42, .08); transition: background .2s;
}
.ze-hero-arrow .ze-icon { font-size: 16px; }
.ze-hero-prev { left: 7px; }
.ze-hero-next { right: 9px; background: #fff; }
.ze-hero-arrow:hover { background: #fff; }
.ze-hero-dots { position: absolute; left: 50%; bottom: 17px; transform: translateX(-50%); z-index: 3; display: flex; gap: 9px; }
.ze-hero-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .7); }
.ze-hero-dots button.is-active { background: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.4); }

/* ---------- Feature strip ---------- */
.ze-features { background: var(--ze-soft); padding: 19px 0 16px; }
.ze-features-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ze-feature { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 2px 10px; min-height: 40px; }
.ze-feature:nth-child(1), .ze-feature:nth-child(3) { border-right: 1px solid #dfe3ea; }
.ze-feature > .ze-icon { font-size: 40px; color: #0c1d4b; }
.ze-feature h3 { margin: 0; font-size: 14px; font-weight: 600; color: var(--ze-ink); line-height: 1.35; }
.ze-feature p { margin: 1px 0 0; font-size: 12.5px; color: #4a5160; line-height: 1.35; }

/* ---------- Sections ---------- */
.ze-section { padding: 17px 0 0; }
.ze-featured { padding-top: 33px; padding-bottom: 24px; }
.ze-featured .woocommerce ul.products, .ze-featured ul.products.ze-products { margin-bottom: 0; }
.ze-section-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.ze-section-title { margin: 0; font-size: 19px; font-weight: 700; color: var(--ze-ink); line-height: 1.2; letter-spacing: -.01em; }
.ze-section-head .ze-section-title { display: flex; align-items: center; gap: 17px; min-width: 266px; }
.ze-section-head .ze-section-title::after { content: ""; flex: 1; min-width: 48px; max-width: 120px; height: 2px; background: var(--ze-navy); }
.ze-view-all {
	margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600;
	color: #0c3c8c; white-space: nowrap;
}
.ze-view-all .ze-icon { font-size: 15px; }
.ze-view-all:hover { color: var(--ze-blue); }
.ze-view-all:hover .ze-icon { transform: translateX(2px); }

/* Categories */
.ze-cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 18px; }
.ze-cat-card {
	display: flex; flex-direction: column; align-items: center; height: 100%;
	background: linear-gradient(180deg, #f5f6fa 0%, #f2f4f8 100%); border: 1px solid #e6e9f0; border-radius: var(--ze-radius);
	padding: 3px 4px 8px; box-shadow: 0 1px 2px rgba(15, 23, 42, .03); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.ze-cat-img { display: block; width: 100%; height: 83px; }
.ze-cat-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: darken; }
.ze-cat-name { margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--ze-ink); text-align: center; line-height: 1.25; letter-spacing: -.015em; white-space: nowrap; }
.ze-cat-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(6, 30, 70, .1); border-color: #d6dcea; }
.ze-cat-card:hover .ze-cat-name { color: var(--ze-navy); }

/* Product cards (home + shop) */
.ze-products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ze-product-card {
	position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #e2e6ee;
	border-radius: var(--ze-radius); overflow: hidden; box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
	transition: box-shadow .2s, transform .2s;
}
.ze-product-card:hover { box-shadow: 0 14px 30px rgba(6, 30, 70, .1); transform: translateY(-2px); }
.ze-card-media { position: relative; background: var(--ze-card); aspect-ratio: 269 / 177; }
.ze-card-img { display: block; width: 100%; height: 100%; }
.ze-card-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: darken; display: block; margin: 0; }
.ze-wish {
	position: absolute; top: 8px; right: 12px; width: 30px; height: 30px; border-radius: 50%; border: 0; padding: 0;
	background: #fff; color: #1a1f2b; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(15, 23, 42, .06);
	transition: color .2s, transform .2s;
}
.ze-wish .ze-icon { font-size: 19px; }
.ze-wish:hover { transform: scale(1.08); color: #d6334a; }
.ze-wish.is-active { color: #d6334a; }
.ze-wish.is-active .ze-icon path { fill: currentColor; }
.ze-card-body { display: flex; flex-direction: column; align-items: flex-start; padding: 5px 14px 13px; flex: 1; }
.ze-card-title { margin: 0; font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--ze-ink); letter-spacing: -.005em; }
.ze-card-title a { color: inherit; }
.ze-card-title a:hover { color: var(--ze-navy); }
.ze-card-price { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: var(--ze-navy); line-height: 1.35; }
.ze-card-price .price, .ze-card-price .amount { color: var(--ze-navy); }
.ze-card-price del { color: #8a93a3; font-weight: 500; font-size: 13px; margin-right: 6px; }
.ze-card-price ins { text-decoration: none; }
.ze-card-body .button,
.ze-card-body a.button {
	margin-top: auto; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px;
	background: var(--ze-navy); color: #fff; border-radius: 4px; border: 0; font-size: 11.8px; font-weight: 600; line-height: 1;
}
.ze-card-body .button .ze-icon { font-size: 15px; }
.ze-card-body .button:hover { background: var(--ze-blue); color: #fff; }

/* ---------- Footer ---------- */
.ze-footer {
	color: #e9f0fb; font-size: 12.5px;
	background:
		radial-gradient(ellipse 60% 120% at 90% 0%, rgba(32, 92, 182, .35), transparent 60%),
		radial-gradient(ellipse 40% 80% at 35% 100%, rgba(10, 60, 140, .3), transparent 70%),
		linear-gradient(160deg, #011d45 0%, #01255a 55%, #012e6a 100%);
}
.ze-footer a { color: #e9f0fb; }
.ze-footer a:hover { color: var(--ze-gold); }
.ze-footer-grid {
	display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, 1.47fr);
	padding: 17px 0 19px;
}
.ze-fcol { padding-left: 40px; border-left: 1px solid rgba(255, 255, 255, .17); padding-top: 4px; padding-bottom: 4px; }
.ze-fcol-brand { padding-left: 6px; padding-right: 20px; border-left: 0; padding-top: 8px; }
.ze-fcol-news { padding-left: 34px; }
.ze-fhead { margin: 0 0 9px; font-size: 14.5px; font-weight: 600; color: #fff; }
.ze-logo--white { color: #fff; }
.ze-logo--white .ze-logo-mark { width: 40px; height: 40px; }
.ze-logo--white .ze-logo-title { color: #fff; font-size: 23px; }
.ze-logo--white .ze-logo-tag { color: #fff; font-size: 8.3px; margin-top: 5px; }
.ze-fcol-brand .ze-logo img { max-height: 48px; width: auto; }
.ze-footer-about { margin: 11px 0 10px; line-height: 1.28; font-size: 12.7px; }
.ze-social { display: flex; gap: 13px; }
.ze-social a {
	width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center;
	background: #d9e3f1; color: #0b2a5c; transition: transform .2s, background .2s;
}
.ze-social a .ze-icon { font-size: 16px; }
.ze-social .ze-social-instagram { border-radius: 8px; }
.ze-social .ze-social-youtube { border-radius: 7px; width: 28px; background: #fff; }
.ze-social a:hover { background: var(--ze-gold); color: #1d1402; transform: translateY(-2px); }
.ze-footer-links { list-style: none; margin: 0; padding: 0; }
.ze-footer-links li { margin: 0; line-height: 21px; }
.ze-footer-links a { font-size: 12.7px; }
.ze-contact { list-style: none; margin: 0; padding: 0; }
.ze-contact li { display: flex; gap: 9px; align-items: flex-start; font-size: 12.2px; line-height: 1.32; margin-bottom: 9px; }
.ze-contact .ze-icon { font-size: 16px; margin-top: 0; color: #fff; }
.ze-news-text { margin: 0 0 14px; font-size: 12.2px; line-height: 1.35; }
.ze-news-form {
	display: flex; align-items: center; height: 35px; background: #fff; border: 2px solid #fff; border-radius: 6px;
	max-width: 208px; overflow: hidden;
}
.ze-news-form input[type="email"] { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 12px; font-size: 12.5px; color: var(--ze-ink); background: transparent; }
.ze-news-form input::placeholder { color: #6b7280; }
.ze-news-form button {
	width: 36px; height: 27px; margin-right: 2px; border: 0; border-radius: 4px; background: var(--ze-blue); color: #fff;
	display: grid; place-items: center;
}
.ze-news-form button .ze-icon { font-size: 15px; }
.ze-news-form button:hover { background: var(--ze-navy); }
.ze-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.ze-news-msg { margin: 8px 0 0; font-size: 12.5px; color: #b8f0c5; }
.ze-news-msg.is-error { color: #ffc2c2; }
.ze-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); }
.ze-footer-bottom-inner { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 8px 0; }
.ze-copy { margin: 0; font-size: 12.8px; padding-left: 6px; }
.ze-payments { display: flex; align-items: center; gap: 12px; }
.ze-payments img { height: 32px; width: auto; }
.ze-payments img[alt="JazzCash"] { height: 38px; }

/* ---------- Inner pages ---------- */
.ze-page-head { background: var(--ze-soft); border-bottom: 1px solid var(--ze-line); padding: 18px 0 16px; }
.ze-page-title { margin: 4px 0 0; font-size: 28px; color: var(--ze-ink); }
.ze-breadcrumb, .woocommerce .woocommerce-breadcrumb { margin: 0; font-size: 13px; color: var(--ze-muted); }
.ze-breadcrumb a { color: var(--ze-navy); }
.ze-bc-sep { margin: 0 8px; color: #a1a9b8; }
.ze-page-body { padding: 32px 0 48px; }
.ze-page-body.has-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 36px; }
.ze-narrow { max-width: 820px; }
.entry-content { font-size: 15.5px; line-height: 1.7; }
.entry-content > * + * { margin-top: 1em; }
.entry-content p a:not([class]), .entry-content li a:not([class]) { text-decoration: underline; text-underline-offset: 2px; }
.ze-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.ze-post-card { border: 1px solid var(--ze-line); border-radius: var(--ze-radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.ze-post-thumb { display: grid; place-items: center; aspect-ratio: 16 / 9; background: var(--ze-card); }
.ze-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ze-post-thumb .ze-logo-mark { width: 64px; height: 64px; opacity: .5; }
.ze-post-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.ze-post-body .ze-view-all { margin-left: 0; margin-top: auto; }
.ze-post-meta { font-size: 12.5px; color: var(--ze-muted); margin: 0 0 4px; }
.ze-post-title { font-size: 17px; margin: 0 0 8px; }
.ze-post-title a { color: var(--ze-ink); }
.ze-single-thumb { border-radius: var(--ze-radius); margin-bottom: 1.2em; }
.ze-search-inline { width: 100%; max-width: 420px; }
.ze-404 { text-align: center; display: flex; flex-direction: column; align-items: center; padding: 64px 0 80px; }
.ze-404 > .ze-icon { font-size: 64px; color: var(--ze-gold); margin-bottom: 12px; }
.ze-404 .ze-btn-primary { align-self: center; }
.ze-empty { padding: 24px 0; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.nav-links .page-numbers, .post-navigation a {
	display: inline-flex; align-items: center; gap: 6px; min-width: 38px; height: 38px; padding: 0 12px; justify-content: center;
	border: 1px solid var(--ze-line); border-radius: 6px; color: var(--ze-ink); font-weight: 500;
}
.nav-links .page-numbers.current, .nav-links a:hover { background: var(--ze-navy); border-color: var(--ze-navy); color: #fff; }
.post-navigation .nav-links { justify-content: space-between; }
.widget { margin-bottom: 28px; }
.widget-title { font-size: 16px; margin-bottom: 12px; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 5px 0; border-bottom: 1px solid var(--ze-line); }
.ze-comments { margin-top: 40px; }
.comment-list { padding-left: 0; list-style: none; }
.comment-body { border-bottom: 1px solid var(--ze-line); padding: 16px 0; }
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"]:not(.ze-search input), select, textarea {
	border: 1px solid #cfd5df; border-radius: 6px; padding: 9px 12px; background: #fff; max-width: 100%;
}
.ze-search input[type="search"] { border: 0; border-radius: 0; padding: 0 14px 0 16px; }
input[type="submit"], .wp-block-button__link, .comment-form .submit {
	background: var(--ze-navy); color: #fff; border: 0; border-radius: 6px; padding: 10px 20px; font-weight: 600;
}
input[type="submit"]:hover, .wp-block-button__link:hover { background: var(--ze-blue); color: #fff; }
.ze-home-content { padding: 12px 0 32px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.ze-hero-title { font-size: 40px; }
	.ze-slide-content { padding-left: 52px; max-width: 47%; }
	.ze-slide-media { width: 60%; }
	.ze-menu { gap: 24px; }
	.ze-menu > li > a { font-size: 13px; gap: 7px; }
	.ze-fcol { padding-left: 24px; }
	.ze-fcol-news { padding-left: 24px; }
}

@media (max-width: 960px) {
	.ze-container { width: min(100% - 40px, 1128px); }
	.ze-nav-toggle {
		display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 6px;
		background: transparent; color: #fff; margin-left: auto;
	}
	.ze-nav-toggle .ze-icon { font-size: 24px; }
	.ze-primary {
		position: fixed; inset: 0 auto 0 0; width: min(320px, 86vw); background: #fff; color: var(--ze-ink); z-index: 200;
		display: block; padding: 60px 18px 24px; overflow-y: auto; transform: translateX(-105%); transition: transform .28s ease;
		box-shadow: 0 0 40px rgba(0, 0, 0, .25);
	}
	.ze-primary.is-open { transform: none; }
	.ze-nav-close {
		display: grid; place-items: center; position: absolute; top: 12px; right: 12px; width: 40px; height: 40px;
		border: 0; background: var(--ze-card); border-radius: 50%; color: var(--ze-ink);
	}
	.ze-nav-close .ze-icon { font-size: 20px; }
	.ze-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.ze-menu > li > a { color: var(--ze-ink); font-size: 15px; padding: 13px 8px; border-bottom: 1px solid var(--ze-line); }
	.ze-menu > li > a .ze-icon { color: var(--ze-navy); }
	.ze-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 16px; }
	body.ze-nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(2, 16, 40, .5); z-index: 150; }
	body.ze-nav-open .ze-navbar { z-index: 210; }
	.ze-cart { margin-left: 4px; }

	.ze-cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
	.ze-cat-name { white-space: normal; }
	.ze-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ze-featured .woocommerce ul.products.ze-products, .ze-featured ul.products.ze-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ze-features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
	.ze-feature { justify-content: flex-start; padding-left: 12%; }
	.ze-feature:nth-child(3) { border-right: 0; }
	.ze-feature:nth-child(1) { border-right: 1px solid #dfe3ea; }

	.ze-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
	.ze-fcol, .ze-fcol-news { border-left: 0; padding-left: 0; }
	.ze-fcol-brand { grid-column: 1 / -1; padding-left: 0; }
	.ze-copy { padding-left: 0; }
	.ze-page-body.has-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
	.ze-mainbar-inner { flex-wrap: wrap; padding: 12px 0; gap: 12px; }
	.ze-brand { width: 100%; justify-content: center; }
	.ze-search { width: 100%; }
	.ze-topbar-left span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

	.ze-hero { height: auto; display: grid; }
	.ze-slide { position: relative; grid-area: 1 / 1; display: flex; flex-direction: column; }
	.ze-slide-media { position: relative; width: 100%; height: 210px; order: -1; flex: none; }
	.ze-slide-media::before { display: none; }
	.ze-slide-content { padding: 22px 22px 30px; max-width: none; height: auto; flex: 1; justify-content: flex-start; }
	.ze-hero-title { font-size: 34px; }
	.ze-hero-text { margin-top: 12px; font-size: 15px; }
	.ze-hero-arrow { top: 105px; }
	.ze-hero-dots { bottom: auto; top: 186px; }
}

@media (max-width: 600px) {
	.ze-container { width: calc(100% - 28px); }
	.ze-hero-container { width: calc(100% - 20px); }
	.ze-topbar { font-size: 12px; }
	.ze-topbar-right .ze-topbar-sep, .ze-topbar-right a:first-child span { display: none; }
	.ze-cats-btn { width: auto; font-size: 15px; gap: 9px; }
	.ze-logo-title { font-size: 25px; }
	.ze-logo-tag { font-size: 9.2px; }
	.ze-logo-mark { width: 46px; height: 46px; }

	.ze-features-grid { grid-template-columns: 1fr 1fr; }
	.ze-feature { flex-direction: column; text-align: center; gap: 6px; padding: 4px 6px; justify-content: flex-start; }
	.ze-feature:nth-child(n) { border-right: 0; }
	.ze-feature > .ze-icon { font-size: 32px; }

	.ze-section-head { flex-wrap: wrap; row-gap: 6px; }
	.ze-section-head .ze-section-title { min-width: 0; }
	.ze-section-head .ze-section-title::after { flex: none; width: 48px; }
	.ze-section-title { font-size: 18px; }
	.ze-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
	.ze-cat-img { height: 74px; }
	.ze-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.ze-card-body { padding: 8px 10px 12px; }
	.ze-card-title { font-size: 13px; }
	.ze-card-price { font-size: 14.5px; }
	.ze-card-body .button, .ze-card-body a.button { width: 100%; justify-content: center; height: 34px; }

	.ze-footer-grid { grid-template-columns: 1fr; }
	.ze-news-form { max-width: none; }
	.ze-footer-bottom-inner { justify-content: center; text-align: center; }
	.ze-payments { flex-wrap: wrap; justify-content: center; }
	.ze-page-title { font-size: 23px; }
}

/* Zoom Electric – mobile refinements (phones up to 600px wide) */
@media (max-width: 600px) {
	/* Header */
	.ze-mainbar-inner { padding: 10px 0 12px; gap: 10px; }
	.ze-logo-mark { width: 42px; height: 42px; }
	.ze-logo-title { font-size: 23px; }
	.ze-logo-tag { font-size: 8.4px; margin-top: 4px; }
	.ze-search { height: 40px; border-radius: 20px; }
	.ze-search button { width: 48px; border-radius: 0 20px 20px 0; }
	.ze-search input[type="search"] { font-size: 16px; }
	.ze-navbar-inner { min-height: 52px; gap: 8px; }
	.ze-cats-btn { height: 38px; padding: 0 12px; font-size: 14.5px; }
	.ze-nav-toggle, .ze-cart { width: 44px; height: 44px; }
	.ze-cart { margin-right: -8px; }

	/* Hero slider: shorter, so the categories show sooner */
	.ze-hero-wrap { padding-top: 12px; }
	.ze-slide-media { height: 190px; }
	.ze-slide-content { padding: 18px 18px 22px; }
	.ze-eyebrow { font-size: 12.5px; margin-bottom: 6px; }
	.ze-hero-title { font-size: 30px; line-height: 1.03; }
	.ze-hero-text { font-size: 14px; margin-top: 10px; }
	.ze-btn-primary { margin-top: 14px; height: 40px; font-size: 14px; }
	.ze-hero-arrow { top: 95px; width: 32px; height: 32px; margin-top: -16px; }
	.ze-hero-dots { top: 168px; bottom: auto; }

	/* Feature strip: compact 2 × 2 */
	.ze-features { padding: 14px 0; }
	.ze-features-grid { row-gap: 12px; column-gap: 8px; }
	.ze-feature { flex-direction: row; justify-content: flex-start; text-align: left; gap: 10px; padding: 2px 0; }
	.ze-feature > .ze-icon { font-size: 28px; }
	.ze-feature h3 { font-size: 12.5px; }
	.ze-feature p { font-size: 11px; }

	/* Section headings and "View all" on one line */
	.ze-section { padding-top: 22px; }
	.ze-featured { padding-top: 26px; padding-bottom: 28px; }
	.ze-section-head { flex-wrap: nowrap; gap: 10px; margin-bottom: 12px; }
	.ze-section-head .ze-section-title { min-width: 0; gap: 0; }
	.ze-section-head .ze-section-title::after { display: none; }
	.ze-section-title { font-size: 17px; white-space: nowrap; }
	.ze-view-all { font-size: 12.5px; gap: 5px; }

	/* Categories: 4 across, 2 rows */
	.ze-cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
	.ze-cat-card { padding: 4px 3px 7px; }
	.ze-cat-img { height: 56px; }
	.ze-cat-name { font-size: 10.5px; margin-top: 4px; line-height: 1.2; white-space: normal; }

	/* Product cards */
	.ze-products, .woocommerce ul.products, .woocommerce-page ul.products { gap: 10px; }
	.ze-wish { top: 6px; right: 6px; width: 28px; height: 28px; }
	.ze-wish .ze-icon { font-size: 17px; }

	/* Footer: link lists side by side */
	.ze-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 22px; padding: 24px 0 20px; }
	.ze-fcol-brand, .ze-fcol-contact, .ze-fcol-news { grid-column: 1 / -1; }
	.ze-fcol, .ze-fcol-brand, .ze-fcol-news { padding: 0; }
	.ze-fhead { margin-bottom: 6px; }
	.ze-footer-links li { line-height: 28px; }
	.ze-contact li { margin-bottom: 11px; }
	/* Leave room for the floating cart button at the bottom */
	.ze-footer-bottom-inner { flex-direction: column; gap: 10px; padding: 14px 0 140px; }
	/* Top bar: keep both sides on one line */
	.ze-topbar-left { min-width: 0; overflow: hidden; }
	.ze-topbar-right a { white-space: nowrap; }
}
@media (max-width: 782px) {
	/* Mobile menu drawer sits below the WordPress admin bar when logged in */
	.admin-bar .ze-primary { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Pages built with Elementor (full width; Elementor sets the spacing) ---------- */
.ze-builder-content { display: flow-root; }
.ze-builder-content .elementor-widget-ze-hero .ze-hero-wrap { margin: 0; }
.ze-builder-content [class*="elementor-widget-ze-"] { width: 100%; }

/* Product grid column choices (Zoom Products widget). */
.ze-products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ze-products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ze-products.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ze-products.columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* ---------- Header cart badge ---------- */
.ze-cart-count.is-bump { animation: ze-bump .45s ease; }
@keyframes ze-bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .ze-cart-count.is-bump { animation: none; } }

/* ---------- Contact page ---------- */
.ze-contact-template { padding-top: 34px; }
.ze-contact-lead { max-width: 760px; margin: 0 0 22px; }
.ze-contact-section { padding: 34px 0 10px; }
.elementor-widget-ze-contact-form .ze-contact-section, .ze-contact-cards-only + .ze-contact-section { padding-top: 6px; padding-bottom: 56px; }
.ze-contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0 0 30px; }
.ze-contact-card {
	display: flex; align-items: flex-start; gap: 14px; padding: 20px 18px; background: #fff; color: var(--ze-text);
	border: 1px solid var(--ze-line); border-radius: 10px; box-shadow: 0 6px 18px rgba(12, 29, 75, .06);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.ze-contact-card:hover { transform: translateY(-2px); border-color: #c9d4ea; box-shadow: 0 10px 24px rgba(12, 29, 75, .1); color: var(--ze-text); }
.ze-contact-icon {
	flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
	background: var(--ze-navy); color: #fff;
}
.ze-contact-icon .ze-icon { font-size: 21px; }
.ze-contact-card-body { display: grid; gap: 3px; min-width: 0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.ze-contact-card-body strong { color: var(--ze-heading); font-size: 15.5px; font-weight: 700; }
.ze-contact-wrap { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.ze-contact-wrap.no-aside { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.ze-contact-form-box, .ze-hours {
	background: #fff; border: 1px solid var(--ze-line); border-radius: 10px; padding: 26px 26px 22px;
	box-shadow: 0 6px 18px rgba(12, 29, 75, .05);
}
.ze-contact-title { margin: 0 0 6px; font-size: 24px; color: var(--ze-heading); }
.ze-contact-intro { margin: 0 0 18px; color: var(--ze-muted); }
.ze-contact-form p { margin: 0 0 14px; }
.ze-contact-form label { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 600; color: var(--ze-heading); }
.ze-contact-form .req { color: #c0392b; }
.ze-contact-form input:not([type="hidden"]), .ze-contact-form select, .ze-contact-form textarea { width: 100%; padding: 11px 13px; border-radius: 7px; }
.ze-contact-form input:focus, .ze-contact-form select:focus, .ze-contact-form textarea:focus { outline: 2px solid rgba(10, 79, 168, .25); border-color: var(--ze-blue); }
.ze-contact-form textarea { display: block; resize: vertical; min-height: 130px; }
.ze-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.ze-form-submit { margin-bottom: 0 !important; }
.ze-form-submit .ze-btn { border: 0; cursor: pointer; }
.ze-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ze-form-notice { margin: 0 0 16px; padding: 12px 14px; border-radius: 7px; font-size: 14px; font-weight: 500; }
.ze-form-notice.is-success { background: #e8f6ee; color: #17633a; border: 1px solid #bfe5cf; }
.ze-form-notice.is-error { background: #fdeeee; color: #9b2222; border: 1px solid #f3c7c7; }
.ze-contact-aside { display: grid; gap: 18px; }
.ze-hours h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 17px; color: var(--ze-heading); }
.ze-hours h3 .ze-icon { color: var(--ze-navy); font-size: 20px; }
.ze-hours p { margin: 0; line-height: 1.8; }
.ze-map { border-radius: 10px; overflow: hidden; border: 1px solid var(--ze-line); background: var(--ze-soft); }
.ze-map iframe { display: block; width: 100%; height: 300px; border: 0; }

@media (max-width: 1024px) {
	.ze-contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ze-products.columns-5, .ze-products.columns-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 782px) {
	.ze-contact-wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
	.ze-contact-template { padding-top: 22px; }
	.ze-contact-section { padding-top: 22px; }
	.ze-contact-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 20px; }
	.ze-contact-card { padding: 15px 14px; }
	.ze-form-row { grid-template-columns: minmax(0, 1fr); }
	.ze-contact-form-box, .ze-hours { padding: 20px 16px 18px; }
	.ze-contact-title { font-size: 21px; }
	.ze-map iframe { height: 240px; }
	.ze-products.columns-3, .ze-products.columns-5, .ze-products.columns-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
