﻿* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --swiper-navigation-size: 10px;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

.size_icon {
    width: 20px;
}

/** phần 1 **/


.body_part_one {
    width: 100%;
    height: auto;
}

    .body_part_one img {
        width: 100%;
        height: auto;
    }

/** phần 2 **/
.body_big_two {
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #7A0904;
    padding-left: 1rem;
    text-decoration: none;
}

.seaction_two {
    width: 100%;
    margin: 0 auto;
    padding: 15px;
    transition: all 0.3s ease;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

    .seaction_two.sticky {
        width: 100%;
        margin: 0 auto;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background-color: white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        padding: 10px 15px;
        transition: top 0.3s ease-in-out, padding 0.3s ease, background-color 0.3s ease;
    }

.body_two_small {
    display: flex;
    gap: 3rem;
}

.part_two {
    display: flex;
}

    .part_two li {
        margin-right: 2rem;
        margin-top: 1rem;
    }

        .part_two li a {
            color: black;
            text-transform: uppercase;
            transition: 0.3 all ease-in-out;
        }

            .part_two li a:hover {
                color: red;
            }

.a_find_sm {
    color: black;
}

.body_sm_right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Dropdown styles *******************************/
.link_a_two {
    display: block;
    text-decoration: none;
    color: #000;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 20px;
    z-index: 1000;
    width: max-content;
    display: flex;
    gap: 40px;
}

.dropdown:hover .dropdown-content {
    display: flex;
}

.dropdown-section {
    min-width: 150px;
}

    .dropdown-section h3 {
        color: #333;
        font-size: 14px;
        margin: 0 0 10px 0;
        font-weight: bold;
    }

    .dropdown-section ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .dropdown-section ul li {
            margin: 8px 0;
        }

            .dropdown-section ul li a {
                text-decoration: none;
                color: #333;
                font-size: 13px;
                transition: color 0.3s;
            }

.title_sidebar_big {
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
}

.body_title_small_sidebar {
    display: flex;
    flex-direction: column;
}

    .body_title_small_sidebar a {
        margin-top: 8px;
    }

.dropdown-section ul li a:hover {
    color: #000;
}

/* Animation */
.dropdown-content {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}



/******************************/
.body_sm_left {
    position: relative;
}

/** sidebar  - left *******************/
.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background-color: #fff;
    transition: left 0.3s ease;
    padding-top: 20px;
    z-index: 9990;
    overflow-y: auto;
}

.sidebar-menu {
    list-style: none;
    padding-left: 0;
}

    .sidebar-menu li {
        padding: 15px 25px;
        border-bottom: 1px solid #e5e5e5;
        color: #333;
    }

        .sidebar-menu li a {
            color: #fff;
            text-decoration: none;
            font-size: 18px;
            color: #333;
        }
/** sidebar  - right  *******************/

.close-btn_right {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 50px;
    color: #333;
    cursor: pointer;
}



.body_sidebar_right {
    padding: 2rem 2rem;
}

.body_title_sidebar_r {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 1rem;
}



.body_pr_sidebar_r {
    padding: 1rem 0;
    height: 500px;
    overflow-y: scroll;
}
/* Hamburger icon */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 30px;
}

.body_sm_find {
    display: none;
}

.body_sm_icon {
    display: none;
}

.title_pr_right {
    font-size: 14px;
    font-weight: 500;
}

.btn_pr_right {
    background-color: #7A0904;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 6px 14px;
    margin-top: 1rem;
}

.body_pr_pay {
    margin-top: 1rem;
    border-top: 2px solid black;
    padding-top: 1rem;
}

