/* Bagza — WooCommerce shop, category and product pages. Tokens come from style.css. */

/* =====================================================================
 * Shop / category pages
 * ===================================================================== */
.woocommerce-products-header .page-title {
	font-family: 'Lexend', sans-serif;
	font-weight: 500;
	font-size: 36px;
	color: var(--bz-ink);
	margin-bottom: 10px;
}
.woocommerce-products-header .term-description p,
.bz-shop-intro p {
	font-size: 15px;
	line-height: 1.7;
	color: #333;
	max-width: 900px;
}
.bz-shop-toolbar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	margin: 28px 0 22px;
	position: relative;
	z-index: 5;
}
.bz-shop-toolbar .woocommerce-ordering {
	justify-self: end;
	margin: 0;
	float: none;
}
.bz-shop-toolbar .woocommerce-ordering select {
	border: 0;
	font-weight: 600;
	font-size: 14px;
	background-color: transparent;
	cursor: pointer;
}
.bz-count {
	margin: 0;
	font-size: 14px;
	color: #333;
	text-align: center;
}
.bz-filter {
	position: relative;
	justify-self: start;
}
.bz-filter summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	list-style: none;
}
.bz-filter summary::-webkit-details-marker {
	display: none;
}
.bz-filter summary svg {
	width: 18px;
	height: 18px;
}
.bz-filter ul {
	position: absolute;
	top: 32px;
	left: 0;
	min-width: 220px;
	margin: 0;
	padding: 10px 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--bz-line);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.bz-filter li a {
	display: block;
	padding: 8px 18px;
	font-size: 14px;
	color: var(--bz-ink);
}
.bz-filter li a:hover,
.bz-filter li a.is-current {
	color: var(--bz-accent);
	background: var(--bz-card);
}
.bz-filter li span {
	color: var(--bz-muted);
}

/* Product cards (shop, categories, related products) */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	position: relative;
	text-align: center;
}
.woocommerce ul.products li.product a img {
	background: var(--bz-card);
}
.woocommerce ul.products li.product .astra-shop-summary-wrap {
	text-align: center;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: 'Poppins', sans-serif;
	font-weight: 500;
	font-size: 15px;
	color: var(--bz-ink);
	margin-top: 12px;
}
.woocommerce ul.products li.product .price {
	font-size: 13px;
	color: var(--bz-ink);
	font-weight: 400;
}
.woocommerce ul.products li.product .price del {
	color: var(--bz-muted);
	margin-right: 6px;
}
.woocommerce ul.products li.product .price ins {
	text-decoration: none;
	font-weight: 500;
}
.woocommerce ul.products li.product .ast-woo-product-category,
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .ast-on-card-button,
.woocommerce span.onsale,
.ast-onsale-card {
	display: none !important;
}

