:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list {
	container-type: inline-size;
	display: block;
	--product-list-columns: 3rem minmax(0, 1fr) 4.5rem 6.25rem;
	--product-list-areas: "image name quantity price";
	--product-list-quantity-size: 2.75rem;
}

:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list--cart {
	container-name: cart-products;
	--product-list-title-leading: 1.4;
	--product-list-title-height: calc(2 * var(--shop-product-name-size) * var(--product-list-title-leading));
	--product-list-remove-size: 2.75rem;
	--product-list-columns: var(--product-list-title-height) minmax(0, 1fr) 6rem 9.5rem var(--product-list-remove-size);
	--product-list-areas: "image name quantity price remove";
}

:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list--receipt {
	container-name: receipt-products;
}

:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list :is(thead, tbody) {
	display: block;
}

:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list :is(thead tr, .cart_item, .order_item) {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: var(--product-list-columns);
	grid-template-areas: var(--product-list-areas);
	grid-auto-rows: auto;
	align-items: start;
	gap: 0.75rem;
	padding-block: 0.875rem;
	font-size: 0.875rem;
	line-height: 1.4;
}

:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list.shop_table thead tr {
	padding-block: 0.5rem;
	border-block-end: 1px solid var(--shop-divider);
}

:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list thead th:first-child {
	grid-column: 1 / 3;
}

:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list tbody :is(.cart_item, .order_item) + :is(.cart_item, .order_item) {
	border-block-start: 1px solid var(--shop-divider);
}

:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list--cart .cart_item {
	border-block-end: 0;
}

:is(:is(.shop-cart-page, .shop-order-page) #brx-content, #brx-header .shop-mini-cart) table.shop-product-list.shop_table :is(thead tr, .cart_item, .order_item) > :is(th, td) {
	display: block;
	width: auto;
	max-width: none;
	min-width: 0;
	padding: 0;
	border: 0;
}

:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list.shop_table :is(thead tr > :nth-child(2), tbody td.product-quantity) {
	text-align: center;
}

:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list.shop_table :is(thead tr > :nth-child(3), tbody td.product-price) {
	text-align: end;
}

:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list td::before {
	content: none;
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list .product-thumbnail { grid-area: image; }
:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list .product-name { grid-area: name; }
:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list td.product-quantity { grid-area: quantity; }
:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list .product-price { grid-area: price; }
:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list .product-remove { grid-area: remove; }

:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list .product-thumbnail :is(.shop-order-shipment__thumbnail, img) {
	width: 100%;
}

:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list .product-thumbnail img {
	display: block;
	aspect-ratio: 1;
	height: auto;
	object-fit: contain;
}

:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list td.product-name,
:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list :is(td.product-name, .shop-product-list__title) > a {
	font-weight: 600;
	overflow-wrap: anywhere;
	font-size: var(--shop-product-name-size);
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart .shop-product-list__title {
	min-block-size: var(--product-list-title-height);
	line-height: var(--product-list-title-leading);
	align-content: center;
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list :is(.product-name, .shop-product-list__title) > a {
	color: inherit;
	text-decoration: none;
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list :is(.product-name, .shop-product-list__title) > a:hover {
	text-decoration: underline;
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list .product-name :is(dl.variation, .shop-cart__dimensions, .wc-item-meta) {
	margin: 0.375rem 0 0;
	color: var(--checkout-muted);
	font-size: var(--shop-product-dimensions-size);
	font-weight: 500;
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list :is(dl.variation, dl.shop-cart__dimensions) {
	display: grid;
	grid-template-columns: fit-content(48%) minmax(0, 1fr);
	gap: 0.125rem 0.5rem;
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list :is(dl.variation, dl.shop-cart__dimensions) :is(dt, dd, p) {
	float: none;
	margin: 0;
	padding: 0;
	font-weight: 500;
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list dl.variation.shop-product-list__options {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
}

.shop-product-list__options > div {
	overflow-wrap: anywhere;
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list__options > div > :is(dt, dd),
.shop-product-list__options dd > p:only-child {
	display: inline;
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list__label {
	display: none;
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list__unit {
	display: inline-block;
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list .product-price :is(.shop-product-list__unit, .shop-line-price__net, .shop-line-price__fee) {
	display: block;
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart .product-name :is(dl.variation, dl.shop-cart__dimensions) {
	grid-template-columns: minmax(0, 44%) minmax(0, 1fr);
}

:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list--cart .cart_item {
	grid-template-areas: "image name quantity price remove" ". . . price .";
	grid-template-rows: auto auto;
	row-gap: 0;
}

:is(.shop-cart-page #brx-content, #brx-header .shop-mini-cart) table.shop-product-list--cart.shop_table tbody .cart_item > td.product-price {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: subgrid;
	grid-template-rows: subgrid;
	column-gap: normal;
	pointer-events: none;
	row-gap: 0;
	align-self: stretch;
	justify-items: stretch;
	max-inline-size: none;
	margin: 0;
	padding: 0;
	font-size: 0.75rem;
	overflow-wrap: anywhere;
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart .cart_item td.product-quantity {
	align-self: center;
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart .product-price > .shop-product-list__unit {
	grid-column: price-start / price-end;
	grid-row: 1;
	align-self: center;
	font-size: var(--wapf-label, 0.875rem);
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart .product-price > * {
	pointer-events: auto;
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list__unit + .shop-product-list__line-prices {
	grid-column: name-start / price-end;
	grid-row: 2;
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list__price-amount {
	white-space: nowrap;
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list__price-value {
	display: flex;
	justify-content: end;
	align-items: baseline;
	column-gap: 0.25rem;
	white-space: normal;
}

:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list.shop_table .product-price :is(.shop-product-list__unit, .shop-line-price__fee) :is(.amount, bdi) {
	font-weight: 500;
}

:is(:is(.shop-cart-page, .shop-order-page) #brx-content, #brx-header .shop-mini-cart) table.shop-product-list.shop_table tbody td.product-price {
	padding-block-start: 0.3125rem;
	text-align: end;
}

:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list.shop_table .product-price :is(.amount, bdi) {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list.shop_table .order_item td.product-quantity > .product-quantity {
	padding: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	font-size: inherit;
	font-weight: 500;
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list .product-quantity .quantity {
	box-sizing: border-box;
	width: var(--product-list-quantity-size);
	max-width: 100%;
	margin: 0 auto;
	border: 1px solid var(--checkout-line);
	border-radius: var(--checkout-radius);
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list .quantity input.qty {
	box-sizing: border-box;
	display: block;
	width: 100%;
	min-height: calc(var(--product-list-quantity-size) - 2px);
	margin: 0;
	padding: 0 0.25rem;
	border: 0;
	background: transparent;
	color: #000;
	font-size: inherit;
	font-weight: 500;
	text-align: center;
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart .quantity {
	display: flex;
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart .quantity .action {
	display: none;
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart .quantity input.qty {
	appearance: textfield;
	min-height: 0;
	padding: 0.25rem 0.125rem;
	line-height: 1.25;
}

@supports (field-sizing: content) {
	:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart .product-quantity .quantity {
		width: fit-content;
	}

	:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart .quantity input.qty {
		field-sizing: content;
		width: auto;
		min-width: calc(2ch + 0.25rem);
		max-width: 100%;
	}
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart input.qty::-webkit-inner-spin-button,
:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart input.qty::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

:is(.shop-cart-page #brx-content, #brx-header .shop-mini-cart) table.shop-product-list.shop_table .cart_item > td.product-remove {
	display: flex;
	justify-content: end;
	align-self: start;
}

:is(.shop-cart-page #brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart a.remove {
	box-sizing: border-box;
	position: relative;
	display: grid;
	place-items: center;
	flex: none;
	inline-size: var(--product-list-remove-size);
	block-size: var(--product-list-title-height);
	margin: 0;
	border-radius: var(--checkout-radius);
	background: transparent;
	color: var(--checkout-muted) !important;
	font-size: 1rem;
	line-height: 1;
	text-decoration: none;
}

:is(.shop-cart-page #brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart a.remove::before {
	/* Keep the pointer target larger than the visible box when the title uses a shorter line height. */
	content: "";
	position: absolute;
	inset-inline: 0;
	inset-block-start: 50%;
	block-size: var(--product-list-remove-size);
	translate: 0 -50%;
}

:is(.shop-cart-page #brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart a.remove:focus-visible {
	outline-offset: 0;
}

:is(.shop-cart-page #brx-content, #brx-header .shop-mini-cart) .shop-product-list a.remove:is(:hover, :focus-visible) {
	background: transparent;
	color: var(--checkout-error) !important;
}

:is(.shop-cart-page #brx-content, #brx-header .shop-mini-cart) .shop-product-list a.remove svg {
	width: 1rem;
	height: 1rem;
	min-width: 0;
	min-height: 0;
}

@container cart-products (width < 600px) {
	:is(.shop-cart-page #brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart a.remove svg {
		justify-self: end;
		/* Align the stroke at x=448 in the 512-unit view box with the price edge. */
		translate: 12.5% 0;
	}

	:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart .shop-product-list__unit .shop-product-list__price-amount {
		min-inline-size: 0;
		white-space: normal;
	}

	/* If the price must wrap, move the whole VAT note to the next line. */
	:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart .shop-product-list__unit-tax {
		white-space: nowrap;
	}

	.shop-cart-page #brx-content .shop-cart__form table.shop-product-list--cart > thead {
		display: none;
	}

	:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list--cart :is(thead tr, .cart_item) {
		/* Reserve 40 px for the image, 80 px for quantity and 8 px for the gaps. */
		--product-list-columns: 2.5rem minmax(0, 1fr) minmax(0, calc(100% - 8rem));
		--product-list-areas: "image name name" "quantity quantity price";
		gap: 0.5rem 0.25rem;
	}

	:is(.shop-cart-page #brx-content, #brx-header .shop-mini-cart) table.shop-product-list.shop_table tbody .cart_item > td.product-quantity {
		display: grid;
		grid-template-columns: var(--cart-quantity-columns, 2rem minmax(0, max-content));
		align-items: center;
		column-gap: 0.25rem;
		font-size: 0.75rem;
		text-align: start;
		justify-content: start;
	}

	:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list--cart .product-quantity .quantity {
		margin: 0;
	}

	:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list--cart .cart_item {
		/* The last column holds the full remove target beside the title. */
		--product-list-columns: var(--product-list-title-height) max-content minmax(0, 1fr) var(--product-list-remove-size);
		grid-template-areas: "image name name remove" ". quantity price price" ". . price price";
		grid-template-rows: auto max-content auto;
	}

	:is(.shop-cart-page #brx-content, #brx-header .shop-mini-cart) table.shop-product-list--cart.shop_table tbody .cart_item > td.product-price {
		row-gap: 0.5rem;
	}

	:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart .shop-product-list__label {
		display: inline;
	}
}

@container cart-products (width >= 600px) {
	.shop-cart-page #brx-content table.shop-product-list--cart .cart_item {
		grid-template-rows: var(--shop-purchase-height) auto;
	}

	.shop-cart-page #brx-content table.shop-product-list--cart.shop_table .cart_item > :is(.product-name, .product-price) {
		grid-row: 1 / -1;
	}

	.shop-cart-page #brx-content .shop-product-list--cart .cart_item .shop-product-list__unit + .shop-product-list__line-prices {
		grid-column: quantity-start / price-end;
	}

	.shop-cart-page #brx-content .shop-product-list--cart .shop-product-list__line-prices .shop-product-list__price-value {
		flex-wrap: wrap;
	}
}

@container receipt-products (width < 476px) {
	:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list--receipt :is(thead tr, .order_item) {
		--product-list-columns: 2.5rem minmax(0, 1fr) max-content;
		--product-list-areas: "image name name" "image quantity price";
		gap: 0.5rem 0.25rem;
	}

	.shop-order-page #brx-content table.shop-product-list.shop_table tbody .order_item > td.product-quantity {
		align-self: center;
		text-align: start;
		white-space: nowrap;
		font-size: 0.75rem;
	}
}

@container cart-products (width < 600px), receipt-products (width < 476px) {
	:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list.shop_table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		overflow: hidden;
		clip-path: inset(50%);
	}

	:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list .shop-product-list__label {
		display: inline;
		margin-inline-end: 0.25rem;
		font-weight: 500;
		white-space: nowrap;
	}

	:is(:is(.shop-cart-page, .shop-order-page) #brx-content, #brx-header .shop-mini-cart) table.shop-product-list.shop_table tbody td.product-price {
		display: grid;
		justify-items: end;
		align-self: start;
		max-inline-size: 9rem;
		padding-block-start: 0.3125rem;
		white-space: normal;
		font-size: 0.75rem;
	}
}

@container cart-products (width < 600px) {
	:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list--cart .cart_item:has(.shop-quantity) {
		--cart-quantity-height: 2rem;
		--product-list-columns: var(--product-list-title-height) auto minmax(0, 1fr) var(--product-list-remove-size);
		grid-template-areas: "image name name remove" ". quantity price price" ". total price price";
	}

	:is(.shop-cart-page #brx-content, #brx-header .shop-mini-cart) table.shop-product-list--cart.shop_table tbody .cart_item:has(.shop-quantity) > td.product-quantity {
		grid-column: quantity-start / quantity-end;
		grid-template-columns: var(--cart-quantity-columns, max-content max-content);
		align-self: center;
	}

	:is(.shop-cart-page #brx-content, #brx-header .shop-mini-cart) table.shop-product-list--cart.shop_table tbody .cart_item > td.product-quantity .shop-quantity {
		min-height: var(--cart-quantity-height);
		font-size: 0.875rem;
	}

	#brx-header .shop-mini-cart table.shop-product-list--cart.shop_table tbody .cart_item > td.product-quantity .shop-quantity {
		font-size: 1rem;
	}

	:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart .cart_item:has(.shop-quantity) .shop-product-list__unit {
		align-self: end;
		display: grid;
		align-items: center;
		min-height: var(--cart-quantity-height);
	}

	:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart .cart_item:has(.shop-quantity) .shop-product-list__unit + .shop-product-list__line-prices {
		grid-column: quantity-start / price-end;
	}

	:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart .cart_item:has(.shop-quantity) .shop-product-list__price-value {
		flex-wrap: wrap;
	}
}

@container cart-products (width < 600px) {
	:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list--cart .cart_item:not(:has(.shop-line-price__fee)) {
		grid-template-areas: "image name name remove" ". quantity price price";
		grid-template-rows: auto max-content;
	}

	:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list--cart .cart_item:has(.shop-quantity):not(:has(.shop-line-price__fee)) {
		grid-template-areas: "image name name remove" ". quantity price price";
	}

	:is(.shop-cart-page #brx-content, #brx-header .shop-mini-cart) table.shop-product-list--cart.shop_table .cart_item > td.product-quantity {
		align-self: center;
	}

	:is(.shop-cart-page #brx-content, #brx-header .shop-mini-cart) table.shop-product-list--cart.shop_table tbody .cart_item > td.product-price {
		max-inline-size: none;
		padding-block-start: 0;
		align-self: stretch;
		justify-items: stretch;
	}

	:is(.shop-cart-page #brx-content, #brx-header .shop-mini-cart) table.shop-product-list--cart.shop_table .cart_item .shop-product-list__unit {
		align-self: center;
	}
}

@container cart-products (width < 19rem) {
	/* Keep space for the amount and VAT beside the quantity control. */
	:is(.shop-cart-page #brx-content, #brx-header .shop-mini-cart) table.shop-product-list--cart.shop_table tbody .cart_item > td.product-quantity {
		--cart-quantity-columns: max-content;
		row-gap: 0.125rem;
	}

	:is(.shop-cart-page #brx-content, #brx-header .shop-mini-cart) table.shop-product-list--cart.shop_table .cart_item .shop-product-list__unit {
		align-self: end;
	}
}

/*
 * Configuration disclosure. A configured line gains its own track that starts on the title axis.
 * It runs to the price edge on wide lists, below the fee, and through the Remove column on compact lists,
 * between the heading and the purchase row. Lines without a configuration keep their grid.
 */
:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list--cart .cart_item:has(> td.product-name > .shop-product-list__configuration) {
	grid-template-areas: "image name quantity price remove" ". . . price ." ". configuration configuration configuration .";
	grid-template-rows: auto auto auto;
}

:is(.shop-cart-page #brx-content, #brx-header .shop-mini-cart) table.shop-product-list--cart.shop_table tbody .cart_item > td.product-name:has(> .shop-product-list__configuration) {
	display: grid;
	grid-area: name-start / name-start / configuration-end / configuration-end;
	grid-template-columns: subgrid;
	grid-template-rows: subgrid;
	gap: normal;
	align-items: start;
	pointer-events: none;
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart td.product-name > .shop-product-list__identity {
	min-inline-size: 0;
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart td.product-name:has(> .shop-product-list__configuration) > .shop-product-list__identity {
	grid-column: name;
	grid-row: name-start / configuration-start;
	pointer-events: auto;
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart td.product-name > .shop-product-list__configuration {
	grid-area: configuration;
	min-inline-size: 0;
	margin: -0.375rem 0 0;
	pointer-events: auto;
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart .shop-product-list__configuration > summary {
	display: grid;
	grid-template-columns: 0.75em max-content;
	align-items: center;
	gap: 0.25rem;
	inline-size: max-content;
	min-block-size: 1.5rem;
	color: var(--checkout-muted);
	font-size: var(--shop-product-dimensions-size);
	font-weight: 400;
	line-height: 1.4;
	white-space: nowrap;
	list-style: none;
	cursor: pointer;
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart .shop-product-list__configuration > summary::-webkit-details-marker {
	display: none;
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart .shop-product-list__configuration > summary::before {
	content: "";
	block-size: 0.75em;
	background: currentColor;
	/* Ionicons v7.4.0 chevron-forward-outline (MIT), with a lighter stroke. */
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='88 88 336 336'%3E%3Cpath d='M184 112l144 144-144 144' fill='none' stroke='black' stroke-width='40' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (prefers-reduced-motion: no-preference) {
	:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart .shop-product-list__configuration > summary::before {
		transition: rotate 160ms ease-out;
	}
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart .shop-product-list__configuration[open] > summary::before {
	rotate: 90deg;
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list--cart .shop-product-list__configuration > summary:focus-visible {
	outline: 3px solid var(--checkout-focus);
	outline-offset: 2px;
}

:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list__configuration:not([open]) .shop-product-list__configuration-hide,
:is(#brx-content, #brx-header .shop-mini-cart) .shop-product-list__configuration[open] .shop-product-list__configuration-show {
	display: none;
}

@container cart-products (width >= 600px) {
	.shop-cart-page #brx-content table.shop-product-list--cart .cart_item:has(> td.product-name > .shop-product-list__configuration) {
		grid-template-rows: var(--shop-purchase-height) auto auto;
	}

	.shop-cart-page #brx-content .shop-product-list--cart td.product-name > .shop-product-list__configuration {
		margin-block-start: 0;
	}

	#brx-header .shop-mini-cart .shop-product-list--cart td.product-name > .shop-product-list__configuration {
		margin-block-start: -0.125rem;
	}
}

@container cart-products (width < 600px) {
	:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list--cart .cart_item:has(> td.product-name > .shop-product-list__configuration) {
		grid-template-areas: "image name name remove" ". configuration configuration configuration" ". quantity price price" ". . price price";
		grid-template-rows: auto auto max-content auto;
	}

	:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list--cart .cart_item:has(> td.product-name > .shop-product-list__configuration):has(.shop-quantity) {
		grid-template-areas: "image name name remove" ". configuration configuration configuration" ". quantity price price" ". total price price";
	}

	:is(#brx-content, #brx-header .shop-mini-cart) table.shop-product-list--cart .cart_item:has(> td.product-name > .shop-product-list__configuration):not(:has(.shop-line-price__fee)) {
		grid-template-areas: "image name name remove" ". configuration configuration configuration" ". quantity price price";
		grid-template-rows: auto auto max-content;
	}
}
