/* ==========================================================================
   BASE
   ========================================================================== */
* {
	margin: 0;
	padding: 0;
	outline : none;
}

body { 
	/*position: fixed;*/
	top: 0;
	left: 0;
	right: 0;
	color: #333;
	font-family: "Microsoft JhengHei", Arial, Helvetica, sans-serif;
	font-size: 14px;
	background-color: #FFFFFF;
}

.error_btn {
 	cursor:pointer;
	color: #000;
 	max-width:100%;
 	height: 20px;
 	padding: 0 10px 0 10px;
 	color: #000;
 	background-color: #fff;
 	border: 1px solid #fff;
 	border-radius: 8px;
}

#loading {
	width: 32px;
	height: 32px;
	border: 0;
	position:absolute;
	left:50%;
	top:50%;
	margin-top:-16px;
	margin-left:-16px;
}

#layer, #layer_loading {
	position: fixed;
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;
	background: rgb(0, 0, 0);
	z-index: 99999;
	opacity: 0.9;
	color:#000;
	display:none
}

.layer_content, .layer_content_loading {
	padding: 0 10px 0 10px;
	max-width: 100%;
	max-height: 100px;
	border: 0;
	position:absolute;
	left:0%;
	top:50%;
	/*margin-top:-50px;*/
	/*margin-left:-50px;*/
	text-align: center;
 	border-radius: 8px;
 	left: 50%;
 	transform: translate(-50%, -50%);
 	width: 100%;
}

.layer_content {
 	font-size: 16px;
 	color:#fff;
 	left: 50%;
 	transform: translate(-50%, -50%);
 	width: 100%;
}

#layer button {
 	cursor:pointer;
	color: #000;
 	max-width:100%;
 	height: 20px;
 	padding: 0 10px 0 10px;
 	color: #000;
 	background-color: #ccc;
 	border: 1px solid #ccc;
 	border-radius: 8px;
	font: 400 13px/18px "Ubuntu Condensed",sans-serif;
}

a, button {
	outline : none;
}

#overlay_load {
	position:absolute;
	left:50%;
	top:50%;
	z-index:9999;
}

#overlay {
	position:absolute;
	width:100%;
	height:100%;
	background-color:#000;
	opacity:0.8;
	z-index:9998;
}

img.lazy {
	background-image: url('https://img.teamipe.com/lamkee/lazy.gif');
	background-repeat: no-repeat;
	background-position: 50% 50%;
}

img {
	max-width:100%;
	height: auto;
}

.space2 {
	height: 2px;
}
.space3 {
	height: 3px;
}
.space5 {
	height: 5px;
}
.space10 {
	height: 10px;
}
.space15 {
	height: 15px;
}
.space20 {
	height: 20px;
}
.space30 {
	height: 30px;
}
.space40 {
	height: 40px;
}
.space50 {
	height: 50px;
}
.space80 {
	height: 80px;
}


/* ==========================================================================
   SWIPER
   ========================================================================== */
.swiper-slide img {
	/*max-width:100%;*/
	width:100%;
	height: auto;
	border-radius: 0 0 5px 5px;
}

.swiper-container {
	width: 100%;
	height: 100%;
}

.swiper-slide {
	text-align: center;
	font-size: 18px;
	/* Center slide text vertically */
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}

.swiper-pagination-bullet {
    opacity: 1;
}

.swiper-slide a {
    width: 100%;
    height: auto;
}

:root {
    --swiper-theme-color: #ffffff;
}

/* ==========================================================================
   TEST
   ========================================================================== */
*:focus, img[usemap], map area {
    outline: none;
}

*:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000;
}

a:link {
	color:#000;
	text-decoration:none;
}
a:visited {
	color:#000;
	text-decoration:none;
}
a:hover {
	color:#000;
	text-decoration:none;
}
a:active {
	color:#000;
	text-decoration:none;
}

#page {
    width: 880px;
    margin: auto;
}


