// stacked & columns gallery
.ct-stacked-gallery,
.ct-columns-top-gallery {

	.ct-media-container {
		[class*="gallery__trigger"] {
			opacity: 0;
			transition: opacity 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955);
		}

		&:hover {
			[class*="gallery__trigger"] {
				opacity: 1;
			}			
		}
	}
}


// top and columns gallery
.product[class*="top-gallery"] {

	.woocommerce-product-gallery {
		margin-bottom: 3em;
	}

	.entry-summary {
		border: var(--container-border);
		border-radius: var(--container-border-radius);

		@include media-breakpoint-up (lg) {
			display: grid;
			grid-template-columns: 1.3fr 1fr;
		}

		section {
			@include media-breakpoint-down (sm) {
				padding: 25px;
			}

			@include media-breakpoint-down (md) {
				&:last-child {
					border-top: var(--container-border);
				}
			}

			@include media-breakpoint-only (md) {
				padding: 30px;
			}

			@include media-breakpoint-up (lg) {
				padding: 40px;

				&:last-of-type {
					border-inline-start: var(--container-border);
				}
			}
		}

		.woocommerce-product-details__short-description {
			> *:last-child {
				margin-bottom: 0;
			}
		}
	}
}