* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
}

nav {
    padding-top: 20px;
}

nav::after {
    content: '';
    clear: both;
    display: table;
}

nav ul {
    float: right;
    margin-right: 40px;
    display: inline;
}

nav ul li {
    position: relative;
    float: left;
}

nav ul li ul {
    position: fixed;
    display: none;
    border-top: 10px;
    transition: top 0.7zs;
}

nav ul li ul li {
    width: 100%;
}

nav ul li:hover>ul {
    display: initial;
}

nav ul li a {
    text-decoration: none;
    color: #555;
    line-height: 70px;
    padding: 0 30px 0 20px;
    display: block;
    background-color: #FFF;
    background: hsla(0, 0%, 100%, 0.952);
}

nav ul li a:hover {
    border-radius: 15px;
    box-shadow: 0 0 5px #f35642;
}

.btnbar,
.btn-product,
.btnplus {
    display: none;
}

nav .logo {
    float: left;
    line-height: 70px;
    padding-left: 60px;
}

a {
    text-decoration: none;
    color: rgb(80, 77, 77);
}

p {
    color: #555;
}

.container {
    max-width: 1300px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
}

.row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
}

.col-2 {
    flex-basis: 50%;
    min-width: 300px;
}

.col-2 img {
    max-width: 100%;
    padding: 50px 0;
}

.col-2 h1 {
    font-size: 50px;
    line-height: 60px;
    margin: 25px 0;
}

.btn {
    display: inline-block;
    background: #ff523b;
    color: #fff;
    padding: 8px 30px;
    margin: 30px 0;
    border-radius: 30px;
    transition: background 1s;
}

.btn:hover {
    background: #563434;
}