/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
    width: 100%;
    position: fixed;
    top: 0px;
    left: 50%;
    height: 40px;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    margin: auto;
    text-align: center;
    background-color: #B02E28;
    z-index: 9999;
}

.header .container {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 800;
    margin: auto;
}

.header .container > div {
    display: flex;
    align-items: center;
    flex-direction: row;
}

.header .container > div:first-child {
    justify-content: flex-start;
    flex: 1 1 0%;
    margin-left: 15px;
}


.header .container > div:last-child {
    justify-content: flex-end;
    /*flex: 1 1 0%;*/
    flex: 50% 50%;
    margin-right: 15px;
}

.header .container i, .icon_Redem {
    padding: 0 5px 0 5px;
}

.header .coupon-info {
    font-size: 12px;
}

#slider {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    vertical-align: middle;
}

.coupon-list {
    position: relative;
    margin: 0 15px 0 15px;
}

.coupon-list img {
    width: 100%;
}

.coupon-usage {
    margin: 0 15px 0 15px;
    text-align: left;
    display: none;
}

.coupon-list .watermark {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px;
    color: #000;
    background: rgba(255, 255, 255, 0.8);
    width: 100%;
    text-align: left;
}

.number-label {
    position: absolute;
    margin-left: 10px;
    margin-top: -25px;
    background: #ee4054;
    width: 18px;
    height: 16.5px;
    font-family: Microsoft JhengHei;
    font-size: 10px;
    transform: scale(0.833);
    line-height: 18px;
    display: block;
    text-align: center;
    color: #fff;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    z-index: 2;
}

.number-label2 {
    margin-left: 5px;
}

/* ==========================================================================
   MENU
   ========================================================================== */
.menu {
    position: fixed;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    font-size: 16px;
    font-weight: 800;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    z-index: 9999;
    display: none;
}

.menu-container {
    width: 100%;
    right: 0;
    left: 0;
    z-index: 9999;
    /*
    visibility: hidden;
    opacity: 0;
    */
    transition: all .2s ease;
}

.menu-container ul {
    height: 40px;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    background-color: #FFF;
    flex-wrap: wrap;
    line-height: 1.4;
    list-style: none;
}

.menu-container li {
    display: block;
    margin-bottom: 0;
    padding: 10px 0 10px 0;
}

.menu-container li a {
    padding: 8px 14px;
    /*display: flex;*/
    align-items: center;
    flex-direction: row;
    padding-right: 10px;
    padding-left: 10px;
    text-transform: uppercase;
}

.menu-container img, .menu-container i {
    display: inline-block;
    width: 34px;
    max-height: 36px;
    margin-top: 0px;
    margin-right: 10px;
}


/* ==========================================================================
   INPUT BOX
   ========================================================================== */
.inputBox {
    position: relative;
    width: 100%;
    height: 20px;
    /*margin:0px auto;*/
}

.popup-content .input_desc {
    text-align: left;
}

.inputBox:last-child {
    margin-bottom: 10px;
}

.inputBox input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border: 1px solid #111;
    background: transparent;
    padding: 0 10px 0 5px;
    box-sizing: border-box;
    outline: none;
    color: #111;
}

.inputBox span {
    position: absolute;
    top: 1px;
    left: 1px;
    padding: 0 10px 0 5px;
    transition: 0.5s;
    pointer-events: none;
}

.inputBox input:focus ~ span,
.inputBox input:valid ~ span {
    transform: translateX(-2px) translateY(-20px);
}

.fa-store {
    cursor: pointer;
}

input[type=radio] {
    vertical-align: middle;
    margin-top: -2px;
}


/* ==========================================================================
   BRAND DROP-DOWN
   ========================================================================== */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 120px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 9999;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

#total_coupon {
    font-size: 14px;
}

/* ==========================================================================
   LOGIN / REGISTER
   ========================================================================== */
#login .content_header-col-1 {
	float: left;
	text-align: left;
	display:inline-block;
}

#login .content_header-col-2 {
	float: right;
	text-align: right;
	display:inline-block;
}

