@font-face {
	font-family: Sarabun;
	font-display: swap;
	font-style: normal;
	font-weight: normal;
	src: url('fonts/sarabun-regular.woff2') format('woff2');
}
@font-face {
	font-family: Sarabun;
	font-display: swap;
	font-style: normal;
	font-weight: bold;
	src: url('fonts/sarabun-bold.woff2') format('woff2');
}

::-webkit-scrollbar {
	background-color: #f0f0f0;
	width: 8px;
	height: 8px;
}
::-webkit-scrollbar-thumb  {
	background-color: #a0a0a0;
}

* {
	font-family: Sarabun, sans-serif;
	box-sizing: border-box;
	scrollbar-width: thin;
	text-shadow: 0px 0px 0px rgba(255,255,255,0.3), 0px 0px 0px rgba(0,0,0,0.7);
}

body {
	background-color: #ffffff;
	color: #202020;
	cursor: default;
	font-size: 14px;
	margin: 0;
	padding: 0;
	overflow-y: scroll;
	
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

a {
	color: #202020;
	text-decoration: none;
}

h1 { margin: 0; font-size: 150%; }
h2 { margin: 0; font-size: 120%; }
h3 { margin: 0; font-size: 100%; }
h4 { margin: 0; font-size: 80%; }
h5 { margin: 0; font-size: 50%; }

iframe {
	border: 0;
	margin: 0;
	padding: 0;
}

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

input, textarea {
	font-size: 100%;
	border-radius: 0;
}

input[type=text], input[type=password], textarea {
	border: 1px solid #c0c0c0;
	box-sizing: border-box;
	outline: none;
	width: 100%;
}
input[type=text]:focus, input[type=password]:focus, textarea:focus {
	border-color: #ff7474;
	box-shadow: 0 0 4px -1px #5d6f4b;
}
input[type=text]::placeholder {
	color: #a0a0a0;
	font-size: 12px;
}
input[type=text][readonly] {
	box-shadow: none;
	color: #808080;
}

button {
	background-color: #fafafa;
	border: 1px solid #c0c0c0;
	border-radius: 0;
	cursor: pointer;
	font-size: 100%;
	outline: none;
	padding: 2px 10px;
}
button:hover {
	background-color: #f0f0f0;
}
button:active {
	background-color: #c0c0c0;
	color: #ffffff;
}
select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border: 1px solid #c0c0c0;
	outline: none;
	font-size: 100%;
	width: 100%;
}
select:focus {
	border-color: #ff7474;
	box-shadow: 0 0 4px -1px #5d6f4b;
}

nav {
	display: flex;
}


main {
	padding: 10px 0;
}


.container {
	margin: 0 auto;
	max-width: 1080px;
	width: 100%;
}

.flex {
	display: flex;
}

.wrap {
	flex-wrap: wrap;
}

.space {
	flex-grow: 1;
}

.hide, [aria-hidden=true] {
	display: none !important;
}

.num {
	text-align: right;
}


@media screen and (min-width: 901px) {
.w0 { display: none; }
.w1 { width: 4.1667%; }
.w2 { width: 8.3333%; }
.w3 { width: 12.5%; }
.w4 { width: 16.6667%; }
.w5 { width: 20.8333%; }
.w6 { width: 25%; }
.w7 { width: 29.1667%; }
.w8 { width: 33.3333%; }
.w9 { width: 37.5%; }
.w10 { width: 41.6667%; }
.w11 { width: 45.8333%; }
.w12 { width: 50%; }
.w13 { width: 54.1667%; }
.w14 { width: 58.3333%; }
.w15 { width: 62.5%; }
.w16 { width: 66.6667%; }
.w17 { width: 70.8333%; }
.w18 { width: 75%; }
.w19 { width: 79.1667%; }
.w20 { width: 83.3333%; }
.w21 { width: 87.5%; }
.w22 { width: 91.6667%; }
.w23 { width: 95.8333%; }
.w24 { width: 100%; }
}

