@layer utilities {
	.text-shadow {
		text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
	}
	.transition-custom {
		transition: all 0.3s ease;
	}
	.hover-scale {
		transition: transform 0.3s ease;
	}
	.hover-scale:hover {
		transform: scale(1.03);
	}
	.bg-gradient-custom {
		background: linear-gradient(135deg, #4CAF50 0%, #81C784 100%);
	}
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Noto Sans JP', sans-serif;
}

.product-card:hover .product-image {
	transform: translateY(-10px);
}

.product-image {
	transition: transform 0.5s ease;
}

.cart-item-enter {
	animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-in {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active {
	opacity: 1;
	transform: translateY(0);
}

.navbar-fixed {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	background-color: white;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.custom-checkbox {
	appearance: none;
	width: 20px;
	height: 20px;
	border: 2px solid #4CAF50;
	border-radius: 4px;
	position: relative;
	cursor: pointer;
	transition: all 0.2s ease;
}

.custom-checkbox:checked {
	background-color: #4CAF50;
}

.custom-checkbox:checked::after {
	content: '✓';
	position: absolute;
	color: white;
	font-size: 14px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.custom-radio {
	appearance: none;
	width: 20px;
	height: 20px;
	border: 2px solid #4CAF50;
	border-radius: 50%;
	position: relative;
	cursor: pointer;
	transition: all 0.2s ease;
}

.custom-radio:checked {
	border-color: #4CAF50;
}

.custom-radio:checked::after {
	content: '';
	position: absolute;
	width: 10px;
	height: 10px;
	background-color: #4CAF50;
	border-radius: 50%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.loading {
	display: inline-block;
	width: 30px;
	height: 30px;
	border: 3px solid rgba(76, 175, 80, 0.3);
	border-radius: 50%;
	border-top-color: #4CAF50;
	animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}