.popup-content {
	max-width: 480px;
	width: 80%;
	padding: 0 0 20px 0;
	margin: auto;
	text-align: center;
	border-radius: 3px;
	box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
	display: none;
}

.popup-content form {
	padding: 0 10% 0 10%;
}

.popup-content .popup-header {
	border-bottom: 1px solid #eee;
	padding: 12px;
}

.popup-content .content_header, .content_save_cookies {
    padding: 0 6% 0 6%;
    text-align: left;
}

#login .content_header {
    height: 18px;
}

.popup-content .input_text {
	/*height: 45px;*/
	text-align: center;
}

.popup-content .input_text div {
	padding: 5px 0 8px 0;
}

.popup-content input[type=text], .popup-content input[type=password] {
	/*width: 90%;*/
	width: 100%;
	height: 20px;
	border: 0;
	outline: 0;
	background:url("https://lamkeehk-assets.imgix.net/arrow.png") no-repeat right top;
	color: #000;
	border-left: 1px solid #000;
	border-bottom: 1px solid #000;
	padding: 0 10px 0 5px;
	/*opacity:0.3;*/
	filter:alpha(opacity=30);
}

.popup-content .btn {
	max-width:100%;
	height: 20px;
	padding: 0 10px 0 10px;
	color: #fff;
	background-color: #ccc;
	border: 1px solid #ccc;
	border-radius: 8px;
	cursor: pointer;
	font-size: 12px;
}

.popup-content .btn:hover {
	background-color: #999;
	border: 1px solid #999;
}

.popup-content .btn_rectangle {
	width:90%;
	height: 20px;
	height: 25px;
	padding: 1px 10px;
	color: #fff;
	border: 0;
	background-color: #141414;
	border-radius: 5px;
	cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.popup-content .btn_rectangle:hover {
    color: #000;
    background-color: #fff;
    border: 1px solid #000;
}

.popup-content .btn_blue_btn {
    background-color: #B02E28;
    font-size: 16px;
    font-weight: bold;
}

#save_cookies {
	text-align: left;
	padding-left: 10px;
	vertical-align: middle;
	margin-top: -3px;
}

/*
@media only screen and (max-width:500px) {
    	#login .content_header-col-2, #login .content_header-col-2 {
		width: 100%;
    	}
    	#login .content_header-col-2 {
		text-align: left;
		padding-top: 10px;
    	}
}
*/

/* ==========================================================================
   CATEGORY
   ========================================================================== */
.category {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 20px;
	padding: 0 10px 0 10px;
}

.category, .category_btn {
	margin: 0 auto;
	text-align: center;
}

.category div div, .swiper_category .swiper-slide div {
	color: #2d2a2a;
	font-size: 14px;
	font-weight: 600;
	margin-top: 5px;
}

.category_btn button {
	height: 25px;
	padding: 1px 10px;
	color: #000;
	border: 1px solid #9C1F25;
	background-color: #fff;
	border-radius: 50px;
	cursor: pointer;
	line-height: 22px;
	font-size: 14px;
}

.category_btn .active {
	background-color: #B02E28;
	color: #fff;
	font-weight: bold;
}

.category_btn hr, .menu-container hr {
    border: 0;
    height: 1px;
    background: #999;
    background-image: linear-gradient(to right, #eee, #9C1F25, #eee);
}

.category .active, .swiper_category .swiper-slide .active {
    background-color: #ddd;
    border-radius: 10px;
}


/* ==========================================================================
   SEARCH
   ========================================================================== */
#search {
    height: 0;
}

#search_section {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    display: inline-block;
    width: 880px;
    color: #000000;
    border-radius: 0 0 5px 5px;
    background-color: rgba(202, 222, 254, 0.8);
    z-index: 9999;
    padding: 5px 0 5px 0;
    display: none;
}

#search_section .search_col div:first-child {
    display: inline-block;
}

#search_section .search_col {
    width: 100%;
    line-height: 30px;
    float: left;
    text-align: left;
    padding-left: 20px;
}

