/* "Order on WhatsApp" under the add-to-cart button */
.aiza-wa-order {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: -8px 0 24px; /* sits right under the add-to-cart row */
	padding: 11px 30px;
	border-radius: 0; /* square, like the theme's buttons */
	background: #17833f; /* WhatsApp's #25d366 is too light for white text (2:1) */
	color: #fff !important;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none !important;
	box-shadow: 0 8px 18px rgba(37, 211, 102, .28);
	transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.aiza-wa-order:hover,
.aiza-wa-order:focus-visible {
	background: #126b33;
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(37, 211, 102, .36);
}

.aiza-wa-order svg {
	flex: none;
}

/* Newsletter forms: result message and the hidden honeypot field */
.aiza-subscribe-msg {
	margin: 10px 0 0;
	color: #1e7b43;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
}

.aiza-subscribe-msg.is-error {
	color: #c0392b;
}

.aiza-subscribe-msg:empty {
	display: none;
}

form.cz_subscribe_elm .aiza-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
}

/* Help chat, bottom-left (the WhatsApp button and back-to-top are on the right) */
.aiza-chat {
	position: fixed;
	left: 24px;
	bottom: 24px;
	z-index: 99998;
	font-size: 14px;
	line-height: 1.5;
}

.aiza-chat .aiza-chat-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 48px;
	margin: 0;
	padding: 0 18px;
	border: 0;
	border-radius: 0; /* square, like the theme's buttons */
	background: #284980;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(40, 73, 128, .3);
}

.aiza-chat .aiza-chat-toggle:hover,
.aiza-chat .aiza-chat-toggle:focus-visible,
.aiza-chat.is-open .aiza-chat-toggle {
	background: #1d3763;
}

.aiza-chat .aiza-chat-toggle svg {
	color: #f8c530;
}

.aiza-chat .aiza-chat-panel {
	position: absolute;
	left: 0;
	bottom: 60px;
	display: flex;
	flex-direction: column;
	width: 340px;
	height: min(520px, calc(100vh - 120px));
	background: #fff;
	box-shadow: 0 16px 40px rgba(0, 0, 0, .22);
}

.aiza-chat .aiza-chat-panel[hidden] {
	display: none;
}

.aiza-chat .aiza-chat-head {
	position: relative;
	padding: 14px 52px 14px 16px;
	background: #284980;
	color: #fff;
}

.aiza-chat .aiza-chat-head strong {
	display: block;
	color: #fff;
	font-size: 16px;
}

.aiza-chat .aiza-chat-head span {
	font-size: 12px;
	opacity: .85;
}

.aiza-chat .aiza-chat-close {
	position: absolute;
	top: 10px;
	right: 8px;
	width: 38px;
	height: 38px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.aiza-chat .aiza-chat-log {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
	overflow-y: auto;
	padding: 14px;
	background: #f1f2f6;
}

.aiza-chat .aiza-chat-msg {
	max-width: 88%;
	padding: 9px 12px;
	background: #fff;
	color: #2b2b2b;
	overflow-wrap: anywhere;
}

.aiza-chat .aiza-chat-msg.is-user {
	align-self: flex-end;
	background: #284980;
	color: #fff;
}

.aiza-chat .aiza-chat-msg a {
	color: #284980;
	text-decoration: underline;
}

.aiza-chat .aiza-chat-msg a.aiza-chat-wa {
	display: block;
	margin-top: 8px;
	padding: 8px 12px;
	background: #17833f; /* as the product page's WhatsApp button */
	color: #fff;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
}

.aiza-chat .aiza-chat-msg a.aiza-chat-wa:hover {
	background: #126b33;
}

.aiza-chat .aiza-chat-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 10px 12px;
	border-top: 1px solid #e4e6ec;
}

.aiza-chat .aiza-chat-chips button {
	margin: 0;
	padding: 5px 10px;
	border: 1px solid #284980;
	border-radius: 0;
	background: #fff;
	color: #284980;
	font-size: 13px;
	line-height: 1.4;
	cursor: pointer;
}

.aiza-chat .aiza-chat-chips button:hover,
.aiza-chat .aiza-chat-chips button:focus-visible {
	border-color: #f8c530;
	background: #f8c530;
}

.aiza-chat .aiza-chat-form {
	display: flex;
	margin: 0;
	border-top: 1px solid #e4e6ec;
}

.aiza-chat .aiza-chat-form input {
	flex: 1;
	min-width: 0;
	height: 46px;
	margin: 0;
	padding: 0 12px;
	border: 0 !important;
	border-radius: 0;
	background: #fff;
	color: #2b2b2b;
	font-size: 16px; /* 16px stops iPhones zooming in */
	box-shadow: none;
}

