/* Zapcart logo-derived brand palette. Loaded after theme.css for safe overrides. */
:root {
	--zap-ink: #1b1a1a;
	--zap-ink-strong: #111111;
	--zap-ink-soft: #4f5d66;
	--zap-primary: #1f73ad;
	--zap-primary-dark: #15547f;
	--zap-primary-soft: #e7f2fa;
	--zap-accent: #c62828;
	--zap-accent-dark: #9f1f20;
	--zap-commerce: #c62828;
	--zap-brand-blue: #267fc5;
	--zap-brand-red: #e13330;
	--zap-brand-yellow: #f7c933;
	--zap-brand-slate: #6299c9;
	--zap-brand-cyan: #a5def1;
	--zap-surface-tint: #eef5f9;
	--zap-focus: #f7c933;
	--zap-shadow-sm: 0 1px 2px rgba(27, 26, 26, 0.08);
	--zap-shadow-md: 0 12px 30px rgba(27, 26, 26, 0.1);
	--zap-shadow-lg: 0 24px 60px rgba(27, 26, 26, 0.16);
	--zap-night: #101d2c;
	--zap-night-soft: #182b3f;
	--zap-rose-tint: #fff6f5;
	--zap-sky-tint: #f1f8fc;
}

/* Branded commerce finish: dark utility/navigation anchors, light product surfaces. */
.site-header {
	box-shadow: 0 10px 32px rgba(16, 29, 44, 0.08);
}

.site-navigation {
	border-top-color: rgba(255, 255, 255, 0.12);
	background: linear-gradient(100deg, var(--zap-night), var(--zap-night-soft));
}

.site-navigation .navigation-label,
.site-navigation .menu-item > a,
.site-navigation .submenu-toggle {
	color: #f7fbfe;
}

.site-navigation .menu-item > a:hover,
.site-navigation .menu-item.current-menu-item > a {
	background: rgba(165, 222, 241, 0.14);
	color: #fff;
}

.product-search__field {
	border-radius: 999px;
	background: #f5f9fc;
}

.product-search__submit {
	border-radius: 999px;
	background: linear-gradient(135deg, var(--zap-brand-blue), var(--zap-primary-dark));
}

.woocommerce ul.products li.product,
ul.products li.product {
	border-radius: 18px;
	box-shadow: 0 8px 26px rgba(16, 29, 44, 0.07);
}

/* WooCommerce adds a percentage width to columns-* lists. The theme owns the
 * grid tracks, so every card must fill its assigned track at every breakpoint. */
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product,
.woocommerce ul.products li.product,
ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
}

.woocommerce ul.products li.product:hover,
ul.products li.product:hover {
	border-color: rgba(38, 127, 197, 0.5);
	box-shadow: 0 18px 42px rgba(16, 29, 44, 0.14);
}

