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

body {
    background: #fff;
    color: #333;
    font-family: "Hanken Grotesk", sans-serif;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.Welcome {
    background: #F5F5F5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}
.header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #008ecc;
}

.search-bar {
    background-color: #f3f9fb;
    display: flex;
    width: 40%;
    padding: 10px 0 10px 0;
    border-radius: 10px;
    overflow: hidden;
}

.search-bar input {
    background-color: #f3f9fb;
    color: #666666;
    border: none;
    flex: 1;
    padding: 5px 5px 5px 0;
    outline: none;
}

.search-bar button {
    border: none;
    background: #f3f9fb;
    color: white;
    padding: 5px 15px;
    cursor: pointer;
}

.search-bar-phone {
    display: none;
}

.search-bar-phone input {
    background-color: #f3f9fb;
    color: #666666;
    border: none;
    flex: 1;
    padding: 5px 5px 5px 0;
    outline: none;
}

.search-bar-phone button {
    border: none;
    background: #f3f9fb;
    color: white;
    padding: 5px 15px;
    cursor: pointer;
}

.sign {
    display: none;
    border-top: 1px solid white;
}

.header-right {
    display: flex;
    margin-left: 15px;
    text-decoration: none;
    flex-direction: row;
}

.header-right a {
    color: #666666;
    /*font-weight: bold;*/
    text-decoration: none;
}

.nav {
    padding: 20px 0 20px 0;
    border-top: 1px solid #ededed;
    border-bottom: 1px solid #ededed;
}

.drawer {
    /*padding-bottom: 10px;*/
}

.drawer-header {
    display: none;
}

.category-menu {
    display: flex;
    gap: 16px;
    list-style: none;
    padding: 10px 0 10px 0;
    margin: 0;
    justify-content: center;
    background: white;
    border-top: 1px solid #EDEDED;
    border-bottom: 1px solid #EDEDED;
}

.category-menu>li {
    position: relative;
}

.category-menu-text {
    display: inline-block;
    padding: 8px 16px;
    background-color: #f3f9fb;
    border-radius: 20px;
    color: #222222;
    text-decoration: none;
    font-weight: 14px;
    transition: background 0.3s;
}

.category-menu-icon {
    margin-left: 5px;
    color: #008ecc;
    font-size: 18px;
}

.category-menu>li:hover>a {
    background-color: #008ecc;
    color: #ffffff;
}

.category-menu>li:hover>a i {
    color: #ffffff;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 10;
}

.category-menu>li:hover>.submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li a {
    display: block;
    padding: 8px 16px;
    color: #004c91;
    text-decoration: none;
}

.submenu li a:hover {
    background-color: #f6fafc;
}


.banner {
    position: relative;
    margin: 15px auto;
    width: 90%;
}

.banner .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #212844;
    border-radius: 12px;
    padding: 40px;
    color: #ffffff;
}

.banner img {
    width: 200px;
    border-radius: 12px;
}


.products {
    width: 90%;
    margin: 50px auto;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #EDEDED;
}

.product-title {
    font-size: 20px;
    display: inline-block;
}

.highlight {
    color: #008ECC;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.product-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    text-align: center;
    width: 240px;
    border: 1px solid #F5F5F5;
}

.product-card:hover {
    border: 1px solid #008ECC;
}

.discount-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: #008ecc;
    color: white;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 12px;
    border-bottom-left-radius: 16px;
    border-top-right-radius: 16px;
}


.product-image {
    width: 100%;
    height: 220px;
    object-fit: contain;
    margin: 20px 0;
    backgroud-color: red;
}

.product-name {
    font-size: 16px;
    color: #222;
    margin-bottom: 8px;
    padding-top: 10px;
    font-weight: 600;
    text-align: left;
    margin-left: 10px;
}


