.cart-empty-wrapper {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 0px;
}
.cart-empty-wrapper img {
    max-width: 240px!important;
    width: 100%;
    margin: auto;
    display: inline-block;
}
.icon-button-dropdown .kdp-cart-content.kdp-cart-content-empty .cart-empty-wrapper img {
    max-width: 150px!important;
    width: 100%;
    margin: auto;
    display: inline-block;
    max-height: 150px!important;
} 
.icon-button-dropdown .kdp-cart-footer .button-group a:not(:first-child):not(:last-child) {
/*	display: none;*/
} 
body:not(.kdp-cart-open) .kdp-cart-wrapper, body:not(.kdp-cart-open) .kdp-cart {
	display: none;
}
.kdp-cart-wrapper {
	position: fixed;
	background-color:rgba(0,0,0,0.1);
	top: 0px;
	left: 0px;
	right: 0px;
	bottom:0px;
	z-index: 10001;
	
/*	transform: translate3d(42px, -62px, -135px);*/
	display:grid;
	grid-template-columns: 1fr;
	
}
.kdp-cart-wrapper .kdp-cart {
	margin: auto;
	min-height: 320px;
	width: 800px;
	padding: 20px;
	border:1px solid #ccc;
	background-color: #f9f9f9;
	position: relative;
	
	border-radius: var(--border-radius-sm,5px);
}
.kdp-cart-header {
	position: absolute;
	left: 0px;
	right: 0px;
	top: 0px;
	
}
.kdp-cart-header :is(h2, .h2), .kdp-cart-header a {
	line-height: 30px;
	padding: 10px;
	display: block;
}
.kdp-cart-close-button, .kd-close-button, .kdp-cart-item-actions a, .icon-button-small {
	cursor: pointer;
	
	color:#fff!important;
	background-color: var(--colororange);
    text-align: center;
}

*:is(.kdp-cart-close-button, .kd-close-button, .kdp-cart-item-actions a, .icon-button-small):hover {
	background-color: #fff!important;
	box-shadow: inset 0px 0px 0px 1px var(--colororange);
}
*:is(.kdp-cart-close-button, .kd-close-button, .kdp-cart-item-actions a, .icon-button-small):hover,
*:is(.kdp-cart-close-button, .kd-close-button, .kdp-cart-item-actions a, .icon-button-small):hover * {
	color:var(--colororange)!important;
}

.kdp-cart-close-button, .kdp-cart-item-actions a, .file-upload-manage-row-actions a { 
	border-radius: var(--border-radius-buttons,5px);		
}
.kdp-cart-close-button {
    position: absolute;
	right: 0px;
	top: 0px;
}
.kdp-cart-close-button:empty:before, .kd-close-button:empty:before {
     content: "\f00d";
	font-family: 'FontAwesome';
}
header .menu .kd-close-button {
    position: absolute;
    left: 100%;
    width: 40px;
    height: 40px;
    padding: 5px;
    line-height: 30px;
    text-align: center;
}

.kdp-cart-close-button, .kd-close-button { 
	width: 50px;
	font-size: 20px;
	border-top-left-radius: 0px;
	border-bottom-right-radius: 0px;
}
.kdp-cart-wrapper .kdp-cart-content {
	padding-top: 50px;
	max-height: calc(100vh - 150px);
	overflow: auto;
}
.kdp-cart-content .icon-button-small {
	margin-bottom: auto;
}

/* The content */
.kdp-cart-wrapper .kdp-cart-item,
.content-wrapper .kdp-cart-item {
/*	display: grid;
	grid-template-columns: 80px 80px 1fr 20px;
	grid-gap: 10px;*/
}
.kdp-cart-item {
     display: flex;
    width: 100%;
    justify-content: space-around;
}

.kdp-cart-wrapper .kdp-cart-item-amount-input {
	display: none;
}
.kdp-cart-item-amount {
    min-width: 75px;
    max-width: 100px;
}
.content-wrapper .kdp-cart-item-amount-text {
	display: none;
}
.kdp-cart-item:not(:last-child) {
	margin-bottom: 20px;
	border-bottom: 1px solid #eee;
	padding-bottom: 20px;
}
.kdp-cart-item > * {
    margin-left: 0px;
    margin-right: 10px;
	margin-top: 0px;
	margin-bottom: auto;
    width: 100%;
}
.icon-button-dropdown:not(#printpreviewrequest-dropdown)  .kdp-cart-item[cart-item-amount="0"] {
	display: none!important;
}
.kdp-cart-item > .vhug {
	width: auto;
}
.kdp-cart-item  .kdp-cart-item-thumbnail {
    min-width: 80px;
    max-width: 100px;
}
.kdp-cart-item > .kdp-cart-item-thumbnail img {
    object-fit: cover;
    object-position: center;
}
.icon-button-dropdown .kdp-cart-item > *:has(.kdp-cart-item-thumbnail),
.icon-button-dropdown .kdp-cart-item  .kdp-cart-item-thumbnail {
     min-width: 40px;
    max-width: 60px;
}
.icon-button-dropdown .kdp-cart-items-wrapper {
    max-height: calc(100vh - 300px);
	padding-bottom: 0px!important;
    overflow-y: auto;
}

