* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    color: #111;
}

button,
input {
    font: inherit;
}

button {
    border: 0;
    background: none;
    cursor: pointer;
}

.page {
    width: 100%;
    min-height: 100vh;
    background: #fff;
}

.site-header {
    width: 100%;
    background-color: #fff;
}

/* TOP INFO BAR */
.header-top {
    width: 100%;
    background-color: #000;
}

.header-top-content {
    width: 90%;
    max-width: 1350px;
    min-height: 36px;
    margin: 0 auto;
    color: #fff;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    padding: 6px 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.info-hotline {
    margin-right: auto;
}

.info-hotline strong {
    color: orange;
}

.header-top-content i {
    color: #fff;
    font-size: 15px;
}

/* HEADER BANNER */
.header-banner {
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
}

.header-banner-content {
    width: 90%;
    max-width: 1350px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-box {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-box img {
    width: 250px;
    height: auto;
    display: block;
}

.search-box {
    flex: 1;
    display: flex;
    max-width: 500px;
    margin-left: 120px;
}

.search-input {
    flex: 1;
    height: 42px;
    border: 1px solid #ddd;
    border-right: none;
    padding: 0 14px;
    font-size: 15px;
    outline: none;
    border-radius: 6px 0 0 6px;
}

.search-input:focus {
    border-color: orange;
}

.search-button {
    width: 48px;
    height: 42px;
    background-color: orange;
    color: #fff;
    border-radius: 0 6px 6px 0;
}

.search-button:hover {
    background-color: #e69500;
}

.account-box,
.cart-box {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #111;
    font-size: 15px;
    white-space: nowrap;
}

.account-box {
    margin-left: auto;
}

.account-box a{
    text-decoration: none;
    color: black;
}


.cart-box {
    padding-left: 22px;
    border-left: 3px solid #000;
}

.cart-box a{
    text-decoration:  none;
    color: black
}

.cart-count {
    background-color: orange;
    color: #fff;
    font-size: 12px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* NAVIGATION */
.header-menu {
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
}

.header-menu-content {
    width: 90%;
    max-width: 1350px;
    min-height: 40px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    color: #111;
    font-size: 24px;
    padding: 8px 10px;
}

.main-menu,
.submenu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu {
    display: flex;
    align-items: center;
    margin-left: 40px;
}

.main-menu li {
    position: relative;
}

.menu-link {
    display: block;
    color: #111;
    text-decoration: none;
    line-height: 40px;
    padding: 0 18px;
    font-size: 16px;
    white-space: nowrap;
}

.menu-link:hover,
.menu-link:focus {
    background-color: orange;
    color: #fff;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background-color: #eee;
    z-index: 999;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.main-menu li:hover > .submenu,
.main-menu li:focus-within > .submenu {
    display: block;
}

.submenu li {
    border-bottom: 1px solid #ccc;
    background-color: #eee;
}

.submenu .menu-link {
    line-height: 34px;
    font-size: 15px;
}

.submenu .submenu {
    top: 0;
    left: 100%;
}

#wrapper{
    height:auto;
    min-height: 600px;
    width: 100%;
    background-color: white;
}
.container{
    width: 80%;
    margin: 30px auto;
    display: flex;
    gap: 20px;
}

#category-box{
    width: 25%;
    height: 430px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 20px;
}

#category-box h1{
    background-color: black;
    color: white;
    font-size: 16px;
    text-align: center;
    border-radius: 20px;
    line-height: 48px;
    margin: 0px;
    padding: 0px;
}

#category-box ul{
    margin: 0px;
    padding: 0px;
    list-style: none;
}

#category-box ul li{
    line-height: 36px;
    width: 100%;
    border-bottom: 1px solid #ccc;

}

#category-box a{
    width: 100%;
    line-height: 36px;
    padding-left: 15px;
    text-decoration: none;
    display: block;
    color: #000;
}

#category-box a:hover{
    background-color: orange;
    color: #fff;
}

#slideshow{
    width: 75%;
    overflow: hidden;
    border-radius: 15px;
}

#slideshow img{
    width: 100%;
    height: 430px;
    display: block;
}


.ads-list {
    width: 80%;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    padding: 30px 0;
}

.ads-list img {
    flex: 1;
    width: 0;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}

