/* Canvas = front: padding demo, intro a sinistra, CTA dopo la griglia. */

.wp-block-turchet-product-catalog.section {
	padding-top: 0;
}

.editor-styles-wrapper .wp-block-turchet-product-catalog {
	width: 100%;
	max-width: none;
}

.wp-block-turchet-product-catalog .wp-block-buttons,
.wp-block-turchet-product-catalog [data-type="core/buttons"] {
	margin: 36px 0 0;
}

.wp-block-turchet-product-catalog .wp-block-button {
	margin: 0;
}

/*
  Editor: InnerBlocks è intro + bottone, la griglia PHP sta sotto.
  WP 6.7+ monta il layout come figlio diretto di .catalog-intro (niente .block-editor-inner-blocks).
*/
.editor-styles-wrapper .wp-block-turchet-product-catalog > .container {
	display: flex;
	flex-direction: column;
}

.editor-styles-wrapper .wp-block-turchet-product-catalog .filters {
	order: 1;
}

.editor-styles-wrapper .wp-block-turchet-product-catalog .catalog-intro,
.editor-styles-wrapper .wp-block-turchet-product-catalog .catalog-intro > .block-editor-inner-blocks,
.editor-styles-wrapper .wp-block-turchet-product-catalog .catalog-intro > .block-editor-block-list__layout,
.editor-styles-wrapper .wp-block-turchet-product-catalog .catalog-intro > .block-editor-inner-blocks > .block-editor-block-list__layout {
	display: contents;
}

.editor-styles-wrapper .wp-block-turchet-product-catalog [data-type="core/heading"] {
	order: 2;
	width: 100%;
	margin-bottom: 0;
	padding-left: 18px;
	border-left: 3px solid var(--sea);
}

.editor-styles-wrapper .wp-block-turchet-product-catalog [data-type="core/paragraph"].lead {
	order: 3;
	width: 100%;
	margin-top: 0;
	margin-bottom: 32px;
	padding-top: 16px;
	padding-left: 18px;
	border-left: 3px solid var(--sea);
}

.editor-styles-wrapper .wp-block-turchet-product-catalog .product-grid {
	order: 4;
}

.editor-styles-wrapper .wp-block-turchet-product-catalog [data-type="core/buttons"],
.editor-styles-wrapper .wp-block-turchet-product-catalog .wp-block-buttons {
	order: 5;
}
