.product-container {
	display: grid;
	grid-template-columns: 200px 480px 1fr;
	gap: 30px;
	max-width: 1400px;
	margin: 0 auto;
	padding: 20px;
}

.product-container.no-gallery {
	grid-template-columns: 480px 1fr; /* 2 colonnes au lieu de 3 */
}

.product-gallery {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.product-gallery img {
	width: 100%;
	height: auto;
	border: 2px solid var(--key1, #333);
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.2s;
}

.product-gallery img:hover {
	border-color: var(--key2, #666);
	transform: scale(1.05);
}

.product-main-image {
	position: relative;
}

.product-main-image img {
	width: 100%;
	height: auto;
	border: 3px solid var(--key1, #333);
	border-radius: 8px;
}

.product-info {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.product-title {
	font-size: 28px;
	font-weight: bold;
	margin: 0;
}

.product-price {
	font-size: 36px;
	font-weight: bold;
	color: var(--primary-color);
}

.product-stock {
	display: inline-block;
	padding: 8px 16px;
	background: var(--primary-color);
	color: var(--text-primary);
	border-radius: 4px;
	font-weight: bold;
}

.product-stock.delay {
	background: #ff9900;
	color: #000;
}

.product-stock.preorder {
	background: #8b5cf6;
	color: #fff;
}

.product-stock.out {
	background: #ff4444;
	color: #fff;
}

.product-purchase {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 20px;
	background: rgba(255,255,255,0.05);
	border: 2px solid var(--key1, #333);
	border-radius: 8px;
}

.product-purchase select {
	padding: 12px 20px;
	font-size: 18px;
	background: #1a1a2e;
	color: #fff;
	border: 2px solid var(--key2, #666);
	border-radius: 4px;
	cursor: pointer;
}

.product-purchase button {
	padding: 12px 40px;
	font-size: 18px;
	font-weight: bold;
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
	color: var(--btn-primary-text);
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s;
}

.product-purchase button:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 16px rgba(var(--primary-rgb), 0.4);
}

.product-tabs {
	margin-top: 30px;
}

.product-tabs .tab-buttons {
	display: flex;
	gap: 10px;
	border-bottom: 2px solid var(--key1, #333);
	margin-bottom: 20px;
}

.product-tabs button {
	padding: 12px 24px;
	background: transparent;
	color: #fff;
	border: none;
	border-bottom: 3px solid transparent;
	cursor: pointer;
	font-size: 16px;
	transition: all 0.2s;
}

.product-tabs button.active {
	border-bottom-color: var(--primary-color);
	color: var(--primary-color);
}

.product-tabs .tab-content {
	padding: 20px;
	background: rgba(255,255,255,0.02);
	border-radius: 8px;
	line-height: 1.8;
}

.product-tabs .tab-content pre {
	white-space: pre-wrap;
	font-family: inherit;
	margin: 0;
	font-size: 18px;
	line-height: 1.8;
}

.product-actions {
	display: flex;
	gap: 15px;
	padding: 15px 0;
	border-top: 1px solid var(--key1, #333);
	margin-top: 20px;
}

.product-actions a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	background: rgba(255,255,255,0.05);
	border: 1px solid var(--key2, #666);
	border-radius: 4px;
	color: #fff;
	text-decoration: none;
	transition: all 0.2s;
}

.product-actions a:hover {
	background: rgba(var(--primary-rgb), 0.1);
	border-color: var(--primary-color);
}

@media (max-width: 1200px) {
	.product-container {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.product-gallery {
		flex-direction: row;
		overflow-x: auto;
	}

	.product-gallery img {
		min-width: 100px;
	}
}
