@charset "UTF-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@300;500;700&display=swap');

:root {
    --main-color-1: #212121;
    --main-color-2: #F6F6F6;
    --main-color-3: #FFFFFF;
    --main-color-4: #9DA1A5;
}

* {
	text-decoration: none;
	-webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}
*:actived {
	text-decoration: none;
}
*:focus {
	outline: none;
}
input, textarea, button, select, button, blockquote {
	appearance:none;
    -moz-appearance:none;
    -webkit-appearance:none;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
	border: none;
}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
html, body {
	line-height: 1;
	font-family: 'Noto Sans TC', serif;
	margin: 0;
	padding: 0;
/*	overflow-x: hidden;*/
    color: #212121;
    background: var(--main-color-3);
}
ol, ul, li {
	list-style: none;
	padding: 0;
	margin: 0;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
img {
	max-width: 100%;
}
a {
	cursor: pointer;
    color: inherit;
}
/**************\
* 通用邊界
\**************/

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





header {
    padding: 0px 0;
    position: fixed;
    z-index: 11;
    width: 100%;
    top: 0;
}
header .row, footer .row{
    display: flex;
	justify-content: space-between;
	align-items: center;
    padding: 0 2.5%;
}
header + section {
    margin-top: 120px;
} 
.logo {
    max-width: 300px;
}
.img-fluid {
    max-width: 100%;
    margin: 0 auto;
}
.col-auto {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.col {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
#start .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
#select-section{
    width: 65%;
}
#type-section {
    width: 35%;
    padding: 0 5% 0 0;
}
header a {
    padding: 15px 20px;
    white-space: nowrap;
    display: block;
}
header nav, ul.menu {
    width: 100%;
}
header nav {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    padding: 15px 2.5%!important;
    background-color: var(--main-color-3);
    transition: padding 0.15s ease-out;
}
header.down nav {
    padding: 0px 2.5%!important;
    transition: padding 0.15s ease-out;
}
ul.menu {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0 10px;
}
a.btn.btn-primary {
    color:var(--main-color-1);
    background-color: var(--main-color-3);
    border: 1px solid var(--main-color-1);
}
a.btn.btn-default:hover {
/*    text-decoration: underline;*/
}
a.btn.btn-primary:hover {
    color: var(--main-color-3);
    background-color: var(--main-color-1);
    border: 1px solid var(--main-color-3);
}
.mobile a.btn.btn-primary {
    border: none;
    color:var(--main-color-3);
    background-color: var(--main-color-1);
}
ul.sub-menu {
    display: none;
}
li.link-item {
    position: relative;
}
ul.sub-menu a {
    padding-top: 20px;
    padding-bottom: 20px;
    color: var(--main-color-3);
}
li.link-item:hover ul.sub-menu{
    min-width: 100%;
    position: absolute;
    display: block;
    z-index: 2;
    background: var(--main-color-1);
}
.menu-right li.link-item:hover ul.sub-menu {
    right: 0;
}
a.cart-btn {
    display: inline-flex;
    color: #000;
    align-items: center;
}
span#cartCount {
    background-color: var(--main-color-1);
    color: #FFF;
    display: inline-flex;
    border-radius: 50%;
    padding: 5px;
    width: 30px;
    height: 30px;
    line-height: 1;
    justify-content: center;
    align-items: center;
    text-align: center;
}
span.material-symbols-outlined {
    color: var(--main-color-1);
}
footer {
    padding: 30px 0;
    background-color: #212121;
}
.logo-footer {
    max-width: 150px;
}
.social-link {
    display: flex;
    justify-content: flex-end;
    align-content: center;
}
.social-link img {
    max-width: 36px;
}
.social-link .link-item {
    opacity: .6;
}
.social-link .link-item:hover {
    opacity: 1;
}
.link-item {
    margin: 0 10px;
}
ul.submenu {
    padding: 0;
}
ul.submenu li {
    margin-bottom: 5px;
}
.footer-menu {
    width: 100%;
    margin-bottom: 50px;
}
.footer-menu ul.menu {
    padding: 0;
}
.footer-menu a, .link-item a, .copyright a{
    font-size: .95rem;
    margin: 0;
    color: var(--main-color-2);
}
header .link-item a {
    color: var(--main-color-1);
}
.footer-menu a:hover, .link-item a:hover, .copyright a:hover {
    color: var(--main-color-4);
    
}
.link-item ul.sub-menu a:hover {
    color: var(--main-color-2);
    text-decoration: underline;
}
.sub-menu a {
    color: var(--main-color-2);
}
.footer-menu h4 {
    color: var(--main-color-1);
    font-weight: 400;
    margin-bottom: 5px;
    font-size: 1rem;
}
.footer-menu .link-item {
    margin-right: 5%;
    margin-left: 0;
    line-height: 1.5;
}
.copyright {
    color: var(--main-color-3);
    text-align: center;
    margin: 20px 0 0;
    line-height: 1.5;
    width: 100%;
}
.copyright .col-auto {
    justify-content: center;
    flex-wrap: wrap;
    line-height: 1.5;
}
.copyright .col-auto p {
    width: 100%;
    display: block;
}
.desktop {
    display:block;
}
.mobile {
    display: none;
}

