/* Shop page — Modern Aminos style */
.shop-page {
	background: var(--fp-gray-50);
}

.shop-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--fp-space-8);
    padding-bottom: 50px;
}

.shop-toolbar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px 16px;
	margin-bottom: var(--fp-space-5);
	padding: 12px 16px;
	background: var(--fp-white);
	border: 1px solid var(--fp-gray-200);
	border-radius: var(--fp-radius-lg);
}

.shop-toolbar__left {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	flex: 1 1 auto;
	min-width: 0;
}

.shop-toolbar .woocommerce-ordering {
	margin: 0;
	float: none;
	width: 100%;
}

.shop-toolbar .woocommerce-ordering select {
	width: 100%;
	min-width: 0;
}

.shop-toolbar .woocommerce-result-count,
.shop-toolbar__count {
	font-size: var(--fp-font-size-sm);
	color: var(--fp-gray-500);
	margin: 0;
	line-height: 1.4;
}

.shop-toolbar__search {
	flex: 0 1 260px;
	min-width: 0;
	max-width: 280px;
	width: 100%;
	margin: 0;
}

.shop-toolbar__search-input {
	width: 100%;
	padding: 0.625rem 1rem;
	border: 1px solid var(--fp-gray-300);
	border-radius: var(--fp-radius-md);
	font-family: inherit;
	font-size: var(--fp-font-size-sm);
	box-sizing: border-box;
}

.product-grid--shop .product-card {
	border: 1px solid rgba(0, 33, 55, 0.08);
}

.product-grid--shop .product-card__footer .btn,
.product-grid--shop .product-card__select-btn {
	background: var(--fp-teal-500);
	color: var(--fp-white);
	border: 2px solid var(--fp-teal-500);
	font-weight: 700;
	box-shadow: 0 4px 16px rgba(0, 163, 196, 0.3);
}

.product-grid--shop .product-card__footer .btn:hover,
.product-grid--shop .product-card__select-btn:hover {
	background: var(--fp-teal-600);
	border-color: var(--fp-teal-600);
	color: var(--fp-white);
	box-shadow: 0 6px 20px rgba(0, 163, 196, 0.4);
}

.product-grid--shop .product-card__footer .btn:active,
.product-grid--shop .product-card__select-btn:active {
	transform: scale(0.96);
}

.product-grid--shop .product-card__title a {
	color: var(--fp-navy-900);
}

.product-grid--shop .product-card__title a:hover {
	color: var(--fp-teal-600);
}

.shop-pagination {
	margin-top: 0;
	text-align: center;
}

.shop-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 var(--fp-space-2);
	margin: 0 3px;
	font-size: var(--fp-font-size-sm);
	font-weight: 600;
	color: var(--fp-gray-600);
	border: 1px solid var(--fp-gray-200);
	border-radius: var(--fp-radius-md);
	background: var(--fp-white);
}

.shop-pagination .page-numbers.current,
.shop-pagination .page-numbers:hover {
	background: var(--fp-teal-500);
	border-color: var(--fp-teal-500);
	color: var(--fp-white);
}

@media (min-width: 1024px) {
	.shop-layout {
		grid-template-columns: 260px 1fr;
		align-items: start;
	}

	.shop-sidebar {
		position: sticky;
		top: calc(var(--fp-header-height) + var(--fp-space-4));
	}
}

.woocommerce-ordering select {
	padding: 0.5rem 2rem 0.5rem 0.75rem;
	border: 1px solid var(--fp-gray-300);
	border-radius: var(--fp-radius-md);
	font-family: inherit;
	font-size: var(--fp-font-size-sm);
	background: var(--fp-white);
}