@media screen and (max-width: 900px) {
.w0m { display: none; }
.w1m { width: 4.1667%; }
.w2m { width: 8.3333%; }
.w3m { width: 12.5%; }
.w4m { width: 16.6667%; }
.w5m { width: 20.8333%; }
.w6m { width: 25%; }
.w7m { width: 29.1667%; }
.w8m { width: 33.3333%; }
.w9m { width: 37.5%; }
.w10m { width: 41.6667%; }
.w11m { width: 45.8333%; }
.w12m { width: 50%; }
.w13m { width: 54.1667%; }
.w14m { width: 58.3333%; }
.w15m { width: 62.5%; }
.w16m { width: 66.6667%; }
.w17m { width: 70.8333%; }
.w18m { width: 75%; }
.w19m { width: 79.1667%; }
.w20m { width: 83.3333%; }
.w21m { width: 87.5%; }
.w22m { width: 91.6667%; }
.w23m { width: 95.8333%; }
.w24m { width: 100%; }
}


/*
 * header
 */

@media screen and (min-width: 901px) {
	header {
		background-color: #f0d0d0;
		border-bottom: 4px solid #ff7474;
	}
	header > nav {
		display: flex;
		margin: 0 auto;
		max-width: 1080px;
		width: 100%;
	}
	header > nav > a {
		display: flex;
		align-items: center;
		padding: 0 15px;
	}
	header > nav > a:hover {
		background-color: #ffaaaa;
	}
	header > nav > a.active {
		background-color: #ff7474;
		color: #202020;
		font-weight: bold;
	}
	header > nav > a > img {
		width: 24px;
		height: 24px;
	}
	header > nav > a > span {
		margin-left: 8px;
	}
	header > nav > a.compact > span {
		display: none;
	}
	header #search {
		height: 30px;
		margin: auto 10px;
		padding: 0 5px;
	}
	header #logo {
		height: 50px;
		margin-right: 50px;
	}
	header .topbar {
		display: none;
	}
}

@media screen and (max-width: 900px) {
	header {
		position: fixed;
		width: 100%;
		z-index: 9999;
	}
	header img {
		width: 18px;
		height: 18px;
	}
	header > .topbar {
		background-color: #ffffff;
		box-shadow: 0 2px 4px #c0c0c0;
		display: flex;
	}
	header > .topbar > button {
		background-color: transparent;
		border: 0;
		padding: 10px 20px;
	}
	header > .topbar > button[aria-checked=true] {
		background-color: #e0e0e0;
	}
	header > nav {
		display: block;
		background-color: #f0d0d0;
		border: 1px solid #ff7474;
		border-right-width: 4px;
		margin: 2px 0 0 -5px;
		padding: 20px 0;
		position: absolute;
		overflow: hidden;
		white-space: nowrap;
		width: 0;
		transition: width 0.2s;
	}
	header > nav.show {
		width: 250px;
	}
	header > nav > a {
		display: flex;
		align-items: center;
		padding: 15px;
		margin-left: 5px;
	}
	header > nav > a:hover {
		background-color: #ffaaaa;
	}
	header > nav > a.active {
		background-color: #ff7474;
		color: #202020;
		font-weight: bold;
	}
	header > nav > a > span {
		margin-left: 12px;
	}
	header > nav #logo {
		display: none;
	}
}


/*
 * header
 */

footer {
	background-color: #f0d0d0;
	border-top: 2px solid #ff7474;
	margin-top: auto;
	padding: 10px 0;
}

footer > div > div {
	padding: 0 10px;
}
footer .info {
	margin: 0 20px;
}
footer .info img {
	height: 50px;
	margin-left: -10px;
}
footer .social {
	border-top: 1px solid #404040;
	margin: 0 20px;
	padding: 10px 0;
}
footer .social span {
	font-weight: bold;
}
footer .social img {
	width: 24px;
	height: 24px;
	float: right;
}
footer .social div {
	margin-top: 5px;
}
footer .social a {
	display: block;
	margin-top: 5px;
	padding: 5px 0;
	text-decoration: underline;
}
footer .social a:hover {
	background-color: #ca5c5c;
}

footer .language {
	display: flex;
}
footer .language > button {
	background-color: transparent;
	border: 1px solid #404040;
	margin-left: -1px;
	padding: 5px 10px;
}
footer .language > button[aria-checked=true] {
	background-color: #404040;
	color: #ffffff;
}


