/*
Theme Name:   Zicommerce
Theme URI:    https://zavixbd.com/
Description:  Zicommerce — a WooCommerce storefront child theme by Zahirul Islam, built on top of WoodMart. Adds WhatsApp ordering, Bangladesh-friendly shop tweaks and custom branding. Requires the WoodMart parent theme (licensed separately).
Author:       Zahirul Islam
Author URI:   https://zavixbd.com/
Template:     woodmart
Version:      1.0.0
Requires PHP: 7.4
Text Domain:  zicommerce
Tags:         e-commerce, woocommerce, child-theme
*/

/* ---------- Zicommerce brand tokens (override per site via Customizer → Zicommerce) ---------- */
:root {
	--zc-primary: #19d6c8;
	--zc-accent: #f7b814;
	--zc-dark: #021e2e;
	--zc-radius: 12px;
}

/* ---------- Floating WhatsApp button ---------- */
.zc-wa-float {
	position: fixed;
	right: 20px;
	bottom: 24px;
	z-index: 9999;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 18px 12px 14px;
	border-radius: 999px;
	background: #25d366;
	color: #fff !important;
	font-weight: 600;
	font-size: 15px;
	line-height: 1;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
	transition: transform .2s ease, box-shadow .2s ease;
}
.zc-wa-float:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0, 0, 0, .22); }
.zc-wa-float svg { width: 24px; height: 24px; fill: #fff; flex: none; }
@media (max-width: 768px) {
	.zc-wa-float { bottom: 76px; right: 14px; padding: 13px; }
	.zc-wa-float span { display: none; }
}

/* ---------- "Order on WhatsApp" button on product pages ---------- */
.zc-wa-order {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin-top: 12px;
	padding: 12px 20px;
	border-radius: var(--zc-radius);
	background: #25d366;
	color: #fff !important;
	font-weight: 600;
	text-transform: none;
}
.zc-wa-order:hover { background: #1ebe5b; }
.zc-wa-order svg { width: 20px; height: 20px; fill: #fff; }

/* ---------- Small trust strip under add-to-cart ---------- */
.zc-trust {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin-top: 16px;
	font-size: 13px;
}
.zc-trust div {
	padding: 10px;
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: var(--zc-radius);
	text-align: center;
}
.zc-trust strong { display: block; color: var(--zc-dark); }