/* basis: scrollbar verbergen */
.icon-button-dropdown .kdp-cart-items-wrapper {
    overflow-y:auto;
  
}


.icon-button-dropdown  .kdp-cart-item:not(:last-child) {
	margin-bottom: 10px;
	border-bottom: 1px solid #f6f6f6;
	padding-bottom: 10px;
}
.icon-button-dropdown .kdp-cart-items-wrapper table th {
	display: none!important;
}
.icon-button-dropdown .kdp-cart-items-wrapper *:is(table, tbody) {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap:5px;
}
.icon-button-dropdown .kdp-cart-items-wrapper table tr,
.icon-button-dropdown .kdp-cart-items-wrapper table td {
	display: inline-block;
	
}
.icon-button-dropdown .kdp-cart-items-wrapper  .group {
	margin: 0px!important;
}
.icon-button-dropdown .kdp-cart-items-wrapper table td {
	border:1px solid #ccc!important;
	color:#666!important;
	border-radius: 15px;
	
	padding: 3px 6px!important;
	margin: 0px!important;
	font-size: 12px!important;
}



*:not(.icon-button-dropdown) > .kdp-cart-content:not(.icon-button-dropdown) {
     min-height: 160px;   
}
.icon-button-dropdown .kdp-cart-item > .kdp-cart-item-actions {
    display: none;
}
.kdp-cart-item > .kdp-cart-item-actions {
    margin-left: 10px;
    width: 20px;
    margin-right: 0px;
}
.kdp-cart-item > *:not(:last-child) {
	margin-left: 0px;
}
.kdp-cart-item > *:last-child, .kdp-cart-item > .kdp-cart-item-text {
	margin-right: 0px;
}
/* 2026-10-06: Notion #508; keep long internal supplier URLs within the cart text column. */
.kdp-cart-item-text {
    min-width: 0;
}
.kdp-cart-item-text .cms-card {
    white-space: normal;
    overflow-wrap: anywhere;
}
.kdp-cart-item-actions {
    display: flex;
    min-width: 45px;
}
.icon-button-dropdown .kdp-cart-item-actions {
	display: none!important;
}
.kdp-cart-item-actions a, .file-upload-manage-row-actions a {
	min-width: 20px;
	display: inline-block;
}
.kdp-cart-item-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
:is(h3, .h3), .kdp-cart-item-actions a, .file-upload-manage-row-actions a {
	line-height: 20px!important;
}
.kdp-cart :is(h3, .h3) {
	display: grid;
	grid-template-columns: 1fr 80px;
	grid-gap: 5px;
}
.kdp-cart  :is(h3, .h3) a {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
:is(h3, .h3) .kdp-cart-item-price {
	white-space: nowrap;
	text-align: right;
    float: right;
}
.kdp-cart-footer-less-buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.kdp-cart-footer:not(.kdp-cart-footer-less-buttons) .kdp-cart-footer-note {
	margin-bottom: 10px;
    
}
.kdp-cart-footer > * {
	margin: auto 0px;
}
.kdp-cart-footer > *:last-child {
	margin-left: auto;
	margin-right: 0px;
}


.kdp-cart-item-text :is(h3, .h3) {
    display: flex;
}
.kdp-cart-item-text :is(h3, .h3) > * {
    margin: auto;
}
.kdp-cart-item-text :is(h3, .h3) > *:first-child {
    margin-left: 0px;
}
.kdp-cart-item-text :is(h3, .h3) > *:last-child {
    margin-right: 0px;
}

.icon-button-dropdown {
	border:1px solid #ccc;
}
.icon-button-dropdown,
.icon-button-dropdown .kdp-cart-content, .icon-button-dropdown .kdp-cart-content > * {
	border-radius: 5px;
}
.icon-button-dropdown .kdp-cart-content .kdp-cart-item {
	/*display: grid;
	grid-template-columns: 50px 1fr 30px;
	grid-gap: 5px;*/
	text-align: left;
	position: relative;
	max-width: 480px;
}

.icon-button-dropdown .kdp-cart-content .kdp-cart-item  .kdp-cart-item-amount {
	position: absolute;
	left: 5px;
	top: 5px;
	width: 50px;
	font-size: 10px;
	padding: 5px; 
	color:#333;
}
.icon-button-dropdown .kdp-cart-content .kdp-cart-item p {
	line-height: 15px!important;
	font-size:10px;
}
.icon-button-dropdown .kdp-cart-content .kdp-cart-item .kdp-cart-item-amount-input,
.icon-button-dropdown .kdp-cart-content .kdp-cart-item  .kdp-cart-item-file-list-wrapper {
	display: none;
}
.icon-button-dropdown li, .icon-button-dropdown li a {
	/*white-space: nowrap;*/
}
.icon-button-dropdown .kdp-cart-content .kdp-cart-item a {
	display: block;
	max-width: 320px;
	overflow: hidden;
  	text-overflow: ellipsis;
}

.icon-button-dropdown .kdp-cart-content .kdp-cart-footer {
	grid-template-columns: 1fr;
}

.cart-icon-grid {
    display:grid; grid-template-columns:20px 1fr; grid-gap:5px;
}
.cart-icon-grid > * {
    margin:auto 0px;
}
.cart-icon-grid > .fa:first-child {
    margin-left: 0px;
    font-size:16px;
}
.kdp-cart-item.busy input {
    background-image:url('https://cms-dev7.bureau-ro.nl/_assets/images/button_disabled.png')!important; /*busy.png*/
	animation:buttonbusy 1s infinite linear;
}

@keyframes buttonbusy {
    0%{ background-position:0px 0px; }
    100% { background-position:20px 0px; }
}

@media (max-width:768px){
	.kdp-cart-item table.keyval-table tr {
		display: flex;
	}
	.kdp-cart-item table.keyval-table tr > * {
		width: 100%; 
	}
	.kdp-cart-item table.keyval-table tr:not(.cart-remarks-tr ) > th {
		width: 33%;
		max-width: 100px;
		
	}
	
	.kdp-cart-item table.keyval-table tr.cart-remarks-tr {
		display: flex;
		flex-direction: column;
	}
	.kdp-cart-item  table.keyval-table tr.cart-remarks-tr > th,
	.kdp-cart-item  table.keyval-table tr.cart-remarks-tr > td{
		display:flex;
		width:100%;
	  }

  .kdp-cart-item table.keyval-table tr.cart-remarks-tr textarea{
    width:100%;
   
  }
	.kdp-cart-item *:is(.content-wrapper form input:not(input[type="radio"]):not(input[type="checkbox"]), textarea, select).inline-edit {
		margin-left: -5px!important;	
		padding-left: 3px;
	}
	
}



.kdp-cart-item.is-removing {
	transition: 0.1s ease all;
	filter: grayscale(100%);
	opacity: 0.5;
}
.kdp-cart-item table {
    font-size:10px;
}
.kdp-cart-item-text .group {
    margin-top: 0px!important;
    padding-top: 0px!important;
}

.icon-button-dropdown hr {
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 0px!important;
}
.icon-button-dropdown .kdp-cart-items-wrapper   {
    background-color: #FCFCFC;
}
.icon-button-dropdown .kdp-cart-items-footer   {
    background-color:#FCFCFC;
}
.icon-button-dropdown  .kdp-cart-item:not(:last-child) {
    border-color:#eee;
}
.kdp-cart-item-thumbnail {
    border:1px solid #E7E7E7;
}
.icon-button-dropdown tr[data-spec="files"] {
    display: none!important;
}
.cart-button-shop-further-wrapper {
    padding-bottom: 20px;
}
.card form {
	min-width: 400px;
}

.icon-button-dropdown .kdp-cart-footer {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap:5px;
	margin: 0px!important;
}
.icon-button-dropdown  .kdp-cart-html-button-group {
	margin: 0px!important;
	width: 100%;
}
.icon-button-dropdown .kdp-cart-footer *:is(a, button) {
	white-space: nowrap;
	
}

.icon-button-dropdown  *:is(#printpreviewrequestbutton, #quotationlistbutton){
	display: none!important;
}

/* Keep the Config2026 summary compatible with the existing cart price in the heading. */
.kdp-cart-item-amount-price {
    display: none !important;
}