.body_title_pay {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn_pay_r {
    display: block;
    width: 100%;
    background-color: #000;
    color: #fff;
    padding: 10px;
    text-align: center;
    text-transform: uppercase;
}

.link_cart {
    margin-top: 1rem;
    width: 100%;
}
/* Menu khi màn hình nhỏ */

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

.title_sidebar {
    background-color: #7A0904;
    color: #fff;
    padding: 15px;
}

.body_left_cart {
    position: relative;
}

.count_cart {
    position: absolute;
    top: -50%;
    right: -30%;
    background-color: red;
    padding: 4px 8px;
    color: #fff;
    border-radius: 50%;
}
/***************************************************************/
.swiper-container {
    width: 100%;
    overflow: hidden;
}

/* .swiper-slide .img_slider_threes {
    width: 100%;
    height: auto;
    object-fit: cover; 
} */

.img_three_slider {
    width: 100%;
    height: auto;
}

    .img_three_slider img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
/***************************************************************/
.body_four_container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.flash-sale-header {
    text-align: center;
    margin-bottom: 30px;
}

    .flash-sale-header h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

.countdown {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.countdown-item {
    background-color: #000;
    color: white;
    padding: 10px;
    min-width: 40px;
    text-align: center;
    font-size: 1.2rem;
}

.body_input_find {
    display: block;
    position: absolute;
    top: -20%;
    right: 25%;
}


.promo-banners {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

    .promo-banners img {
        width: 100%;
        height: auto;
    }

.product-slider {
    position: relative;
    padding: 20px 40px;
}

/*** card **/
.product-card {
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    height: auto;
}


    .product-card:hover .primary-image {
        opacity: 0;
    }

    .product-card:hover .hover-image {
        opacity: 1;
    }

    .product-card:hover {
        transform: translateY(-2px);
    }

        .product-card:hover .title_pr_four {
            color: #e31837;
        }

        .product-card:hover .flash-sale-button {
            display: block;
        }

        .product-card:hover .body_color {
            display: block;
        }

.image-container {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

    .image-container img {
        width: 100%;
        height: 100%; /* Hoặc để tự động */
        object-fit: cover; /* Đảm bảo ảnh không bị méo */
        transition: opacity 0.3s ease, transform 0.3s ease; /* Hiệu ứng mượt hơn khi hover */
    }

.primary-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    transition: opacity 0.3s ease;
    will-change: opacity;
}

.hover-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    will-change: opacity;
}

.title_pr_four {
    text-align: center;
    font-weight: 400;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.flash-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #e31837;
    color: white;
    padding: 4px 8px;
    font-size: 0.8rem;
    z-index: 1;
}

.flash-sale-button {
    background: #e31837;
    color: white;
    border: none;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: none;
    text-align: center;
}


    .flash-sale-button:hover {
        background: #c41230;
    }
/*****/
.title_big_pr {
    font-weight: bold;
    letter-spacing: 1px;
}







.color-option:hover {
    transform: scale(1.1);
}

.color-option.selected {
    border-color: #e31837;
}

/* Buy Button */

.body_color {
    display: none;
}

.price_pr_four {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.current-price {
    color: #e31837;
    font-weight: bold;
}

.original-price {
    color: #999;
    text-decoration: line-through;
    font-size: 0.9rem;
}

.swiper-container {
    position: relative;
    width: 100%;
    height: 100%;
}



.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    width: 10px;
    height: 44px;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}


    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 18px;
    }

.swiper-button-next,
.swiper-button-prev {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 10px;
        color: grey;
    }


@media (max-width: 768px) {
    .promo-banners {
        grid-template-columns: 1fr;
    }

    .product-slider {
        padding: 20px 0;
    }
}

.body_part_five {
    display: flex;
    justify-content: center;
    align-items: center;
}

.title_five {
    text-align: center;
    padding-top: 2rem;
    font-size: 17px;
    font-weight: 400;
    border-bottom: 1px solid black;
    width: 100px;
    padding-bottom: 10px;
}

.body_all_six {
    padding-top: 5rem;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.img_six {
    width: 100%;
    height: auto;
}

    .img_six img {
        width: 100%;
        height: auto;
    }

.body_title_all {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.product_six {
    padding-top: 2rem;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 4rem;
}

.title_ele_six {
    text-transform: uppercase;
}

.title_sm_six {
    font-size: 20px;
    font-weight: 350;
}

.title_pr_six {
    font-size: 17px;
    text-align: center;
    margin-top: 1rem;
    font-weight: 400;
}

.title_pr_seven {
    font-size: 17px;
    text-align: center;
    margin-top: 2rem;
    font-weight: 600;
}


.product_slider_new {
    position: relative;
    padding: 20px 40px;
    margin-top: 2rem;
}

.current_price_new {
    color: black;
    font-weight: bold;
    font-size: 14px;
}

.flash_new_button {
    background: #000;
    color: white;
    border: none;
    width: 100%;
    padding: 5px;
    margin-top: 2rem;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: none;
    text-align: center;
}

.product-card:hover .flash_new_button {
    display: block;
}

.title_pr_new {
    text-align: center;
    font-weight: 400;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.body_sm_title_nine {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.title_ele_six {
    text-align: center;
}

.line_nine {
    width: 100%;
    background-color: grey;
    height: 1px;
}

.title_nine_social {
    text-align: center;
}

.body_all_ten {
    padding-top: 1rem;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}


.title_ten {
    font-size: 16px;
    font-weight: 400;
}

.img_six {
    margin-top: 1rem;
}

.ten_social_sm {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

    .ten_social_sm i {
        font-size: 20px;
    }

.title_big_ten {
    font-size: 25px;
    font-weight: 400;
    margin: 0;
}

.title_small_ten {
    font-size: 13px;
    font-weight: 400;
    margin-top: 10px;
}

.body_title_sm_ele {
    display: flex;
    flex-direction: column;
}

    .body_title_sm_ele a {
        color: black;
    }

.product_sv {
    padding-top: 2rem;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 4rem;
}

/*** mobile ***/
@media (max-width: 575.98px) {

    .product-card {
        position: relative;
        transition: all 0.3s ease;
        cursor: pointer;
        height: auto;
    }

    .image-container {
        position: relative;
        width: 100%;
        height: 500px;
        overflow: hidden;
    }

        .image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: opacity 0.3s ease, transform 0.3s ease; /* Hiệu ứng mượt hơn khi hover */
        }

    .title_sm_six {
        text-align: center;
    }

    .product_six .row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 10px;
    }

    .title_pr_six {
        font-size: 13px;
    }

    .product_sv {
        padding: 10px;
    }

    .title_pr_seven {
        font-size: 22px;
    }

    .product_card_sm {
        position: relative;
        transition: all 0.3s ease;
        cursor: pointer;
        height: auto;
    }

    .image_card_sm {
        position: relative;
        width: 100%;
        height: 300px;
        overflow: hidden;
    }

        .image_card_sm img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: opacity 0.3s ease, transform 0.3s ease; /* Hiệu ứng mượt hơn khi hover */
        }

    .product_slider_new {
        padding: 10px;
    }

    .product_ten_phone {
        margin-top: 2rem;
    }

    .title_ele_phone {
        margin-top: 1rem;
    }

    .title_final_phone {
        text-align: center;
    }

    .body_two_icon_small {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .body_input_find {
        display: none;
    }

    .body_sm_find {
        display: block;
        position: relative;
    }

    .input_style_sm {
        margin-top: 5px;
        width: 100%;
        height: 60px;
        border: 1px solid #e5e5e5;
        border-radius: 5px;
        padding-inline: 20px;
        padding: 10px;
    }

    .btn_find_phone {
        position: absolute;
        top: 18%;
        right: 2%;
        width: 70px;
        height: 60px;
        border: none;
        background-color: #7A0904;
        color: white;
        border-radius: 5px;
    }

    .row_detail_title {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .row_next_title {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .body_next_detail_title {
        padding: 1rem;
    }

    .body_two_detail_next {
        padding: 1rem;
    }

    .body_left_Detail {
        margin-top: 1rem;
    }

    .price_pr_one {
        margin-top: 1rem;
    }

    .current_price_new {
        color: red;
        font-size: 15px;
    }

    .original-price {
        font-size: 15px;
    }
}

@media (max-width: 767.98px) {
}


@media (max-width: 992px) {
    .title_final_phone {
        text-align: center;
    }

    .row_pr_six {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .title_ele_phone {
        margin-top: 1rem;
    }

    .product_ten_phone {
        margin-top: 1rem;
    }

    .body_ele_two {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .body_logo_first {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .row_pr_six {
        padding: 20px;
    }

    .body_sm_icon {
        display: block;
        padding-right: 1rem;
    }

    .body_ele_two {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .hamburger {
        display: block;
    }

    .body_two_icon_small {
        display: flex;
        gap: 10px;
    }

    .input_style_sm {
        display: block;
        margin-top: 5px;
        width: 100%;
        border: 1px solid #e5e5e5;
        border-radius: 5px;
        padding-inline: 20px;
        padding: 10px;
    }

    .body_sm_find {
        display: block;
        position: relative;
    }

    .body_part_two {
        display: none;
    }

    .body_sm_find {
        padding: 10px;
    }

    .body_sm_left a {
        display: none;
    }

    .size_icon {
        display: none;
    }

    .sidebar {
        display: block;
    }

    .body_two_small {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .body_sm_right {
        display: none;
    }
}


@media (max-width: 1199.98px) {
    .body_sm_right {
        display: none;
    }

    .body_ele_two {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }

    .body_two_icon_small {
        display: flex;
        gap: 10px;
    }

    .body_logo_first {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .body_part_two {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .body_input_find {
        display: none;
    }

    .body_sm_find {
        display: block;
        position: relative;
    }

    .input_style_sm {
        margin-top: 5px;
        width: 100%;
        height: 60px;
        border: 1px solid #e5e5e5;
        border-radius: 5px;
        padding-inline: 20px;
        padding: 10px;
    }

    .a_find_sm {
        display: none;
    }

    .size_icon {
        display: none;
    }

    .btn_find_phone {
        position: absolute;
        top: 17%;
        right: 0;
        width: 70px;
        height: 60px;
        border: none;
        background-color: #7A0904;
        color: white;
        border-radius: 5px;
    }

    .body_sm_icon {
        display: block;
    }
}


@media (max-width: 1399.98px) {
}
