﻿/* Grid layout  */
.grid {
	display: grid;
	grid-gap: 30px;
	grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
	grid-auto-rows: 150px;
	grid-auto-flow: row dense;
	line-height: 20px;
	
}
/* Items  */
.item {
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-pack: end;
	-ms-flex-pack: end;
	justify-content: flex-end;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	background: #0c9a9a;
	color: #fff;
	grid-column-start: auto;
	grid-row-start: auto;
	color: #fff;
}
.item{
	background: url("https://visipri.com/products/img/junbichu.webp");
	-webkit-box-shadow: -2px 2px 10px 0px rgba(68, 68, 68, 0.4);
	box-shadow: -2px 2px 10px 0px rgba(68, 68, 68, 0.4);
	-webkit-transition: -webkit-transform 0.3s ease-in-out;
	transition: -webkit-transform 0.3s ease-in-out;
	transition: transform 0.3s ease-in-out;
	transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
	cursor: pointer;
	counter-increment: item-counter;
	border-bottom: 3px solid rgba(0,144,255,0.8);
	height:330px;
}
/* End item */

.item_a_range{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1;}

/* categories || Examples Action, Romance, New, And Popular Today */
.item span {color:#fff;width: auto;border:2px solid #000;margin: 20PX;z-index:5;padding: 7px;background:linear-gradient(to right, #ff706b, #f6af4f);border-radius: 4px;display:inline-block;position: absolute;top: -7px;left: -4px;}

.shohin1 {
	background: url("https://visipri.com/photo_panel/img2/woodp1_500px.webp");
	grid-row-end: span 2;
	background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
	color:#000;
}

.shohin2{
	background-image: url("https://visipri.com/products/tapestry/img/wood_500px.webp");
	color:#000;
	grid-row-end: span 2;
	background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.shohin3{
	background-image: url("https://visipri.com/img/top_poster_pr500x500.webp");
	color:#000;
	grid-row-end: span 2;
	background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.item:after {content: '';position: absolute;width: 100%;height: 100%;background-color: black;opacity: 0.5;-webkit-transition: opacity 0.3s ease-in-out;transition: opacity 0.3s ease-in-out;}

.item:hover {
	-webkit-transform: scale(1.05);
	transform: scale(1.05);
}

.item:hover:after {
	opacity: 0;
}

.details {
	position: relative;
	z-index: 1;
	padding: 15px;
	background: #fff;
	text-transform: lowercase;
	letter-spacing: 1px;
	color: #000;
}

.details:before {
	font-weight: bold;
	font-size: 1.1rem;
	padding-right: 0.5em;
	color: #000;
}