﻿/* Background tổng thể */
body {
    background-color: #121212;
    color: white;
    font-family: 'Arial', sans-serif;
}

/* Tiêu đề */
h2 {
    margin-bottom: 20px;
}

/* Banner */
.banner img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 10px;
}

/* Danh mục sản phẩm */
.category-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

    .category-menu a {
        padding: 10px 15px;
        text-decoration: none;
        color: white;
        background-color: #007bff;
        border-radius: 5px;
        transition: background-color 0.3s, transform 0.2s;
    }

        .category-menu a:hover {
            background-color: #0056b3;
            transform: scale(1.1);
        }

/* Sản phẩm */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

    .card:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 16px rgba(255, 255, 255, 0.3);
    }

    .card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

.card-body {
    text-align: center;
}

/* Nút Xem chi tiết */
.btn-primary {
    background-color: #ff6600;
    border: none;
    transition: background-color 0.3s, transform 0.2s;
}

    .btn-primary:hover {
        background-color: #cc5200;
        transform: scale(1.05);
    }

/* Header */
.header {
    background: black;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 100px;
    width: 100%;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Body */
body {
    background: black;
    color: white;
}

/* Header */
.header {
    background: black;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 100px;
    width: 100%;
}

    .header .logo {
        font-size: 24px;
        font-weight: bold;
    }

    .header nav {
        display: flex;
        justify-content: center;
        flex-grow: 1;
        gap: 50px;
    }

        .header nav a {
            color: white;
            text-decoration: none;
            font-size: 18px;
            transition: color 0.3s;
        }

            .header nav a:hover {
                color: yellow;
            }

    .header .icons {
        display: flex;
        gap: 20px;
    }

/* Background Section */
.background {
    background-image: url('https://minhdatstore.vn/public/uploads/iphone-12-chinh-thuc-mo-ban-iphone-12-pro-max-len-ngoi-thumbnail.jpg');
    background-size: cover;
    background-position: center;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Flash Sale */
.flash-sale {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 90%;
    margin: auto;
    margin-top: 20px;
}

    .flash-sale h2 {
        font-size: 40px;
        color: yellow;
        font-weight: bold;
        text-transform: uppercase;
    }

/* Product List */
.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.product {
    background: #292929;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 220px;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

    .product img {
        width: 200px;
        height: 200px;
        object-fit: cover;
        border-radius: 10px;
    }

.price {
    color: orange;
    font-size: 18px;
    font-weight: bold;
}

.old-price {
    text-decoration: line-through;
    color: gray;
}

.discount {
    background: red;
    color: white;
    padding: 2px 5px;
    font-size: 14px;
    border-radius: 3px;
}

.stock {
    background: yellow;
    color: black;
    padding: 5px;
    border-radius: 5px;
    margin-top: 5px;
}

/* Product Slider */
.product-slider {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 20px 0;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

    /* Hide Scrollbar */
    .product-slider::-webkit-scrollbar {
        display: none;
    }

/* Category Section */
.category-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.category {
    background: #333;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    width: 250px;
    height: 200px;
}

    .category img {
        width: 100%;
        height: 150px;
        object-fit: cover;
        border-radius: 10px;
    }

{
    background-color: #111;
    color: white;
    font-family: Arial, sans-serif;
}

.product-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 90%;
    margin: auto;
}

.arrow {
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

    .arrow.left {
        left: -30px;
    }

    .arrow.right {
        right: -30px;
    }

.product-list {
    display: flex;
    overflow: hidden;
    gap: 15px;
    scroll-behavior: smooth;
}

.product {
    background: #222;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    min-width: 200px;
    transition: transform 0.3s;
}

    .product:hover {
        transform: scale(1.05);
    }

    .product img {
        width: 100%;
        border-radius: 5px;
    }

.product-name {
    font-weight: bold;
    margin: 10px 0;
}

.price {
    color: #f9a825;
    font-size: 18px;
}

.old-price {
    text-decoration: line-through;
    color: #888;
}

.discount {
    color: red;
    font-weight: bold;
}

.online-deal {
    background: yellow;
    color: black;
    display: inline-block;
    padding: 5px;
    border-radius: 5px;
    margin-top: 5px;
}
<!-- ĐT- >
.watch-slider {
    text-align: center;
    background: #333;
    padding: 20px;
    border-radius: 10px;
}

.watch-slider h2 {
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
}

.watch-list {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.watch {
    background: #222;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    width: 200px;
}

    .watch img {
        width: 100%;
        border-radius: 8px;
    }

.watch-name {
    color: white;
    font-size: 14px;
    margin: 10px 0;
}

.price {
    color: #ffcc00;
    font-weight: bold;
}

.old-price {
    text-decoration: line-through;
    color: gray;
}

.discount {
    color: red;
}

.arrow {
    font-size: 20px;
    color: white;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.left {
    left: 10px;
}

.right {
    right: 10px;
}
<!-- Phụ KIện-- >
.audio-slider {
    text-align: center;
    background: #333;
    padding: 20px;
    border-radius: 10px;
}

.audio-slider h2 {
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
}

.audio-list {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.audio-item {
    background: #222;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    width: 200px;
}

    .audio-item img {
        width: 100%;
        border-radius: 8px;
    }

.audio-name {
    color: white;
    font-size: 14px;
    margin: 10px 0;
}

.price {
    color: #ffcc00;
    font-weight: bold;
}

.old-price {
    text-decoration: line-through;
    color: gray;
}

.discount {
    color: red;
}

.arrow {
    font-size: 20px;
    color: white;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.left {
    left: 10px;
}

.right {
    right: 10px;
}
<!-- Phụ Kiện-- >
.accessory-slider {
    text-align: center;
    background: #333;
    padding: 20px;
    border-radius: 10px;
}

.accessory-slider h2 {
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
}

.accessory-list {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.accessory-item {
    background: #222;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    width: 200px;
}

    .accessory-item img {
        width: 100%;
        border-radius: 8px;
    }

.accessory-name {
    color: white;
    font-size: 14px;
    margin: 10px 0;
}

.price {
    color: #ffcc00;
    font-weight: bold;
}

.old-price {
    text-decoration: line-through;
    color: gray;
}

.discount {
    color: red;
}

.arrow {
    font-size: 20px;
    color: white;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.left {
    left: 10px;
}

.right {
    right: 10px;
}
<!-- TekZone-- >
.tekzone-container {
    text-align: center;
    background: #333;
    padding: 20px;
    border-radius: 10px;
}

.tekzone-container h2 {
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
}

.tekzone-list {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.tekzone-item {
    background: #222;
    border-radius: 8px;
    text-align: left;
    width: 300px;
    overflow: hidden;
}

    .tekzone-item img {
        width: 100%;
        height: auto;
        border-radius: 8px 8px 0 0;
    }

.tekzone-info {
    padding: 10px;
    color: white;
}

.tekzone-logo {
    font-size: 14px;
    font-weight: bold;
    color: white;
}

.tekzone-title {
    font-size: 14px;
    margin: 5px 0;
}

.tekzone-time {
    font-size: 12px;
    color: gray;
}

.arrow {
    font-size: 20px;
    color: white;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.left {
    left: 10px;
}

.right {
    right: 10px;
}

