
.b2b-results{
  width:100%;
  overflow-y: visible;
  overflow-x: auto;
  margin-top: -20px;

  @media (max-width:669px){
  	padding: 0 5px;
}
  
}
.b2b-results_order{
  width:100%;
  padding: 10px 20px;
  border-top: 2px solid var(--border-default);
  @media (max-width:669px){
  	padding: 5px 5px;
	}
}
  
.b2b-results__header, .b2b-results__row{
  display:flex;
  align-items:center;
  gap:12px;
  padding:8px 20px;
  border-bottom: 2px solid rgba(0,0,0,0.06);
  min-width: 650px;
}
.b2b-results__row{
	height: 100px;
	background: var(--bg-input);
}

.b2b-results__header{
  background:var(--bg-surface-light);
  font-weight:600;
  color: var(--color-old-blue);
  border-radius: 6px;
}
.b2b-results__cell{
	display: flex;
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	flex-direction: column;
	align-items: start;
}
.cell_size{
	min-width: 150px;
}
.cell_brand{
	min-width: 150px;
}
.cell_ean{
	min-width: 140px;
}


.cell_order{
	max-width: 120px;
}
.cell_img{
	max-width: 45px;
}
.cell_img img{
	height:55px;
	width:auto;
	cursor:pointer;
}



.cell_days{
	max-width: 120px;
	align-items: center;
	color: var(--color-old-blue);
}


.cell_amount {
	max-width: 120px;
	align-items: center;
	
}
.cell_amount_res {
	max-width: 120px;
	align-items: center;
	justify-content: center;
	flex-direction: row;
}

.cell_tttl, .cell_num{
	max-width: 50px;
	align-items: center;
}

.cell_kg{
	max-width: 80px;
	align-items: center;
}

.cell_price{
	max-width: 200px;
	align-items: center;
	
}
.cell_time, .cell_status, .cell_download{
	min-width: 120px;
	align-items: center;
}
.cell_client {
	min-width: 100px;
	align-items: center;
}
.cell_tamount, .cell_b2bname{
	min-width: 140px;
	align-items: center;
	}


.b2b-results__body{
 min-width: 650px;
}
.season_icon{
	display: inline-block;
	width: 20px;
	color: black;
	vertical-align: middle;
	margin-left: 5px;
	margin-top: -3px;
}

.gross{
	color: var(--black, #0A0A0A);
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 18px;
}
.netto{
	color: var(--color-secaondary-grey);
	font-size: 20px;
	font-style: normal;
	font-weight: 600;
	line-height: 24px;
}
.sort{
	color:var(--color-old-blue);
}
.cell_ean_block{
	display: flex;
	padding-top: 4px;
	flex-direction: row;
	justify-content: center;
	align-items: flex-start;
	gap: 4px;
}

.cell_ean_text{
	color: var(--Grey-labels-hover, #6B7280);
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
}

/* EAN value inside the size cell — toggled via the .show-ean class on .b2b-results */
.cell_ean_value {
	display: none;
	font-size: 16px;
	color: var(--Grey-labels-hover, #6B7280);
	margin-top: 2px;
}

.b2b-results.show-ean .cell_ean_value {
	display: block;
}

/* Checkbox styling — uses the project SVG icons for each state */
.cell_ean_checkbox {
	width: 16px;
	height: 16px;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	cursor: pointer;
	border: 0;
	border-radius: 0;
	background-color: transparent;
	background-image: url("/s/images/new/checkbox_default.svg");
	background-size: 100% 100%;
	background-position: center;
	background-repeat: no-repeat;
	padding: 0;
	margin: 4px 0 0 0;
}

.cell_ean_checkbox:not(:checked) {
	background-image: url("/s/images/new/checkbox_default.svg");
}

.cell_ean_checkbox:not(:checked):hover {
	background-image: url("/s/images/new/checkbox_hover.svg");
}

.cell_ean_checkbox:checked,
.cell_ean_checkbox:checked:hover {
	background-image: url("/s/images/new/checkbox_pressed.svg");
}

@media (max-width:1039px){
  .b2b-results__header, .b2b-results__row{
		gap:8px;
		padding:6px 8px;
		font-size: 14px;
		font-weight: 500;
	}
	.cell_ean_value {
		font-size: 12px;
	}
	.gross{
		font-size: 12px;
	
	}
	.netto{
		font-size: 14px;

	}
}

/* pagination bar (design: Figma node 3995:161159) */
.b2b-pagination {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 12px 24px;
	background: var(--bg-surface-light);
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	font-size: 14px;
	line-height: 18px;
	max-width: 1280px;
	margin: 0 auto;
}
.b2b-pagination__group {
	display: flex;
	align-items: center;
	gap: 8px;
}
.b2b-pagination__nav {
	gap: 4px;
}
.b2b-pagination__label,
.b2b-pagination__count {
	color: var(--color-secondary-black, #323744);
}
.b2b-pagination__count {
	white-space: nowrap;
}
.b2b-pagination__size,
.b2b-pagination__btn {
	box-sizing: border-box;
	min-width: 28px;
	padding: 5px 8px;
	border: 1px solid transparent; /* keeps borderless Prev/Next aligned with boxed buttons */
	border-radius: 4px;
	background: transparent;
	color: var(--color-secondary-black, #323744);
	font: inherit;
	font-size: 14px;
	line-height: 18px;
	text-align: center;
	cursor: pointer;
	white-space: nowrap;
}
.b2b-pagination__size {
	border-color: var(--border-surface); /* page-size options are outlined */
}
.b2b-pagination__size.is-active,
.b2b-pagination__page.is-active {
	background: var(--hover-grey, #eaeaea);
	border-color: var(--text-default);
}
.b2b-pagination__btn[disabled] {
	opacity: 0.4;
	cursor: default;
}
@media (max-width: 669px) {
	.b2b-pagination {
		margin: 12px 0 0;
		padding: 12px;
		flex-wrap: wrap;
		gap: 8px 12px;
		border-radius: 12px;
		justify-content: center;
	}
	.b2b-pagination__group{
		flex-wrap: wrap;
		justify-content: center;
		gap: 6px 8px;
	}
	.b2b-pagination__nav{
		gap: 4px;
		width: 100%;
		justify-content: center;
	}
	.b2b-pagination__count{
		flex-basis: 100%;
		text-align: center;
	}
}