/* Badges */
.bz-badges {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	pointer-events: none;
}
.bz-badge {
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	padding: 6px 10px;
}
.bz-badge--new { background: var(--bz-new); }
.bz-badge--best { background: #e5b428; }
.bz-badge--sale { background: var(--bz-accent); }
.bz-badge--stock { background: #09728c; }

/* =====================================================================
 * Single product page
 * ===================================================================== */
.single-product div.product {
	position: relative;
}
.bz-badges--single {
	left: auto;
	right: calc(50% + 24px);
	align-items: flex-end;
}
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery .flex-control-thumbs img {
	background: var(--bz-card);
}
.woocommerce div.product div.images .flex-control-thumbs li img {
	border: 1px solid var(--bz-line);
	opacity: 1;
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
	top: auto;
	bottom: 12px;
}
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active {
	border-color: var(--bz-ink);
}
.single-product .product_title {
	font-family: 'Lexend', sans-serif;
	font-weight: 500;
	font-size: 26px;
	text-transform: uppercase;
	letter-spacing: 0.2px;
	color: var(--bz-ink);
	margin-bottom: 8px;
}
.bz-sku {
	font-size: 13px;
	color: #333;
	margin: 4px 0 14px;
}
.single-product .summary .price {
	font-size: 20px !important;
	font-weight: 600;
	color: var(--bz-ink) !important;
	margin-bottom: 10px;
}
.single-product .summary .price del {
	color: var(--bz-muted);
	font-weight: 400;
	font-size: 16px;
}
.single-product .summary .price ins {
	text-decoration: none;
}
.bz-delivery {
	color: #1e8a4c;
	font-size: 14px;
	margin: 0 0 12px;
}
.bz-stock {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #e9f7ee;
	color: #1e8a4c;
	font-size: 14px;
	padding: 8px 14px;
	margin: 0 0 20px;
	border-radius: 2px;
}
.bz-stock svg {
	width: 16px;
	height: 16px;
}
.bz-stock--out {
	background: #fdecea;
	color: #b3261e;
}
.single-product form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	border-top: 1px solid var(--bz-line);
	padding-top: 20px;
}
.single-product form.cart .quantity {
	flex-basis: 100%;
	margin: 0 !important;
}
.single-product form.cart .single_add_to_cart_button,
.single-product form.cart .bz-buy-now {
	flex: 1 1 100%;
	margin: 0 !important;
	padding: 14px 20px;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: uppercase;
	border-radius: 0;
}
.single-product form.cart .single_add_to_cart_button {
	background: #fff !important;
	color: var(--bz-ink) !important;
	border: 1px solid var(--bz-ink) !important;
}
.single-product form.cart .single_add_to_cart_button:hover {
	background: var(--bz-ink) !important;
	color: #fff !important;
}
.bz-buy-now {
	background: var(--bz-accent);
	color: #fff;
	border: 1px solid var(--bz-accent);
	cursor: pointer;
}
.bz-buy-now:hover {
	background: #c8451f;
	border-color: #c8451f;
}
.bz-trust {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin: 22px 0;
}
.bz-trust__item {
	background: var(--bz-card);
	text-align: center;
	font-size: 13px;
	line-height: 1.35;
	padding: 16px 8px;
}
.bz-trust__icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin: 0 auto 8px;
	border-radius: 50%;
}
.bz-trust__icon svg {
	width: 22px;
	height: 22px;
}
.bz-trust__item--green .bz-trust__icon { background: #e3f6ea; color: #1e8a4c; }
.bz-trust__item--orange .bz-trust__icon { background: #fde9e2; color: var(--bz-accent); }
.bz-trust__item--blue .bz-trust__icon { background: #e4eefc; color: #2f6fd6; }
.bz-trust__item--purple .bz-trust__icon { background: #f1e6fb; color: #8a3ab9; }
.bz-accordions {
	border-top: 1px solid var(--bz-line);
}
.bz-acc {
	border-bottom: 1px solid var(--bz-line);
}
.bz-acc summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 0;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	list-style: none;
}
.bz-acc summary::-webkit-details-marker {
	display: none;
}
.bz-acc summary::after {
	content: '+';
	font-weight: 400;
	font-size: 20px;
	line-height: 1;
}
.bz-acc[open] summary::after {
	content: '\2212';
}
.bz-acc__body {
	padding: 0 0 16px;
	font-size: 14px;
	line-height: 1.7;
	color: #333;
}
.bz-acc__body table.woocommerce-product-attributes {
	margin: 0;
	border: 0;
}
.bz-reviews {
	clear: both;
	padding-top: 48px;
}
.bz-reviews__title,
.related.products > h2 {
	font-family: 'Lexend', sans-serif;
	font-weight: 500;
	font-size: 28px;
}
.related.products {
	clear: both;
	padding-top: 40px;
}
@media (max-width: 921px) {
	.bz-badges--single {
		right: 12px;
	}
}
@media (max-width: 544px) {
	.bz-shop-toolbar {
		grid-template-columns: 1fr 1fr;
	}
	.bz-count {
		display: none;
	}
	.bz-trust {
		grid-template-columns: repeat(2, 1fr);
	}
	.single-product .product_title {
		font-size: 22px;
	}
}
