body {
    background-color: #2c2c2c; /* 짙은 다크 그레이 */
    color: #e0d6ca; /* 크림 베이지색 텍스트 */
    font-family: 'Noto Sans KR', sans-serif;
    margin: 0;
    padding: 0;
}

h2 {
    font-weight: 700;
    color: #ffe8cc; /* 부드러운 밝은 크림색 */
    margin-bottom: 1.5rem;
    text-align: center;
}

.container {
    max-width: 640px;
    margin: 0 auto;
    padding: 1rem;
}

/* 카드 형태 상품 리스트 아이템 */
.product-item {
    display: flex;
    align-items: center;
    background: #3e3a37; /* 짙은 브라운/그레이 혼합 */
    border-radius: 14px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.7);
    padding: 15px 20px;
    margin-bottom: 15px;
    transition: box-shadow 0.3s ease;
}

.product-item:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.85);
}

.product-thumb {
    flex: 0 0 110px;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
    margin-right: 18px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.9);
    transition: transform 0.3s ease;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

.product-item:hover .product-thumb {
    transform: scale(1.05);
}

.product-info {
    flex: 1;
}

.product-info h5 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #fff1d0; /* 따뜻한 베이지색 */
    line-height: 1.3;
    cursor: pointer;
    transition: color 0.25s ease;
}

.product-info h5:hover {
    color: #ffb95c; /* 따뜻한 오렌지톤 */
}

.product-info p {
    font-size: 0.9rem;
    color: #ccc1b9;
    margin: 0 0 10px 0;
    user-select: none;
}

/* 버튼 스타일 */
.btn-block {
    border-radius: 10px;
    font-weight: 600;
    padding: 9px 0;
    font-size: 0.95rem;
    box-shadow: 0 3px 8px rgba(0,0,0,0.8);
    transition: box-shadow 0.3s ease;
}

.btn-success {
    background-color: #c48e54; /* 부드러운 브론즈 골드 */
    border: none;
    color: #fffbea;
    transition: background-color 0.3s ease;
}

.btn-success:hover, .btn-success:focus {
    background-color: #a6722f; /* 진한 골드톤 */
    box-shadow: 0 0 12px rgba(166, 114, 47, 0.8);
}

.btn-secondary {
    background-color: #756853; /* 어두운 브라운톤 */
    border: none;
    color: #e2d8c3;
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: #5e503f;
}

.btn-danger {
    background-color: #a63e2e; /* 딥 레드 */
    border: none;
    color: #f8e9e0;
}

.btn-danger:hover {
    background-color: #8b3024;
}

/* 검색 폼 개선 */
.form-inline {
    display: flex;
    margin-bottom: 1.5rem;
}

.form-control {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid #665c50;
    background-color: #4a453e;
    color: #e0d6ca;
    flex-grow: 1;
    font-size: 1rem;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-control::placeholder {
    color: #b0a995;
}

.form-control:focus {
    border-color: #c48e54;
    background-color: #5d574b;
    box-shadow: 0 0 8px rgba(196, 142, 84, 0.5);
    outline: none;
}

.btn-primary {
    background-color: #c48e54;
    border: none;
    margin-left: 0.5rem;
    width: 110px;
    color: #fffbea;
    transition: background-color 0.3s ease;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #a6722f;
    box-shadow: 0 0 12px rgba(166, 114, 47, 0.8);
}

.btn-secondary.ml-2, .btn-outline-dark {
    border-radius: 10px;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    color: #c5bba8;
    border-color: #665c50;
    background-color: transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.btn-secondary.ml-2:hover, .btn-outline-dark:hover {
    color: #ffe3a3;
    border-color: #c48e54;
}

@media (max-width: 480px) {
    .product-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 15px;
    }
    .product-thumb {
        width: 100%;
        height: 180px;
        margin-right: 0;
        margin-bottom: 12px;
        border-radius: 14px;
    }
    .product-info h5 {
        font-size: 1.2rem;
    }
    .form-inline {
        flex-direction: column;
    }
    .form-control, .btn-primary {
        width: 100%;
        margin: 0 0 10px 0;
    }
    .btn-primary {
        margin-left: 0;
    }
}
