/* Portal shop — e-commerce storefront layout */

body.oakbridge-shop-storefront.oakbridge-customer-portal .site-content,
body.oakbridge-shop-storefront.oakbridge-customer-portal .ast-container,
body.oakbridge-shop-storefront.oakbridge-customer-portal .entry-content {
	max-width: none;
}

.oakbridge-shop-store {
	max-width: 1180px;
	margin: 0 auto;
	padding: 1.25rem 1.5rem 3.5rem;
}

.oakbridge-shop-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.7fr);
	gap: 1.25rem;
	align-items: stretch;
	margin: 0 0 1.35rem;
}

.oakbridge-shop-hero__copy {
	padding: 1.35rem 1.5rem 1.5rem;
	background:
		linear-gradient(145deg, rgba(241, 78, 78, 0.08), transparent 55%),
		linear-gradient(180deg, #fff 0%, #faf7f5 100%);
	border: 1px solid #e4dede;
	border-radius: 14px;
}

.oakbridge-shop-hero__eyebrow {
	margin: 0 0 0.35rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #f14e4e;
}

.oakbridge-shop-hero__title {
	margin: 0 0 0.55rem;
	font-family: Fraunces, Georgia, serif;
	font-size: clamp(1.85rem, 3.5vw, 2.45rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.15;
	color: #071f1b;
	text-transform: none;
}

.oakbridge-shop-hero__lead {
	margin: 0;
	max-width: 36rem;
	font-size: 1.02rem;
	line-height: 1.5;
	color: #5a6b66;
}

.oakbridge-shop-hero__aside {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.45rem;
	padding: 1.25rem 1.35rem;
	background: #071f1b;
	color: #f4f1ea;
	border-radius: 14px;
}

.oakbridge-shop-hero__aside-title {
	margin: 0;
	font-family: Fraunces, Georgia, serif;
	font-size: 1.2rem;
	font-weight: 600;
	color: #fff;
}

.oakbridge-shop-hero__aside-text {
	margin: 0 0 0.35rem;
	font-size: 0.92rem;
	line-height: 1.45;
	color: rgba(244, 241, 234, 0.78);
}

.oakbridge-shop-hero__aside-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	margin-top: 0.35rem;
	padding: 0.65rem 1.1rem;
	border-radius: 8px;
	background: #f14e4e;
	color: #fff !important;
	font-weight: 700;
	font-size: 0.92rem;
	text-decoration: none !important;
}

.oakbridge-shop-hero__aside-btn:hover {
	background: #e03f3f;
	color: #fff !important;
}

.oakbridge-shop-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 1.15rem;
}

.oakbridge-shop-chip {
	display: inline-flex;
	align-items: center;
	padding: 0.4rem 0.85rem;
	border-radius: 999px;
	border: 1px solid #d4cdc2;
	background: #fff;
	color: #071f1b !important;
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none !important;
	line-height: 1.2;
}

.oakbridge-shop-chip:hover {
	border-color: #f14e4e;
	color: #f14e4e !important;
}

.oakbridge-shop-chip.is-active {
	background: #071f1b;
	border-color: #071f1b;
	color: #fff !important;
}

.oakbridge-shop-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1rem;
	margin: 0 0 1.15rem;
	padding: 0.75rem 1rem;
	background: #fff;
	border: 1px solid #e4dede;
	border-radius: 10px;
}

body.oakbridge-shop-storefront .woocommerce-result-count {
	margin: 0 !important;
	float: none !important;
	font-size: 0.9rem;
	color: #5a6b66;
}

body.oakbridge-shop-storefront .woocommerce-ordering {
	margin: 0 !important;
	float: none !important;
}

body.oakbridge-shop-storefront .woocommerce-ordering select {
	min-width: 11rem;
	padding: 0.45rem 0.7rem;
	border: 1px solid #d4cdc2;
	border-radius: 8px;
	background: #fff;
	color: #071f1b;
	font: inherit;
	font-size: 0.9rem;
}

body.oakbridge-shop-storefront .woocommerce-products-header,
body.oakbridge-shop-storefront .page-title,
body.oakbridge-shop-storefront .woocommerce-products-header__title {
	display: none !important;
}

/* Product grid */
body.oakbridge-shop-storefront ul.products,
body.oakbridge-shop-storefront ul.oakbridge-shop-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.15rem !important;
	margin: 0 !important;
	padding: 0 !important;
	max-width: none !important;
	list-style: none;
}

