/* ===== RESET NHẸ ===== */
* {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    margin: 0;
    background: #f4f6f8;
}

/* ===== HEADER ===== */
.header {
    color: white;
    background-image:
        linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
        url("../img/bg-header.jfif");
    background-size: cover;
    background-position: center;
}

.logo {
    width: 70px;
    border-radius: 8px;
}

.header h1 {
    font-size: 32px;
    margin-bottom: 5px;
}

.header p {
    margin: 0;
    opacity: 0.9;
}

/* ===== NAV ===== */
nav {
    background: #2e7d32;
}

nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
    padding-bottom: 5px;
    transition: 0.3s;
}

nav a:hover {
    color: #ffeb3b;
    border-bottom: 2px solid #ffeb3b;
}

/* ===== SẢN PHẨM ===== */
.product-section {
    background: #fffde7;
}

.product {
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.product:hover {
    transform: translateY(-6px);
}

.product img {
    height: 260px;
    object-fit: cover;
}

.card-title {
    color: #2e7d32;
    font-weight: bold;
}

.desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.price {
    color: #e91e63;
    font-weight: bold;
}

/* ===== BUTTON ===== */
.btn-success {
    transition: 0.3s;
}

.btn-success:hover {
    background-color: #ff9800;
    border-color: #ff9800;
    transform: scale(1.05);
}

/* ===== GIỎ HÀNG ===== */
.cart-section {
    background: #e8f5e9;
    border-top: 5px solid #4caf50;
}

.cart-section ul li {
    padding: 6px 0;
}

/* ===== ĐẶT HÀNG ===== */
.order-section {
    background: #e3f2fd;
    border-top: 5px solid #2196f3;
}

/* ===== FOOTER ===== */
footer {
    background: #263238;
    color: white;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .product img {
        height: 220px;
    }

    .header h1 {
        font-size: 24px;
    }
}

#searchInput,
#priceFilter {
    border-radius: 8px;
}
/* ===== SEARCH & FILTER ===== */
.search-box {
    background: white;
    border-radius: 15px;
    border-left: 6px solid #4caf50;
}

.search-box .form-control,
.search-box .form-select {
    border-radius: 10px;
    padding: 12px;
}

.search-box .form-control:focus,
.search-box .form-select:focus {
    border-color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

.input-group-text {
    border-radius: 10px 0 0 10px;
    font-size: 18px;
}

