.fix {position: relative;}
.shop{
	display: grid; 
	padding: 5px 10px;
	padding-bottom: 90px;
}
.fix_h {
	position: absolute; 
	bottom: 0; 
	margin: 5px 10px;
}
.add-shop {
	color: #fff;
	background-color: #DC2020;
	border-color: #dc202000;
	padding: 8px 10px;
	font-size: 14px;
	line-height: 1.5;
	margin-top: 5px;
	border-radius: 4px;
	width: 100%;
	margin: 5px 0;
	cursor: pointer;
}

.form-num {
	padding: 0 5px;
	border: 1px solid #C4CCCE;
	border-radius: 3px !important;
	box-shadow: none;
	font-size: 14px;
	height: 35px;
	width: 100%;
	line-height: 1.5;
}

.detail-shop span {
	font-size: 13px;
	font-weight: normal;
}

.product_name {
	margin: 0px 0px 20px 0;
	padding: 10px;
	background: #f5f5f5;
	border: 1px solid #d9d9d9;
	font-size: 20px;
	display: flex;
	line-height: 26px;
}
.product_name span {
	border: 2px solid #d90000;
	margin-right: 10px;
}

.value-0 {
	pointer-events: none;
	background: #808080;
	color: #fff;
	border-color: #dc202000;
	padding: 8px 10px;
	font-size: 14px;
	line-height: 1.5;
	margin-top: 5px;
	border-radius: 4px;
	width: 100%;
	margin: 5px 0;
}

.i-overlay .overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	-webkit-transition: all 0.4s ease-in-out 0s;
	-moz-transition: all 0.4s ease-in-out 0s;
	transition: all 0.4s ease-in-out 0s;
	background: rgba(0,0,0,0.7);
}
.i-overlay {
	position: relative;
	margin: auto;
	overflow: hidden;
}
.i-overlay:hover .overlay {
	opacity: 1;
}

.i-overlay:hover .overlay:after, .i-overlay:hover .overlay .active:after{
	content: 'ดูรายละเอียดเพิ่มเติมคลิก';
	color: white;
	font-size: 20px;
	line-height: 35px;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
}

.bread-crumb{
	border-bottom:1px solid #ccc;
	padding: 5px 0;
	margin-bottom: 20px;
}
.product-price{
	width: 100%;
	text-align: center;
	margin-top: 20px;
}
.product-price th, .product-price td{
	padding:5px 0;
}

.product-price tr{
	border-top: 1px solid #ccc;
}

.product-price tr:first-child{
	background: #ccc;
}

.txt-show span {
	font-size: 16px;
	margin-bottom: 0px;
	display: block;
	color: #dc3545;
	font-weight: bold;
}


@media (max-width: 425px){
	.shop {
		padding: 3px;
		display: block;
		padding-bottom: 85px;
	}
	.detail-shop{
		font-size: 13px;
		font-weight: bold;
	}
	.form-num{
		width: 100%;
	}
	.add-shop{
		width: 100%;
	}
	.i-overlay:hover .overlay:after, .i-overlay:hover .overlay .active:after{
		font-size: 18px!important;
		line-height: 30px!important;
	}
	.fix_h {margin: 0 3px;}
}

@media (max-width: 375px){
	.i-overlay:hover .overlay:after, .i-overlay:hover .overlay .active:after{
		font-size: 14px!important;
		line-height: 22px!important;
	}
}


/* Shopping Cart */
.hide{display: none;}
.shop-cart {
	position: fixed;
	top: 240px;
	right: 0;
	z-index: 1;
	margin: 0 -86px 0 0;
	line-height: 0;
}
.shop-cart a:hover {
	display: block;
	padding: 0 86px 0 0;
}
@media (max-width: 1024px){
	.hide{display:inline;}
	.shop-cart{display: none;}
}

/* Shop Crat */
.list-product{
	width: 100%;
	text-align: center;
}
.list-product tr:first-child{
	background: #c12222;
	color: #fff;
}

.list-product td {
	border: 1px solid #ccc;
	padding: 5px 8px;
}

textarea {
	width: 100%!important;
}

input[type=text], input[type=email] {
	font-size: 16;
}

.back-step{
	color: #fff;	
	background-color: #DC2020;
	border-color: #dc2020;
	padding: 6px 10px;
	font-size: 16px;
	line-height: 1.5;
	margin-top: 5px;
	border-radius: 4px;
	width: 86px;
	margin: 5px 0;
	cursor: pointer;
	font-family: 'Prompt', sans-serif;
}

.next-step{
	color: #fff;
	background-color: #4CAF50;
	border-color: #489440;
	padding: 6px 10px;
	font-size: 16px;
	line-height: 1.5;
	margin-top: 5px;
	border-radius: 4px;
	width: 86px;
	margin: 5px 0;
	cursor: pointer;
	font-family: 'Prompt', sans-serif;
}

.button{
	font-family: 'Prompt', sans-serif;
}

.progress-shop {
	counter-reset: step;
	display: -ms-flexbox;
	display: flex;
}

.progress-shop li {
	list-style: none;
	float: left;
	position: relative;
	text-align: center;
	width: 33.3%;
}

.progress-shop .step div {
	font-size: 26px;
	display: block;
	margin-top: 15px;
}

.progress-shop .step {
	width: 55px;
	height: 55px;
	border: 2px solid #666;
	border-radius: 100%;
	margin: auto;
	margin-top: -20px;
	background: white;
	user-select: none;
}

.progress-shop li:before {
	content: '';
	counter-increment: step;
	display: block;
	color: white;
	margin: 20px auto 0;
}

.progress-shop li:after {
	content: "";
	position: absolute;
	width: 100%;
	height: 3px;
	background: #666;
	top: 25px;
	left: -50%;
	z-index: -1;
}

.progress-shop li:first-child:after {
	content: none;
}

.progress-shop .complete:before {
	border-color: #b2372b;
	background: #b2372b;
}

.progress-shop li.complete + li:after {
	background: #b2372b;
}

.progress-shop .complete .step{
	background: #b2372b;
	border: 2px solid #b2372b;
	color: #ffffff;
}

.back-step:active, .back-step:hover, .back-step:focus{
	outline: none;
	background-color: #d85353;
	border-color: #DC2020;
} 

.next-step:active, .next-step:hover, .next-step:focus {
	outline: none;
	background-color: #489440;
	border-color: #4CAF50;
}

@media (max-width: 768px){
	.progress-shop .step {
		margin-top: -10px;
		width: 30px;
		height: 30px;
	}
	.progress-shop .step div {
		font-size: 18px;
		margin-top: 4px;
	}
}


.list-product tr:first-child{
	text-align: left;
	padding: 10px;
}

input#code-shop{
	padding: 5px 20px;
	box-sizing: border-box;
	border: 3px solid #ccc;
	-webkit-transition: 0.5s;
	transition: 0.5s;
	outline: none;
	border-radius: 0px;
	width: 40%;
	margin-right: 10px;
	text-align: center;
	height: 35px;
}

@media (max-width: 425px){
	input#code-shop{
		width: 57%;
	}
	.list-product {
		font-size: 14px;
	}
	textarea {
		font-size: 14px;
		padding: 5px 10px;
	}

	input[type=text], input[type=email] {
		font-size: 14px;
		padding: 5px 10px;
	}
}
@media (max-width: 375px){
	.list-product {
		font-size: 13px;
	}
}