* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* Header */
/* ==========================
   RESET
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#fff;
    color:#222;
}

/* ==========================
   HEADER
========================== */

.header{
    width:100%;
    height:90px;
    background:#fff;
    border-bottom:1px solid #ececec;
    position:sticky;
    top:0;
    z-index:999;
}

.header-container{

    width:1400px;
    max-width:95%;

    height:90px;

    margin:auto;

    display:flex;
    justify-content:space-between;
    align-items:center;

}

/* ==========================
   LOGO
========================== */

.logo{

    width:220px;

    display:flex;
    align-items:center;

}

.logo img{

    width:175px;

    display:block;

}

/* ==========================
   MENU
========================== */

.navbar{

    display:flex;
    align-items:center;

    gap:42px;

}

.navbar a{

    text-decoration:none;

    color:#111;

    font-size:18px;

    font-weight:600;

    letter-spacing:.3px;

    transition:.25s;

}

.navbar a:hover{

    color:#163c77;

}

/* ==========================
   RIGHT
========================== */

.header-right{

    display:flex;

    align-items:center;

    gap:25px;

}

/* ==========================
   SEARCH
========================== */

.search-box{

    width:360px;

    height:48px;

    border:1px solid #ddd;

    border-radius:999px;

    background:#fafafa;

    display:flex;

    align-items:center;

    padding:0 18px;

}

.search-box svg{

    width:21px;

    height:21px;

    color:#777;

    flex-shrink:0;

}

.search-box input{

    flex:1;

    margin-left:10px;

    border:none;

    outline:none;

    background:transparent;

    font-size:16px;

}

.search-box input::placeholder{

    color:#999;

}

/* ==========================
   ICON
========================== */

.icon-buttons{

    display:flex;

    align-items:center;

    gap:18px;

}

.icon-buttons a{

    color:#111;

    display:flex;

    align-items:center;

    justify-content:center;

    transition:.25s;

}

.account-link{
    display:flex;
    align-items:center;
    gap:8px;
    color:#111;
    font-weight:600;
    text-decoration:none;
}

.account-name{
    font-size:14px;
    color:#111;
}

.logout-link{
    color:#d32f2f;
    font-size:14px;
    margin-left:8px;
    text-decoration:none;
    font-weight:600;
}

.logout-link:hover{
    color:#b71c1c;
}

.user-greeting{
    display:flex;
    align-items:center;
    gap:10px;
}

.icon-buttons a:hover{

    color:#163c77;

}

.icon-buttons svg{

    width:28px;

    height:28px;

}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:1200px){

    .navbar{

        gap:24px;

    }

    .search-box{

        width:260px;

    }

}

@media(max-width:992px){

    .navbar{

        display:none;

    }

    .search-box{

        width:220px;

    }

}

@media(max-width:768px){

    .header-container{

        height:75px;

    }

    .logo img{

        width:145px;

    }

    .search-box{

        display:none;

    }

}
/* Banner */
.banner {
    background: #3a3a3a;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 16px;
    letter-spacing: 2px;
}

/* Hero Banner */
.hero-banner {
    padding-top: 10px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
}
/* prd 4sp */ 

.bestseller-section {
    padding: 10px 20px;
    background-color: #ffffff;
}

.bestseller-container {
    max-width: 1400px;
    margin: 0 auto;
}

.bestseller-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.bestseller-line {
    flex: 1;
    max-width: 400px;
    height: 2px;
    background-color: #000;
}

.bestseller-title {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: 3px;
    color: #000;
    white-space: nowrap;
    margin: 0;
}

.bestseller-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.bestseller-card {
    background: #ffffff;
    text-align: center;
}

.bestseller-image-box {
    width: 100%;
    aspect-ratio: 3/4;
    background-color: #e8e8e8;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.bestseller-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bestseller-label {
    color: #888;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    font-weight: 400;
}

.bestseller-price {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-top: 8px;
}

@media (max-width: 1200px) {
    .bestseller-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .bestseller-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .bestseller-title {
        font-size: 28px;
    }

    .bestseller-header {
        gap: 20px;
    }

    .bestseller-line {
        max-width: 100px;
    }
}