/*
 * common
 */
 
.select {
	display: flex;
	flex-wrap: wrap;
	margin: 5px 0;
}
.select > a {
	border: 1px solid #c0c0c0;
	border-radius: 2px;
	margin: 5px;
	padding: 5px 10px;
}
.select > a:hover {
	background-color: #f0d0d0;
}
.select > a[aria-current=true] {
	background-color: #ff7474;
}

.quantity {
	display: flex;
	width: 110px;
	height: 30px;
}
.quantity > input {
	border-left: 0;
	border-right: 0;
	width: 50px;
	text-align: center;
}
.quantity > input:focus {
	box-shadow: inset 0 0 4px -1px #5d6f4b;
}
.quantity > button {
	background-color: transparent;
	border: 1px solid #c0c0c0;
	width: 30px;
}
.quantity > button:hover {
	background-color: #f0f0f0;
}


/*
 * home
 */

#home > p {
	background: linear-gradient(35deg, #f0d0d0, #ccdff3);
	font-weight: bold;
	padding: 10px;
	box-shadow: 2px 2px 4px #f0f0f0;
	border-radius: 4px;
}
#home > p + span {
	display: block;
	position: relative;
	top: -42px;
	right: 10px;
	text-align: right;
}
#home #promo, #home #feature, #home #post {
	margin-bottom: 50px;
}
#home #promo [role=button], #home #post [role=button] {
	display: flex;
	align-items: center;
	font-size: 20px;
	padding: 10px;
	cursor: pointer;
}
#home #promo [role=button]:hover, #home #post [role=button]:hover {
	background-color: #f0f0f0;
}

#home #promo .banner {
	flex: 1;
	overflow: hidden;
	position: relative;
	height: 250px;
}
#home #promo .items {
	display: flex;
	position: absolute;
	left: 0;
	width: 100%;
	height: 100%;
	transition: left 0.5s;
}
#home #promo .item {
	margin: auto 0;
	text-align: center;
	width: 100%;
}
#home #promo .item a {
	display: block;
}
#home #promo .item img {
	object-fit: contain;
	height: 100%;
	max-height: 250px;
}

#home #post .items {
	flex: 1;
}
#home #post .item {
	position: relative;
	padding: 10px;
}
#home #post .item a {
	position: absolute;
	left: 10px;
	bottom: 20px;
	background: rgba(255,255,255,0.8);
	border-radius: 2px;
	box-shadow: 2px 2px 4px rgb(0,0,0,0.5);
	font-size: 16px;
	padding: 4px 8px;
}

#home #feature .item {
	border-radius: 5px;
	display: block;
	position: relative;
	margin: 10px;
}
#home #feature .item:hover {
	box-shadow: 0 0 10px #a0a0a0;
}
#home #feature .item .thumb img {
	padding: 10px;
}
#home #feature .item .name {
	font-weight: bold;
}
#home #feature .item .price {
	font-size: 16px;
}
#home #feature .item .cart {
	border-radius: 50%;
	cursor: pointer;
	display: block;
	margin-left: auto;
}
#home #feature .item .cart:hover {
	background-color: #e0e0e0;
}
#home #feature .item .saleoff {
	background-color: #f06030;
	color: #ffffff;
	position: absolute;
	top: 30px; right: 0;
}

@media screen and (min-width: 901px) {
	#home #feature .item {
		padding: 20px;
	}
	#home #feature .item .cart {
		width: 30px;
		height: 30px;
	}
	#home #feature .item .saleoff {
		padding: 4px 8px;
	}
}
@media screen and (max-width: 900px) {
	#home #feature .item {
		padding: 10px;
	}
	#home #feature .item .cart {
		width: 24px;
		height: 24px;
	}
	#home #feature .item .saleoff {
		padding: 2px 4px;
	}
	#home #feature .item strike {
		display: block;
	}
	#home #promo .item img {
		object-fit: cover;
	}
}


/*
 * page
 */

#page {
	font-size: 16px;
	padding: 50px 10px;
}

