/*
Theme Name: FunFusion Warehouse
Theme URI: https://shop.funfusion.xyz
Description: Warehouse storefront theme for FunFusion WooCommerce. Visual skin only — cart, checkout, shipping, and payments stay on WooCommerce and existing plugins.
Author: FunFusion Labs
Version: 0.7.6
Requires at least: 5.9
Tested up to: 6.8
Requires PHP: 7.4
Domain Path: /languages
Text Domain: funfusion-warehouse
*/

/* Front-end styles load from assets/css/main.css via functions.php */

/* Theme shell extras (WC pages + footer menus) */
.ffw-page {
	padding-block: 24px 48px;
}

.ffw-entry__title {
	margin: 0 0 1rem;
	font-size: 1.5rem;
	font-weight: 700;
}

.ffw-footer-menu,
.ffw-footer-social {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ffw-footer-menu li,
.ffw-footer-social li {
	margin: 0;
}

/* Production footer — 3 equal columns, content centered in each */
#site-footer .footer-main.footer-main--three {
	display: grid;
	grid-template-columns: 1fr;
	width: 100%;
	justify-items: center;
	text-align: center;
}

@media (min-width: 768px) {
	#site-footer .footer-main.footer-main--three {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: clamp(24px, 5vw, 64px);
	}
}

.ffw-cart .cart-page__title,
.ffw-cart-page .cart-page__title,
.ffw-checkout .cart-page__title,
.ffw-checkout-page .cart-page__title {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 800;
	letter-spacing: 0.02em;
	margin: 0 0 28px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
}

.ffw-cart .cart-page__count,
.ffw-cart-page .cart-page__count {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(255, 0, 144, 0.16);
	border: 1px solid rgba(255, 0, 144, 0.35);
	color: var(--ff-accent, #ff0090);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

/* Ensure cart/checkout/account pages always get WC skin even if body class timing differs */
.ffw-cart-page,
.ffw-checkout-page,
.ffw-account-page {
	padding-block: 8px 48px;
}

.ffw-home-off,
.ffw-empty-section {
	padding: 24px 8%;
	color: var(--ff-text-muted, #888);
}

.ffw-woo .woocommerce,
.ffw-cart .woocommerce,
.ffw-checkout .woocommerce,
.ffw-account .woocommerce {
	max-width: 100%;
}

.product-tag {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	color: var(--ff-accent, #e85d4c);
	margin-bottom: 4px;
}

/* H5 single product: stack and tap targets */
@media (max-width: 767px) {
	.ffw-single form.cart {
		flex-direction: column;
		align-items: stretch;
	}

	.ffw-single form.cart .quantity,
	.ffw-single form.cart .single_add_to_cart_button {
		width: 100%;
	}

	.ffw-single form.cart .single_add_to_cart_button {
		min-height: 44px;
	}

	.collection-card__buy {
		min-height: 44px;
		padding: 12px 16px;
	}
}
