/* Zigzag Wrapper */
.shortcodeglut-zigzag-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
}

.shortcodeglut-zigzag-wrapper .shortcodeglut-header {
	text-align: center;
	margin-bottom: 60px;
}

.shortcodeglut-zigzag-wrapper .shortcodeglut-title {
	font-size: 42px;
	font-weight: 800;
	color: #1a1a1a;
	margin-bottom: 16px;
}

/* Zigzag Container */
.shortcodeglut-zigzag {
	display: flex;
	flex-direction: column;
}

.shortcodeglut-zigzag-item {
	display: flex;
	align-items: center;
	gap: 60px;
	margin-bottom: 80px;
}

/* Alternate layout - even items reversed */
.shortcodeglut-zigzag-wrapper[data-alternate="true"] .shortcodeglut-zigzag-item:nth-child(even) {
	flex-direction: row-reverse;
}

.shortcodeglut-zigzag-item:last-child {
	margin-bottom: 0;
}

/* Visual/Image Section */
.shortcodeglut-zigzag-visual {
	flex: 0 0 45%;
	min-height: 400px;
	border-radius: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.shortcodeglut-zigzag-visual::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, transparent 100%);
}

.shortcodeglut-zigzag-visual img.shortcodeglut-zigzag-product-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: relative;
	z-index: 1;
}

.shortcodeglut-zigzag-visual svg {
	width: 120px;
	height: 120px;
	fill: #fff;
	position: relative;
	z-index: 2;
	filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
}

/* Gradient variations */
.shortcodeglut-zigzag-1 .shortcodeglut-zigzag-visual {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.shortcodeglut-zigzag-2 .shortcodeglut-zigzag-visual {
	background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.shortcodeglut-zigzag-3 .shortcodeglut-zigzag-visual {
	background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.shortcodeglut-zigzag-4 .shortcodeglut-zigzag-visual {
	background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* Content Section */
.shortcodeglut-zigzag-content {
	flex: 1;
	padding: 20px;
}

.shortcodeglut-zigzag-tag {
	display: inline-block;
	background: #3b82f6;
	color: #fff;
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 20px;
}

.shortcodeglut-zigzag-tag.new {
	background: #22c55e;
}

.shortcodeglut-zigzag-tag.sale {
	background: #ef4444;
}

.shortcodeglut-zigzag-tag.featured {
	background: #f59e0b;
}

.shortcodeglut-zigzag-tag.out-of-stock {
	background: #6b7280;
}

.shortcodeglut-zigzag-title {
	font-size: 36px;
	font-weight: 800;
	color: #1a1a1a;
	margin-bottom: 16px;
	line-height: 1.2;
}

.shortcodeglut-zigzag-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s;
}

.shortcodeglut-zigzag-title a:hover {
	color: #667eea;
}

.shortcodeglut-zigzag-desc {
	font-size: 16px;
	color: #6b7280;
	line-height: 1.7;
	margin-bottom: 24px;
}

.shortcodeglut-zigzag-features {
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
}

.shortcodeglut-zigzag-features li {
	padding: 10px 0;
	border-bottom: 1px solid #e5e7eb;
	font-size: 15px;
	color: #374151;
	display: flex;
	align-items: center;
	gap: 12px;
}

.shortcodeglut-zigzag-features li::before {
	content: '✓';
	width: 24px;
	height: 24px;
	background: #10b981;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	flex-shrink: 0;
}

.shortcodeglut-zigzag-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

.shortcodeglut-zigzag-price {
	font-size: 42px;
	font-weight: 900;
	color: #1a1a1a;
}

.shortcodeglut-zigzag-price ins {
	text-decoration: none;
}

.shortcodeglut-zigzag-price del {
	font-size: 24px;
	color: #9ca3af;
	margin-right: 8px;
}

.shortcodeglut-zigzag-btn {
	padding: 16px 40px;
	background: #1a1a1a;
	color: #fff;
	border: none;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
	text-decoration: none;
	display: inline-block;
	min-width: 160px !important;
	text-align: center;
	white-space: nowrap;
}

.shortcodeglut-zigzag-btn:hover {
	background: #333;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.shortcodeglut-zigzag-btn.ajax_add_to_cart {
	cursor: pointer;
}

.shortcodeglut-zigzag-btn.loading {
	opacity: 0.6;
	pointer-events: none;
}

.shortcodeglut-zigzag-btn.loading::after {
	content: '';
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-left: 10px;
	border: 2px solid #fff;
	border-top-color: transparent;
	border-radius: 50%;
	animation: zigzag-spin 0.6s linear infinite;
	vertical-align: middle;
}

@keyframes zigzag-spin {
	to {
		transform: rotate(360deg);
	}
}

.shortcodeglut-zigzag-btn.added {
	background: #10b981;
	min-width: 160px !important;
	text-align: center;
	white-space: nowrap;
}

/* Empty State */
.shortcodeglut-zigzag-empty {
	text-align: center;
	padding: 60px 20px;
}

.shortcodeglut-zigzag-empty p {
	font-size: 18px;
	color: #6b7280;
}

/* Breadcrumb */
.shortcodeglut-breadcrumb {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 30px;
	font-size: 14px;
}

.shortcodeglut-breadcrumb a {
	color: #667eea;
	text-decoration: none;
}

.shortcodeglut-breadcrumb a:hover {
	text-decoration: underline;
}

.shortcodeglut-breadcrumb span {
	color: #6b7280;
}

/* Pagination */
.shortcodeglut-pagination {
	margin-top: 60px;
}

.shortcodeglut-pagination ul.page-numbers {
	list-style: none;
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 0;
}

.shortcodeglut-pagination .page-numbers li {
	display: flex;
}

.shortcodeglut-pagination .page-numbers a,
.shortcodeglut-pagination .page-numbers span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 16px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	color: #374151;
	text-decoration: none;
	transition: all 0.3s;
}

.shortcodeglut-pagination .page-numbers a:hover {
	border-color: #667eea;
	color: #667eea;
}

.shortcodeglut-pagination .page-numbers .current {
	background: #667eea;
	border-color: #667eea;
	color: #fff;
}

.shortcodeglut-pagination.async-pagination .page-numbers a {
	cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
	.shortcodeglut-zigzag-wrapper {
		padding: 30px 15px;
	}

	.shortcodeglut-zigzag-wrapper .shortcodeglut-title {
		font-size: 32px;
	}

	.shortcodeglut-zigzag-item,
	.shortcodeglut-zigzag-wrapper[data-alternate="true"] .shortcodeglut-zigzag-item:nth-child(even) {
		flex-direction: column;
		gap: 30px;
	}

	.shortcodeglut-zigzag-visual {
		flex: none;
		width: 100%;
		min-height: 250px;
	}

	.shortcodeglut-zigzag-title {
		font-size: 28px;
	}

	.shortcodeglut-zigzag-price {
		font-size: 32px;
	}

	.shortcodeglut-zigzag-footer {
		flex-direction: column;
		align-items: flex-start;
	}

	.shortcodeglut-zigzag-btn {
		width: 100%;
		text-align: center;
	}
}
