/* Four stored List columns; the optional fourth input sits below the location selector. */
.gform_wrapper form .cms-wr-product-locations .gfield_list_header,
.gform_wrapper form .cms-wr-product-locations .gfield_list_group,
.gform_editor .cms-wr-product-locations .gfield_list_header,
.gform_editor .cms-wr-product-locations .gfield_list_group {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) var(--wr-list-actions-width, 130px);
	gap: 12px;
	align-items: start;
}
.cms-wr-product-locations .gfield_list_group > .gfield_list_group_item,
.cms-wr-product-locations .gfield_list_header > .gfield_header_item {
	width: auto !important;
	inline-size: auto !important;
	min-width: 0;
	max-width: none;
	margin: 0 !important;
	padding: 0;
}
.cms-wr-product-locations .gfield_list_header > :nth-child(4) { display: none !important; }
.cms-wr-product-locations .gfield_list_header > :last-child,
.cms-wr-product-locations .gfield_list_group > .gfield_list_icons { grid-column: 4; grid-row: 1; }
.cms-wr-product-locations .gfield_list_group > .gfield_list_icons { width: var(--wr-list-actions-width, 130px) !important; inline-size: var(--wr-list-actions-width, 130px) !important; max-width: 100%; justify-content: flex-end; }
.cms-wr-product-locations .gfield_list_group > :nth-child(4) { grid-column: 3; grid-row: 2; }
.cms-wr-product-locations .cms-wr-location-other-cell[hidden] { display: none !important; }
.cms-wr-product-locations .cms-wr-location-other-cell::before {
	content: attr(data-label); display: block; margin-bottom: 6px; font-size: var(--wr-small-font-size, .875em); line-height: inherit; color: #54676c;
}
.cms-wr-product-locations select[data-cms-wr-location],
.cms-wr-product-locations input[data-cms-wr-location-other] { width: 100%; min-width: 0; }
.gform_wrapper form .cms-wr-product-locations .ginput_container_list select[data-cms-wr-location] {
	appearance: none;
	padding-inline-end: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%2354676c' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 12px 8px;
}
[dir="rtl"] .gform_wrapper form .cms-wr-product-locations .ginput_container_list select[data-cms-wr-location] { background-position: left 16px center; }
@media (forced-colors: active) {
	.gform_wrapper form .cms-wr-product-locations .ginput_container_list select[data-cms-wr-location] { appearance: auto; background-image: none; }
}
@media (max-width: 767px) {
	.gform_wrapper form .cms-wr-product-locations .gfield_list_header { display: none; }
	.gform_wrapper form .cms-wr-product-locations .gfield_list_group { grid-template-columns: minmax(0, 1fr); min-width: 0; max-width: 100%; }
	.gform_wrapper form .cms-wr-product-locations .gfield_list_group > :nth-child(4),
	.gform_wrapper form .cms-wr-product-locations .gfield_list_group > .gfield_list_icons { grid-column: 1; grid-row: auto; }
	.gform_wrapper form .cms-wr-product-locations .gfield_list_group > .gfield_list_icons { width: 100% !important; inline-size: 100% !important; margin: 0; padding: 0; background: transparent; }
}
