@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&family=Playfair+Display:ital@1&display=swap');

    :root {
        --primary-color: #A34839; /* Mô phỏng màu đỏ/hồng sẫm cho text */
        --secondary-color: #333;
        --light-grey: #f8f8f8;
        --main-font: 'Jost', sans-serif;
        --serif-font: 'Playfair Display', serif;
    }

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

    body {
        font-family: var(--main-font);
        color: var(--secondary-color);
        background-color: white;
        line-height: 1.6;
        font-size: 16px; /* 12pt tương đương khoảng 16px */
    }

    .container {
        width: 80%;
        max-width: 1200px;
        margin: 0 auto;
    }

    a {
        text-decoration: none;
        color: inherit;
    }

    ul {
        list-style: none;
    }
    .hero-section {
        display: flex;
        margin-top: 50px;
        gap: 40px; 
        align-items: center;
        padding-bottom: 50px;
        border-bottom: 1px solid #eee;
    }

    .hero-content {
        flex: 1;
        padding: 50px 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
    }
    .hero-title {
        font-family: var(--serif-font);
        font-size: 48px;
        font-weight: 400;
        line-height: 1.1;
        margin-bottom: 20px;
    }

    .hero-title strong {
        font-weight: 700;
        color: var(--primary-color);
    }

    .hero-text {
        font-size: 15px;
        color: #666;
        margin-bottom: 30px;
        max-width: 450px;
    }

    .hero-signature {
        font-family: var(--serif-font);
        font-style: italic;
        font-size: 50px;
        color: var(--primary-color);
    }

    .hero-image {
        flex: 1;
        text-align: right;
    }

    .hero-image img {
        max-width: 100%;
        height: auto;
        display: block;
        border-radius: 8px; /* Thêm bo tròn cho hình ảnh */
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    /* PRODUCT FILTER */
    .product-filter {
        border-bottom: 1px solid #eee;
        padding: 30px 0 15px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .filter-categories {
        display: flex;
        flex-wrap: wrap; /* Hỗ trợ responsive tốt hơn */
        gap: 30px;
    }

    .filter-categories a {
        font-size: 14px;
        font-weight: 500;
        text-transform: uppercase;
        color: #666;
        padding-bottom: 5px;
        transition: all 0.3s ease;
    }

    .filter-categories a:hover {
        color: var(--primary-color);
    }

    .filter-categories a.active {
        color: var(--primary-color);
        border-bottom: 2px solid var(--primary-color);
        font-weight: 600;
    }

    .filter-dropdown {
        font-size: 14px;
        color: #666;
        cursor: pointer;
        padding: 8px 12px;
        border: 1px solid #ddd;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    .filter-dropdown:hover {
        background-color: var(--light-grey);
        border-color: #ccc;
    }
    

    @media (max-width: 768px) {
        .hero-section {
            flex-direction: column;
            gap: 20px;
            text-align: center;
        }
        .hero-image {
            text-align: center;
        }
        .hero-title {
            font-size: 36px;
        }
        .filter-categories {
            justify-content: center;
            width: 100%;
        }
        .product-filter {
            flex-direction: column;
            gap: 15px;
        }
        .product-grid {
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 20px !important;
        }
        .list {
        display:grid;
        grid-template-columns: repeat(3,1fr);
        gap: 20px;
    }
    .result-search {
        max-width: 1200px;
        margin: 0 auto;
    }
    .sear{
        margin: 20px 0;
        font-size: 20px;
    }
    .product-item {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    
    }
    .product-item:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }
    }

    /* PRODUCT GRID */
    .product-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
        padding-bottom: 50px;
    }

    .product-item {
        text-align: center;
        position: relative;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        padding: 10px;
        border-radius: 8px;
    }
    
    .product-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

    .product-image-wrapper {
        background-color: var(--light-grey); 
        height: 300px; 
        overflow: hidden;
        margin-bottom: 15px;
        display: flex;
        align-items: flex-end; 
        position: relative;
        border-radius: 6px;
    }
    
    /* Đảm bảo hình ảnh lấp đầy và không bị méo */
    .product-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
    
    .product-item:hover .product-image-wrapper img {
        transform: scale(1.05);
    }
    
    /* Hiệu ứng "Sold" */
    .product-item .sold-tag {
        position: absolute;
        top: 10px;
        left: 10px;
        background-color: var(--primary-color);
        color: white;
        padding: 5px 10px;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        z-index: 10;
        border-radius: 3px;
    }

    .product-title {
        font-size: 16px;
        font-weight: 500;
        margin-bottom: 5px;
    }

    .product-price {
        font-size: 14px;
        color: var(--primary-color);
        font-weight: 700;
    }