.aiza-chat .aiza-chat-form button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: #f8c530;
	color: #284980;
	cursor: pointer;
}

/* Phones: above the theme's bottom nav bar, and the panel spans the screen */
@media (max-width: 768px) {
	.aiza-chat {
		left: 16px;
		bottom: 84px;
	}

	.aiza-chat .aiza-chat-toggle {
		height: 44px;
		padding: 0 14px;
		font-size: 14px;
	}

	.aiza-chat .aiza-chat-panel {
		position: fixed;
		left: 8px;
		right: 8px;
		bottom: 136px;
		width: auto;
		height: min(480px, calc(100dvh - 156px));
	}

	/* one row of topics that scrolls sideways, so the answers keep the room */
	.aiza-chat .aiza-chat-chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.aiza-chat .aiza-chat-chips button {
		flex: none;
	}

	/* the WhatsApp plugin's button would sit on the question box; the chat links to WhatsApp itself */
	body.aiza-chat-is-open .wa__btn_popup,
	body.aiza-chat-is-open .wa__popup_chat_box {
		display: none !important;
	}
}

/* Homepage text about the store (scripts/home-seo.php), under the "Online Shopping in Pakistan" heading */
.aiza-home-seo .aiza-home-about {
	max-width: 1100px;
	margin: 0 auto;
	color: #5b6475;
	font-size: 15px;
	line-height: 1.75;
}

.aiza-home-seo .aiza-home-about h3 {
	margin: 0 0 10px;
	color: #284980;
	font-size: 18px;
	line-height: 1.4;
}

.aiza-home-seo .aiza-home-about p,
.aiza-home-seo .aiza-home-about ul {
	margin: 0 0 22px;
}

.aiza-home-seo .aiza-home-about a {
	color: #284980;
	text-decoration: underline;
}

.aiza-home-seo .aiza-home-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.aiza-home-seo .aiza-home-cats a {
	padding: 6px 14px;
	border: 1px solid #284980;
	color: #284980;
	font-size: 14px;
	text-decoration: none;
	transition: background-color .2s ease;
}

.aiza-home-seo .aiza-home-cats a:hover {
	border-color: #f8c530;
	background: #f8c530;
}

.aiza-home-seo .aiza-home-cols {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	margin-bottom: 6px;
}

.aiza-home-seo .aiza-home-cols > div {
	padding: 20px 22px;
	border-left: 4px solid #f8c530; /* like the category description box */
	background: #fff;
	box-shadow: 0 2px 10px rgba(16, 32, 64, .05);
}

.aiza-home-seo .aiza-home-cols ul {
	padding-left: 18px;
	list-style: disc;
}

@media (max-width: 900px) {
	.aiza-home-seo .aiza-home-cols {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

/* Category cards (Categories page). The theme floats fixed-size cards with the name in a box
   hung over the photo's bottom edge, which broke long names ("Bathroo m") on phones, and the
   widget had a fixed height on phones that cut the grid off under the footer. */
.elementor-widget-cz_product_categories {
	height: auto !important;
}

/* In a wrapping flex column (Elementor's phone setting) the widget keeps a height worked out
   before its cards are laid out; without wrapping it grows with them. */
.e-con-inner:has(> .elementor-widget-cz_product_categories) {
	flex-wrap: nowrap !important;
}

.elementor-widget-cz_product_categories ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0 !important;
	padding: 0 0 30px !important;
	overflow: visible !important;
}

.elementor-widget-cz_product_categories ul.products::before,
.elementor-widget-cz_product_categories ul.products::after {
	display: none !important;
}

/* ul.products[class*=columns-] li.product: outranks WooCommerce's percentage widths */
.elementor-widget-cz_product_categories ul.products[class*="columns-"] li.product-category.product {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 2px 12px rgba(16, 32, 64, .06);
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}

/* no products yet: the card would lead to an empty page (WooCommerce prints no count for those) */
.elementor-widget-cz_product_categories li.product-category:not(:has(mark.count)) {
	display: none !important;
}

.elementor-widget-cz_product_categories li.product-category:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 24px rgba(16, 32, 64, .12);
}

.elementor-widget-cz_product_categories li.product-category a {
	display: flex !important;
	flex-direction: column;
	height: 100%;
}

.elementor-widget-cz_product_categories li.product-category img {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1;
	object-fit: contain;
	margin: 0 !important;
	padding: 0 !important;
	background-color: #fff;
	transition: transform .3s ease;
}

