/* M10b cart table, row, quantity, remove, product, and item price rules. Selectors are preserved from transaction.css. */

.wcts-transaction-content--cart .wc-block-cart-item__remove-link,
.wcts-transaction-content--cart button[aria-label*="Ukloni"],
.wcts-transaction-content--cart button[aria-label*="Remove"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	border-radius: 0;
	color: var(--wcts-color-muted);
	transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.wcts-transaction-content--cart .wc-block-cart-item__remove-link:hover,
.wcts-transaction-content--cart .wc-block-cart-item__remove-link:focus-visible,
.wcts-transaction-content--cart button[aria-label*="Ukloni"]:hover,
.wcts-transaction-content--cart button[aria-label*="Ukloni"]:focus-visible,
.wcts-transaction-content--cart button[aria-label*="Remove"]:hover,
.wcts-transaction-content--cart button[aria-label*="Remove"]:focus-visible {
	background: #f3f4f6;
	color: var(--wcts-color-black);
	box-shadow: inset 0 0 0 1px #d1d5db;
}

.wcts-transaction-content--cart table.wc-block-cart-items {
	border-collapse: separate;
	border-spacing: 0;
}

.wcts-transaction-content--cart table.wc-block-cart-items th {
	padding-bottom: 0.9rem;
	border-bottom: 1px solid #e5e7eb;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wcts-color-text-muted);
}

.wcts-transaction-content--cart table.wc-block-cart-items td {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #eef2f7;
	vertical-align: top;
}

.wcts-transaction-content--cart :is(.wc-block-cart-items, table.wc-block-cart-items) {
	border: 1px solid var(--wcts-transaction-border);
	border-radius: 6px;
	background: var(--wcts-color-white);
	overflow: hidden;
}

.wcts-transaction-content--cart table.wc-block-cart-items th {
	padding: 1.15rem 1.6rem 1rem;
	border-bottom: 1px solid var(--wcts-transaction-border);
	background: var(--wcts-transaction-soft);
	color: #59616d;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
}

.wcts-transaction-content--cart table.wc-block-cart-items td {
	padding: 1.55rem 1.6rem;
	border-bottom: 1px solid #edf0f3;
}

.wcts-transaction-content--cart .wc-block-cart-items__row:last-child td {
	border-bottom: 0;
}

.wcts-transaction-content--cart .wc-block-cart-item__image {
	width: 5.6rem;
}

.wcts-transaction-content--cart .wc-block-components-product-name {
	min-height: 0;
	color: #171717;
	font-size: 1.04rem;
	font-weight: 750;
	line-height: 1.28;
	text-transform: none;
}

.wcts-transaction-content--cart .wc-block-components-product-metadata,
.wcts-transaction-content--cart .wc-block-components-product-metadata__description,
.wcts-transaction-content--cart .wc-block-components-product-metadata p {
	margin-top: 0.35rem;
	color: #66707d;
	font-size: 0.84rem;
	line-height: 1.45;
}

.wcts-transaction-content--cart .wc-block-components-quantity-selector {
	border: 1px solid #cfd4db;
	border-radius: 2px;
	background: var(--wcts-color-white);
}

.wcts-transaction-content--cart .wc-block-components-quantity-selector input {
	font-weight: 700;
}

.wcts-transaction-content--cart .wc-block-cart-item__remove-link,
.wcts-transaction-content--cart button[aria-label*="Ukloni"],
.wcts-transaction-content--cart button[aria-label*="Remove"] {
	min-width: 2.75rem;
	min-height: 2.75rem;
	border-radius: 4px;
	color: #343a43;
}

.wcts-transaction-content--cart :is(.wc-block-components-quantity-selector, .wc-block-components-quantity-selector__input) {
	min-width: 7.25rem;
}

.wcts-transaction-content--cart :is(.wc-block-cart-items, table.wc-block-cart-items) {
	border: 0 !important;
	border-radius: var(--wcts-cart-row-radius);
	background: transparent;
	box-shadow: none;
}

.wcts-transaction-content--cart table.wc-block-cart-items {
	table-layout: fixed;
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}

.wcts-transaction-content--cart table.wc-block-cart-items th {
	padding: 1rem 1.35rem 0.9rem;
	border-bottom: 0;
	background: transparent;
	color: #66707d;
	font-size: 0.68rem;
	font-weight: 850;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.wcts-transaction-content--cart table.wc-block-cart-items :is(.wc-block-cart-items__header-image, .wc-block-cart-item__image) {
	width: 6.8rem;
}

.wcts-transaction-content--cart table.wc-block-cart-items :is(.wc-block-cart-items__header-total, td.wc-block-cart-item__total) {
	width: 9.5rem;
	text-align: right;
}

.wcts-transaction-content--cart table.wc-block-cart-items td {
	padding: 1.35rem 1.35rem 1.45rem;
	border-top: 0 !important;
	border-bottom: 0;
	background: transparent;
	vertical-align: middle;
}

.wcts-transaction-content--cart table.wc-block-cart-items tbody tr + tr td {
	border-top: 1px solid #edf0f3 !important;
}

.wcts-transaction-content--cart table.wc-block-cart-items tbody tr td:first-child {
	border-left: 0;
	border-radius: 0;
}

.wcts-transaction-content--cart table.wc-block-cart-items tbody tr td:last-child {
	border-right: 0;
	border-radius: 0;
}

.wcts-transaction-content--cart table.wc-block-cart-items tbody tr {
	filter: none;
	transition: border-color 160ms ease, background-color 160ms ease;
}

.wcts-transaction-content--cart table.wc-block-cart-items tbody tr:hover {
	filter: none;
	transform: none;
}

.wcts-transaction-content--cart .wc-block-cart-items__row {
	min-height: 6rem;
}

.wcts-transaction-content--cart .wc-block-cart-item__image {
	width: 5rem;
}

.wcts-transaction-content--cart .wc-block-cart-item__image img {
	border: 1px solid #e4e9e6;
	border-radius: 6px;
	background: #fbfbfb;
}

.wcts-transaction-content--cart .wc-block-cart-item__product {
	display: table-cell;
	gap: 0.65rem;
	min-width: 0;
}

.wcts-transaction-content--cart .wc-block-cart-item__wrap {
	display: grid !important;
	gap: 0.22rem;
	min-width: 0;
}

.wcts-transaction-content--cart .wc-block-components-product-name {
	display: block;
	order: 1;
	min-height: 0;
	color: #111111;
	font-size: 1.06rem;
	font-weight: 850 !important;
	line-height: 1.27;
	letter-spacing: 0;
	text-decoration: none;
}

.wcts-transaction-content--cart .wc-block-components-product-name:hover,
.wcts-transaction-content--cart .wc-block-components-product-name:focus-visible {
	color: #111111;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.wcts-transaction-content--cart :is(.wc-block-components-product-metadata__description, .wc-block-components-product-metadata__description p) {
	display: none !important;
}

.wcts-transaction-content--cart .wc-block-cart-item__prices {
	display: block;
	order: 3;
	margin: 0.22rem 0 0;
}

.wcts-transaction-content--cart .wc-block-components-product-metadata {
	order: 2;
	margin: -0.14rem 0 0;
	color: #68717d;
	font-size: 0.8rem;
	font-weight: 650;
	line-height: 1.35;
}

.wcts-transaction-content--cart .wc-block-components-product-metadata p {
	margin: 0;
}

.wcts-transaction-content--cart :is(.wc-block-components-product-details, .wc-block-components-product-metadata__variation-data) {
	display: grid;
	gap: 0.16rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wcts-transaction-content--cart :is(.wc-block-components-product-details, .wc-block-components-product-metadata__variation-data) > * {
	display: flex;
	min-width: 0;
	gap: 0.24rem;
	align-items: baseline;
}

.wcts-transaction-content--cart :is(.wc-block-components-product-details__name, .wc-block-components-product-metadata__variation-data-label) {
	color: #7a8491;
	font-weight: 700;
}

.wcts-transaction-content--cart :is(.wc-block-components-product-details__value, .wc-block-components-product-metadata__variation-data-content) {
	margin: 0;
	color: #424b57;
	font-weight: 800;
}

.wcts-transaction-content--cart :is(.wc-block-components-product-details__value p, .wc-block-components-product-metadata__variation-data-content p) {
	display: inline;
	margin: 0;
}

.wcts-transaction-content--cart .wc-block-components-product-price {
	display: inline-flex;
	align-items: center;
	min-height: 0;
	color: #111111;
	font-size: 0.92rem;
	font-weight: 800;
	line-height: 1.2;
}

.wcts-transaction-content--cart .wc-block-cart-item__quantity {
	display: flex;
	order: 4;
	align-items: center;
	justify-content: flex-start;
	gap: 0.62rem;
	margin-top: 0.24rem;
}

.wcts-transaction-content--cart .wc-block-components-quantity-selector {
	display: inline-grid;
	grid-template-columns: 2.35rem 2.55rem 2.35rem;
	align-items: stretch;
	min-height: 2.55rem;
	border-color: #cbd3cf;
	border-radius: 4px;
	background: #ffffff;
	overflow: hidden;
}

.wcts-transaction-content--cart :is(.wc-block-components-quantity-selector, .wc-block-components-quantity-selector__input) {
	min-width: 7.25rem;
}

.wcts-transaction-content--cart .wc-block-components-quantity-selector input {
	order: 2;
	min-width: 2.55rem;
	min-height: 2.55rem;
	border: 0;
	border-right: 1px solid #eef0f3;
	border-left: 1px solid #eef0f3;
	color: #111111;
	font-size: 0.8rem;
	font-weight: 850;
	text-align: center;
}

.wcts-transaction-content--cart .wc-block-components-quantity-selector button,
.wcts-transaction-content--cart .wc-block-components-quantity-selector__button {
	position: relative;
	min-width: 2.35rem;
	min-height: 2.55rem;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #111111;
	font-size: 0;
	font-weight: 700;
	line-height: 1;
}

.wcts-transaction-content--cart .wc-block-components-quantity-selector__button--minus {
	order: 1;
}

.wcts-transaction-content--cart .wc-block-components-quantity-selector__button--plus {
	order: 3;
}

.wcts-transaction-content--cart .wc-block-components-quantity-selector button:hover,
.wcts-transaction-content--cart .wc-block-components-quantity-selector__button:hover {
	background: #f6f7f8;
	box-shadow: none;
}

.wcts-transaction-content--cart .wc-block-components-quantity-selector button:focus-visible,
.wcts-transaction-content--cart .wc-block-components-quantity-selector__button:focus-visible {
	background: #f4f5f6;
	outline: 2px solid var(--wcts-color-black);
	outline-offset: 2px;
}

.wcts-transaction-content--cart button.wc-block-cart-item__remove-link,
.wcts-transaction-content--cart .wc-block-cart-item__remove-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.2rem;
	min-width: 2.2rem;
	height: 2.2rem;
	min-height: 2.2rem;
	margin: 0 0 0 0.15rem !important;
	padding: 0;
	border: 0 !important;
	border-radius: 4px !important;
	background: transparent !important;
	color: #505966 !important;
	font-size: 0 !important;
	line-height: 1;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.wcts-transaction-content--cart button.wc-block-cart-item__remove-link svg,
.wcts-transaction-content--cart .wc-block-cart-item__remove-link svg {
	display: none;
}

.wcts-transaction-content--cart button.wc-block-cart-item__remove-link::before,
.wcts-transaction-content--cart .wc-block-cart-item__remove-link::before {
	display: block;
	width: 1.12rem;
	height: 1.12rem;
	content: "";
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 3h6l1 2h4v2H4V5h4l1-2Zm-2 6h10l-.7 11H7.7L7 9Zm2.2 2 .4 7h1.5l-.3-7H9.2Zm3 0v7h1.6v-7h-1.6Zm3 0-.3 7h1.5l.4-7h-1.6Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 3h6l1 2h4v2H4V5h4l1-2Zm-2 6h10l-.7 11H7.7L7 9Zm2.2 2 .4 7h1.5l-.3-7H9.2Zm3 0v7h1.6v-7h-1.6Zm3 0-.3 7h1.5l.4-7h-1.6Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.wcts-transaction-content--cart button.wc-block-cart-item__remove-link:hover,
.wcts-transaction-content--cart button.wc-block-cart-item__remove-link:focus-visible,
.wcts-transaction-content--cart .wc-block-cart-item__remove-link:hover,
.wcts-transaction-content--cart .wc-block-cart-item__remove-link:focus-visible {
	background: #f4f5f6 !important;
	color: #111111 !important;
	box-shadow: none;
	transform: translateY(-1px);
}

.wcts-transaction-content--cart .wc-block-cart-item__total {
	display: table-cell;
	color: #111111;
	font-size: 0.98rem;
	font-weight: 900;
	text-align: right;
	white-space: nowrap;
}

/* Cart icon centering final overrides. */
.wcts-transaction-content--cart .wc-block-components-quantity-selector__button::before,
.wcts-transaction-content--cart .wc-block-components-quantity-selector__button::after {
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	width: 0.82rem !important;
	height: 0.12rem !important;
	transform: translate(-50%, -50%) !important;
}