body.oakbridge-shop-storefront ul.products li.product,
body.oakbridge-shop-storefront ul.oakbridge-shop-grid li.product {
	display: flex !important;
	flex-direction: column;
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	padding: 0 !important;
	background: #fff;
	border: 1px solid #e4dede;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 6px 20px rgba(7, 31, 27, 0.04);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

body.oakbridge-shop-storefront ul.products li.product:hover {
	transform: translateY(-2px);
	border-color: #d4cdc2;
	box-shadow: 0 14px 32px rgba(7, 31, 27, 0.1);
}

body.oakbridge-shop-storefront ul.products li.product a.woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	flex: 1;
	text-decoration: none !important;
	color: inherit;
}

body.oakbridge-shop-storefront ul.products li.product img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	height: auto;
	object-fit: cover;
	background: #f3efe9;
	margin: 0 !important;
}

body.oakbridge-shop-storefront ul.products li.product .woocommerce-loop-category__title,
body.oakbridge-shop-storefront ul.products li.product .ast-woo-product-category,
body.oakbridge-shop-storefront ul.products li.product .posted_in,
body.oakbridge-shop-storefront .ast-woo-shop-product-category,
body.oakbridge-shop-storefront .woocommerce-loop-product__categories,
body.oakbridge-shop-storefront ul.products li.product .product-category {
	display: none !important;
}

body.oakbridge-shop-storefront ul.products li.product .woocommerce-loop-product__title,
body.oakbridge-shop-storefront ul.products li.product .woocommerce-loop-category__title {
	margin: 0.9rem 1rem 0.35rem !important;
	padding: 0 !important;
	font-family: "Source Sans 3", "Segoe UI", sans-serif !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	letter-spacing: 0.01em;
	text-transform: none !important;
	color: #071f1b !important;
}

.oakbridge-shop-card__excerpt {
	margin: 0 1rem 0.55rem;
	font-size: 0.86rem;
	line-height: 1.4;
	color: #5a6b66;
}

body.oakbridge-shop-storefront ul.products li.product .price {
	display: block !important;
	margin: 0 1rem 0.85rem !important;
	font-size: 1.15rem !important;
	font-weight: 700 !important;
	color: #071f1b !important;
}

body.oakbridge-shop-storefront ul.products li.product .price del {
	opacity: 0.55;
	font-weight: 500;
	margin-right: 0.35rem;
}

body.oakbridge-shop-storefront ul.products li.product .button,
body.oakbridge-shop-storefront ul.products li.product .add_to_cart_button {
	display: block !important;
	width: calc(100% - 2rem) !important;
	margin: auto 1rem 1rem !important;
	padding: 0.7rem 1rem !important;
	text-align: center;
	border-radius: 8px !important;
	background: #f14e4e !important;
	color: #fff !important;
	font-weight: 700 !important;
	font-size: 0.92rem !important;
	border: 0 !important;
}

body.oakbridge-shop-storefront ul.products li.product .button:hover,
body.oakbridge-shop-storefront ul.products li.product .add_to_cart_button:hover {
	background: #e03f3f !important;
}

body.oakbridge-shop-storefront ul.products li.product .added_to_cart {
	display: block;
	margin: 0 1rem 1rem;
	text-align: center;
	font-size: 0.85rem;
	font-weight: 600;
	color: #f14e4e;
}

.oakbridge-shop-empty {
	padding: 1.5rem;
	border-radius: 12px;
	background: #faf6f6;
	border: 1px solid #e4dede;
}

.oakbridge-shop-empty__title {
	margin: 0 0 0.4rem;
	font-weight: 700;
	color: #071f1b;
}

.oakbridge-shop-empty__text {
	margin: 0 0 0.85rem;
	color: #5a6b66;
	line-height: 1.5;
}

@media (max-width: 1100px) {
	body.oakbridge-shop-storefront ul.products,
	body.oakbridge-shop-storefront ul.oakbridge-shop-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.oakbridge-shop-hero {
		grid-template-columns: 1fr;
	}

	body.oakbridge-shop-storefront ul.products,
	body.oakbridge-shop-storefront ul.oakbridge-shop-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.oakbridge-shop-store {
		padding: 1rem 1rem 2.5rem;
	}

	body.oakbridge-shop-storefront ul.products,
	body.oakbridge-shop-storefront ul.oakbridge-shop-grid {
		grid-template-columns: 1fr;
		gap: 0.9rem !important;
	}

	.oakbridge-shop-toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	body.oakbridge-shop-storefront .woocommerce-ordering select {
		width: 100%;
	}
}
