﻿#showbig {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #fff;
    z-index: 999;
    display: none;
}

#showbig .pic {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    text-align: center;
}

#showbig .pic img {
    height: 100%;
    max-width: 100%;
    text-align: center;
}

#showbig .close {
    position: absolute;
    width: 50px;
    height: 50px;
    right: 20px;
    top: 20px;
    background: url(../images/close.png) center center no-repeat;
}

#showbig .info {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 10;
    text-align: right;
}

.close-button {
    width: 30px;
    height: 25px;
    padding-top: 3px;
    padding-right: 1px;
    text-align: center;
    border-radius: 5px;
    border: 1px solid #ccc;
    cursor: pointer;
    font-size: 18px;
    position: absolute;
    right: 20px;
    top: 20px;
}

.product_img {
    max-height: 365px !important;
}

.goods-items .item-info .item{
	position: relative;
    z-index: 1;
    transition: all .3s;
    background-position: center;
}

.goods-items .item-info .item::before {
	width: 100%;
	height: 100%;
	background: #000000;
	top: 0;
	left: 0;
	content: "";
	position: absolute;
	z-index: 0;
	transition: all .3s;
	opacity: 0.6;
	visibility: hidden;
	transform: scale(0);
}

.goods-items .item-info .item:hover::before {
	opacity: 0.5;
	visibility: visible;
	transform: scale(1);
}

.goods-items .item-info .item:hover .goods-desc {
	opacity: 1;
	visibility: visible;
	height: 100%;
	/*display: flex;*/
}

.goods-items .item-info .item .goods-desc {
	position: absolute;
	opacity: 1;
	visibility: hidden;
	transition: all .3s;
	background:url('../picture/logo_w.png') no-repeat center center;

   	background-size:94px 62px;
   	display: flex;
   	flex-direction:column;
   	justify-content: flex-end;
}

.goods-items .item-info .item .goods-desc a,.goods-items .item-info .item .goods-desc p {
	text-align: center;
	color: #ffffff;
}

.goods-items .item-info .item .goods-desc p.desc{
	margin: 10px;
	padding: 5px;
	background: #282828;
	opacity: 0.8;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3; 
	overflow: hidden;
	transition: all .6s;
	visibility: hidden;
	transform: scale(0);
}

.goods-items .item-info .item:hover .goods-desc p.desc {
	visibility: visible;
	transform: scale(1);
}