.elementor-widget-cz_product_categories li.product-category:hover img {
	transform: scale(1.04);
}

.elementor-widget-cz_product_categories li.product-category h2 {
	position: static !important;
	transform: none !important;
	width: auto !important;
	flex: 1; /* cards in a row share the tallest one's height; the name area takes the rest */
	margin: 0 !important;
	padding: 12px 12px 14px !important;
	border-top: 1px solid #eef0f4;
	background: none !important;
	box-shadow: none !important;
	color: #1c355e !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	text-align: center;
	word-break: normal !important;
	overflow-wrap: normal !important;
	hyphens: none !important;
}

.elementor-widget-cz_product_categories li.product-category h2 mark.count {
	display: block;
	margin-top: 4px;
	padding: 0;
	background: none;
	color: #6b7280;
	font-size: 12px;
	font-weight: 400;
	opacity: 1;
}

@media (max-width: 1024px) {
	.elementor-widget-cz_product_categories ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;
	}
}

@media (max-width: 600px) {
	.elementor-widget-cz_product_categories ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
		padding-bottom: 20px !important;
	}

	.elementor-widget-cz_product_categories li.product-category h2 {
		padding: 10px 8px 12px !important;
		font-size: 14px !important;
	}
}

/* My Account, logged out (account.php): Login and Register as tabs in one centred card */
.aiza-auth-head {
	max-width: 480px;
	margin: 0 auto 22px;
	text-align: center;
}
.aiza-auth-title {
	margin: 0 0 6px !important;
	font-size: 26px !important;
	line-height: 1.3 !important;
	color: #284980 !important;
}
.aiza-auth-sub {
	margin: 0;
	color: #6b7280;
	font-size: 15px;
	line-height: 1.6;
}
.aiza-auth-tabs,
.aiza-auth-tabs + #customer_login {
	box-sizing: border-box;
}
/* the theme's grey box around the account forms: the white card is enough */
.woocommerce:has(.aiza-auth-tabs) {
	background: transparent !important;
}
/* tabs sit flush on the card: one block, rounded only at its outer corners */
.aiza-auth-tabs {
	display: flex;
	max-width: 480px;
	margin: 0 auto !important;
	padding: 0 !important;
	overflow: hidden;
	background: #eef1f6;
	border: 1px solid #e4e6ec;
	border-bottom: 0;
	border-radius: 12px 12px 0 0;
}
.aiza-auth-tab {
	flex: 1;
	margin: 0 !important;
	padding: 15px 10px;
	border-radius: 0;
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	color: #284980 !important;
	text-decoration: none !important;
	transition: background .15s, color .15s;
}
.aiza-auth-tab:hover {
	background: #e2e7f0;
}
.aiza-auth-tab[aria-selected="true"] {
	background: #284980;
	color: #fff !important;
}
.aiza-auth-tab:focus-visible {
	outline: 2px solid #f8c530;
	outline-offset: -3px;
}
.aiza-auth-tabs + #customer_login {
	display: block !important;
	max-width: 480px;
	margin: 0 auto !important;
	padding: 34px 36px 30px !important;
	background: #fff !important;
	border: 1px solid #e4e6ec;
	border-top: 0;
	border-radius: 0 0 12px 12px;
	box-shadow: 0 12px 30px rgba(40, 73, 128, .08);
}
.aiza-auth-tabs + #customer_login::before,
.aiza-auth-tabs + #customer_login::after {
	display: none !important;
}
.aiza-auth-tabs + #customer_login > .u-column1,
.aiza-auth-tabs + #customer_login > .u-column2 {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.aiza-auth-tabs[data-tab="login"] + #customer_login > .u-column2,
.aiza-auth-tabs[data-tab="register"] + #customer_login > .u-column1 {
	display: none !important;
}
/* the tab names replace the "Login" / "Register" headings */
.aiza-auth-tabs + #customer_login > div > h2 {
	display: none !important;
}
.aiza-auth-tabs + #customer_login form {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
}
.aiza-auth-tabs + #customer_login .form-row {
	width: 100% !important;
	padding: 0 !important;
	margin: 0 0 18px !important;
	float: none !important;
}
.aiza-auth-tabs + #customer_login label {
	display: block;
	margin-bottom: 7px;
	font-size: 14px;
	font-weight: 600;
	color: #2b2b2b;
}
.aiza-auth-tabs + #customer_login label.woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 400;
	color: #555;
}
.aiza-auth-tabs + #customer_login input.input-text {
	width: 100% !important;
	height: 48px !important;
	padding: 0 14px !important;
	border: 1px solid #d5d9e2 !important;
	border-radius: 8px !important;
	background: #fff !important;
	font-size: 15px !important;
	box-shadow: none !important;
	transition: border-color .15s, box-shadow .15s;
}
.aiza-auth-tabs + #customer_login .password-input input.input-text {
	padding-right: 46px !important;
}
.aiza-auth-tabs + #customer_login input.input-text:focus {
	border-color: #284980 !important;
	box-shadow: 0 0 0 3px rgba(40, 73, 128, .15) !important;
	outline: 0;
}
.aiza-auth-tabs + #customer_login label.woocommerce-form-login__rememberme {
	margin-bottom: 16px;
}
.aiza-auth-tabs + #customer_login button.button {
	width: 100%;
	height: 50px;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: #f8c530 !important;
	color: #284980 !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	transition: background .15s;
}
.aiza-auth-tabs + #customer_login button.button:hover {
	background: #efb815 !important;
}
.aiza-auth-tabs + #customer_login .woocommerce-LostPassword {
	margin: -4px 0 0 !important;
	text-align: center;
	font-size: 14px;
}
.aiza-auth-tabs + #customer_login .woocommerce-LostPassword a,
.aiza-auth-switch a {
	color: #284980 !important;
	font-weight: 600;
}
.aiza-auth-tabs + #customer_login .woocommerce-privacy-policy-text p {
	margin: 0 0 18px;
	font-size: 13px;
	line-height: 1.6;
	color: #6b7280;
}
.aiza-auth-switch {
	margin: 22px 0 0 !important;
	padding-top: 18px;
	border-top: 1px solid #eceef3;
	text-align: center;
	font-size: 14px;
	color: #555;
}
@media (max-width: 600px) {
	.aiza-auth-title {
		font-size: 22px !important;
	}
	.aiza-auth-tabs + #customer_login {
		padding: 24px 18px 22px !important;
	}
}

