* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body {
    color: #333;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.dropdown{
    display: none;
}
a {
    text-decoration: none;
    color: inherit;
}
.header-actions a{
    margin-left: 15px;
}
ul {
    list-style: none;
}
.img-placeholder img{
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border-radius: 20px;
}

.btn {
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: #10B981;
    color: #fff;
}

.btn-outline {
    border: 1px solid #E8E8E8;
}

.section-title {
    text-align: center;
    color: #10B981;
    margin: 30px 0;
    font-size: 22px;
}

.main-header {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.dropdown_home {
    position: relative;
    padding-bottom: 10px;
}


.dropdown_home .dropdown-menu,
.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    z-index: 999; 
}

.dropdown_home:hover .dropdown-menu,
.dropdown:hover .dropdown-menu {
    display: block;
}

.hero-section {
    display: flex;
    align-items: center;
    padding: 40px 15px;
    gap: 30px;
}

.hero-content {
    flex: 1;
}

.hero-banner {
    flex: 1;
}

.hero-banner .img-placeholder{
    height: 300px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 6px;
    position: relative;
}
.product-title {
  font-weight: 500;        
  font-size: 16px;      
  line-height: 1.3;     
  color: #222;          
}
.category {
  font-weight: 600;   
  font-size: 17px; 
  color: #333;         /* Màu chữ rõ nét hơn (hoặc giữ nguyên màu cũ nếu muốn) */
  margin-bottom: 10px;
}
.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #10B981;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 2px;
    z-index: 2;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.stats-section {
    text-align: center;
    margin: 40px auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.stat-box {
    background: #f8f9fa;
    padding: 15px;
}

.main-footer {
    background: #f8f9fa;
    border-top: 1px solid #eee;
    padding: 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 20px;
}
@media screen and (max-width: 992px) {
    .hero-section {
        margin-bottom: 5rem !important;
    }
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}
@media screen and (max-width: 768px) {
    .hero-section {
        margin-bottom: 5rem !important;
    }
    .header-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .header-actions a {
        margin-left: 8px;
        margin-right: 8px;
    }
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }

    .hero-banner {
        width: 100%;
    }

    .hero-banner .img-placeholder {
        height: 200px; 
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}