/**
 * Damavand Storefront 0.3.11 (R20-P) — model-group gallery (inc/r20-product-images.php).
 * Builds on the R19 colour gallery (color-gallery.css); only the differences live here.
 *
 * @package Damavand_Storefront
 */

/* Model names are longer than colour names: wider thumbnails, at most three lines. */
.dmv-cg--r20.is-groups .dmv-cg__thumbs { grid-auto-columns: 104px; }
.dmv-cg--r20 .dmv-cg__tname > span:last-child {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}
.dmv-cg--r20 .dmv-cg__cap > span:last-child {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* One photo (the exact variation): no thumbnail row, dots or arrows. */
.dmv-cg--r20.is-exact .dmv-cg__thumbs,
.dmv-cg--r20.is-exact .dmv-cg__dots,
.dmv-cg--r20.is-exact .dmv-cg__nav { display: none !important; }
.dmv-cg--r20.is-exact .dmv-cg__head { margin-top: 8px; }
