/* 기본 초기화 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', sans-serif;
}

body {
    background-color: #f5f6f7;
}

.container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 헤더 스타일 */
header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #2b96ed;
}

.search-bar input {
    width: 300px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #f2f2f2;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.btn-signup {
    border: 1px solid #2b96ed;
    padding: 8px 15px;
    border-radius: 5px;
    color: #2b96ed !important;
}

/* 히어로 배너 */
.hero {
    height: 300px;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?q=80&w=1200');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

/* 카드 그리드 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.card-info {
    padding: 15px;
}

.category {
    font-size: 12px;
    color: #888;
}

.card-info h3 {
    font-size: 16px;
    margin: 5px 0;
    height: 40px;
}

.price {
    font-weight: bold;
    color: #333;
}

.rating {
    font-size: 12px;
    color: #ff9d00;
    margin-top: 10px;
}