@media (max-width: 480px) {
    .bestseller-line {
        max-width: 50px;
    }

    .bestseller-title {
        font-size: 24px;
        letter-spacing: 2px;
    }
}
 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: Arial, sans-serif;
            color: #333;
            line-height: 1.6;
        }

        /* Banner Section */
        .banner-section {
            width: 100%;
            max-width: 1400px;
            margin: 0 auto 40px;
            padding-top: 10px;
            overflow: hidden;
        }

        .banner-strip {
            background: #3a3a3a;
            color: white;
            text-align: center;
            padding: 15px;
            font-size: 16px;
            letter-spacing: 2px;
        }

        .banner-strip .tick {
            display: inline-block;
            margin-right: 8px;
            font-weight: bold;
        }

        .banner-content {
            width: 100%;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f7f7f7;
            overflow: hidden;
        }

        .banner-content img {
            width: 100%;
            height: auto;
            max-width: 100%;
            display: block;
            object-fit: cover;
            object-position: center;
        }

        header {
            background: #fff;
            border-bottom: 1px solid #eee;
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 10px 20px;
            box-sizing: border-box;
            gap: 20px;
        }

        .logo {
            flex-shrink: 0;
        }

        nav {
            display: flex;
            align-items: center;
            gap: 20px;
            flex: 1;
            justify-content: center;
            margin: 0 12px;
        }

        nav a {
            text-decoration: none;
            color: #111;
            font-size: 14px;
            font-weight: 700;
            letter-spacing: 1px;
            white-space: nowrap;
        }

        .header-right {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
            margin-left: auto;
        }

        .search-box {
            display: flex;
            align-items: center;
            gap: 8px;
            border: 1px solid #ddd;
            padding: 8px 12px;
            border-radius: 20px;
            min-width: 230px;
            height: 40px;
        }

        .search-box svg {
            width: 18px;
            height: 18px;
            color: #666;
        }

        .search-box input {
            border: none;
            outline: none;
            width: 100%;
            font-size: 14px;
            background: transparent;
        }

        .icon-buttons {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .icon-buttons button {
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
        }

        .icon-buttons svg {
            width: 24px;
            height: 24px;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Breadcrumb */
        .breadcrumb {
            font-size: 14px;
            color: #666;
            margin-bottom: 30px;
            padding: 0 20px;
        }

        .breadcrumb a {
            color: #666;
            text-decoration: none;
        }

        .breadcrumb a:hover {
            color: #333;
        }

        /* Main Content Layout */
        .main-content {
            display: grid;
            grid-template-columns: 250px 1fr;
            gap: 40px;
            padding: 0 20px;
        }

        /* Sidebar */
        .sidebar {
            position: sticky;
            top: 20px;
            height: fit-content;
        }

        .sidebar-section {
            margin-bottom: 30px;
        }

        .sidebar-title {
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 15px;
            text-transform: uppercase;
        }

        .sidebar-list {
            list-style: none;
        }

        .sidebar-list li {
            margin-bottom: 10px;
        }

        .sidebar-list a {
            color: #666;
            text-decoration: none;
            font-size: 14px;
            display: block;
            padding: 5px 0;
            transition: color 0.3s;
        }

        .sidebar-list a:hover,
        .sidebar-list a.active {
            color: #000;
            font-weight: 500;
        }

        /* Products Section */
        .products-section {
            flex: 1;
        }

        .products-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
        }

        .products-title {
            font-size: 24px;
            font-weight: bold;
        }

        .products-controls {
            display: flex;
            gap: 15px;
            align-items: center;
        }

        .view-toggle {
            display: flex;
            gap: 5px;
        }

        .view-btn {
            width: 35px;
            height: 35px;
            border: 1px solid #ddd;
            background: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }

        .view-btn:hover,
        .view-btn.active {
            background: #333;
            border-color: #333;
            color: white;
        }

        .filter-select {
            padding: 8px 15px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
            cursor: pointer;
        }

        /* Products Grid */
        .products-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-bottom: 50px;
        }

        .product-card {
            cursor: pointer;
            transition: transform 0.3s;
        }

        .product-card:hover {
            transform: translateY(-5px);
        }

        .product-image {
            width: 100%;
            height: 450px;
            background: #f5f5f5;
            overflow: hidden;
            margin-bottom: 15px;
            position: relative;
        }

        .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }

        .product-card:hover .product-image img {
            transform: scale(1.05);
        }

        .product-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            background: #d32f2f;
            color: white;
            padding: 5px 10px;
            font-size: 12px;
            border-radius: 3px;
        }

        .product-info {
            text-align: left;
        }

        .product-name {
            font-size: 16px;
            margin-bottom: 8px;
            color: #333;
        }

        .product-price {
            font-size: 18px;
            font-weight: bold;
            color: #333;
        }

        .product-price.sale {
            color: #d32f2f;
        }

        .product-price-old {
            font-size: 14px;
            color: #999;
            text-decoration: line-through;
            margin-left: 10px;
        }

        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            margin-top: 50px;
            margin-bottom: 50px;
        }

        .pagination button {
            width: 40px;
            height: 40px;
            border: 1px solid #ddd;
            background: white;
            cursor: pointer;
            border-radius: 4px;
            font-size: 14px;
            transition: all 0.3s;
        }

        .pagination button:hover {
            background: #f5f5f5;
        }

        .pagination button.active {
            background: #333;
            color: white;
            border-color: #333;
        }

        .pagination button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .pagination .dots {
            border: none;
            background: none;
            cursor: default;
        }

        /* Responsive */
        @media (max-width: 1200px) {
            .products-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 992px) {
            .main-content {
                grid-template-columns: 1fr;
            }

            .sidebar {
                position: static;
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                gap: 20px;
            }
        }

        @media (max-width: 768px) {
            .products-grid {
                grid-template-columns: 1fr;
            }

            .sidebar {
                grid-template-columns: 1fr;
            }

            .products-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }
        }
