ul.amz-lst {
	container-type: inline-size;
  	container-name: amzlst;
	display:block;
	width:100%;
	position:relative;
	margin:10px 0;
	padding:0;
}

li.amz-lst-item {
	display:inline-block;
	width:25%;
	margin:0;
	padding:0;
}

@container amzlst (max-width: 860px) {
	li.amz-lst-item {
		width:33.33%;
	}
}
@container amzlst (max-width: 700px) {
	li.amz-lst-item {
		width:50%;
	}
}
@container amzlst (max-width: 525px) {
	li.amz-lst-item {
		width:100%;
	}
}

li.amz-lst-item a {
	display:block;
	margin:10px;
	padding:10px;
	border:1px solid #eaeaea;
	text-decoration:none;
	font-size: 0.8em;
	position:relative;
	box-shadow: 0 0.5rem 1.2rem rgba(0,0,0,.2);
	border-radius:5px;
}

li.amz-lst-item a:hover {
	box-shadow: 0 0.5rem 1.3rem rgba(0,0,0,.3);
}

li.amz-lst-item .amz-lst-item-img {
	height:160px;
	text-align:center;
    white-space: nowrap;
	display:block;
	margin-bottom:10px;
}

li.amz-lst-item .amz-lst-item-img i {
	display:inline-block;
	height:100%;
	vertical-align:middle
}

li.amz-lst-item img {
	display:inline-block;
	vertical-align:middle
}

li.amz-lst-item .amz-lst-item-sales {
	display:block;
	position:absolute;
	right:4px;
	top:4px;
	text-transform: uppercase;
	color:white;
	background-color:#27ae60;
	font-size:0.75em;
	padding:2px 8px;
}

li.amz-lst-item a span.amz-lst-item-title {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	color:#000000;
	padding:0 5px;
}

li.amz-lst-item a span.amz-lst-item-title.lines3 {
	-webkit-line-clamp: 3;
}

li.amz-lst-item a span.amz-lst-item-title.lines4 {
	-webkit-line-clamp: 4;
}

li.amz-lst-item a:hover span.amz-lst-item-title {
	color: var(--wp--preset--color--secondary);
}

li.amz-lst-item div.amz-lst-item-prices {
	display:block;
	text-align:right;
	color: grey;
	font-size:0.9em;
	margin:0 5px 5px 5px;
}

li.amz-lst-item div.amz-lst-item-prices span.amz-lst-item-price {
	display:inline-block;
	margin-right:8px;
    text-decoration: line-through;
}

li.amz-lst-item div.amz-lst-item-prices span.amz-lst-item-sale-price {
	font-size: 1.5em;
	display:inline-block;
	color: black;
	font-weight:400;
}

li.amz-lst-item a span.amz-lst-item-btn {
	margin: 8px auto 0;
    display: block;
    padding: 5px 0;
    font-size: 0.8em;
    color: #000000;
    text-decoration: none;
    padding: 4px 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
	text-align:center;
	background: #FFD814;
    border-color: #FCD200;
}

li.amz-lst-item a:hover span.amz-lst-item-btn {
	text-decoration:none !important;
    background: #F7CA00;
    border-color: #F2C200;
}

.jwp-gallery {
	container-type: inline-size;
  	container-name: jwpgallery;	
	display:block;
	width:100%;
	position:relative;
}

.jwp-gallery .gallery-item {
	display:inline-block;
	padding-top: 1em;
	min-height:200px;
	vertical-align:top;
	line-height: 0;
}

.jwp-gallery.items-per-line-4 .gallery-item {
	width:25%;
}
.jwp-gallery.items-per-line-3 .gallery-item {
	width:33.33%;
}

.jwp-gallery .gallery-item a {
	text-decoration:none;
	display: block;
	vertical-align:top;
    margin: 10px;
}
.jwp-gallery .gallery-item a:hover {
}
.jwp-gallery .gallery-item a h3 {
	font-size: var(--wp--preset--font-size--medium);
	text-align: center;
	margin: 0;
	margin: 8px 0 0 0;
	font-size: 1em;
	color:black;
	font-weight: 700;
}
.jwp-gallery .gallery-item a:hover h3 {
	color: var(--wp--preset--color--secondary);
}
.jwp-gallery .gallery-item .imgblock {
	display:block;
    width: 100%;
    height: auto;
	overflow:hidden;
}
.jwp-gallery .gallery-item img {
    width: 100%;
    height: 100%;
	transition: all .5s ease;
	filter: brightness(95%);
}
.jwp-gallery .gallery-item a:hover img {
	transform: scale(1.2);
	filter: none;
}
.jwp-gallery .gallery-item .noimg {
	aspect-ratio: 2;
    border: none;
	display:block;
}

.jwp-gallery .gallery-item div.gallery-item-desc {
	line-height: 1;
	font-size: 0.75em;
	margin: 10px;
	text-align:center;
	color:#555;
}

@container jwpgallery (max-width: 860px) {
	.jwp-gallery.items-per-line-4 .gallery-item {
		width:33.33%;
	}
	.jwp-gallery.items-per-line-3 .gallery-item {
		width:33.33%;
	}
}
@container jwpgallery (max-width: 700px) {
	.jwp-gallery.items-per-line-4 .gallery-item {
		width:50%;
	}
	.jwp-gallery.items-per-line-3 .gallery-item {
		width:50%;
	}
}
@container jwpgallery (max-width: 525px) {
	.jwp-gallery.items-per-line-4 .gallery-item {
		width:100%;
		padding-top: 0;
	}
	.jwp-gallery.items-per-line-3 .gallery-item {
		width:100%;
	}
	
	.jwp-gallery .gallery-item img {
		filter: brightness(75%);
	}
	
	.jwp-gallery .gallery-item a {
		position:relative;
		margin:0 0 5px 0;
	}
	
	.jwp-gallery .gallery-item a:hover h3 {
		color: white;
	}
	
	.jwp-gallery .gallery-item a h3 {
	    position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		color: white;
		text-align: center;
		font-size: 1.4em;
		font-weight:600;
		margin: 0 0.5em 15px;
		text-shadow: 2px 2px 10px #000000;
	}
	
}