/* Text the theme sets too light to read easily (under 4.5:1 contrast), a little darker.
   Faded section subtitles are handled in extras.js. */
/* the theme fades these with opacity: .6; full opacity and a mid grey look the same, readably */
.single-product .breadcrumbs,
.single-product .woocommerce-tabs ul.tabs li:not(.active) {
	opacity: 1 !important;
}
.single-product .breadcrumbs a span {
	color: #676b77 !important;
}
.single-product .woocommerce-tabs ul.tabs li:not(.active) a {
	color: #747474 !important;
}
.woocommerce-result-count {
	color: #5e7294 !important;
}

/* First-visit offer (welcome.php) */
.aiza-welcome {
	position: fixed;
	inset: 0;
	z-index: 2147483000; /* over the WhatsApp and help-chat buttons */
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(17, 24, 39, 0.55);
	animation: aiza-welcome-in 0.2s ease-out;
}
@keyframes aiza-welcome-in {
	from { opacity: 0; }
	to { opacity: 1; }
}
.aiza-welcome-card {
	position: relative;
	width: 100%;
	max-width: 360px;
	padding: 28px 24px 20px;
	border-top: 6px solid #f8c530;
	border-radius: 12px;
	background: #fff;
	color: #2b2b2b;
	text-align: center;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.aiza-welcome-close {
	position: absolute;
	top: 6px;
	right: 8px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: none;
	color: #6b7280;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}
.aiza-welcome-kicker {
	margin: 0 0 6px;
	color: #284980;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.aiza-welcome h2 {
	margin: 0 0 10px;
	color: #284980;
	font-size: 44px;
	font-weight: 800;
	line-height: 1;
}
.aiza-welcome h2 span {
	display: block;
	margin-top: 6px;
	color: #2b2b2b;
	font-size: 18px;
	font-weight: 600;
}
.aiza-welcome-text {
	margin: 0 0 18px;
	color: #4b5563;
	font-size: 15px;
	line-height: 1.5;
}
.aiza-welcome-claim {
	display: block;
	width: 100%;
	padding: 14px;
	border: 0;
	border-radius: 8px;
	background: #f8c530;
	color: #1f2a44;
	font-size: 17px;
	font-weight: 700;
	cursor: pointer;
}
.aiza-welcome-claim:hover,
.aiza-welcome-claim:focus-visible {
	background: #e9b51c;
}
.aiza-welcome-skip {
	margin-top: 8px;
	padding: 8px;
	border: 0;
	background: none;
	color: #6b7280;
	font-size: 14px;
	text-decoration: underline;
	cursor: pointer;
}
.aiza-welcome-note {
	margin: 10px 0 0;
	color: #6b7280;
	font-size: 12px;
}