#search_section .search_col div:first-child {
    width: 60px;
}

#search_section select {
    width: 110px;
    color: #000;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background-color: #fff;
    outline: none;
    border: 1px solid #fff;
}

#search_section #product_name {
    border: 1px solid #ffffff;
    border-radius: 4px;
}

#search_section .btn {
    width: 65px !important;
    height: 20px;
    line-height: 20px;
    color: #000;
    border-radius: 5px;
    border: 1px solid #fff;
    background-color: #fff;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

.search_result_category_title {
    color: blue;
    font-size: 14px;
    font-weight: 600;
}

@media only screen and (max-width: 880px) {
    #search_section {
        width: 100%;
    }
}


/* ==========================================================================
   CATEGORY
   ========================================================================== */
.product {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    padding: 0 10px 0 10px;
}

.product .product_wapper {
    display: grid;
    grid-template-columns: 70.1% 30%;
    /*grid-gap: 10px;
    padding: 0 10px 0 10px;*/
    border-radius: 5px;
    border: 1px solid #ccc;
    /*box-shadow: 0 2px 5px 0 rgb(221 221 221 / 80%);*/
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 20%);
}

.product .noimg {
    grid-template-columns: 100%;
}

.product > div {
    text-align: center;
}

.product > div > div {
    position: relative;
    display: flex;
}

.product img {
    border-radius: 0 5px 5px 0;
}

.product .watermark {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    color: #000;
    background: rgba(255, 255, 255, 0.8);
    padding: 3px 0 3px 0;
    text-align: center;
    font-size: 12px;
}

.product .desc {
	font-size: 14px;
	padding: 10px;
	text-align: left;
}

.product .product_wapper div:nth-child(2) {
    align-items: center;
}

.product .desc .name {
	font-weight: bold;
}

.product .desc .price {
	color: #ABB5CA;
}

/* > 650 */
@media only screen and (max-width: 650px) {
	.product img {
		border-radius: 0;
	}
	.product .desc {
		padding: 5px;
	}
}

/* ==========================================================================
   BANNER
   ========================================================================== */
.banner {
    width: 100%;
    margin: auto;
    text-align: center;
}


/* ==========================================================================
   QTY
   ========================================================================== */
.qty-col-append, .qty-col-prepend, .qty-col {
    display: inline-block;
}

.qty-btn {
    display: inline-block;
    width: 20px;
    color: #6c757d;
    border-color: #6c757d;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 3px 0 0 0;
    font-size: 1rem;
    line-height: 12.5px;
    height: 25px;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    text-transform: none;
    cursor: pointer;
    color: #6c757d;
    border-color: #6c757d;
}

.qty-btn-1 {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.qty-btn-2 {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.qty {
    display: inline-block;
    vertical-align: middle;
    width: 30px;
    height: 25px;
    /*padding: .375rem .75rem;*/
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #6c757d;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    text-align: center;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-left: 0;
    border-right: 0;
    -moz-appearance: textfield;
    box-sizing: border-box;
}

.qty::-webkit-outer-spin-button,
.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    width: 880px;
    position: fixed;
    bottom: 0px;
    left: 50%;
    height: 70px;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    margin: auto;
    text-align: center;
    background-color: #fff;
    z-index: 9999;
}

.footer .swiper-slide {
    height: 70px;
}

.footer .swiper-slide a {
    padding: 5px 0 5px 0;
}

.footer .swiper-slide img {
	width: auto;
	height: 60px;
}


/* ==========================================================================
   Responsive
   ========================================================================== */
/* < 880 */
@media only screen and (max-width: 880px) {
    	#page {
		width: 100%;
    	}
    	/*
	:root {
		--swiper-navigation-size: 16px;
	}
	*/
	.footer {
		width: 100%;
	}
}

/* >= 880 */
@media only screen and (min-width: 880px) {
	.header, .menu {
		width: 880px;
	}
	.category {
		width: 700px;
	}
	.product {
		grid-template-columns: repeat(3, 1fr);
	}
}