/* Podstawowe style */
.actiapi-list {
	list-style: none;
	padding: 0;
	margin: 1em 0;
}

.actiapi-list li {
	display: flex;
	align-items: flex-start;
	margin-bottom: 1em;
	padding: 1em;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	background: #fafafa;
}

.actiapi-thumb {
	max-width: 80px;
	height: auto;
	margin-right: 1em;
	border-radius: 4px;
	flex-shrink: 0;
}

.item-content {
	flex: 1;
}

.quantity {
	color: #666;
	font-size: 0.9em;
	margin-left: 0.5em;
}

/* Tabela specyfikacji */
.actiapi-specs {
	width: 100%;
	border-collapse: collapse;
	margin: 1em 0;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.actiapi-specs th,
.actiapi-specs td {
	padding: 12px;
	border: 1px solid #ddd;
	text-align: left;
}

.actiapi-specs th {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	font-weight: 600;
}

.actiapi-specs tr:nth-child(even) {
	background-color: #f9f9f9;
}

/* Galeria obrazów */
.actiapi-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1em;
	margin: 1em 0;
}

.gallery-item img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
}

.gallery-item img:hover {
	transform: scale(1.05);
}

/* Tekst bez HTML */
.actiapi-plain-text {
	line-height: 1.6;
	color: inherit;
	font-family: inherit;
}

/* JSON */
.actiapi-json {
	background: #2d3748;
	color: #e2e8f0;
	padding: 1em;
	border-radius: 8px;
	overflow-x: auto;
	font-size: 14px;
	line-height: 1.4;
}

/* Obrazki */
.actiapi-image {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Ceny */
.actiapi-price {
	all: unset; /* Resetuje wszystkie właściwości do wartości początkowych */
}

/* Responsywność */
@media (max-width: 768px) {
	.actiapi-list li {
		flex-direction: column;
		text-align: center;
	}

	.actiapi-thumb {
		margin: 0 0 1em 0;
	}

	.actiapi-specs {
		font-size: 14px;
	}

	.actiapi-specs th,
	.actiapi-specs td {
		padding: 8px;
	}
}