.product-price {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    margin-left: 10px;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

.old-price {
    font-size: 15px;
    color: #999;
    text-decoration: line-through;
}


.save {
    font-size: 14px;
    text-align: left;
    color: #2e8b57;
    font-weight: 600;
    border-top: 1px solid #f0f0f0;
    padding: 16px 0 16px 0;
    margin-left: 15px;
}


.footer {
    background: #008ECC;
    color: white;
    padding: 40px 5%;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-container-c {
    width: 30%;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer h4 {
    border-bottom: 2px solid white;
    display: inline-block;
    margin-bottom: 10px;
}


.footer li {
    font-size: 16px;
    margin: 6px 0;
    margin-left: 20px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 20px;
    padding: 10px 0 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.live-container {
    margin-top: 0;
    margin-left: 0;
    border-radius: 50%;
    background-color: var(--color-live);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.live-icon {
    color: var(--color-live);
    font-size: 10px;
    width: 450px;
    height: 450px;
}

.ellipse1 {
    border: 1px solid #3c466b;
    margin-top: 0;
    margin-left: 0;
    border-radius: 50%;
    background-color: var(--color-live);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    position: absolute;
    top: -111%;
    right: 0;
    z-index: -2;
    right: 0;
}

.live-container2 {
    margin-top: 0;
    margin-left: 0;
    border-radius: 50%;
    background-color: var(--color-live);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.live-icon2 {
    color: var(--color-live);
    font-size: 10px;
    width: 150px;
    height: 150px;
}

.ellipse2 {
    border: 1px solid #3c466b;
    margin-top: 0;
    margin-left: 0;
    border-radius: 50%;
    background-color: var(--color-live);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    position: absolute;
    bottom: -35%;
    right: 0;
    z-index: -2;
    right: 15%;
}

.clock {
    margin-right: 100px;
}

/* Responsive */

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
    }
    .search-bar {
        width: 100%;
        margin: 10px 0;
    }
    .nav ul {
        flex-direction: column;
        align-items: center;
    }
    .banner .swiper-slide {
        flex-direction: column;
        text-align: center;
    }
    .banner img {
        margin-top: 20px;
    }
}

.swiper-container-wrapper {
    position: relative;
}

.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    z-index: 20;
    background: #f3f9fb;
    border: 8px solid #ffffff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    color: #008ecc;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.banner-content {
    margin-left: 30px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px;
    line-height: 1;
    margin: 0;
}


.swiper-button-prev {
    left: -40px;
}

.swiper-button-next {
    right: -40px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #008ecc;
    color: #ffffff;
}

.swiper-pagination-left {
    margin-left: 50px;
    left: 20px !important;
    right: auto !important;
    text-align: left !important;
    bottom: 15px !important;
    width: auto !important;
}

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

.swiper-pagination-bullet-active {
    background: white;
    width: 24px;
    border-radius: 7px;
    opacity: 1;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #008ecc;
    cursor: pointer;
}

.to-card {
    display: none;
}

/* Responsive cho điện thoại */

@media (max-width: 1280px) {
    .Welcome {
        display: none;
    }
    .header {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }
    .logo {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .search-bar {
        width: 100%;
        margin-bottom: 10px;
    }
    .nav {
        display: none;
        background: #fff;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    .nav.active {
        display: block;
    }
    .category-menu {
        display: flex;
        flex-direction: column;
        padding: 10px;
    }
    .menu-toggle {
        display: block;
    }
    .search-bar-phone {
        background-color: #f3f9fb;
        display: flex;
        width: 40%;
        padding: 10px 0 10px 0;
        border-radius: 10px;
        overflow: hidden;
    }
    .to-card {
        display: flex;
    }
    .search-bar {
        display: none;
    }
    .header-right {
        display: none;
    }
    .sign {
        display: block;
    }
    .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .drawer {
        position: fixed;
        top: 0;
        left: -80%;
        width: 80%;
        height: 100%;
        background: #fff;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
        z-index: 9999;
        transition: left 0.3s ease;
        display: flex;
        flex-direction: column;
    }
    .drawer.open {
        left: 0;
    }
    .drawer-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        background: #008ecc;
        color: #fff;
    }
    .drawer-header h2 {
        font-size: 18px;
        margin: 0;
    }
    .drawer-header button {
        background: none;
        border: none;
        color: #fff;
        font-size: 22px;
        cursor: pointer;
    }
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
        z-index: 9998;
    }
    .overlay.show {
        opacity: 1;
        visibility: visible;
    }
    .category-menu-text {
        width: 70%;
        display: inline-block;
        padding: 8px 16px;
        background-color: #f3f9fb;
        border-radius: 20px;
        color: #222222;
        text-decoration: none;
        font-weight: 14px;
        transition: background 0.3s;
        text-align: right;
    }
    .submenu {
        position: absolute;
        top: 0;
        left: 70%;
        background: white;
        list-style: none;
        margin: 0;
        padding: 8px 0;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        min-width: 180px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: all 0.25s ease;
        z-index: 10;
    }
    .banner {
        width: 90%;
        margin: 15px auto;
    }
    .banner .swiper-slide {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .banner img {
        width: 140px;
        margin-top: 15px;
    }
    .banner-content {
        margin-left: 0;
    }
    .swiper-button-next,
    .swiper-button-prev {
        width: 50px;
        height: 50px;
        border-width: 6px;
    }
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 20px;
    }
    .swiper-button-prev {
        left: -20px;
    }
    .swiper-button-next {
        right: -20px;
    }
    .swiper-pagination-left {
        left: 0 !important;
        right: 0 !important;
        margin: 0 auto !important;
        text-align: center !important;
        width: 100% !important;
    }
    .products {
        width: 95%;
        margin: 30px auto;
    }
    .product-title {
        font-size: 14px;
        display: inline-block;
    }
    .footer {
        background: #008ECC;
        color: white;
        padding: 40px 5%;
    }
    .footer-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .footer-container-c {
        width: 30%;
        min-width: 200px;
        margin-bottom: 20px;
    }
    .footer h4 {
        border-bottom: 2px solid white;
        display: inline-block;
        margin-bottom: 10px;
    }
    .footer li {
        font-size: 16px;
        margin: 6px 0;
        margin-left: 20px;
    }
    .copyright {
        font-size: 12px;
    }
    .live-icon {
        color: var(--color-live);
        font-size: 10px;
        width: 250px;
        height: 250px;
    }
    .ellipse1 {
        border: 1px solid #3c466b;
        margin-top: 0;
        margin-left: 0;
        border-radius: 50%;
        background-color: var(--color-live);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        position: absolute;
        top: -50%;
        right: 5%;
        z-index: -999;
    }
    .ellipse2 {
        border: 1px solid #3c466b;
        margin-top: 0;
        margin-left: 0;
        border-radius: 50%;
        background-color: var(--color-live);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        position: absolute;
        bottom: -35%;
        right: 30%;
        z-index: -999;
    }
    .clock {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .nav {
        display: none;
    }
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 24px;
        color: #008ecc;
        cursor: pointer;
    }
    .header .container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
    }
}