.woocommerce ul.products li.product a img {
	background: linear-gradient(145deg, #fff, var(--zap-sky-tint));
}

.woocommerce div.product div.images img {
	border: 1px solid var(--zap-border);
	border-radius: 20px;
	background: #fff;
}

.product-action-panel,
.zapcart-availability-notice {
	border-radius: 16px;
}

.product-action-panel {
	background: linear-gradient(135deg, var(--zap-sky-tint), #fff);
	box-shadow: 0 10px 30px rgba(16, 29, 44, 0.07);
}

.product-action-panel--commercial {
	background: linear-gradient(135deg, var(--zap-rose-tint), #fff);
}

.zapcart-availability-notice {
	display: flex;
	padding: 1rem 1.1rem;
	margin: 0.9rem 0;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	border: 1px solid #edd58b;
	border-left: 5px solid var(--zap-brand-yellow);
	background: #fffdf2;
	box-shadow: 0 6px 20px rgba(16, 29, 44, 0.06);
}

.zapcart-availability-notice p {
	margin: 0;
}

.zapcart-availability-notice .button {
	flex: 0 0 auto;
}

.zapcart-availability-acknowledgement {
	padding: 1rem;
	border: 1px solid #edd58b;
	border-radius: 12px;
	background: #fffdf2;
}

.zapcart-availability-acknowledgement label {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
}

.zapcart-availability-acknowledgement input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin-top: 0.2rem;
	flex: 0 0 auto;
}

.woocommerce-cart .cart-collaterals,
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce form.login,
.woocommerce form.register {
	padding: clamp(1rem, 2vw, 1.5rem);
	border: 1px solid var(--zap-border);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(16, 29, 44, 0.07);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 0.7rem 0.8rem;
	border-radius: 8px;
	text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
	background: var(--zap-primary-soft);
	color: var(--zap-primary-dark);
}

@media (max-width: 960px) {
	.site-navigation {
		background: #fff;
	}

	.site-navigation .navigation-label,
	.site-navigation .menu-item > a,
	.site-navigation .submenu-toggle {
		color: var(--zap-ink);
	}

	.woocommerce-checkout #customer_details,
	.woocommerce-checkout #order_review {
		float: none;
		width: 100%;
	}
}

@media (max-width: 680px) {
	.zapcart-availability-notice {
		align-items: stretch;
		flex-direction: column;
	}

	.zapcart-availability-notice .button,
	.product-action-panel__buttons .button {
		width: 100%;
		justify-content: center;
		text-align: center;
	}

	.woocommerce table.shop_table_responsive tr td,
	.woocommerce-page table.shop_table_responsive tr td {
		padding: 0.75rem;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation,
	.woocommerce-account .woocommerce-MyAccount-content {
		float: none;
		width: 100%;
		margin-bottom: 1rem;
	}
}

/* 1.0.5 premium catalogue refinement. */
.home-hero {
	padding: clamp(3.25rem, 6vw, 5.75rem) 0;
	background:
		radial-gradient(circle at 88% 14%, rgba(225, 51, 48, 0.09), transparent 28%),
		radial-gradient(circle at 12% 86%, rgba(38, 127, 197, 0.11), transparent 34%),
		linear-gradient(135deg, #f6fafc 0%, #eaf2f7 58%, #f8eeee 100%);
}

.home-hero__grid {
	grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
	gap: clamp(2rem, 5vw, 5rem);
}

.home-hero h1 {
	font-size: clamp(2.55rem, 5vw, 4.35rem);
}

.hero-showcase {
	position: relative;
	min-height: 520px;
	padding: 0.85rem;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 28px;
	background: linear-gradient(145deg, var(--zap-night), #173b57);
	box-shadow: 0 28px 70px rgba(16, 29, 44, 0.22);
	color: #dceaf3;
	overflow: hidden;
}

.hero-showcase::before {
	position: absolute;
	top: -120px;
	right: -100px;
	width: 280px;
	height: 280px;
	border-radius: 50%;
	background: rgba(225, 51, 48, 0.14);
	content: "";
}

.hero-showcase__header {
	position: relative;
	z-index: 2;
	display: flex;
	min-height: 76px;
	padding: 0.75rem 0.75rem 0.85rem;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.hero-showcase__header p {
	margin: 0;
	color: #abc6d8;
	font-size: 0.75rem;
}

.hero-showcase__header .hero-showcase__label {
	color: #fff;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.hero-showcase__controls {
	display: flex;
	gap: 0.45rem;
}

.hero-showcase__controls button {
	display: grid;
	width: 40px;
	height: 40px;
	padding: 0;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.hero-showcase__controls button:hover {
	background: rgba(255, 255, 255, 0.18);
}

.hero-showcase__slides {
	position: relative;
	min-height: 422px;
}

.hero-showcase__slide {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-rows: minmax(245px, 1fr) auto;
	border-radius: 20px;
	background: #fff;
	color: var(--zap-ink);
	overflow: hidden;
}

.hero-showcase__slide[hidden] {
	display: none;
}

.hero-showcase__image {
	display: grid;
	min-height: 245px;
	place-items: center;
	background: linear-gradient(145deg, #fff, var(--zap-sky-tint));
}

.hero-showcase__image img {
	width: 100%;
	height: 100%;
	max-height: 285px;
	padding: 1rem;
	object-fit: contain;
}

.hero-showcase__body {
	padding: 1.25rem 1.35rem 1.35rem;
}

.hero-showcase__count {
	margin-bottom: 0.45rem;
	color: var(--zap-accent);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.hero-showcase__body h2 {
	display: -webkit-box;
	margin-bottom: 0.7rem;
	overflow: hidden;
	font-size: clamp(1.1rem, 2vw, 1.4rem);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.hero-showcase__body h2 a {
	color: inherit;
	text-decoration: none;
}

.hero-showcase__meta {
	display: flex;
	margin-bottom: 0.75rem;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	color: var(--zap-ink-soft);
	font-size: 0.72rem;
}

.hero-showcase__meta .price {
	color: var(--zap-accent-dark);
	font-size: 0.95rem;
	font-weight: 800;
}

.department-card {
	min-height: 126px;
	background: linear-gradient(145deg, #fff, #f7fafc);
}

.department-card__mark {
	width: 58px;
	height: 58px;
}

.department-card__mark .icon {
	width: 30px;
	height: 30px;
}

.department-card__mark--image {
	overflow: hidden;
	background: #fff;
}

.department-card__mark--image img {
	width: 100%;
	height: 100%;
	padding: 0.35rem;
	object-fit: contain;
}

.brand-list {
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0.75rem;
	border: 0;
}

.brand-list a.brand-card {
	min-height: 96px;
	border: 1px solid var(--zap-border);
	border-radius: 12px;
	box-shadow: 0 5px 18px rgba(16, 29, 44, 0.05);
}

.brand-card img {
	width: 100%;
	height: 62px;
	object-fit: contain;
}

.brand-card--logo {
	background: #fff;
}

.shop-results .woocommerce-products-header {
	padding: 0 0 1.5rem;
}

.shop-results .woocommerce-products-header__title.page-title {
	margin-bottom: 0.7rem;
	font-size: clamp(1.9rem, 4vw, 3rem);
}

.shop-results .term-description,
.shop-results .page-description {
	max-width: 960px;
	color: var(--zap-ink-soft);
	font-size: 0.92rem;
}

.shop-results .term-description h1,
.shop-results .term-description h2,
.shop-results .term-description h3,
.shop-results .page-description h1,
.shop-results .page-description h2,
.shop-results .page-description h3 {
	margin: 0.75rem 0 0.45rem;
	font-size: clamp(1.12rem, 2vw, 1.45rem);
}

.shop-filter-search .product-search__field {
	min-height: 44px;
	padding-left: 0.75rem;
	font-size: 0.82rem;
}

.shop-filter-widget li {
	margin-bottom: 0.35rem;
	color: var(--zap-ink-soft);
	font-size: 0.8rem;
}

.shop-filter-widget li a,
.shop-filters__clear {
	color: var(--zap-ink);
	text-decoration: none;
}

.shop-filter-widget li a:hover,
.shop-filters__clear:hover {
	color: var(--zap-primary-dark);
	text-decoration: underline;
}

.shop-filters__clear {
	display: inline-flex;
	padding-top: 0.9rem;
	font-size: 0.8rem;
	font-weight: 700;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title {
	min-height: 3em;
	font-size: 0.9rem;
	line-height: 1.38;
	-webkit-line-clamp: 2;
}

.woocommerce ul.products li.product .price,
ul.products li.product .price {
	margin-bottom: 0.35rem;
	font-size: 0.96rem;
}

.product-card__stock {
	display: flex;
	padding: 0 1rem;
	margin: 0 0 0.1rem;
	align-items: center;
	gap: 0.42rem;
	color: var(--zap-ink-soft);
	font-size: 0.72rem;
}

.product-card__stock > span {
	width: 7px;
	height: 7px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: var(--zap-warning);
}

.product-card__stock--retail > span {
	background: var(--zap-success);
}

.woocommerce ul.products li.product.product-category {
	min-height: 0;
	padding: 0;
}

.woocommerce ul.products li.product.product-category a {
	min-height: 230px;
}

.subcategory-visual {
	display: grid;
	min-height: 176px;
	place-items: center;
	background:
		radial-gradient(circle at 20% 20%, rgba(38, 127, 197, 0.15), transparent 32%),
		linear-gradient(145deg, #f7fbfe, #edf3f7);
}

.subcategory-visual .icon {
	width: 76px;
	height: 76px;
	color: var(--zap-primary-dark);
	stroke-width: 1.25;
}

.subcategory-visual img {
	width: 100%;
	height: 176px;
	padding: 1rem;
	object-fit: contain;
}

.woocommerce ul.products li.product.product-category .woocommerce-loop-category__title {
	padding: 1rem;
	margin: 0;
	font-size: 0.98rem;
}

.wcboost-products-compare-button,
.wcboost-products-compare,
a.compare,
.zapcart-v9-whatsapp {
	display: none !important;
}

.footer-brand__logo {
	display: inline-flex;
	padding: 0.6rem 0.8rem;
	margin-bottom: 1rem;
	border-radius: 12px;
	background: #fff;
}

.footer-brand__logo .custom-logo-link {
	max-width: 245px;
}

.footer-brand__logo .custom-logo {
	max-height: 58px;
}

.footer-brand__modes {
	color: #fff;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.footer-note-area {
	padding: 0 0 2rem;
}

.footer-note-area .footer-note {
	margin: 0;
}

.footer-note-area .zc-footer-cta {
	display: grid !important;
	grid-template-columns: minmax(0, 1.4fr) auto !important;
	min-height: 0 !important;
	padding: 1.5rem !important;
	align-items: center !important;
	gap: 1.5rem !important;
	border: 1px solid rgba(255, 255, 255, 0.13) !important;
	border-radius: 16px !important;
	background: linear-gradient(120deg, rgba(38, 127, 197, 0.2), rgba(225, 51, 48, 0.12)) !important;
}

.footer-note-area .zc-footer-cta h2 {
	max-width: 820px;
	margin: 0.25rem 0 0.5rem !important;
	color: #fff !important;
	font-size: clamp(1.15rem, 2vw, 1.45rem) !important;
}

.footer-note-area .zc-footer-cta p {
	margin: 0 !important;
	color: #bdccd8 !important;
	font-size: 0.85rem !important;
}

.footer-note-area .zc-footer-cta-actions {
	display: flex !important;
	flex-wrap: wrap;
	gap: 0.65rem !important;
}

.footer-note-area .zc-footer-cta-actions a {
	display: inline-flex;
	min-height: 44px;
	padding: 0.65rem 1rem;
	align-items: center;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 8px;
	font-size: 0.82rem;
	font-weight: 800;
	text-decoration: none;
}

@media (max-width: 1180px) {
	.home-hero__grid {
		grid-template-columns: minmax(0, 1fr) minmax(380px, 0.75fr);
	}

	.brand-list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 960px) {
	.home-hero__grid {
		grid-template-columns: 1fr;
	}

	.hero-showcase {
		width: min(100%, 620px);
		min-height: 500px;
	}

	.footer-note-area .zc-footer-cta {
		grid-template-columns: 1fr !important;
	}
}

@media (max-width: 680px) {
	.home-hero {
		padding-top: 2.5rem;
	}

	.hero-showcase {
		min-height: 470px;
		border-radius: 20px;
	}

	.hero-showcase__slides {
		min-height: 380px;
	}

	.hero-showcase__slide {
		grid-template-rows: minmax(210px, 1fr) auto;
	}

	.hero-showcase__image {
		min-height: 210px;
	}

	.hero-showcase__image img {
		max-height: 235px;
	}

	.brand-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-brand__logo .custom-logo-link {
		max-width: 210px;
	}

	.footer-note-area .zc-footer-cta-actions,
	.footer-note-area .zc-footer-cta-actions a {
		width: 100%;
	}

	.footer-note-area .zc-footer-cta-actions a {
		justify-content: center;
	}
}