#page .cover img {
	max-height: 200px;
	margin: 20px 0;
}

#page table {
	border-collapse: collapse;
}
#page table tr {
	margin: 0;
	padding: 0;
}
#page table th, #page table td {
	margin: 0;
	padding: 0;
}


/*
 * menu
 */

#menu nav {
	
}
#menu nav a {
	border: 1px solid #ca5c5c;
	border-radius: 2px;
	cursor: pointer;
	display: flex;
	margin: 5px;
	padding: 5px 10px;
}
#menu nav a:hover {
	background-color: #ffccca;
}
#menu nav a[aria-current=true] {
	background-color: #ffccca;
}
#menu nav a > span {
	margin: auto;
	text-align: center;
}
#menu .topbar {
	margin-top: 5px;
	padding: 5px;
}
#menu .topbar > div {
	padding: 0 5px;
	border: 1px solid #c0c0c0;
	background: #f0f0f0;
	margin: 0 5px;
	cursor: pointer;
	line-height: 26px;
}
#menu .topbar > div > img {
	width: 12px;
	height: 12px;
	margin-left: 10px;
	margin-right: 2px;
}
#menu #search {
	line-height: 26px;
	padding: 0 5px;
}
#menu #keywords {
	padding: 10px 0;
}
#menu #keywords > div {
	background-color: #f0f0f0;
	border-radius: 2px;
	cursor: pointer;
	margin: 5px;
	padding: 5px 10px;
}
#menu #products .item {
	border: 1px solid #c0c0c0;
	border-radius: 3px;
	position: relative;
	margin: 10px;
	padding: 10px;
}
#menu #products .item:hover {
	box-shadow: 0 0 10px #a0a0a0;
}
#menu #products .item .thumb {
	display: block;
	height: 150px;
	text-align: center;
}
#menu #products .item h3 {
	margin-top: 10px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
#menu #products .item strike {
	color: #a0a0a0;
}
#menu #products .item .saleoff {
	background-color: #f06030;
	color: #ffffff;
	position: absolute;
	padding: 2px 4px;
	top: 10px; right: 0;
}
#menu #products .item .price {
	font-weight: bold;
}
#menu #products .item .unit {
	background-color: #ffccca;
	color: #ffffff;
	border-radius: 2px;
	margin-left: 2px;
	padding: 1px 5px;
}
#menu #products .item .unit:empty {
	display: none;
}
#menu #products .item .wish {
	background: no-repeat center/16px url('svg/wish-0.svg');
	border-radius: 50%;
	margin-top: -7px;
	width: 30px;
	height: 30px;
}
#menu #products .item .wish[aria-pressed=true] {
	background-image: url('svg/wish-1.svg');
}
#menu #products .item .wish:hover {
	background-color: #f0f0f0;
}
#menu #products .item .quantity {
	margin: 10px auto 0 auto;
}

#menu #cart {
	align-self: flex-start;
	padding: 10px;
	position: sticky;
	top: 0;
}
#menu #cart .title {
	border-top: 2px dashed #808080;
	border-bottom: 2px dashed #808080;
	margin-bottom: 10px;
	padding: 5px 0;
	text-align: center;
}
#menu #cart .item {
	border-bottom: 1px dashed black;
	padding: 10px 0;
}
#menu #cart .total {
	border-top: 2px solid #808080;
	font-weight: bold;
	margin-top: -1px;
	padding: 10px 0;
	text-align: right;
}
#menu #cart .checkout {
	background-color: #ffccca;
	border: 1px solid #ff7474;
	border-radius: 2px;
	font-weight: bold;
	margin-top: 10px;
	padding: 10px 0;
	text-align: center;
}
#menu #cart .checkout:hover {
	box-shadow: 0 0 4px #ff7474;
}
#menu + #anchor {
	height: 50px;
}

