/* 260406 */
html, body{
   --itembox-per-row: 4;
   --fullscreen-width: calc(100vw);
   --itembox-width: calc(50%);
}
.item-grid, .item-box, .gallery-container {
	--fullgrid-width: calc(var(--fullscreen-width)*0.9);
	--itemgrid-width: calc(var(--fullgrid-width)*1.0);
	--itembox-width: calc(var(--fullgrid-width)*0.40);
}
/* ITEM GRID */
.item-grid:after {
	content: "";
	display: block;
	clear: both;
}

/* ITEM BOX START */
.item-box {
	position: relative;
	/*260407 add min-width*/
	/*not mobile min-width: calc(var(--itembox-width)) !important;*/
	width: 100%;
	float: left;
	margin: 0 0 80px;
	text-align: left;
}

	.item-box .picture {
		z-index: 1;
		/* 260314 background-color:. #fff; */
		margin: 0 0 20px;
	}

		.item-box .picture a {
			display: block;
			position: relative;
		}

			.item-box .picture a:focus {
				opacity: 0.85;
			}

			.item-box .picture a:before {
				content: "";
				display: block;
				padding-top: 100%;
			}

			.item-box .picture a img {
				position: absolute;
				top: 0;
				right: 0;
				bottom: 0;
				left: 0;
				max-width: 100%;
				max-height: 100%;
				margin: auto;
				-webkit-transition: all 0.3s ease;
				transition: all 0.3s ease;
				-webkit-transform: translateZ(0) scale(1.0, 1.0);
			}

	.item-box:hover .picture a img {
		opacity: 0.85;
	}

	.item-box .details {
		padding: 0 10px;
	}

		.item-box .details div {
			/* 260324 */
			/*background-color: #3c3c3c;*/
			/*border-radius: 0px 0px 5px 5px;*/
		}

	.item-box .product-title {
		margin: 0 0 10px;
		font-size: 17px;
		line-height: 1.2;
		font-weight: normal;
		color: var(--baufire-orange);
	}

		.item-box .product-title a {
			display: block;
		}

			.item-box .product-title a:hover,
			.item-box .product-title a:focus {
				color: #248ece;
			}

	.item-box .sku {
		margin: 0 0 15px;
	}

	.item-box .product-rating-box {
		display: inline-block;
		margin: 0 0 10px;
	}

	.item-box .rating {
		background: url('../images/rating1.png') repeat-x;
		width: 95px;
		height: 14px;
	}

		.item-box .rating div {
			background: url('../images/rating2.png') repeat-x;
			height: 14px;
		}

.product-grid .item-box .description:not([data-short-description]) {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	margin: 0 0 15px;
	/* 260329 height: 66px; */
	/* 260329 line-height: 22px; */
}

.item-box .description[data-short-description] {
	display: none;
}

.item-box .description a {
	display: block;
	overflow: hidden;
}

.item-box .prices {
	margin: 0 0 10px;
	overflow: hidden;
}

.item-box .old-price {
	margin: 0 5px 0 0;
	font-size: 16px;
	color: #aaa;
	text-decoration: line-through;
}

.item-box .actual-price {
	margin: 0 5px 0 0;
	font-size: 16px;
	/* 260324  color: #666; */
}

.item-box .tax-shipping-info a {
	color: var(--baufire-orange);
}

	.item-box .tax-shipping-info a:hover,
	.item-box .tax-shipping-info a:focus {
		text-decoration: underline;
	}

.item-box .buttons {
	margin: 0;
	font-size: 0;
}

.item-box button {
	display: inline-block;
	height: 40px;
	border: none;
	vertical-align: middle;
}

.item-box .product-box-add-to-cart-button {
	width: 60%;
	background-color: var(--baufire-orange);
	text-align: center;
	font-size: 15px;
	color: #fff;
	text-transform: uppercase;
}

	.item-box .product-box-add-to-cart-button:hover,
	.item-box .product-box-add-to-cart-button:focus {
		/* 260322 background-color: #248ece; */
	}

.item-box .add-to-compare-list-button,
.item-box .add-to-wishlist-button {
	width: 20%;
	border-left: 1px solid #fff !important;
	background-color: #eaeaea;
	background-position: center;
	background-repeat: no-repeat;
	font-size: 0;
}

.item-box .add-to-compare-list-button {
	background-image: url('../images/compare-button.png');
}

.item-box .add-to-wishlist-button {
	background-image: url('../images/wishlist-button.png');
}

	.item-box .add-to-compare-list-button:hover,
	.item-box .add-to-compare-list-button:focus,
	.item-box .add-to-wishlist-button:hover,
	.item-box .add-to-wishlist-button:focus {
		background-color: #ddd;
	}