@media screen and (max-width: 1023px) {
    .container {
        padding-left: 5%;
        padding-right: 5%;
    }
    .desktop {
        display: none;
    }
    .logo {
        max-width: 200px;
    }
    .mobile {
        display:block;
		background-color: var(--main-color-3);
    }
    header {
        z-index: 11;
        position: fixed;
       
        width: 100%;
        padding: 5px 0;
        top: 0;
    }
    header + section {
        margin-top: 80px;
    }
    .logo a {
        padding: 10px 0px;
    }
    .menu-mobile {
        display: none;
    }
    .menu-mobile.active {
/*        display: block;*/
        display: flex;
        flex-wrap: wrap;
        align-content: flex-start;
        justify-content: center;
        height: 100vh;
        padding-top: 10vh;
    }
    .menu-mobile.active li.link-item {
        width: 100%;
    }
    .menu-mobile.active li.link-item.login {
        margin: 30px 0;
    }
    .menu-mobile li.link-item a {
        padding: 20px 20px;
    }
    .header-social.mobile {
        z-index: 11;
        position: fixed;
        right: 0;
        top: 40vh;
    }
    .mobile a.cart-btn {
        position: fixed;
        right: 50px;
        top: 0px;
    }
    .toggle-mobile {
        position: fixed;
        right: 20px;
        top: 10px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        z-index: 1000;
        cursor: pointer;
        opacity: 1;
        /* background-color: #FFE400; */
        width: 40px;
        height: 40px;
        flex-wrap: wrap;
    }
    .toggle-mobile p {
        margin: 0;
        position: relative;
        width: 36px;
        height: 36px;
        margin-left: 2px;
        margin-top: 2px;
    }
    .toggle-mobile span.top {
        width: 34px;
        height: 2px;
        background-color: var(--main-color-1);
        display: block;
        position: absolute;
        top: 4px;
        transition: all 0.1s linear;
    }
    .toggle-mobile span.mid {
        width: 34px;
        height: 2px;
        background-color: var(--main-color-1);
        display: block;
        position: absolute;
        top: 17px;
        transition: all 0.1s linear;
    }
    .toggle-mobile span.bottom {
        width: 34px;
        height: 2px;
        background-color: var(--main-color-1);
        display: block;
        position: absolute;
        bottom: 4px;
        transition: all 0.1s linear;
    }
    .toggle-mobile.active span.top {
		width: 40px;
		height: 2px; 
		background-color: var(--main-color-1);
		display: block;
		position: absolute;
		top: 17px;
		left: 0;
		transform: rotate(45deg);
		transition: all 0.1s linear;
	}
	.toggle-mobile.active span.mid {
		display: none;
	}
	.toggle-mobile.active span.bottom {
		width: 40px;
		height: 2px; 
		background-color: var(--main-color-1);
		display: block;
		position: absolute;
		bottom: 18px;
		left: 0;
		transform: rotate(-45deg);
		transition: all 0.1s linear;
	}
    .mobile-start .sub-menu {
        display: none!important;
    }
    .link-item a {
        font-size: 1rem;
        text-align: center;
    }
    footer {
        font-size: 85%;
    }
    footer .row {
        flex-wrap: wrap;
    }
    footer .row .col-auto {
        width: 100%;
        margin-bottom: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }
    footer .logo-footer {
        width: 100%;
        text-align: center;
    }
    footer ul.menu {
        padding: 20px 0;
        justify-content: center;
    }
}