.yahushop .ysh-shop-grid,
.ysh-shop-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1.5rem;
}

.ysh-product-card {
	position: relative;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 1rem;
	background: #fff;
	display: flex;
	flex-direction: column;
}

.ysh-product-badge {
	position: absolute;
	top: .75rem;
	left: .75rem;
	background: #d63384;
	color: #fff;
	font-size: .8rem;
	font-weight: 600;
	padding: .2rem .5rem;
	border-radius: 4px;
}

.ysh-product-thumb {
	display: block;
	margin-bottom: .75rem;
}

.ysh-product-thumb img {
	width: 100%;
	height: auto;
	border-radius: 6px;
	display: block;
}

.ysh-product-info {
	flex: 1;
}

.ysh-product-title {
	text-decoration: none;
	color: inherit;
}

.ysh-product-title h3 {
	margin: 0 0 .5rem;
	font-size: 1.05rem;
}

.ysh-product-price {
	display: block;
	font-weight: 700;
	font-size: 1.1rem;
}

.ysh-product-compare {
	display: inline-block;
	text-decoration: line-through;
	color: #9a9a9a;
	margin-right: .5rem;
}

.ysh-out-of-stock {
	color: #b32d2e;
	font-weight: 600;
}

.ysh-checkout-button,
.ysh-secondary-button {
	display: inline-block;
	border-radius: 6px;
	padding: .55rem 1.1rem;
	font-weight: 600;
	cursor: pointer;
	text-align: center;
}

.ysh-checkout-button {
	background: #2a7d4f;
	color: #fff;
	border: none;
}

.ysh-checkout-button:hover {
	background: #236440;
	color: #fff;
}

.ysh-secondary-button {
	background: #f1f1f1;
	color: #333;
	border: 1px solid #d6d6d6;
}

.ysh-cart-actions,
.ysh-checkout-submit {
	margin: 1rem 0;
	display: flex;
	gap: .75rem;
	flex-wrap: wrap;
}

.ysh-cart-table,
.ysh-checkout-table {
	width: 100%;
	max-width: 720px;
	border-collapse: collapse;
	margin: 1rem 0;
}

.ysh-cart-table th,
.ysh-cart-table td,
.ysh-checkout-table td {
	border-bottom: 1px solid #ececec;
	padding: .6rem .4rem;
	text-align: left;
}

.ysh-cart-form,
.ysh-checkout-form {
	max-width: 760px;
}

.ysh-cart-clear-form {
	margin-top: .5rem;
}

.ysh-input {
	width: 100%;
	max-width: 480px;
	padding: .55rem .6rem;
	border: 1px solid #d0d0d0;
	border-radius: 6px;
}

.ysh-required {
	color: #b32d2e;
}

.ysh-payment-methods {
	display: flex;
	flex-direction: column;
	gap: .35rem;
	margin: .75rem 0 1rem;
}

.ysh-payment-method input {
	margin-right: .4rem;
}

.ysh-manual-instructions {
	background: #fbf8ee;
	border: 1px solid #eadfae;
	border-radius: 8px;
	padding: .75rem 1rem;
	margin: .75rem 0 1rem;
	max-width: 640px;
}

.ysh-manual-instructions ul {
	margin-left: 1.25rem;
	list-style: disc;
}

.ysh-notice {
	border-radius: 8px;
	padding: .9rem 1rem;
	margin: 0 0 1.2rem;
	max-width: 760px;
}

.ysh-notice-error {
	background: #fbeeee;
	border: 1px solid #e7c1c1;
}

.ysh-notice-success {
	background: #eefaf3;
	border: 1px solid #bfe6cf;
}

.ysh-notice-info {
	background: #eef3fb;
	border: 1px solid #c1d3e7;
}

.ysh-pagination {
	margin: 1.5rem 0;
}

.ysh-pagination .page-numbers {
	display: inline-block;
	padding: .35rem .7rem;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	margin: 0 .15rem;
	text-decoration: none;
}

.ysh-pagination .page-numbers.current {
	background: #2a7d4f;
	border-color: #2a7d4f;
	color: #fff;
}