/* Product Grid Section */
.product-grid {
    
    margin-left:2px;
    padding-top:10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    cursor: pointer;
}

.product-card img {

    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.08);
}

/* Fashion Slider Section */
.fashion-slider {
    position: relative;
    max-width: 1400px;
    margin: 10px auto;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 250px;
}

.slider-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slider-slide.active {
    opacity: 1;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 60px;
    height: 60px;
    cursor: pointer;
    z-index: 3;
    font-size: 24px;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: #f0f0f0;
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
    }

    .search-box {
        width: 100%;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .slider-container {
        height: 300px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}
    .sidebar-checkbox-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .sidebar-checkbox-item {
        margin-bottom: 8px;
    }
    .sidebar-checkbox-label {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        color: #555;
        cursor: pointer;
        user-select: none;
        transition: color 0.2s;
    }
    .sidebar-checkbox-label:hover {
        color: #000;
    }
    .sidebar-checkbox-label input[type="checkbox"] {
        width: 16px;
        height: 16px;
        accent-color: #333; /* Màu ô tích khi chọn */
        cursor: pointer;
    }
/* Newsletter Section */
.newsletter-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1400px;
    margin: 10px auto;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.newsletter-image {
    position: relative;
    overflow: hidden;
}

.newsletter-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.newsletter-content {
    background: #a8a8a8;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 28px;
    font-weight: bold;
    color: #000;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.newsletter-content p {
    font-size: 14px;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.6;
}

.newsletter-form {
    width: 100%;
    max-width: 400px;
}

.newsletter-form input {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-bottom: 2px solid #666;
    background: transparent;
    font-size: 14px;
    color: #000;
    margin-bottom: 20px;
    outline: none;
    transition: border-color 0.3s;
}

.newsletter-form input::placeholder {
    color: #555;
}

.newsletter-form input:focus {
    border-bottom-color: #000;
}

.newsletter-form button {
    width: 100%;
    padding: 15px 20px;
    background: #000;
    color: white;
    border: none;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #333;
}

@media (max-width: 768px) {
    .newsletter-section {
        grid-template-columns: 1fr;
    }

    .newsletter-content {
        padding: 40px 30px;
    }

    .newsletter-content h2 {
        font-size: 22px;
    }
}


.footer {
    background-color: rgb(205, 205, 205);
    padding: 40px 60px;
    max-width: auto px;
    margin: 0 auto;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
}

.footer-logo span {
    font-size: 24px;
    font-weight: bold;
}

.footer-company h3 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-company p {
    font-size: 13px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 10px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 2px solid #000;
    padding-bottom: 8px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #333;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #666;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: #333;
}

.payment-methods h5 {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.payment-icons {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.payment-icon {
    height: 25px;
}

.certification img {
    height: 50px;
}

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 30px 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    /* Styling cho danh sách ô tích Checkbox bên Sidebar */
.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.sidebar-list li {
    margin-bottom: 10px;
}

.sidebar-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #444;
    transition: color 0.2s;
}

.sidebar-checkbox-label input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #d9534f; /* Màu tick đỏ thương hiệu CANIFA */
}

.sidebar-checkbox-label:hover {
    color: #d9534f;
}
}