@media screen and (min-width: 901px) {
	#menu #cart .detail {
		max-height: calc(100vh - 200px);
		overflow-y: auto;
	}
	
	#menu + #anchor + footer {
		background-color: rgba(240,208,208,.8);
		padding-top: 0;
		position: fixed;
		left: 0; right: 0; bottom: -160px;
		transition: bottom 0.2s;
	}
	#menu + #anchor + footer:hover {
		background-color: #f0d0d0;
		padding-top: 10px;
		bottom: 0;
	}
	#menu + #anchor + footer .info img {
		visibility: hidden;
	}
	#menu + #anchor + footer:hover .info img {
		visibility: visible;
	}
}
@media screen and (max-width: 900px) {
	main {
		padding-top: 50px;
	}
	#menu .searchbar {
		background-color: #ffffff;
		position: sticky;
		top: 40px;
		z-index: 999;
	}
	#menu #filter {
		display: none;
	}
	#menu #filter.show {
		display: block;
	}
	#menu #filter > div:first-child {
		padding-bottom: 10px;
	}
	#menu #filter #cat1, #menu #filter #cat2 {
		border-top: 1px dashed #e0e0e0;
		padding: 10px 0;
	}
	#menu #cart {
		display: none;
	}
	#menu #cart.show {
		display: block;
	}
}


/*
 * order
 */

#order > div:first-child {
	border-bottom: 1px solid #c0c0c0;
	font-weight: bold;
	margin: 10px 0;
}
#order .item {
	padding: 10px 0;
}
#order .item a {
	color: #1da3d2;
	cursor: pointer;
	text-decoration: underline;
}
#order .item .detail {
	border: 1px solid #6fb31a;
	margin: 10px 0;
}
#order .item .detail > div {
	padding: 5px;
}
#order .item .detail > div:nth-child(even) {
	background-color: #d7f1eb;
}
#order .item .detail > div:nth-child(odd) {
	background-color: #f3fff3;
}


/*
 * contact
 */

#contact #add {
	margin: 20px 0 0 10px;
}
#contact .item {
	border: 1px solid #c0c0c0;
	margin: 20px 10px;
	padding: 10px;
}
#contact .item label {
	color: #606060;
	font-size: 13px;
}
#contact .item input, #contact .item select {
	margin: 5px 0 10px 0;
	padding: 5px;
}
#contact button {
	border-bottom: 2px solid #9ec371;
	border-radius: 2px;
	display: flex;
	height: 30px;
}
#contact button:hover {
	border-bottom-color: #8fd43a;
	box-shadow: 0 2px 2px #c0c0c0;
}
#contact button > img {
	margin: 3px 8px 0 0;
	width: 12px;
	height: 12px;
}
#contact button[disabled] {
	background-color: #fafafa;
	border-bottom-color: #9ec371;
	box-shadow: none;
}


/*
 * checkout
 */

#checkout #cart-head {
	padding: 10px 0;
	font-weight: bold;
	font-size: 12px;
	background-color: #f0f0f0;
	border: 1px solid #c0c0c0;
}
#checkout #cart-head > div {
	padding: 0 10px;
}

#checkout #cart-foot {
	border: 1px solid #c0c0c0;
	line-height: 30px;
}
#checkout #cart-foot .coupon {
	padding: 20px 0;
}
#checkout #cart-foot .coupon * {
	padding: 5px 10px;
	text-align: center;
}
#checkout #cart-foot .coupon input {
	width: 200px;
}
#checkout #cart-foot .sum {
	background-color: #f0f0f0;
	padding: 10px 0;
}
#checkout #cart-foot .sum > div:nth-child(4n+3) {
	font-weight: bold;
	padding: 0 10px;
	text-align: right;
}

#checkout #cart .item {
	border: 1px solid #c0c0c0;
	margin-bottom: -1px;
}
#checkout #cart .item .thumb > img {
	max-height: 50px;
}
#checkout #cart .item .note > input {
	border: 0;
	border-bottom: 1px solid transparent;
	box-shadow: none;
	color: #202020;
	width: 90%;
	text-overflow: ellipsis;
}
#checkout #cart .item .note > input:hover {
	border-bottom: 1px solid #c0c0c0;
}
#checkout #cart .item .note > input:focus {
	border-bottom: 1px solid #80c080;
}
#checkout #cart .item .subtotal {
	font-weight: bold;
	text-align: right;
}
#checkout #cart .item .remove {
	text-align: right;
}
#checkout #cart .item .remove > button {
	width: 30px;
	padding: 5px;
	margin-left: auto;
	background-color: transparent;
	color: red;
	border: 0;
	border-radius: 4px;
}
#checkout #cart .item .remove > button:hover {
	background-color: #f0f0f0;
}

