@media all 
{
	#searchbox
	{
		display: none;
		position: absolute;
		margin-top: 20px;
		width: 1300px;
		z-index: 1000;
		background-color: #fff;
		box-shadow: 1px 1px 10px rgba(0,0,0,0.5);
		border-top: 8px solid #c20017;
	}

	#searchbox::before 
	{
		content: "";
		position: absolute;
		top: -16px;
		left: 40px;
		background: transparent;
		border-left: 10px solid transparent;
		border-right: 10px solid transparent;
		border-bottom: 8px solid #c20017;
	}

	.sbx
	{
		position: relative;				
		width: 100%;
		max-height: 700px;
		overflow: auto;		
		font-size: 14px;
		background-color: #fff;
	}

	.sbx-close
	{
		position: absolute;
		top: 15px;
		right: 15px;
		font-size: 18px;
		cursor: pointer;
		width: 24px;
		height: 24px;
		background-image: url(../img/icons/icon-close.svg);
		background-size: cover;
		background-position: center center;
		
	}

	.sbx-cols
	{
		display: flex;
		justify-content: space-between;
	}

	.sbx-cols > div
	{
		flex: 1;
		padding: 20px;
	}

	.sbx-cols > div.sbx-col-side
	{
		background-color: #eee;
		max-width: 250px;
		border-right: 1px solid #ddd;
	}

	.sbx-cols > div.sbx-col-top
	{
		border-right: 1px solid #ddd;
		max-width: 250px;
	}

	.sbx .sbx-products a
	{
		text-decoration: none;		
	}

	.sbx h2
	{
		margin: 0;
		padding: 0;
		margin-bottom: 5px;
		font-size: 16px;
		line-height: auto;
	}

	.sbx ul
	{
		list-style: none;
		padding: 0;
		margin: 0;
		margin-bottom: 20px;
	}

	.sbx ul:last-child
	{
		margin-bottom: 0;
	}

	.sbx ul li
	{
		padding: 0;
	}

	.sbx ul li a
	{
		display: block;
		padding: 2px 0;
		text-decoration: none;
		font-size: 14px;
	}

	.sbx .link-go
	{
		font-weight: bold;
		letter-spacing: -0.5px;
	}

	.sbx .sbx-products
	{
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
	}

	.sbx .sbx-products > .sbx-product
	{
		width: calc(33.33% - 10px);
		display: flex;
		gap: 16px;
		align-items: center;
		padding: 10px;
	}

	.sbx .sbx-products > .sbx-product:hover
	{
		background-color: #eee;
	}

	.sbx .sbx-products > .sbx-product .col-image
	{
		min-width: 35%;
		max-width: 35%;
	}	

	.sbx .sbx-products > .sbx-product .col-image img
	{
		width: 100%;
		height: auto;
		aspect-ratio: 1/1;
		object-fit: contain;
	}

	.sbx .sbx-products > .sbx-product .prop-name
	{
		font-size: 14px;
		font-weight: normal;
		line-height: 17px;
		margin: 0;
		margin-bottom: 5px;
		color: #000;
	}

	.sbx .sbx-products > .sbx-product .prop-price
	{
		font-weight: bold;
	}

	.sbx .sbx-products.top > .sbx-product
	{
		flex-direction: column;
		width: 100%;
	}

	.sbx .sbx-products.top > .sbx-product .col-image
	{
		min-width: 100%;
		max-width: 100%;
		margin-bottom: 10px;
	}

	.sbx .sbx-products.top > .sbx-product .col-image img
	{
		aspect-ratio: inherit;
		max-height: 220px;
	}

	.sbx .sbx-products.top > .sbx-product .prop-name
	{
		font-size: 17px;
		line-height: 22px;
		margin-bottom: 10px;
	}

	.sbx .sbx-products.top > .sbx-product .prop-price
	{
		font-size: 22px;
	}

	.sbx .sbx-footer
	{
		text-align: center;
		margin-top: 15px;
		padding-top: 25px;
		font-size: 12px;
		color: #999;
		border-top: 1px solid #ddd;
	}


	.sbx-search
	{
		position: relative;
		max-width: 600px;
		margin: auto;
		padding: 20px;
	}

}

@media (max-width: 1400px)
{
	.sbx .sbx-products > .sbx-product
	{
		width: calc(50% - 10px);
	}
}

@media (max-width: 1100px)
{
	.sbx .sbx-products > .sbx-product
	{
		width: calc(100%);
	}
}

@media (max-width: 991px)
{
	#searchbox
	{
		left: 15px !important;
		max-width: calc(100% - 30px) !important;
	}

	.sbx .sbx-products > .sbx-product
	{
		width: calc(50% - 10px);
	}
}

@media (max-width: 768px)
{
	#searchbox
	{
		width: auto;
		max-width: 400px;
		position: fixed;
		top: 140px;
		left: 15px;
		right: 15px;
		bottom: 15px;
	}

	.compact #searchbox
	{
		top: 104px;
	}

	.sbx
	{
		max-height: none;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;	
		overflow: auto;	
	}

	.sbx-cols
	{
		flex-direction: column;
	}

	.sbx-cols > div.sbx-col-side,
	.sbx-cols > div.sbx-col-top
	{
		max-width: none;
	}

	.sbx .sbx-products > .sbx-product
	{
		width: 100%;
	}

	.sbx .sbx-products > .sbx-product .col-image
	{
		min-width: 80px;
		max-width: 80px;
	}
}