.lx-product-page-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.lx-product-page-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
}

@media (max-width: 768px) {
	.lx-product-page-grid {
		grid-template-columns: 1fr;
	}
}

.lx-product-item {
	background: #fff;
	border: 1px solid #eee;
	padding: 0;
	/* Removed padding here, applying it inside or modifying layout to match image */
}

.lx-product-inner {
	display: flex;
	gap: 20px;
}


.lx-product-left {
	flex: 0 0 45%;
	max-width: 45%;
	display: flex;
	flex-direction: column;
}

.lx-product-right {
	flex: 1;
	padding-right: 20px;
	padding-top: 20px;
	padding-bottom: 20px;
}

/* Image styles */
.lx-product-image {
	width: 100%;
	aspect-ratio: 1;
	background: #f9f9f9;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
	overflow: hidden;
}

.lx-product-image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.lx-product-gallery {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 5px;
}

.lx-gallery-item {
	width: 100%;
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #eee;
	background: #fff;
	overflow: hidden;
}

.lx-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lx-gallery-placeholder {
	font-size: 12px;
	color: #666;
}

/* Right side info styles */
.lx-product-title {
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 10px 0;
	line-height: 1.4;
	color: #333;
}

.lx-product-excerpt {
	font-size: 13px;
	color: #555;
	margin-bottom: 20px;
	line-height: 1.5;
}

.lx-product-excerpt p {
	margin: 0 0 5px 0;
}

.lx-product-excerpt ul {
	margin: 0 0 15px 15px;
	padding: 0;
	list-style-type: disc;
}

.lx-product-action-table {
	display: table;
	width: auto !important;
	table-layout: auto !important;
	border-collapse: collapse;
}

.lx-table-row {
	display: table-row;
}

.lx-table-label {
	display: table-cell;
	padding: 8px 15px 8px 0;
	font-size: 14px;
	color: #333;
	vertical-align: middle;
	white-space: nowrap;
	width: 1% !important;
}

.lx-table-value {
	display: table-cell;
	padding: 8px 0;
	vertical-align: middle;
}

.lx-price {
	font-weight: bold;
	color: #333;
	white-space: nowrap;
	text-align: left !important;
}

.lx-price:has(del) {
	display: flex;
	flex-direction: column-reverse;
	align-items: flex-start;
}

.lx-price del {
	font-weight: normal;
	color: #999;
	margin-right: 0;
	margin-top: 4px;
	font-size: 13px;
}

.lx-price ins {
	text-decoration: none;
}

/* Variations */
.lx-variations {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
    margin-bottom: 5px;
}

.lx-variation-option {
	font-size: 13px;
	color: #333;
	cursor: pointer;
    border: 1px solid #ddd;
    padding: 4px 10px;
    border-radius: 4px;
    background: #fff;
    transition: all 0.2s ease;
}

.lx-variation-option:hover {
    border-color: #999;
}

.lx-variation-option.selected {
	font-weight: bold;
    border-color: #333;
    background: #333;
    color: #fff;
}

/* Quantity */
.lx-quantity {
	display: inline-flex;
	align-items: center;
	border: none;
}

.lx-qty-btn {
	background: transparent;
	border: none;
	width: 20px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 16px;
	color: #333;
}

.lx-qty-input {
	width: 30px;
	height: 30px;
	text-align: center;
	border: none;
	background: transparent;
	font-size: 14px;
	-moz-appearance: textfield;
}

.lx-qty-input::-webkit-outer-spin-button,
.lx-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Button */
.lx-action-row .lx-table-label {
	/* Empty label cell */
}

.lx-btn-buy {
	display: inline-block;
	background-color: #fff;
	color: #333;
	border: 1px solid #333;
	padding: 8px 40px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.lx-btn-buy:hover {
	background-color: #f5f5f5;
	color: #000;
}

/* Specific alignment to match image */
.lx-table-row:last-child .lx-table-value {
	padding-top: 15px;
}

@media (max-width: 768px) {
	.lx-product-inner {
		flex-direction: column;
	}
	.lx-product-left,
	.lx-product-right {
		flex: 0 0 100%;
		max-width: 100%;
		padding-right: 0;
	}
}

/* Pagination */
.lx-pagination {
	margin-top: 30px;
	text-align: center;
}
.lx-pagination .page-numbers {
	display: inline-block;
	padding: 8px 12px;
	margin: 0 4px;
	border: 1px solid #ddd;
	background: #fff;
	color: #333;
	text-decoration: none;
}
.lx-pagination .page-numbers.current {
	background: #333;
	color: #fff;
	border-color: #333;
}
.lx-pagination .page-numbers:hover:not(.current) {
	background: #eee;
}
