/*
Theme Name: WoodMart Child
Template: woodmart
*/
/* GK: custom 3-column single product layout */
.gk-flex-row {
	display: flex !important;
	flex-wrap: wrap;
	gap: 30px;
	align-items: flex-start;
}
.gk-flex-row > .gk-col {
	box-sizing: border-box;
	min-width: 0;
}
.gk-flex-row > .gk-col-image {
	flex: 1 1 33% !important;
	max-width: 33% !important;
}
.gk-flex-row > .gk-col-title {
	flex: 1 1 34% !important;
	max-width: 34% !important;
}
.gk-flex-row > .gk-col-price {
	flex: 1 1 33% !important;
	max-width: 33% !important;
}
@media (max-width: 1024px) {
	.gk-flex-row {
		flex-direction: column;
	}
	.gk-flex-row > .gk-col-image,
	.gk-flex-row > .gk-col-title,
	.gk-flex-row > .gk-col-price {
		flex: 1 1 100% !important;
		max-width: 100% !important;
	}
}

/* GK v2: switch the 3-column row to CSS Grid to fix wrap overflow */
.product-image-summary-inner.gk-flex-row {
	display: grid !important;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 30px;
}
.product-image-summary-inner.gk-flex-row > .gk-col {
	max-width: none !important;
	flex: none !important;
	min-width: 0;
}
@media (max-width: 1024px) {
	.product-image-summary-inner.gk-flex-row {
		display: block !important;
	}
}