/* ITEM BOX END */
/*media all (min-width: 576px)*/

	.item-box {
		width: 32.33333%;
		margin: 0 0.5% 50px;
	}

	.product-list .item-box {
		float: none;
		width: auto;
		margin: 0 5px 20px;
	}

		.product-list .item-box .product-item:after {
			content: "";
			display: block;
			clear: both;
		}

		.product-list .item-box .picture {
			float: left;
			width: 220px;
		}

		.product-list .item-box:hover .picture a img,
		.product-list .item-box:focus .picture a img {
			opacity: 1;
		}

		.product-list .item-box .picture:hover a img,
		.product-list .item-box .picture:focus a img {
			opacity: 0.85;
		}

		.product-list .item-box .picture + .details {
			margin: 0 0 0 240px;
		}

		.product-list .item-box .product-title {
			height: auto;
			padding: 10px 0;
			font-size: 18px;
		}

		.product-list .item-box .description {
			display: block;
			margin: 0 0 10px;
			line-height: 22px;
		}

		.product-list .item-box .prices {
			height: auto;
			margin: 0 0 30px;
		}

		.product-list .item-box .buttons {
		}

		.product-list .item-box .product-box-add-to-cart-button {
			width: auto;
			min-width: 150px;
			padding: 0 20px;
		}

		.product-list .item-box .add-to-compare-list-button,
		.product-list .item-box .add-to-wishlist-button {
			width: 42px;
		}
	.item-box .buttons {
		text-align: left;
	}

	.home-page .product-grid .item-box
    {
		width: 24%;
		margin: 0 0.5% 50px;
	}
@media (min-width: 769px) {
	/*
		.item-box:nth-child(2n+1) {
			clear: none;
		}

	.item-box:nth-child(3n+1) {
		clear: both;
	}
	*/

	.home-page .product-grid .item-box:nth-child(3n+1) {
		clear: none;
	}
	
	.home-page .product-grid .item-box:nth-child(4n+1) {
		clear: both;
	}
	
}
	.product-box-picture {
		/*background-color: #0000ccFF !important;*/
		position: relative;
		z-index: 1;
		max-height: 100% !important;
		width: 100% !important;
		/*height: calc(10vw) !important;*/
		/* 260314 background-color:. #fff; */
		/*margin: 0 0 20px;*/
	}

	.grid-item-w-100 {
		/* 260406 very important, for as long as .product-box is the top element */
		width: 100% !important;
	}

	.grid-item-h-100 {
		height: 100% !important;
	}

	.grid-item-wh-100 {
		/* 260406 very important, for as long as .product-box is the top element */
		width: 100% !important;
		height: 100% !important;
	}

	.grid-item-w-fit {
		width: fit-content !important;
	}

	.grid-item-min-h-100 {
		min-height: 100% !important;
	}

	.item-grid-container {
		position: relative !important;
		/*flex-direction: row !important; */
		/*max-width: calc(50%) !important;*/
		/*width: calc(50%) !important;*/
		/* width: 100% !important;*/
		width: calc(var(--fullgrid-width)) !important;
		/* 260406 */
		/* overflow-wrap: break-word; */
		/* overflow-x: scroll !important; */
		overflow: hidden !important;
		/*overflow-x: hidden !important;*/
		/*overflow-y: hidden !important;*/
		/*flex-wrap: nowrap !important;*/
		/*for list-item-group*/
	}

	.product-grid, .item-grid, .item-box, .item-box-container {
		--itemgrid-width: calc(var(--fullgrid-width)*1.0);
		--itembox-width: calc(var(--fullgrid-width)*0.40);
	}

	.item-box-container {
		/* 260406 1533 */
		display: inherit;
		/*display: inline-block !important;*/
		/* 260404 min-width is important, but save it for later */
		min-width: calc(var(--itembox-width)) !important;
		/* width: calc(25%) !important; */
		/* width: calc(40vw) !important;*/
		width: calc(var(--itembox-width)) !important;
		/* min-height: calc(1vw*20em) !important; */
		/* height: calc(1vw*20em) !important; */
		/* width: var(--card-row-width) !important; */
		/* flex-wrap: nowrap !important;*/
		flex-wrap: wrap !important;
		/*flex-grow: 0 !important;*/
		flex-grow: 1 !important;
		/* 260405 needed to size rows */
		/*height: 100% !important;*/
		float: left;
		clear: none;
	}
		/* 260406 1633*/
		.item-box-container > div {
			max-width: 100% !important;
		}

		.item-box-container:after {
			content: "";
			/*	display: block; */
			clear: both;
		}

	.item-grid-size {
		max-width: calc(95vw) !important;
		/*width: calc(var(--itemgrid-width)) !important;*/
		width: fit-content !important;
		width: -webkit-fit-content !important;
		width: -moz-fit-content !important;
	}

	.item-box-container-w {
		min-width: calc(var(--itembox-width)) !important;
		width: calc(var(--itembox-width)) !important;
	}

	.item-box-clear {
		/* 260406 in list-group, clear: both is very important */
		clear: both;
		/* flex-wrap: wrap !important; */
	}

	@media (max-width: 768px) {
		.home-page .product-grid .item-box,
		.item-box {
			/*min-width: calc(var(--itembox-width)) !important;*/
			min-width: calc(45%) !important;
			/*width: calc(var(--itembox-width)) !important;*/
			width: calc(45%) !important;
		}

		.home-page .product-grid .item-box{
			/*clear: none; */
		}
		.home-page .product-grid .item-box:nth-child(2n+1){
			clear: both;
		}

		/*
			.home-page .product-grid .item-box:nth-child(2n+1),
			.item-box:nth-child(2n+1) {
				clear: both;
				clear: right;
			}
		*/
	}
	/*media max-width 575*/