.header {
    background: radial-gradient(#fff, #FFF);
}

.header .row {
    margin-top: 70px;
}

.categories {
    margin: 70px 0;
}

.col-3 {
    flex-basis: 30%;
    min-width: 250px;
    margin-bottom: 30px;
}

.col-3 img {
    width: 100%;
}

.small-container {
    max-width: 1080px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
}

.col-4 {
    flex-basis: 25%;
    padding: 10px;
    min-width: 200px;
    margin-bottom: 50px;
    flex-direction: row;
    transition: transform 0.5s;
}

.col-4 img {
    width: 100%;
}

.title {
    text-align: center;
    margin: 0 auto 80px;
    position: relative;
    line-height: 60px;
    color: #555;
}

.title::after {
    content: '';
    background: #ff523b;
    width: 80px;
    height: 5px;
    border-radius: 5px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

h4 {
    color: #555;
    font-weight: normal;
}

.col-4 p {
    font-size: 14px;
}

.rating .fa {
    color: #ff523b;
}

.col-4:hover {
    transform: translateY(-5px);
}


/*----------offer---------*/

.offer {
    background: radial-gradient(#FFF);
    margin-top: 80px;
    padding: 30px 0;
}

.col-2 .offer-img {
    padding: 50px;
}


/*----mb-3-new----*/

.article-addnews {
    flex: 1;
}

.mb-3-new-add .article-news {
    height: 500px;
    width: 50%;
}


/*----testimonial----------*/

.testimonial {
    padding-top: 100px;
}

.testimonial .col-3 {
    text-align: center;
    padding: 40px 20px;
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.5s;
}

.testimonial .col-3 img {
    width: 50px;
    margin-top: 20px;
    border-radius: 50%;
}

.testimonial .col-3:hover {
    transform: translateY(-10px);
}

.fa.fa-quote-left {
    font-size: 34px;
    color: #ff523b;
}

.col-3 p {
    font-size: 12px;
    margin: 12px 0;
    color: #777;
}

.testimonial .col-3 h3 {
    font-weight: 600;
    color: #555;
    font-size: 16px;
}

.footer {
    background: #000;
    color: #8a8a8a;
    font: 14px;
    padding: 60px 0 20px;
}

.footer p {
    color: #f3f2f2;
}

.footer h3 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-col-1,
.footer-col-2,
.footer-col-3,
.footer-col-4 {
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-col-1 {
    flex-basis: 30%;
}

.footer-col-2 {
    flex: 1;
    text-align: center;
}

.footer-col-2 img {
    width: 180px;
    margin-bottom: 20px;
}

.footer-col-3,
.footer-col-4 {
    flex-basis: 12%;
    text-align: center;
}

ul {
    list-style-type: none;
}

.app-logo {
    margin-top: 20px;
}

.app-logo img {
    width: 140px;
}

.footer hr {
    border: none;
    background: #b5b5b5;
    height: 1px;
    margin: 20px 0;
}

.copyright {
    text-align: center;
}

.menu-icon {
    width: 28px;
    margin-left: 20px;
    display: none;
}


/*-----all products page------*/

.row-2 {
    justify-content: space-between;
    margin: 100px auto 50px;
}

select {
    border: 1px solid #ff523b;
    padding: 5px;
}

select :focus {
    outline: none;
}

.page-btn {
    margin: 0 auto 80px;
}

.page-btn span {
    display: inline-block;
    border: 1px solid #ff523b;
    margin-left: 10px;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
}

.page-btn span:hover {
    background: #ff523b;
    color: #fff;
}


/*-----------single------*/

.single-product {
    margin-top: 80px;
}

.single-product .col-2 img {
    padding: 0;
}

.single-product .col-2 {
    padding: 20px;
}

.single-product h4 {
    margin: 20px 0;
    font-size: 22px;
    font-weight: bold;
}

.single-product select {
    display: block;
    padding: 10px;
    margin-top: 20px;
}

.single-product input {
    width: 50px;
    height: 40px;
    padding-left: 10px;
    font-size: 20px;
    margin-right: 10px;
    border: 1px solid #ff523b;
}

input:focus {
    outline: none;
}

.small-img-row {
    display: flex;
    padding-top: 5px;
    justify-content: space-between;
}

.small-img-col {
    flex-basis: 24%;
    cursor: pointer;
}


/*-------account-page-----*/

.account-page {
    padding: 50px 0;
    background: radial-gradient(#fff, #ffd6d6);
}

.form-container {
    background: #fff;
    width: 300px;
    height: 400px;
    position: relative;
    text-align: center;
    padding: 20px 0;
    margin: auto;
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.0);
    overflow: hidden;
}

.form-container span {
    font-weight: bold;
    padding: 0 10px;
    color: #555;
    cursor: pointer;
    width: 100px;
    display: inline-block;
}

.form-btn {
    display: inline-block;
}

.form-container form {
    max-width: 300px;
    padding: 0 20px;
    position: absolute;
    top: 130px;
    transition: transform 1s;
}

form input {
    width: 100%;
    height: 30px;
    margin: 10px 0;
    padding: 0 10px;
    border: 1px solid #ccc;
}

form .btn {
    width: 100%;
    border: none;
    cursor: pointer;
    margin: 10px 0;
}

form .btn:focus {
    outline: none;
}

#LoginForm {
    left: -300px;
}

#Regform {
    left: 0;
}

form a {
    font-size: 12px;
}

#Indicator {
    width: 100px;
    border: none;
    background: #ff523b;
    height: 3px;
    margin-top: 8px;
    transform: translateX(100px);
    transition: transform 1s;
}


/*--------news--------*/

.small-container_news {
    border: 50px 50px 50px 50px;
    padding-left: 100px;
    padding-top: 50px;
    padding-bottom: 100px;
}

.row-news .post-news .title-news {
    font-size: 70px;
    font-weight: 500;
}

.row-news .post-news p {
    font-size: 30px;
}

.row-news .post-news .images-news {
    height: auto;
    width: 50%;
}


/*-----------media------*/

@media only screen and (max-width:968px) {
    .icon,
    .menu-icon {
        display: block;
        color: white;
        position: absolute;
        right: 10px;
        line-height: 70px;
        cursor: pointer;
    }
    nav .logo {
        padding-left: 10px;
        height: 60px;
        width: 100%;
    }
    nav ul {
        margin-right: 0px;
        float: left;
        display: none;
    }
    nav ul li {
        width: 100%;
    }
    nav ul li ul {
        position: relative;
        width: 100%;
    }
    #btnbar:checked~.navbar {
        display: initial;
    }
}


/*media for 600 screen size*/

@media only screen and (max-width:600px) {
    .row {
        text-align: center;
    }
    .col-2,
    .col-3,
    .col-4 {
        flex-basis: 100%;
    }
    .single-product .row {
        text-align: left;
    }
    .single-product .col-2 {
        padding: 20px 0;
    }
    .single-product h1 {
        font-size: 26px;
        line-height: 32px;
    }
    .small-container_news {
        border: 10px 10px 10px 10px;
        padding-left: 15px;
        padding-top: 50px;
        padding-bottom: 10px;
        padding-right: 15px;
    }
    .row-news .post-news .title-news {
        font-size: 40px;
        font-weight: 200;
    }
    .row-news .post-news p {
        font-size: 20px;
    }
    .row-news .post-news .images-news {
        height: auto;
        width: 100%;
    }
}

.addnew {
    max-width: 1300px;
    margin: auto;
    padding-left: 100px;
    padding-right: 25px;
}