.categories-container {
	margin-top: 15px;
}

.categories-title {
	font-size: 14px;
	color: #6c757d;
	margin-bottom: 10px;
}

.categories-list {
	max-height: 150px;
 /* Высота примерно для 3 категорий */
	overflow-y: hidden;
 /* По умолчанию скрываем скролл */
	border: 1px solid #dee2e6;
	border-radius: 4px;
	padding: 0;
	margin: 0;
	transition: max-height 0.3s ease;
}

/* Класс для активации скролла */
.categories-list.scrollable {
	overflow-y: auto;
	max-height: 187px;
 /* Максимальная высота с скроллом */;
}

.category-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 12px;
	border-bottom: 1px solid #eee;
	transition: background-color 0.2s;
	list-style: none;
}

.category-item:last-child {
	border-bottom: none;
}

.category-item:hover {
	background-color: #f8f9fa;
}

.category-name {
	flex-grow: 1;
	padding-right: 10px;
	word-break: break-word;
}

.delete-category-btn {
	color: #dc3545;
	background: none;
	border: none;
	padding: 5px;
	cursor: pointer;
	font-size: 14px;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
}

.delete-category-btn:hover {
	background-color: rgba(220, 53, 69, 0.1);
}

.empty-categories {
	padding: 15px;
	text-align: center;
	color: #6c757d;
	font-style: italic;
}

/* Стили для скролла */
.categories-list::-webkit-scrollbar {
	width: 6px;
}

.categories-list::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 3px;
}

.categories-list::-webkit-scrollbar-thumb {
	background: #c1c1c1;
	border-radius: 3px;
}

.categories-list::-webkit-scrollbar-thumb:hover {
	background: #a8a8a8;
}

.gift-card {
	background: #fff;
	border-radius: 5px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	overflow: hidden;
	transition: transform 0.2s, box-shadow 0.2s;
}

.gift-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gift-header {
	background-color: #45688E;
	color: white;
	padding: 10px 15px;
	font-weight: 500;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.gift-price {
	background: rgba(255,255,255,0.2);
	padding: 2px 8px;
	border-radius: 10px;
	font-size: 0.9em;
}

.gift-body {
	padding: 15px;
	text-align: center;
}

.gift-image {
	max-width: 100%;
	height: auto;
	max-height: 120px;
	object-fit: contain;
}

.gift-footer {
	padding: 10px 15px;
	border-top: 1px solid #eee;
}

.gift-actions {
	margin-top: 10px;
	text-align: right;
}