@media screen and (min-width: 901px) {
	#checkout #cart .item > div {
		padding: 10px;
	}
	#checkout #cart .item div {
		line-height: 50px;
	}
	#checkout #cart .item .thumb {
		height: 50px;
	}
	#checkout #cart .item .quantity {
		margin-top: 10px;
	}
	#checkout #cart .item .subtotal {
		margin-left: auto;
	}
}
@media screen and (max-width: 900px) {
	#checkout #cart-head {
		display: none;
	}
	#checkout #cart .item > div {
		padding: 15px 5px;
	}
	#checkout #cart .item .price {
		margin-top: auto;
	}
	#checkout #cart .item .quantity {
		margin-left: auto;
	}
	#checkout #cart .item .subtotal {
		margin: auto 10px 0 0;
	}
}


#checkout #search {
	margin-bottom: 10px;
	max-width: 400px;
	position: relative;
}
#checkout #search > input {
	padding: 5px;
}
#checkout #search > div {
	background-color: #ffffff;
	border: 1px solid #c0c0c0;
	box-shadow: 0 2px 4px #c0c0c0;
	font-size: 13px;
	padding: 4px 0;
	position: absolute;
	overflow: hidden;
	text-overflow: clip;
	white-space: nowrap;
	width: 100%;
}
#checkout #search > div > div {
	padding: 5px 10px;
}
#checkout #search > div > div:hover {
	background-color: #f0f0f0;
}
#checkout #search > div > div.active {
	background-color: #d0f0ff;
}

#checkout #delivery {
	border: 1px solid #c0c0c0;
	margin: 20px 0;
	padding: 10px;
}
#checkout #delivery .contact {
	margin: 0 20px 20px 20px;
}
#checkout #delivery .contact > div {
	margin: 5px 0;
}
#checkout #delivery textarea {
	margin: 5px;
	padding: 5px;
	resize: none;
	width: calc(100% - 20px);
}

#checkout #action {
	display: flex;
}
#checkout #action > button {
	background-color: #f0d0d0;
	border: 1px solid #ff7474;
	border-radius: 2px;
	font-weight: bold;
	padding: 10px 50px;
	margin: 10px auto;
}
#checkout #action > button:hover {
	box-shadow: 0 0 4px #ff7474;
}


/*
 * orders
 */

#orders #orders-head {
	background-color: #f0f0f0;
	border: 1px solid #c0c0c0;
	font-weight: bold;
	font-size: 12px;
	padding: 10px 5px;
}
#orders #orders-head > div {
	padding: 0 10px;
}
#orders #orders-head > div:nth-child(5) {
	text-align: right;
}

#orders #orders-body .item {
	border: 1px solid #c0c0c0;
	margin-bottom: -1px;
	padding: 5px;
}
#orders #orders-body .item > div > a {
	text-decoration: underline;
}
#orders #orders-body .item > div {
	padding: 10px;
}
#orders #orders-body .item > div:nth-child(6) {
	text-align: right;
}
#orders #orders-body .item .detail {
	align-self: flex-start;
	border-top: 1px solid #c0c0c0;
	padding: 5px 0;
}
#orders #orders-body .item .detail > div {
	padding: 5px 0;
}
#orders #orders-body .item button {
	margin-top: -5px;
}
#orders #orders-body .item button > img {
	margin: 2px 0 0 0;
	width: 16px;
	height: 16px;
}
#orders #orders-body .item .deleted {
	text-decoration: line-through;
}

@media screen and (max-width: 900px) {
	#orders #orders-head {
		display: none;
	}
}

#orders .pagination {
	display: flex;
	justify-content: center;
}
#orders .pagination button {
	margin: 10px;
	height: 30px;
}


/*
 * account
 */

#account > div > div {
	margin: 20px 0;
}
#account > div > div > input {
	line-height: 30px;
	padding: 0 5px;
}
#account > div > div > button {
	padding: 5px 20px;
	margin-top: 20px;
}


