/* Re-skin of WooCommerce's own default markup (shop archive, single
   product, cart, checkout, my account) to match the navy/white
   Compound Storefront look. Targets WooCommerce's standard classes,
   not Astra's, so it holds up regardless of Astra version. */

ul.products li.product {
	border: 1px solid #d9e5fb;
	border-radius: 14px;
	overflow: hidden;
	padding-bottom: 18px !important;
}
ul.products li.product img {
	width: 100%;
	aspect-ratio: 1/1;
	object-fit: cover;
	background: #eef3fd;
}
ul.products li.product .woocommerce-loop-product__title {
	font-size: 15px;
	text-transform: uppercase;
	margin: 14px 18px 6px;
}
ul.products li.product .price {
	margin: 0 18px 14px;
	display: block;
	font-weight: 700;
	color: #1a2472;
}
ul.products li.product .price del { color: #9aa2b1; font-weight: 400; }
ul.products li.product .button {
	display: block;
	margin: 0 18px;
	width: calc(100% - 36px);
	background: #1a2472;
	color: #fff;
	border-radius: 999px;
	padding: 11px 18px;
	text-align: center;
	font-weight: 600;
	font-size: 14px;
}
ul.products li.product .button:hover { background: #11175a; color: #fff; }

.woocommerce-breadcrumb { font-size: 13px; color: #5b6472; margin-bottom: 28px; }

/* Single product */
.single-product .summary .price { color: #1a2472; font-size: 22px; font-weight: 700; }
.single-product .cart .button,
.single-product .single_add_to_cart_button {
	background: #1a2472 !important;
	color: #fff !important;
	border-radius: 999px !important;
	padding: 13px 28px !important;
	border: none !important;
	font-weight: 600;
}
.single-product div.product .woocommerce-tabs ul.tabs li { font-weight: 600; }

/* Cart & checkout tables */
table.shop_table th, table.shop_table td { padding: 14px; }
#place_order, .checkout-button {
	background: #1a2472 !important;
	color: #fff !important;
	border-radius: 999px !important;
	padding: 14px 26px !important;
	border: none !important;
	font-weight: 700;
}

/* My Account */
.woocommerce-MyAccount-navigation li.is-active a { color: #1a2472; font-weight: 700; }

/* Notices */
.woocommerce-message, .woocommerce-info { border-top-color: #1a2472; }


/* Checkout (WooCommerce Blocks) uses the "alignwide" block alignment,
 * which applies negative left/right margins to break out of the normal
 * content width. On mobile/tablet, Astra's own container padding is
 * smaller than those negative margins, so the checkout form ends up
 * flush against the screen edges with no breathing room. Desktop already
 * computes these margins to 0, so this override is safe everywhere. */
.wp-block-woocommerce-checkout.alignwide {
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: auto !important;
}


/* Shop category pill filter bar (Sept 2026) */
.csc-shop-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 28px;
}
.csc-shop-cats__pill {
	display: inline-block;
	padding: 9px 18px;
	border-radius: 999px;
	border: 1px solid #d9e5fb;
	background: #fff;
	color: #1a2472;
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.csc-shop-cats__pill:hover {
	border-color: #1a2472;
	color: #1a2472;
	text-decoration: none;
}
.csc-shop-cats__pill.is-active {
	background: #1a2472;
	border-color: #1a2472;
	color: #fff;
}
