/* style.css */

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px; /* Khoảng cách giữa hình và chữ */
}

.main-logo {
    height: 60px; /* Điều chỉnh độ cao của logo cho vừa vặn */
    width: auto;
    border-radius: 50%; /* Làm cho logo tròn trịa hơn nếu cần */
    object-fit: contain;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark-pink);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Đảm bảo Header luôn căn giữa các thành phần */
header {
    background: white;
    padding: 10px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(255, 133, 161, 0.15); /* Đổ bóng màu hồng nhạt cho tone-sur-tone */
}
/* --- Các biến màu sắc và Reset --- */
:root {
    --primary-pink: #ff85a1;
    --dark-pink: #f06292;
    --light-gray: #f1f1f1;
    --text-dark: #333;
    --bg-color: #fdfdfd;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    background-color: var(--bg-color);
}

/* --- Header & Navigation --- */
header {
    background: white;
    padding: 15px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--primary-pink); }

.search-container {
    display: flex;
    align-items: center;
    background: var(--light-gray);
    padding: 5px 15px;
    border-radius: 20px;
}

.search-container input {
    border: none;
    background: transparent;
    outline: none;
    padding: 5px;
}

/* --- Container chính --- */
.container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    min-height: 60vh; /* Giữ footer ở dưới cùng */
}

/* --- Lưới sản phẩm (giữ nguyên từ bước trước) --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.product-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
}

.button-group { display: flex; gap: 10px; margin-top: 15px; }
.btn-add { flex: 1; background: var(--primary-pink); color: white; text-align: center; padding: 10px; border-radius: 6px; text-decoration: none; }
.btn-detail { flex: 1; background: #eee; color: #555; text-align: center; padding: 10px; border-radius: 6px; text-decoration: none; }

/* --- Footer --- */
footer {
    background: #333;
    color: white;
    padding: 50px 10% 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: var(--primary-pink);
    margin-bottom: 20px;
}

.footer-section p, .footer-section li {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #888;
}