/*
 * product
 */

#product {
	padding: 40px 0;
}
#product .image {
	text-align: center;
}
#product .detail {
	padding: 0 20px;
}
#product .detail h1 {
	text-transform: uppercase;
}
#product .detail .label {
	padding: 20px 0 10px 0;
	text-decoration: underline;
}
#product .detail .sku {
	padding: 10px 0;
	border-bottom: 1px solid #c0c0c0;
}
#product .detail .price {
	font-size: 16px;
}
#product .detail .sale {
	color: #678d40;
	font-size: 20px;
}
#product .detail .quantity {
	height: 36px;
}
#product .detail .quantity > input {
	font-size: 16px;
	width: 80px;
}
#product .detail .toolbar {
	display: flex;
	padding: 40px 0 20px 0;
}
#product .detail .toolbar button {
	line-height: 30px;
	flex: 1;
}
#product .detail #cart {
	margin-right: 10px;
}
#product .detail #buy {
	background-color: #ffccca;
	border-color: #ff7474;
	margin-left: 10px;
}
#product .detail #buy:hover {
	background-color: #ff7474;
	color: #ffffff;
}
#product .side {
	border: 1px solid #c0c0c0;
	border-radius: 4px;
	padding: 10px 0;
	box-shadow: 2px 2px 4px #f0f0f0;
}
#product .side hr {
	border: 0;
	border-bottom: 1px solid #e0e0e0;
	margin: 10px 0;
}
#product .side div {
	padding: 2px 20px;
}
#product .side .label {
	color: #808080;
}
@media screen and (max-width: 900px) {
	#product .image {
		max-height: 200px;
	}
}


#login {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border-radius: 5px;
	box-shadow: 0 0 10px #c0c0c0;
	padding: 0;
	max-width: 720px;
	height: 500px;
}
#login .banner-left {
	background: no-repeat left url("images/signin-left.jpg");
}
#login .banner-right {
	background: no-repeat right url("images/signin-right.jpg");
}
#login > div:nth-child(2) {
	padding: 50px 30px 0 30px;
}
#login h2 {
	text-align: center;
}
#login label {
	display: block;
	margin: 10px 0 5px 0;
}
#login input {
	padding: 5px 10px;
}
#login button {
	padding: 5px 20px;
}
#login a {
	border-bottom: 1px solid #c0c0c0;
	padding: 5px 10px;
}
#login a:hover {
	background-color: #fafafa;
	border-bottom-color: #808080;
}
#login .msg {
	margin-top: 50px;
	background-color: #f0f0f0;
	border-radius: 2px;
	padding: 0 10px;
}



#loader {
	position: fixed;
	left: 0; top: 0; right: 0; bottom: 0;
	justify-content: center;
	align-items: center;
	background-color: rgba(255,255,255,.7);
	display: none;
}
#spinner {
	width: 75px;
	height: 75px;
	border-radius: 50%;
	border-top: 1px solid #082f51;
	border-right: 1px solid #a0a0a0;
	border-bottom: 1px solid #a0a0a0;
	border-left: 1px solid #a0a0a0;
	animation: spinner 500ms infinite linear;
}
@keyframes spinner {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}


#dialog {
	position: fixed;
	left: 0; top: 0; right: 0; bottom: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: rgba(255,255,255,.7);
}
#dialog > div {
	width: 300px;
	border: 1px solid #808080;
	padding: 10px;
	box-shadow: 4px 4px 10px #808080;
	background-color: #fffffa;
	border-radius: 4px;
}
#dialog > div > div:first-child {
	margin-bottom: 20px;
}
#dialog > div > div:last-child {
	text-align: right;
	border-top: 1px solid #c0c0c0;
	padding-top: 10px;
}
#dialog button {
	padding: 5px 10px;
	min-width: 80px;
	position: relative;
	margin-left: 10px;
	border: 1px solid #808080;
	border-radius: 4px;
}
#dialog input {
	padding: 5px;
	border: 1px solid #404040;
	margin: 10px 0;
}
#dialog input:focus {
	border-color: #70b0f0;
}