.product-area{
    width: 90%;
    margin: 30px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

.section-title{
    width: 340px;
    background-color: orange;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border-radius: 20px;
    line-height: 54px;
    margin: 0 0 5px 0;
    padding: 0;
    flex: 0 0 100%;
}

.col-mobile-12,
.col-tablet-6,
.col-desktop-3{
    width: calc((100% - 60px) / 3);
}

.product-box{
    width: 100%;
    min-height: 355px;
    padding: 18px 20px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    box-shadow: 5px 6px 8px rgba(0,0,0,0.18);
    transition: 0.3s;
    text-align: center;
}

.product-box:hover{
    transform: translateY(-5px);
    box-shadow: 0 5px 15px #999;
}

.product-img{
    width: 100%;
    height: 200px;
    object-fit: contain;
    display: block;
    margin: 0 auto 15px auto;
}

.product-name{
    color: black;
    font-size: 18px;
    font-weight: bold;
    margin: 8px 0 10px 0;
}

.product-price{
    color: orange;
    font-size: 16px;
    font-weight: bold;
    display: block;
    margin-bottom: 14px;
}

.buy-btn{
    background-color: orange;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 10px 28px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.buy-btn:hover{
    background-color: #e69500;
}
#chat-button{
	width: 80px;
	height: 80px;
	border-radius: 40px;
	background-color: orange;
	position: fixed;
	bottom: 40px;
	right: 40px;
}

#footer{
    width: calc(100% - 150px);
    background-color: gray;
    color: #fff;
    margin: 40px auto 0 auto;
}

#footer-box{
    width: 75%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding: 55px 0;
}

#footer-info,
#footer-menu,
#footer-help,
#footer-social{
    flex: 1;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    color: #fff;
}

#footer-info h2{
    font-size: 22px;
    text-transform: uppercase;
    margin: 0 0 18px 0;
    color: #fff;
}

#footer-info p{
    font-size: 16px;
    line-height: 24px;
    margin: 0 0 25px 0;
    color: #fff;
}

.contact-list{
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-list li{
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    color: #fff;
    font-size: 16px;
    line-height: 20px;
}

.contact-list li i{
    display: none;
}

.footer-title{
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 16px 0;
    color: #fff;
}

.footer-links{
    list-style: disc;
    margin: 0;
    padding-left: 18px;
}

.footer-links li{
    margin-bottom: 12px;
    color: #fff;
}

.footer-links li a{
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.footer-links li a:hover{
    color: orange;
}

#footer-social a{
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

#chat-button {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 60px;
    height: 60px;
    z-index: 9999;
}

#chat-button a {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: orange;
    border-radius: 50%;
}

#chat-button img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}


/* RESPONSIVE */
@media (max-width: 1100px) {
    .search-box {
        margin-left: 40px;
    }

    .menu-link {
        padding: 0 12px;
        font-size: 15px;
    }
}

@media (max-width: 900px) {
    .header-top-content {
        gap: 14px;
        font-size: 13px;
    }

    .info-hotline {
        margin-right: 0;
    }

    .header-banner-content {
        flex-wrap: wrap;
    }

    .logo-box img {
        width: 190px;
    }

    .search-box {
        order: 3;
        flex: 0 0 100%;
        max-width: none;
        margin-left: 0;
    }

    .account-box {
        margin-left: auto;
    }

    .header-menu-content {
        flex-direction: column;
        align-items: stretch;
        padding: 6px 0;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        align-self: flex-start;
    }

    .main-menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-left: 0;
    }

    .main-menu.is-open {
        display: flex;
    }

    .main-menu li {
        width: 100%;
    }

    .menu-link {
        line-height: 38px;
        padding: 0 12px;
    }

    .submenu,
    .submenu .submenu {
        position: static;
        min-width: 100%;
        box-shadow: none;
    }
}

@media (max-width: 520px) {
    .header-top-content,
    .header-banner-content,
    .header-menu-content {
        width: 94%;
    }

    .account-box span,
    .cart-box span:not(.cart-count) {
        display: none;
    }

    .cart-box {
        padding-left: 14px;
    }

    .logo-box img {
        width: 160px;
    }
}

/* cho mobile */
@media only screen and (max-width: 992px){
    .col-mobile-12,
    .col-tablet-6,
    .col-desktop-3{
        width: calc((100% - 30px) / 2);
    }
}

@media only screen and (max-width: 600px){
    .section-title{
        width: 100%;
    }

    .col-mobile-12,
    .col-tablet-6,
    .col-desktop-3{
        width: 100%;
    }
}